/* ==========================================================================
   CSS GLOBAL & RESET
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f0fdf4;
  color: #14532d;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NEWS DISCOVERY BAR
   ========================================================================== */
.hi-news-bar {
  background: #16a34a;
  padding: 7px 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}

.hi-news-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.hi-news-date {
  opacity: 0.88;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.hi-header {
  background: #f0fdf4;
  border-bottom: 1px solid #16a34a33;
  position: sticky;
  top: 0;
  z-index: 100;
}

.hi-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.hi-logo {
  font-weight: 800;
  font-size: 22px;
  color: #16a34a;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.hi-logo span {
  color: #14532d;
}

.hi-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hi-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.hi-nav a:hover {
  color: #16a34a;
}

/* ==========================================================================
   TAG BAR
   ========================================================================== */
.hi-tag-bar {
  background: linear-gradient(135deg, #16a34a11, #16a34a08);
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 20px;
  text-align: center;
}

.hi-tag {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

/* ==========================================================================
   ARTICLE LAYOUT & CONTENT
   ========================================================================== */
.hi-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.hi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.hi-meta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #16a34a22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #16a34a;
  overflow: hidden;
}

.hi-meta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hi-meta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hi-meta-author {
  font-size: 14px;
  font-weight: 600;
  color: #14532d;
}

.hi-meta-details {
  font-size: 13px;
  color: #888;
}

.hi-meta-badge {
  margin-left: auto;
  background: #FFF3CD;
  color: #856404;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Espaço entre as seções */
.hi-sections .section-block {
  margin-bottom: 48px;
}

.hi-sections .section-block:last-child {
  margin-bottom: 0;
}

.hi-sections h1 {
  font-size: 34px;
  font-weight: 800;
  color: #14532d;
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hi-sections h2 {
  font-size: 26px;
  font-weight: 700;
  color: #14532d;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid #16a34a;
  line-height: 1.3;
}

.hi-sections h3 {
  font-size: 20px;
  font-weight: 600;
  color: #14532d;
  margin: 32px 0 12px;
}

.hi-sections p {
  margin-bottom: 20px;
  color: #14532d;
}

.hi-sections blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: #f8f9fa;
  border-left: 4px solid #16a34a;
  border-radius: 0 8px 8px 0;
  font-size: 18px;
  font-style: italic;
  color: #444;
  line-height: 1.6;
}

.hi-sections img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 8px;
}

.hi-sections ul, .hi-sections ol {
  margin: 16px 0 20px 24px;
}

.hi-sections li {
  margin-bottom: 10px;
  color: #14532d;
}

.hi-sections strong {
  color: #14532d;
}

/* ==========================================================================
   DOCTOR CARD
   ========================================================================== */
.doctor-card {
  border: 1px solid #2E7D32;
  padding: 16px;
  border-radius: 8px;
  max-width: 100%;
}

.doctor-card .name {
  font-weight: bold;
}

.doctor-card .credentials {
  font-style: italic;
}

.doctor-card blockquote {
  margin: 16px 0;
  font-style: italic;
}

/* ==========================================================================
   INFO BOX & FAQ
   ========================================================================== */
.hi-info-box {
  background: #16a34a08;
  border: 1px solid #16a34a22;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}

.hi-info-box-title {
  font-size: 14px;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.faq-item {
  margin-bottom: 20px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
  align-items: stretch;
}

.testimonial {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.testimonial p {
  margin: 0;
}

/* ==========================================================================
   CTA & BUTTONS
   ========================================================================== */
.hi-cta-block {
  background: linear-gradient(135deg, #16a34a, #16a34aDD);
  border-radius: 12px;
  padding: 40px 32px;
  margin: 40px 0;
  text-align: center;
}

.hi-cta-block p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 20px;
}

.hi-cta-btn {
  display: inline-block;
  background: #fff;
  color: #16a34a;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hi-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-container-box {
  text-align: center;
  margin: 28px 0;
  padding: 24px 16px;
  background: #16a34a18;
  border-radius: 8px;
}

.cta-button-main {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 12px 28px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 7px;
  font-size: 14px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s;
}

.cta-button-main:hover {
  opacity: 0.9;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.hi-footer {
  background: #f0fdf4;
  border-top: 1px solid #16a34a33;
  text-align: center;
  padding: 32px 20px;
}

.hi-footer-logo {
  font-weight: 800;
  font-size: 20px;
  color: #16a34a;
  margin-bottom: 12px;
}

.hi-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hi-footer-links a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.hi-footer-links a:hover {
  color: #16a34a;
}

.hi-footer-copy {
  font-size: 12px;
  color: #999;
}

/* Disclaimer Footer */
.disclaimer-footer {
  background: #111;
  color: #aaa;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.7;
  padding: 36px 24px 28px;
  margin-top: 40px;
}

.disclaimer-footer a {
  color: #888;
  text-decoration: none;
}

.disclaimer-footer a:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }
  .hi-news-bar {
    font-size: 10px;
    padding: 6px 14px;
    letter-spacing: 1px;
    gap: 8px;
  }
  .hi-news-pill {
    padding: 2px 7px;
  }
  .hi-header-inner {
    padding: 0 16px;
    gap: 12px;
  }
  .hi-nav {
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 1;
    min-width: 0;
    scrollbar-width: none;
  }
  .hi-nav::-webkit-scrollbar {
    display: none;
  }
  .hi-nav a {
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hi-article {
    padding: 14px 16px 48px;
  }
  .hi-sections h1 {
    font-size: 24px;
    line-height: 1.15;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
  }
  .hi-sections h2 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 14px;
    letter-spacing: 0px;
    padding-left: 0;
    border-left: none;
    font-weight: 400;
    color: #555;
  }
  .hi-sections h3 {
    font-size: 18px;
  }
  .hi-sections p {
    font-size: 16px;
  }
  .hi-meta {
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .hi-meta-avatar {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .hi-meta-info {
    min-width: 0;
    flex: 1;
  }
  .hi-meta-author {
    font-size: 13px;
  }
  .hi-meta-details {
    font-size: 11px;
    line-height: 1.3;
  }
  .hi-meta-badge {
    margin-left: auto;
    font-size: 9px;
    padding: 3px 7px;
    flex-shrink: 0;
    align-self: center;
    letter-spacing: 0.4px;
  }
  .hi-cta-block {
    padding: 24px 16px;
    margin: 32px 0;
  }
  .hi-cta-btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    display: block;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .hi-header-inner {
    height: auto;
    padding: 8px 14px;
  }
  .hi-article {
    padding: 12px 14px 40px;
  }
  .hi-sections h1 {
    font-size: 21px;
    line-height: 1.15;
    margin: 0 0 6px;
  }
  .hi-sections h2 {
    font-size: 16px;
    margin: 0 0 12px;
  }
  .hi-sections h3 {
    font-size: 16px;
  }
  .hi-sections p {
    font-size: 15px;
  }
  .hi-meta {
    padding-bottom: 12px;
    margin-bottom: 14px;
  }
  .hi-meta-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .hi-meta-author {
    font-size: 12px;
  }
  .hi-meta-details {
    font-size: 10px;
  }
  .hi-meta-badge {
    font-size: 8px;
    padding: 2px 6px;
    letter-spacing: 0.3px;
  }
  .hi-cta-block {
    padding: 20px 14px;
  }
  .hi-cta-btn {
    font-size: 14px;
    padding: 12px 20px;
  }
}
