/* ============================================================
   MEDICINA LEAL — Design System
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #194363;
  --navy-dark:  #0f2a3f;
  --forest:     #1D653E;
  --lime:       #7BC441;
  --cream:      #F7F4F0;
  --cream-dark: #EDE8E2;
  --sage:       #5A8C72;
  --sage-muted: #E4EDEA;
  --white:      #ffffff;
  --text-dark:  #1A2840;
  --text-med:   #3D5166;
  --text-light: #6B8099;
  --serif: 'Merriweather', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --shadow-sm:  0 2px 8px rgba(25,67,99,.08);
  --shadow:     0 4px 24px rgba(25,67,99,.12);
  --shadow-lg:  0 8px 48px rgba(25,67,99,.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text-dark); background: var(--cream); -webkit-font-smoothing: antialiased; }

/* ── UTILITIES ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
em { font-style: italic; color: var(--lime); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: .9; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-icon { font-size: 18px; }

.btn-wa {
  background: #25D366; color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-wa:hover { box-shadow: 0 8px 32px rgba(37,211,102,.45); }

.btn-ghost {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-outline {
  background: rgba(255,255,255,.08); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,42,63,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-wrap { position: relative; width: 40px; height: 40px; }
.nav-logo { width: 40px; height: 40px; object-fit: contain; filter: brightness(10) saturate(0); }
.nav-logo-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--lime);
  border: 1.5px solid rgba(123,196,65,.4); border-radius: 8px;
}
.nav-name { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: .3px; }
.nav-sub { font-size: 9px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(123,196,65,.8); }
.nav-cta { display: flex; }
@media (max-width: 600px) { .nav-cta { display: none; } }

/* ── HERO ── */
.hero {
  min-height: 100vh; background: linear-gradient(145deg, var(--navy-dark) 0%, #122d47 40%, #1a4a2e 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(123,196,65,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(123,196,65,.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hero-inner { text-align: center; position: relative; z-index: 2; max-width: 800px; }
.eyebrow {
  display: inline-block; padding: 6px 16px;
  background: rgba(123,196,65,.15); color: var(--lime);
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  border-radius: 20px; margin-bottom: 28px;
  border: 1px solid rgba(123,196,65,.25);
}
.hero-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,.65);
  max-width: 580px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges {
  display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500;
}
.badge-item { display: flex; align-items: center; gap: 6px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); display: inline-block; }
.badge-dot.badge-green { background: var(--lime); }
.badge-sep { color: rgba(255,255,255,.2); }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.scroll-arrow {
  width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,.3);
  border-bottom: 2px solid rgba(255,255,255,.3); transform: rotate(45deg);
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-light { background: var(--cream); }
.section-cream { background: var(--cream-dark); }
.section-white { background: var(--white); }
.section-navy { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); }
.section-dark { background: var(--navy-dark); }

.section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
}
.label-light { color: rgba(123,196,65,.7); }
.section-title {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400; color: var(--navy); line-height: 1.25; margin-bottom: 16px;
}
.title-light { color: var(--white); }
.section-sub { color: var(--text-med); font-size: 1.05rem; margin-bottom: 60px; }

/* ── CONTRAST GRID ── */
.contrast-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px;
}
@media (max-width: 768px) { .contrast-grid { grid-template-columns: 1fr; } }

.contrast-card { border-radius: var(--radius-lg); padding: 32px; }
.contrast-bad { background: #FEF2F2; border: 1px solid #FECACA; }
.contrast-good { background: #F0FDF4; border: 1px solid #A7F3D0; }

.contrast-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.contrast-icon { font-size: 20px; font-weight: 700; }
.contrast-bad .contrast-icon { color: #DC2626; }
.contrast-good .contrast-icon { color: var(--forest); }

.contrast-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.tag-red { background: rgba(220,38,38,.1); color: #DC2626; }
.tag-green { background: rgba(29,101,62,.1); color: var(--forest); }

.contrast-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contrast-list li {
  padding: 10px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5;
}
.contrast-bad .contrast-list li { background: rgba(220,38,38,.05); color: #7f1d1d; }
.contrast-good .contrast-list li { background: rgba(29,101,62,.05); color: #14532d; }
.contrast-result-bad { background: #DC2626 !important; color: var(--white) !important; font-weight: 700; }
.contrast-result-good { background: var(--forest) !important; color: var(--white) !important; font-weight: 700; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px 24px;
  transition: background var(--transition), transform var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-title { font-size: 14px; font-weight: 700; letter-spacing: .5px; color: var(--white); margin-bottom: 10px; }
.feature-desc { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.65; }

/* ── RELATÓRIO LAYOUT ── */
.report-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 32px; margin-top: 56px; align-items: start;
}
@media (max-width: 900px) { .report-layout { grid-template-columns: 1fr; } }

.report-sections { display: flex; flex-direction: column; gap: 10px; }
.report-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--white); border-radius: 8px; box-shadow: var(--shadow-sm);
  font-size: 14px; color: var(--text-med);
}
.report-item.highlight { background: var(--forest); color: var(--white); font-weight: 600; }
.report-item.conclusion { background: var(--navy); color: var(--white); font-weight: 600; }
.report-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-light  { background: var(--text-light); }
.dot-navy   { background: var(--navy); }
.dot-green  { background: #7BC441; }
.dot-lime   { background: var(--lime); }
.highlight-tag { font-weight: 400; opacity: .8; font-size: 12px; margin-left: 8px; }

.report-callout {
  background: var(--sage-muted); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.callout-tag { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--forest); }
.callout-title { font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 400; line-height: 1.25; }
.callout-title em { color: var(--forest); }
.callout-text { font-size: 14px; color: var(--text-dark); line-height: 1.7; }
.callout-legal {
  background: var(--white); border-radius: 8px; padding: 14px 18px; border-left: 4px solid var(--forest);
}
.legal-label { font-size: 12px; font-weight: 700; color: var(--forest); margin-bottom: 4px; }
.legal-text { font-size: 13px; color: var(--text-dark); }

/* ── STEPS ── */
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin: 56px 0 32px; flex-wrap: wrap;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.step-navy   { background: var(--navy); }
.step-forest { background: var(--forest); }
.step-lime   { background: var(--lime); }
.step-label  { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.step-desc   { font-size: 13px; color: var(--text-med); max-width: 150px; line-height: 1.5; }
.step-arrow  { padding-top: 28px; font-size: 20px; color: rgba(25,67,99,.25); }

.step-badges {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 16px;
}
.step-badge {
  background: var(--cream); border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm);
  min-width: 200px;
}
.step-badge > span { font-size: 28px; }
.step-badge > div { font-size: 12px; color: var(--text-med); line-height: 1.6; }
.step-badge strong { display: block; color: var(--navy); }

/* ── BENEFITS ── */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border-top: 4px solid;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.border-navy   { border-color: var(--navy); }
.border-forest { border-color: var(--forest); }
.border-lime   { border-color: var(--lime); }
.benefit-icon  { font-size: 32px; }
.benefit-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); }
.benefit-desc  { font-size: 14px; color: var(--text-med); line-height: 1.65; }

.quote-banner {
  margin-top: 48px; background: var(--navy); border-radius: var(--radius);
  padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
blockquote { font-family: var(--serif); font-style: italic; font-size: 16px; color: rgba(255,255,255,.9); }
.quote-brand { color: var(--white); font-weight: 700; font-size: 14px; flex-shrink: 0; letter-spacing: 1px; }

/* ── CTA SECTION ── */
.cta-section { position: relative; overflow: hidden; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; position: relative; z-index: 2;
}
@media (max-width: 768px) { .cta-inner { flex-direction: column; text-align: center; } }

.cta-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.cta-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 20px;
}
.cta-title em { color: #7BC441; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.65; max-width: 440px; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.cta-crm { font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: 1px; }

.cta-right {
  display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0;
  padding-left: 48px; border-left: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 768px) { .cta-right { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.08); padding-top: 32px; } }
.qr-label { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.35); }
.qr-wrap { background: var(--white); border-radius: 16px; padding: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.qr-wrap img { display: block; border-radius: 4px; }
.qr-phone { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
.qr-phone-icon { width: 28px; height: 28px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* ── FOOTER ── */
.footer { background: #080f1a; padding: 36px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-legal p, .footer-copy p {
  font-size: 11px; color: rgba(255,255,255,.3); line-height: 1.8; letter-spacing: .3px;
}
.footer-legal strong { color: rgba(255,255,255,.5); }
.footer-copy { text-align: right; }
@media (max-width: 640px) { .footer-copy { text-align: left; } }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
