/* ==========================================================================
   LABORATÓRIO FRESSATO — Sistema visual
   Marca: navy #1B3C65 (extraído da logo oficial)
   Acento quente: terracota, tirado da parede da recepção de Elói Mendes
   ========================================================================== */

/* ── Tokens ── */
:root {
  /* Marca */
  --navy:        #1B3C65;
  --navy-deep:   #143050;
  --navy-ink:    #0B1B2F;
  --navy-700:    #24507F;
  --navy-400:    #6E8FBA;
  --navy-100:    #E6EDF6;
  --navy-50:     #F3F7FC;

  /* Acento quente (recepção Elói Mendes) */
  --terra:       #C0563A;
  --terra-600:   #A94629;
  --terra-100:   #F8EAE4;

  /* Acento luz (balão do espaço kids) */
  --amber:       #E7A93E;

  /* Neutros */
  --sand:        #FAF7F2;
  --paper:       #FFFFFF;
  --ink:         #14202E;
  --ink-soft:    #55637A;
  --ink-faint:   #8A96A8;
  --line:        #E4E9F0;
  --line-soft:   #EFF2F7;

  --whats:       #25D366;

  /* Sombras — todas com tinta navy, nunca preto puro */
  --sh-xs: 0 1px 2px rgba(11,27,47,.05);
  --sh-sm: 0 2px 10px rgba(11,27,47,.06);
  --sh-md: 0 10px 30px rgba(11,27,47,.09);
  --sh-lg: 0 22px 60px rgba(11,27,47,.14);
  --sh-xl: 0 40px 90px rgba(11,27,47,.20);

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --gutter: 24px;
  --maxw: 1240px;
  --header-h: 84px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* `clip` e não `hidden`: hidden transformaria html/body em contêiner de
     rolagem e derrubaria todo position:sticky da página. */
  overflow-x: clip;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; border: 0; outline: 0; background: none; }
::selection { background: var(--navy); color: #fff; }

:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ── Tipografia ── */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 120;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--navy-ink);
}

h1, .h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; }
h3, .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.24; letter-spacing: -0.01em; }
h4 {
  font-family: 'Manrope', sans-serif; font-size: 1.08rem; font-weight: 700;
  line-height: 1.4; letter-spacing: -0.005em; color: var(--navy-ink);
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 120;
  color: var(--terra);
}

p { color: var(--ink-soft); }
strong, b { font-weight: 700; color: var(--ink); }

.lead { font-size: clamp(1.08rem, 1.55vw, 1.28rem); line-height: 1.62; color: var(--ink-soft); }

/* ── Layout ── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section-tight { padding: clamp(52px, 6vw, 84px) 0; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .765rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow.on-dark { color: var(--amber); }
.eyebrow.centered { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 68px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 20px; font-size: 1.09rem; }

/* ── Botões ── */
/* Botão: transição curta e discreta. Nada de preenchimento circular
   crescendo, que ficava pesado e travava no hover. */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-size: .955rem; font-weight: 700; letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: 100px;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              box-shadow .2s var(--ease), transform .16s var(--ease);
}
.btn i, .btn .ico { font-size: 1.15em; }
.btn:hover { background: var(--btn-hover, var(--navy-ink)); box-shadow: var(--sh-sm); }
.btn:active { transform: translateY(1px); }

.btn-terra { --btn-bg: var(--terra); --btn-hover: var(--terra-600); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--navy-ink); --btn-hover: var(--navy-100); }
.btn-whats { --btn-bg: var(--whats); --btn-hover: #1da851; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--navy-ink); --btn-hover: var(--navy-ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { color: #fff; background: var(--navy-ink); box-shadow: inset 0 0 0 1.5px var(--navy-ink); }
.btn-ghost-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-hover: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32);
}
.btn-ghost-light:hover { color: var(--navy-ink); background: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { padding: 12px 22px; font-size: .875rem; }
.btn-lg { padding: 19px 38px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--navy);
  position: relative; padding-bottom: 3px;
}
.link-arrow::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform-origin: right; scale: 0 1;
  transition: scale .45s var(--ease-out);
}
.link-arrow:hover::after { transform-origin: left; scale: 1 1; }
.link-arrow i { transition: transform .4s var(--ease-out); }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .5s var(--ease-out), background .4s var(--ease),
              box-shadow .4s var(--ease), height .4s var(--ease);
}
.header .wrap { display: flex; align-items: center; gap: 28px; }

.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.87);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.header.is-stuck::before { opacity: 1; }
.header.is-stuck { height: 72px; box-shadow: 0 1px 24px rgba(11,27,47,.07); }
.header.is-hidden { transform: translateY(-104%); }

.brand { display: block; flex-shrink: 0; }
.brand img { height: 42px; width: auto; transition: height .4s var(--ease); }
.header.is-stuck .brand img { height: 36px; }
.brand .logo-on-dark { display: block; }
.brand .logo-on-light { display: none; }
.header.is-stuck .brand .logo-on-dark,
.header.on-light .brand .logo-on-dark { display: none; }
.header.is-stuck .brand .logo-on-light,
.header.on-light .brand .logo-on-light { display: block; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-drop > button {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  font-size: .925rem; font-weight: 600;
  color: rgba(255,255,255,.86);
  border-radius: 100px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck .nav > a, .header.on-light .nav > a,
.header.is-stuck .nav-drop > button, .header.on-light .nav-drop > button { color: var(--ink-soft); }
.nav > a:hover, .nav-drop:hover > button { color: #fff; background: rgba(255,255,255,.12); }
.header.is-stuck .nav > a:hover, .header.on-light .nav > a:hover,
.header.is-stuck .nav-drop:hover > button, .header.on-light .nav-drop:hover > button {
  color: var(--navy); background: var(--navy-50);
}
.nav > a.is-active { color: #fff; }
.header.is-stuck .nav > a.is-active, .header.on-light .nav > a.is-active { color: var(--navy); }
.nav > a.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--terra);
}

.nav-drop { position: relative; }
.nav-drop > button i { font-size: .8em; transition: transform .35s var(--ease); }
.nav-drop:hover > button i { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 272px; padding: 10px;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); border: 1px solid var(--line-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s var(--ease-out);
}
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--r);
  font-size: .91rem; font-weight: 600; color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-drop-menu a i { font-size: 1.2rem; color: var(--terra); flex-shrink: 0; }
.nav-drop-menu a:hover { background: var(--navy-50); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.burger {
  display: none; width: 46px; height: 46px;
  border-radius: 50%; position: relative; flex-shrink: 0;
  background: rgba(255,255,255,.14);
  transition: background .3s var(--ease);
}
.header.is-stuck .burger, .header.on-light .burger { background: var(--navy-50); }
.burger span {
  position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 2px;
  background: #fff; transition: all .4s var(--ease-out);
}
.header.is-stuck .burger span, .header.on-light .burger span { background: var(--navy); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; width: 13px; }
.burger span:nth-child(3) { top: 30px; }
.burger.is-open span:nth-child(1) { top: 24px; rotate: 45deg; }
.burger.is-open span:nth-child(2) { opacity: 0; translate: 10px 0; }
.burger.is-open span:nth-child(3) { top: 24px; rotate: -45deg; width: 18px; }

/* ── Menu mobile ── */
.mobile-scrim {
  position: fixed; inset: 0; z-index: 940;
  background: rgba(11,27,47,.5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: all .4s var(--ease);
}
.mobile-scrim.is-open { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed; top: 0; right: 0; z-index: 950;
  width: min(400px, 88vw); height: 100dvh;
  background: var(--navy-ink);
  padding: 24px 26px 36px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .55s var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav-top img { height: 34px; }
.mobile-close {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: grid; place-items: center; font-size: 1.25rem;
  transition: background .3s var(--ease), rotate .4s var(--ease-out);
}
.mobile-close:hover { background: rgba(255,255,255,.2); rotate: 90deg; }

.mobile-nav > a, .mobile-group > button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 0;
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 60;
  font-size: 1.38rem; font-weight: 600; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  opacity: 0; transform: translateX(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .25s;
}
.mobile-nav.is-open > a, .mobile-nav.is-open .mobile-group > button { opacity: 1; transform: translateX(0); }
.mobile-nav.is-open > *:nth-child(2) { transition-delay: .10s; }
.mobile-nav.is-open > *:nth-child(3) { transition-delay: .15s; }
.mobile-nav.is-open > *:nth-child(4) { transition-delay: .20s; }
.mobile-nav.is-open > *:nth-child(5) { transition-delay: .25s; }
.mobile-nav.is-open > *:nth-child(6) { transition-delay: .30s; }
.mobile-nav.is-open > *:nth-child(7) { transition-delay: .35s; }
.mobile-nav.is-open > *:nth-child(8) { transition-delay: .40s; }
.mobile-nav.is-open > *:nth-child(9) { transition-delay: .45s; }
.mobile-nav > a:hover { color: var(--amber); }
.mobile-group > button i { font-size: 1rem; transition: transform .4s var(--ease); }
.mobile-group.is-open > button i { transform: rotate(180deg); }
.mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.mobile-group.is-open .mobile-sub { grid-template-rows: 1fr; }
.mobile-sub > div { overflow: hidden; }
.mobile-sub a {
  display: block; padding: 11px 0 11px 16px;
  font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.62);
  border-left: 1.5px solid rgba(255,255,255,.14); margin-left: 2px;
}
.mobile-sub a:first-child { margin-top: 12px; }
.mobile-sub a:hover { color: #fff; border-color: var(--amber); }
.mobile-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.mobile-foot .btn { width: 100%; }
.mobile-contact { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.mobile-contact a { font-size: .86rem; color: rgba(255,255,255,.55); }
.mobile-contact a:hover { color: #fff; }

/* ── Progresso de scroll ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 999;
  height: 2.5px; width: 100%;
  transform-origin: left; scale: 0 1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--terra) 70%, var(--amber) 100%);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: var(--navy-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: -6% 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, var(--navy-ink) 24%, rgba(11,27,47,.9) 50%, rgba(11,27,47,.6) 100%),
    radial-gradient(120% 90% at 12% 100%, rgba(27,60,101,.85), transparent 60%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(440px circle at var(--px, 70%) var(--py, 40%), rgba(110,143,186,.16), transparent 65%);
  transition: background .18s linear;
}
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em { color: var(--amber); }
.hero-sub { color: rgba(255,255,255,.76); font-size: clamp(1.04rem, 1.4vw, 1.19rem); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 15px; margin-bottom: 26px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}
.hero-badge b { color: #fff; font-weight: 700; }
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  animation: ping 2.4s var(--ease-out) infinite;
}
.hero-badge .pill {
  padding: 4px 12px; border-radius: 100px;
  background: rgba(231,169,62,.16); color: var(--amber);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}

.hero-media { position: relative; }
.hero-media-main {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-xl);
}
.hero-media-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-main::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,27,47,.5), transparent 45%);
}
.hero-media-sub {
  position: absolute; left: -13%; bottom: 8%;
  width: 43%; aspect-ratio: 1;
  border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid var(--navy-ink);
  box-shadow: var(--sh-lg);
}
.hero-media-sub img { width: 100%; height: 100%; object-fit: cover; }

.hero-chip {
  position: absolute; right: -6%; top: 7%;
  width: max-content; max-width: min(300px, 68vw);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 14px;
  background: #fff; border-radius: 100px;
  box-shadow: var(--sh-lg);
  animation: floaty 5.5s ease-in-out infinite;
}
.hero-chip-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--terra-100); color: var(--terra); font-size: 1.2rem;
}
.hero-chip small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.hero-chip strong { display: block; font-size: .9rem; color: var(--navy-ink); line-height: 1.25; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 52px);
  margin-top: 46px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.hero-stat .num {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 100;
  font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; color: #fff; line-height: 1;
  display: flex; align-items: baseline; gap: 1px;
}
.hero-stat .num span { color: var(--amber); }
.hero-stat p { margin-top: 8px; font-size: .84rem; color: rgba(255,255,255,.6); line-height: 1.4; }

/* linha de ECG */
.ecg { position: absolute; left: 0; right: 0; bottom: -34px; z-index: -1; height: 116px; pointer-events: none; opacity: .5; }
.ecg svg { width: 200%; height: 100%; }
.ecg path { fill: none; stroke: var(--navy-400); stroke-width: 1.3; opacity: .3; }
.ecg .pulse {
  stroke: var(--amber); stroke-width: 2.1; opacity: 1;
  stroke-dasharray: 110 4000;
  animation: ecgRun 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(231,169,62,.6));
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 24px; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.42); font-weight: 700;
}
.scroll-hint .mouse {
  width: 24px; height: 38px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.3); position: relative;
}
.scroll-hint .mouse::after {
  content: ''; position: absolute; left: 50%; translate: -50% 0; top: 8px;
  width: 3px; height: 6px; border-radius: 3px; background: var(--amber);
  animation: wheel 1.9s var(--ease-in-out) infinite;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-band { background: var(--navy-ink); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.marquee-band.light { background: var(--sand); border-color: var(--line); border-bottom: 1px solid var(--line); }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; flex-shrink: 0; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.rev { animation-direction: reverse; }
.marquee-item {
  display: inline-flex; align-items: center; padding: 0 22px; white-space: nowrap;
  font-size: .93rem; font-weight: 600; color: rgba(255,255,255,.52);
}
.marquee-band.light .marquee-item { color: var(--ink-soft); }
.marquee-item::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); opacity: .8; margin-left: 22px; }

/* ==========================================================================
   SELOS
   ========================================================================== */
.seals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 26px clamp(22px, 3vw, 44px);
  align-items: center;
}
.seal { display: flex; align-items: center; gap: 14px; }
.seal-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--navy-100); color: var(--navy);
}
.seal strong { display: block; font-size: .95rem; color: var(--navy-ink); line-height: 1.3; }
.seal small { display: block; font-size: .8rem; color: var(--ink-faint); margin-top: 2px; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(282px, 1fr)); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 26px; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--px, 50%) var(--py, 0%), rgba(27,60,101,.055), transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 24px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--navy-50); color: var(--navy);
  transition: background .45s var(--ease-out), color .45s var(--ease-out), transform .5s var(--ease-out);
}
.card:hover .card-icon { background: var(--navy); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .95rem; line-height: 1.62; }
.card-foot { margin-top: auto; padding-top: 22px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { padding: 5px 12px; border-radius: 100px; font-size: .77rem; font-weight: 600; background: var(--navy-50); color: var(--navy); }
.tag.warm { background: var(--terra-100); color: var(--terra-600); }

.card.dark { background: var(--navy); border-color: transparent; }
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255,255,255,.72); }
.card.dark .card-icon { background: rgba(255,255,255,.12); color: #fff; }
.card.dark:hover .card-icon { background: var(--amber); color: var(--navy-ink); }
.card.dark .tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

.card-num {
  position: absolute; top: 24px; right: 28px;
  font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 100;
  font-size: 2.6rem; font-weight: 600; line-height: 1;
  color: var(--navy-100);
  transition: color .45s var(--ease);
}
.card:hover .card-num { color: var(--terra-100); }

/* ==========================================================================
   SPLIT texto + imagem
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split.top { align-items: start; }

/* Imagem colada no topo da seção, acompanhando o texto enquanto ele rola.
   O sticky precisa ficar num filho da coluna esticada: aplicado direto no
   item de grid ele não engata. Mesmo padrão da seção "Como funciona". */
.split.sticky-media { align-items: stretch; }
.split.sticky-media .sticky-col { height: 100%; }
.split.sticky-media .sticky-col .split-media {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
/* A imagem precisa caber na janela, senão ela "escorrega" em vez de ficar fixa. */
.split.sticky-media .media-frame.tall {
  aspect-ratio: auto;
  height: min(66vh, 620px);
}

@media (max-width: 940px) {
  .split.sticky-media .sticky-col .split-media { position: static; }
}

.split-media { position: relative; }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.tall { aspect-ratio: 4 / 5; }
.media-frame.wide { aspect-ratio: 16 / 10; }
.media-frame.square { aspect-ratio: 1; }

.media-float {
  position: absolute; width: 46%; aspect-ratio: 1;
  border-radius: var(--r-lg); overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--sh-lg);
}
.media-float.br { right: -8%; bottom: -8%; }
.media-float.bl { left: -8%; bottom: -8%; }
.media-float img { width: 100%; height: 100%; object-fit: cover; }

.media-stat {
  position: absolute; left: -6%; bottom: 8%;
  padding: 22px 26px; background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  text-align: center; width: max-content; min-width: 148px; max-width: 62%;
}
.media-stat .num {
  font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 100;
  font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1;
}
.media-stat p { font-size: .79rem; margin-top: 6px; line-height: 1.35; }

.check-list { display: grid; gap: 16px; margin-top: 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list i {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
  background: var(--terra-100); color: var(--terra); margin-top: 3px;
}
.check-list span { font-size: .98rem; color: var(--ink-soft); line-height: 1.55; }
.check-list b { color: var(--ink); }
.dark-section .check-list i { background: rgba(231,169,62,.18); color: var(--amber); }
.dark-section .check-list span { color: rgba(255,255,255,.72); }
.dark-section .check-list b { color: #fff; }

/* ==========================================================================
   NÚMEROS
   ========================================================================== */
.stats-band { background: var(--sand); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 34px; }
.stat-item { text-align: center; }
.stat-item i { font-size: 1.7rem; color: var(--terra); margin-bottom: 14px; display: block; }
.stat-item .num {
  font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 120;
  font-size: clamp(2.3rem, 4vw, 3.2rem); font-weight: 600; color: var(--navy); line-height: 1;
}
.stat-item p { margin-top: 10px; font-size: .89rem; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-fill {
  position: absolute; left: 7px; top: 10px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--navy), var(--terra));
  height: 0;
}
.tl-item { position: relative; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  transition: border-color .5s var(--ease), background .5s var(--ease), scale .5s var(--ease-out), box-shadow .5s var(--ease);
}
.tl-item.is-on::before { border-color: var(--terra); background: var(--terra); scale: 1.15; box-shadow: 0 0 0 6px var(--terra-100); }
.tl-year {
  display: inline-block; font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 100;
  font-size: 1.7rem; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 10px;
}
.tl-item h4 { margin-bottom: 8px; font-size: 1.05rem; }
.tl-item p { font-size: .95rem; }

/* ==========================================================================
   PASSO A PASSO STICKY
   ========================================================================== */
/* A coluna da esquerda precisa esticar até o fim da linha do grid — só assim
   o sticky acompanha todos os passos, e não apenas os dois primeiros. */
.steps { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.steps-sticky { height: 100%; }
.steps-sticky .steps-visual { position: sticky; top: calc(var(--header-h) + 40px); }
.steps-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--navy-ink); box-shadow: var(--sh-lg); }
/* Precisa caber na janela junto com o header, senão a imagem escorrega
   em vez de ficar realmente fixa. */
@media (min-width: 1081px) {
  .steps-visual { aspect-ratio: auto; height: min(66vh, 620px); }
}
.steps-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; scale: 1.06;
  transition: opacity .9s var(--ease-out), scale 1.4s var(--ease-out);
}
.steps-visual img.is-on { opacity: 1; scale: 1; }
.steps-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,27,47,.72), transparent 55%); }
.steps-counter {
  position: absolute; left: 28px; bottom: 22px; z-index: 2;
  font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 120;
  font-size: 4rem; font-weight: 600; color: #fff; line-height: 1;
}
.steps-counter sub { font-size: 1.05rem; color: rgba(255,255,255,.5); vertical-align: baseline; }

.step { padding: 28px 0 28px 30px; border-left: 2px solid var(--line); transition: border-color .5s var(--ease); }
/* Cada passo ocupa boa parte da janela: é o que dá curso de scroll para a
   imagem fixa ao lado trocar com calma. */
@media (min-width: 1081px) {
  .step {
    min-height: 46vh;
    display: flex; flex-direction: column; justify-content: center;
  }
}
.step.is-on { border-color: var(--terra); }
.step-tag { font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); transition: color .4s var(--ease); }
.step.is-on .step-tag { color: var(--terra); }
.step h3 { margin: 10px 0 12px; opacity: .4; transition: opacity .5s var(--ease); }
.step.is-on h3 { opacity: 1; }
.step p { opacity: .5; transition: opacity .5s var(--ease); font-size: .97rem; }
.step.is-on p { opacity: 1; }

/* ==========================================================================
   SEÇÃO ESCURA
   ========================================================================== */
.dark-section { position: relative; background: var(--navy-ink); color: #fff; overflow: hidden; isolation: isolate; }
.dark-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(540px circle at var(--px, 50%) var(--py, 50%), rgba(110,143,186,.15), transparent 62%);
  transition: background .2s linear;
}
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }
.dark-section p { color: rgba(255,255,255,.68); }
.dark-section .lead { color: rgba(255,255,255,.75); }

.quality-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 1px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden;
}
/* Com 6 células o auto-fit abria 5 colunas e sobrava uma órfã na segunda
   linha, deixando um buraco na grade. Aqui o desenho é 3 + 3. */
.quality-grid.tres { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .quality-grid.tres { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .quality-grid.tres { grid-template-columns: 1fr; } }
.quality-cell { background: var(--navy-ink); padding: 34px 28px; transition: background .5s var(--ease); }
.quality-cell:hover { background: var(--navy-deep); }
.quality-cell i { font-size: 1.9rem; color: var(--amber); margin-bottom: 20px; display: block; }
.quality-cell h4 { margin-bottom: 10px; }
.quality-cell p { font-size: .91rem; line-height: 1.6; }

/* ==========================================================================
   SEÇÃO QUENTE
   ========================================================================== */
.warm-section { background: var(--terra-100); position: relative; overflow: hidden; }
.warm-section::before {
  content: ''; position: absolute; right: -8%; top: -20%;
  width: 46vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,86,58,.1), transparent 65%);
  pointer-events: none;
}

/* ==========================================================================
   UNIDADES
   ========================================================================== */
.unit-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.unit-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.unit-photo { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.unit-card:hover .unit-photo img { scale: 1.06; }
.unit-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,27,47,.6), transparent 55%); }
.unit-city {
  position: absolute; left: 24px; bottom: 18px; z-index: 2;
  font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 100;
  font-size: 1.7rem; font-weight: 600; color: #fff; line-height: 1.1;
}
.unit-city small {
  display: block; font-family: 'Manrope', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 5px;
}
.unit-body { padding: 28px; display: flex; flex-direction: column; flex: 1; gap: 15px; }
.unit-row { display: flex; gap: 13px; align-items: flex-start; }
.unit-row i { flex-shrink: 0; font-size: 1.15rem; color: var(--terra); margin-top: 2px; }
.unit-row span { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.unit-row a { color: var(--navy); font-weight: 700; }
.unit-row a:hover { color: var(--terra); }
.unit-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--navy-50); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); transition: filter .6s var(--ease); }
.map-frame:hover iframe { filter: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.faq-item.is-open { border-color: var(--navy-400); box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 26px; text-align: left;
  font-size: 1.02rem; font-weight: 700; color: var(--navy-ink); line-height: 1.4;
}
.faq-q:hover { color: var(--navy); }
.faq-q i {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
  background: var(--navy-50); color: var(--navy);
  transition: transform .45s var(--ease-out), background .35s var(--ease), color .35s var(--ease);
}
.faq-item.is-open .faq-q i { transform: rotate(45deg); background: var(--terra); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 22px; font-size: .96rem; line-height: 1.68; max-width: 70ch; }
.faq-a p + p { padding-top: 12px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 68px);
}
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(192,86,58,.45), transparent 58%),
    radial-gradient(70% 100% at 0% 100%, rgba(11,27,47,.7), transparent 60%);
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 44px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.78); margin-top: 18px; font-size: 1.07rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-ring { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 260px; margin-inline: auto; width: 100%; }
.cta-ring-text { position: absolute; inset: 0; animation: spin 28s linear infinite; }
.cta-ring-text text { font-size: 12px; letter-spacing: 4.4px; font-weight: 700; fill: rgba(255,255,255,.6); font-family: 'Manrope', sans-serif; }
.cta-ring-core {
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem;
  background: #fff; color: var(--navy); box-shadow: var(--sh-lg);
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-ink);
  padding: calc(var(--header-h) + 74px) 0 clamp(64px, 8vw, 104px);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .24; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-ink) 25%, rgba(11,27,47,.82) 100%); }
.page-hero h1 { color: #fff; max-width: 17ch; }
.page-hero h1 em { color: var(--amber); }
.page-hero .lead { color: rgba(255,255,255,.72); margin-top: 22px; max-width: 62ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .81rem; color: rgba(255,255,255,.45); margin-bottom: 20px; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .7rem; opacity: .6; }

/* ==========================================================================
   EXAMES
   ========================================================================== */
.exam-toolbar {
  position: sticky; top: calc(var(--header-h) - 10px); z-index: 20;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 14px 16px; margin-bottom: 44px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--sh-sm);
}
.exam-search { position: relative; flex: 1 1 250px; display: flex; align-items: center; gap: 12px; padding-left: 12px; }
.exam-search > i { font-size: 1.15rem; color: var(--ink-faint); flex-shrink: 0; }
.exam-search input { width: 100%; padding: 9px 0; font-size: .96rem; font-weight: 500; appearance: none; }
/* o "x" nativo do input[type=search] duplicaria o nosso botão de limpar */
.exam-search input::-webkit-search-cancel-button,
.exam-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.exam-search input::placeholder { color: var(--ink-faint); font-weight: 500; }
.exam-clear { opacity: 0; pointer-events: none; color: var(--ink-faint); transition: opacity .3s, color .3s; font-size: 1.1rem; display: grid; place-items: center; }
.exam-clear.on { opacity: 1; pointer-events: auto; }
.exam-clear:hover { color: var(--terra); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 17px; border-radius: 100px;
  font-size: .855rem; font-weight: 700; color: var(--ink-soft);
  background: var(--navy-50);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-out);
}
.chip:hover { background: var(--navy-100); transform: translateY(-1px); }
.chip.is-on { background: var(--navy); color: #fff; }

.exam-group { margin-bottom: 54px; scroll-margin-top: calc(var(--header-h) + 90px); }
.exam-group.hide { display: none; }
.exam-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.exam-group-head > i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; background: var(--navy-50); color: var(--navy); flex-shrink: 0; }
.exam-group-head h3 { flex: 1; }
.exam-group-head span { font-size: .79rem; font-weight: 700; color: var(--ink-faint); white-space: nowrap; }

.exam-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); gap: 10px; }
.exam-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r);
  background: var(--sand); border: 1px solid transparent;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease-out);
}
.exam-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }
.exam-pill:hover { background: #fff; border-color: var(--navy-100); transform: translateX(3px); }
.exam-pill.hide { display: none; }
.exam-empty { padding: 56px 20px; text-align: center; display: none; }
.exam-empty.on { display: block; }
.exam-empty i { font-size: 2.4rem; color: var(--ink-faint); margin-bottom: 14px; display: block; }

.spotlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 22px; }
.spot {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.spot:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.spot-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 18px;
  background: var(--terra-100); color: var(--terra-600);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.spot h3 { font-size: 1.22rem; margin-bottom: 10px; }
.spot p { font-size: .92rem; line-height: 1.6; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.spot-meta div { display: flex; align-items: center; gap: 7px; font-size: .81rem; font-weight: 600; color: var(--ink-soft); }
.spot-meta i { color: var(--navy-400); font-size: 1rem; }

/* ==========================================================================
   PREPARO
   ========================================================================== */
.prep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.prep {
  padding: 30px 28px; border-radius: var(--r-lg);
  background: var(--sand); border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .4s;
}
.prep:hover { transform: translateY(-4px); box-shadow: var(--sh-md); background: #fff; }
.prep-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: #fff; color: var(--terra); box-shadow: var(--sh-xs); margin-bottom: 20px; }
.prep h4 { margin-bottom: 10px; font-size: 1.05rem; }
.prep p { font-size: .92rem; line-height: 1.62; }
.prep ul { margin-top: 14px; display: grid; gap: 9px; }
.prep li { display: flex; gap: 10px; font-size: .89rem; color: var(--ink-soft); line-height: 1.5; }
.prep li::before { content: '—'; color: var(--terra); flex-shrink: 0; }

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 26px; border-radius: var(--r-lg);
  background: var(--navy-50); border-left: 3px solid var(--navy);
}
.notice.warn { background: #FFF8EC; border-color: var(--amber); }
.notice.warm { background: var(--terra-100); border-color: var(--terra); }
.notice > i { font-size: 1.35rem; color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.notice.warn > i { color: #B7841F; }
.notice.warm > i { color: var(--terra); }
.notice h4 { margin-bottom: 6px; }
.notice p { font-size: .92rem; line-height: 1.6; }

/* ==========================================================================
   FORMULÁRIO
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--sh-sm); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px; border-radius: var(--r);
  background: var(--sand); border: 1.5px solid transparent;
  font-size: .95rem; color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355637A' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px;
}

/* ── Select próprio ───────────────────────────────────────────────────────
   A lista que o <select> abre é desenhada pelo sistema operacional e não
   aceita CSS. Então o <select> real continua no formulário (guardando o
   valor e servindo de reserva sem JS) e este componente desenha por cima. */
.field select.tem-sel { position: absolute; opacity: 0; pointer-events: none; height: 0; }

.sel { position: relative; }
.sel-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--r);
  background: var(--sand); border: 1.5px solid transparent;
  font-size: .95rem; font-weight: 500; color: var(--ink); text-align: left;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.sel-btn .sel-valor.vazio { color: var(--ink-faint); }
.sel-btn i { font-size: .9rem; color: var(--ink-soft); transition: transform .3s var(--ease); flex-shrink: 0; }
.sel-btn:hover { background: #fff; border-color: var(--line); }
.sel.aberto .sel-btn { background: #fff; border-color: var(--navy-400); }
.sel.aberto .sel-btn i { transform: rotate(180deg); }
.sel.err .sel-btn { border-color: var(--terra); background: var(--terra-100); }

.sel-lista {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 274px; overflow-y: auto; padding: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.sel.aberto .sel-lista { opacity: 1; visibility: visible; transform: translateY(0); }
.sel.para-cima .sel-lista { top: auto; bottom: calc(100% + 6px); }

.sel-op {
  padding: 11px 14px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.sel-op:hover, .sel-op.marcado { background: var(--navy-50); color: var(--navy); }
.sel-op[aria-selected="true"] { background: var(--navy); color: #fff; font-weight: 600; }
/* O "Selecione..." é rótulo, não escolha: nunca ganha o destaque de opção ativa. */
.sel-op.reticente { color: var(--ink-faint); }
.sel-op.reticente[aria-selected="true"] { background: transparent; color: var(--ink-faint); font-weight: 500; }
.sel-op.reticente.marcado, .sel-op.reticente:hover { background: var(--navy-50); color: var(--ink-soft); }

.sel-lista::-webkit-scrollbar { width: 8px; }
.sel-lista::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.field textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy-400); background: #fff; }
.field input.err, .field textarea.err, .field select.err { border-color: var(--terra); background: var(--terra-100); }
.form-status { margin-top: 16px; font-size: .89rem; font-weight: 600; min-height: 22px; }
.form-status.ok { color: #1a7f4b; }
.form-status.bad { color: var(--terra-600); }
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.form-consent a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   PROSA / LEGAL
   ========================================================================== */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 46px 0 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.16rem; margin: 30px 0 12px; }
.prose p { margin-bottom: 16px; line-height: 1.72; }
.prose ul, .prose ol { margin: 0 0 20px; display: grid; gap: 10px; padding-left: 2px; }
.prose li { display: flex; gap: 12px; font-size: .98rem; color: var(--ink-soft); line-height: 1.65; }
.prose ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); flex-shrink: 0; margin-top: 10px; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n); flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy); font-size: .73rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 3px;
}
.prose a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--terra); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose .notice { margin: 26px 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 800; color: var(--navy-ink); background: var(--sand); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.prose td { color: var(--ink-soft); }

.toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 24px; background: var(--sand); border-radius: var(--r-lg); border: 1px solid var(--line); }
.toc h4 { margin-bottom: 14px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.toc a { display: block; padding: 7px 0 7px 14px; font-size: .89rem; font-weight: 600; color: var(--ink-soft); border-left: 2px solid transparent; transition: all .3s var(--ease); }
.toc a:hover, .toc a.is-on { color: var(--navy); border-color: var(--terra); }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gallery-item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; background: var(--navy-50); margin: 0;
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 3/2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.gallery-item:hover img { scale: 1.07; }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,27,47,.65), transparent 50%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  font-size: .84rem; font-weight: 700; color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: all .45s var(--ease-out);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 990;
  display: grid; place-items: center; padding: 28px;
  background: rgba(11,27,47,.94); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--r-lg); box-shadow: var(--sh-xl); scale: .96; transition: scale .5s var(--ease-out); }
.lightbox.is-open img { scale: 1; }
.lightbox-cap { margin-top: 16px; font-size: .89rem; color: rgba(255,255,255,.7); text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 1.3rem; transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-ink); color: rgba(255,255,255,.6); padding: clamp(54px, 7vw, 82px) 0 0; position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; left: 50%; top: -40%; translate: -50% 0;
  width: 120%; aspect-ratio: 2; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(27,60,101,.5), transparent 62%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.35fr; gap: 44px; position: relative; }
.footer-brand img { height: 44px; margin-bottom: 22px; }
.footer-brand p { font-size: .92rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 36ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem;
  background: rgba(255,255,255,.08); color: #fff;
  transition: background .35s var(--ease), transform .35s var(--ease-out);
}
.footer-social a:hover { background: var(--terra); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; padding: 6px 0; font-size: .9rem; color: rgba(255,255,255,.58); transition: color .3s var(--ease), transform .3s var(--ease-out); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-unit { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-unit:last-of-type { border-bottom: 0; }
.footer-unit strong { display: block; color: #fff; font-size: .89rem; margin-bottom: 4px; }
.footer-unit span, .footer-unit a { padding: 2px 0; font-size: .85rem; }
.footer-bottom {
  margin-top: clamp(42px, 5vw, 60px); padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: .81rem; color: rgba(255,255,255,.42);
}
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-credit { display: flex; align-items: center; gap: 8px; }
.footer-credit img { height: 18px; opacity: .55; transition: opacity .3s; }
.footer-credit a:hover img { opacity: 1; }

/* ==========================================================================
   FLUTUANTES
   ========================================================================== */
/* Glifo oficial do WhatsApp (sprite <symbol id="ico-wa"> no topo do body) */
.ico { width: 1em; height: 1em; display: inline-block; flex-shrink: 0; }
.ico-wa { fill: currentColor; }

.float-whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 880;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.65rem;
  background: var(--whats); color: #fff;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.float-whats:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.float-whats .tip {
  position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%;
  padding: 9px 16px; border-radius: 100px; white-space: nowrap;
  background: var(--navy-ink); color: #fff; font-size: .81rem; font-weight: 600;
  opacity: 0; pointer-events: none; transform: translateX(8px);
  transition: all .35s var(--ease-out);
}
.float-whats:hover .tip { opacity: 1; transform: translateX(0); }

.float-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 879;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.05rem;
  background: #fff; color: var(--navy); box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .45s var(--ease-out);
}
.float-top.on { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--navy); color: #fff; }
.float-top { border: 1px solid var(--line); }

/* ==========================================================================
   PRELOADER + TRANSIÇÃO
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy-ink);
  transition: opacity .5s var(--ease), visibility .5s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark { width: 88px; color: #fff; margin-bottom: 26px; }
.preloader-mark svg { width: 100%; height: auto; overflow: visible; }
.preloader-mark path {
  stroke: #fff; stroke-width: 1.4; fill: #fff;
  fill-opacity: 0; stroke-dasharray: 1600; stroke-dashoffset: 1600;
  animation: draw 1.6s var(--ease-out) forwards, fillIn .8s 1s var(--ease) forwards;
}
.preloader-bar { width: 124px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 42%; border-radius: 2px; background: var(--amber); animation: loadBar 1.5s var(--ease-in-out) infinite; }
.preloader-word { margin-top: 18px; font-size: .67rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.34); font-weight: 700; }

/* A cortina de transição entre páginas foi removida a pedido. */

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */
.text-center { text-align: center; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 52px; }
.mb-m { margin-bottom: 32px; }
.bg-sand { background: var(--sand); }
.bg-navy-50 { background: var(--navy-50); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Quebra de linha que só existe no celular, para controlar onde o título parte. */
br.so-mobile { display: none; }
@media (max-width: 720px) { br.so-mobile { display: block; } }
.no-wrap { white-space: nowrap; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-row.text-center { justify-content: center; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps-sticky { position: static; }
  .steps-visual { aspect-ratio: 16/10; }
}

@media (max-width: 940px) {
  :root { --header-h: 74px; }
  .nav { display: none; }
  .header-cta { display: none; }
  /* Quem empurrava o conteúdo para a direita era o .nav, que some no mobile.
     Sem isto o botão de menu só "segue" a logo e sai do alinhamento. */
  .burger { display: block; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-media-sub { left: -6%; }
  .hero-chip { right: -2%; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-ring { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 1.0125rem; }
  /* Em 390px a logo em 42px não cabia junto com o botão de menu. */
  .brand img { height: 34px; }
  .header.is-stuck .brand img { height: 30px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { gap: 22px 30px; }
  .hero-stat { flex: 1 1 40%; }
  .scroll-hint { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  /* Os elementos que flutuam para fora da foto não têm espaço no celular:
     soltos, viram ruído em vez de destaque. */
  .media-float, .media-stat { display: none; }
  /* No celular todo botão ocupa a linha inteira: alvo de toque maior e
     coluna alinhada com o resto do conteúdo, em vez de blocos soltos. */
  .hero-actions, .page-hero-actions, .cta-actions,
  .actions-row, .unit-actions, .card-foot { gap: 10px; }
  .hero-actions .btn,
  .page-hero-actions .btn,
  .cta-actions .btn,
  .actions-row .btn,
  .unit-actions .btn,
  .card-foot .btn,
  .exam-empty .btn { width: 100%; }
  /* .text-center vira flex ao ganhar .actions-row: reempilha centralizado. */
  .actions-row.text-center { flex-direction: column; align-items: stretch; }
  .exam-toolbar { border-radius: var(--r-lg); position: static; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 3/4; }
  .float-whats { width: 52px; height: 52px; font-size: 1.5rem; right: 16px; bottom: 16px; }
  .float-top { right: 18px; bottom: 80px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 14px; right: 14px; }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; width: 14px; height: 14px; }
  .timeline::before, .timeline-fill { left: 6px; }
}

@media (max-width: 480px) {
  .hero-chip { display: none; }
  .hero-media-sub { width: 38%; left: -4%; bottom: 6%; }
  .exam-list { grid-template-columns: 1fr; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .step { padding-left: 22px; }
}

@media print {
  .header, .mobile-nav, .mobile-scrim, .float-whats, .float-top, .preloader,
  .page-veil, .scroll-progress, .marquee-band, .ecg, .scroll-hint { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section { padding: 20px 0; }
  .page-hero { background: none; padding: 20px 0; }
  .page-hero h1, .page-hero .lead { color: #000; }
}
