﻿/* =========================================================
   Neuropsicólogo Paulo Victor — CRP 01/26889
   Design system: o modelo editorial do Valdecir, na paleta do Paulo — marinho + dourado + creme
   ========================================================= */

:root {
  /* Neutros — creme quente da marca */
  --ivory:        #F8F5F0;
  --ivory-2:      #F2EEE7;
  --paper:        #FFFFFF;

  /* Marca — azul-marinho (blocos escuros, botões, rodapé) */
  --forest-900:   #020A14;
  --forest-800:   #041121;
  --forest-700:   #13223D;
  --forest-600:   #242F4B;
  --forest-500:   #3B4C72;

  /* Acentos */
  --gold:         #D0B793;
  --gold-2:       #C0A277;
  --gold-deep:    #9C7943;
  --wa:           #25D366;
  --wa-dark:      #1eb257;

  /* Verdes claros — capa e detalhes */
  --teal:         #6FA0CE;
  --mint:         #E7EDF5;
  --mint-2:       #D3DEEC;
  --sage:         #A9C1DE;
  --green-deep:   #2E4A78;

  /* Texto */
  --ink:          #0A1424;
  --ink-soft:     #4A5468;
  --on-forest:      #E9EDF4;
  --on-forest-soft: #AEB8CA;

  --line:         rgba(4,17,33,.14);
  --line-soft:    rgba(4,17,33,.08);

  --serif: "Marcellus", "Cormorant Garamond", Georgia, serif;   /* display / headings */
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:    4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(4,17,33,.06);
  --shadow:    0 18px 50px -22px rgba(4,17,33,.34);
  --shadow-lg: 0 40px 80px -30px rgba(4,17,33,.42);

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 52px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.68;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(54px, 6vw, 92px); }
.bg-ivory   { background: var(--ivory); }
.bg-ivory2  { background: var(--ivory-2); }
.bg-paper   { background: var(--paper); }
.bg-forest    { background: var(--forest-800); color: var(--on-forest); }
.hair-top   { border-top: 1px solid var(--line-soft); }

/* ---------- Tipografia ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.18; letter-spacing: .005em; color: var(--ink); overflow-wrap: break-word; }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 { color: #fff; }

h2.title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.14; letter-spacing: 0; }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.4rem); font-weight: 400; }

/* Ênfase: no corpo → itálico. Em títulos → Poppins bold dourado (contraste com a serifada) */
em { font-style: italic; color: var(--forest-600); }
h1 em, h2 em, h3 em, h4 em, .title em {
  font-family: var(--sans); font-weight: 700; font-style: normal; letter-spacing: -.015em; color: var(--gold-deep); }
.bg-forest em { color: var(--gold); }
.bg-forest h1 em, .bg-forest h2 em, .bg-forest h3 em { color: var(--gold); font-family: var(--sans); font-weight: 700; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-2); display: inline-block; }
.eyebrow.centered::after { content: ""; width: 34px; height: 1px; background: var(--gold-2); display: inline-block; }
.bg-forest .eyebrow { color: var(--gold); }
.bg-forest .eyebrow::before, .bg-forest .eyebrow.centered::after { background: var(--gold); }

.lead { font-size: clamp(1rem, 1.15vw, 1.08rem); color: var(--ink-soft); line-height: 1.7; }
.bg-forest .lead { color: var(--on-forest-soft); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--forest-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(4,17,33,.5); }
.btn svg { width: 18px; height: 18px; }
.btn-gold     { --bg: var(--gold); --fg: var(--forest-800); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-wa       { --bg: var(--wa); --fg: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline  { background: transparent; color: var(--forest-700); border-color: var(--line); }
.btn-outline:hover { background: var(--forest-700); color: #fff; border-color: var(--forest-700); }
.bg-forest .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.bg-forest .btn-outline:hover { background: #fff; color: var(--forest-800); }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* CTA WhatsApp com destaque */
.btn-cta {
  --bg: #22c55e; --fg: #fff;
  position: relative; overflow: hidden;
  padding: 18px 40px; font-size: 1.05rem; font-weight: 700; letter-spacing: .01em;
  background: linear-gradient(135deg, #34e07a 0%, #22c55e 52%, #16a34a 100%);
  color: #fff; border: none;
  box-shadow: 0 14px 30px -10px rgba(22,163,74,.6);
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn-cta .cta-ico {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.22); animation: ctaWiggle 2.6s ease-in-out infinite;
}
.btn-cta .cta-ico svg { width: 16px; height: 16px; }
.btn-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); animation: ctaShine 3.4s ease-in-out infinite;
}
.btn-cta:hover { background: linear-gradient(135deg, #3ded83 0%, #22c55e 55%, #15a047 100%);
  transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -10px rgba(22,163,74,.8); animation-play-state: paused; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(22,163,74,.6), 0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow: 0 16px 34px -10px rgba(22,163,74,.7), 0 0 0 14px rgba(34,197,94,0); }
}
@keyframes ctaWiggle { 0%,88%,100% { transform: rotate(0); } 92% { transform: rotate(-12deg); } 96% { transform: rotate(12deg); } }
@keyframes ctaShine { 0%, 62% { left: -60%; } 100% { left: 130%; } }

/* ============================================================
   HEADER
   ============================================================ */
/* O menu fica escondido enquanto a capa estiver na tela; o JS adiciona .show
   quando a capa termina de passar. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 13px; background: var(--ivory);
  box-shadow: 0 6px 24px -14px rgba(4,17,33,.35), 0 1px 0 var(--line-soft);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.site-header.show { transform: none; opacity: 1; pointer-events: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--forest-600), var(--forest-900));
  display: grid; place-items: center; color: var(--gold);
  font-family: var(--serif); font-size: 1.08rem; letter-spacing: .04em; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(208,183,147,.4);
}
.brand .wm { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wm strong { font-family: var(--serif); font-weight: 400; font-size: 1.06rem; letter-spacing: .015em; color: var(--ink); white-space: nowrap; }
.brand .wm span { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 17px; flex-shrink: 0; }
.nav-links a { font-size: .85rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:1.5px; background: var(--gold-2); transition: width .3s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
/* o CTA do topo é compacto para o nav inteiro caber dentro do container */
.nav-cta .btn { padding: 12px 20px; font-size: .82rem; }
.nav-cta .btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav-toggle span { display:block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 86vh, 840px);
  display: flex; align-items: center; color: var(--ink);
  /* #6FA0CE cheio atrás do retrato e no topo, degradê abrindo para a areia.
     A massa de azul fica à direita para o texto seguir sobre fundo claro. */
  background:
    radial-gradient(48% 52% at 80% 30%, rgba(111,160,206,1) 0%, rgba(111,160,206,.58) 42%, rgba(111,160,206,0) 74%),
    radial-gradient(46% 34% at 0% 0%, rgba(36,47,75,.45) 0%, rgba(36,47,75,0) 66%),
    linear-gradient(180deg,
      var(--teal)  0%,
      #86AED6     9%,
      #ADC6E2    18%,
      #CFDCEC    30%,
      #E4EBF3    48%,
      #F1EEE8    72%,
      var(--ivory) 95%);
}
/* clareia o lado do texto e deixa o teal respirar atrás do retrato */
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52% 48% at 2% 72%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%),
    radial-gradient(44% 40% at 88% 92%, rgba(208,183,147,.26), rgba(208,183,147,0) 66%); }

/* textura de pontos: só no canto inferior esquerdo, bem discreta */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(36,47,75,.16) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(64% 58% at 14% 88%, #000 0%, transparent 72%);
  mask-image: radial-gradient(64% 58% at 14% 88%, #000 0%, transparent 72%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 122px clamp(22px, 5vw, 52px) 96px;
  display: grid; grid-template-columns: 1.26fr .74fr; gap: clamp(28px, 3vw, 40px); align-items: center; }
.hero-content { max-width: 700px; animation: hero-up .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px; }
.hero-eyebrow::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold-2), transparent); }
/* Headline em quatro linhas de tamanhos diferentes.
   Todos os tamanhos são em `em` sobre a mesma base, então as proporções — e o
   alinhamento entre a linha 2 e a linha 3 — se mantêm em qualquer largura. */
/* base calibrada para a linha 2 sair no MESMO corpo do h2.title das seções:
   h2.title = clamp(1.75rem, 3.5vw, 2.75rem) e a linha 2 vale .88em da base. */
.hero-title { font-size: clamp(1.6rem, 3.98vw, 3.125rem); line-height: 1.06; margin: 0 0 28px; font-weight: 400; }
.hero-title > span { display: block; }

/* Mesmo sistema dos títulos de seção: serifada em tom escuro para o contexto,
   Poppins bold dourado para o que importa. */
.hero-title .l1 { font-family: var(--serif); font-size: max(.85rem, .44em); font-weight: 400;
  letter-spacing: .015em; color: var(--ink); line-height: 1.2; }
.hero-title .l2 { font-family: var(--sans); font-size: .88em; font-weight: 700;
  letter-spacing: -.02em; color: var(--gold-deep); line-height: 1.16; }
.hero-title .l2 .sm { font-family: var(--serif); font-size: .5em; font-weight: 400;
  color: var(--ink); letter-spacing: .015em; }
/* dimensionada para fechar na largura da linha 2 */
.hero-title .l3 { font-family: var(--serif); font-size: .619em; line-height: 1.26;
  letter-spacing: .012em; color: var(--ink); }
.hero-title .l4 { font-family: var(--sans); font-size: .88em; font-weight: 700;
  letter-spacing: -.02em; color: var(--gold-deep); line-height: 1.16; margin-top: .14em; }
.hero-points { display: grid; gap: 9px; margin-bottom: 32px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start;
  font-family: var(--sans); font-size: clamp(.92rem, 1.05vw, 1rem); font-weight: 400;
  line-height: 1.45; color: var(--ink-soft); }
.hero-points b { color: var(--forest-700); font-weight: 600; }

/* ---- ícones animados dos checks ----
   Cada estado de repouso é o estado "final" (traço desenhado, ponteiro parado),
   para que com prefers-reduced-motion o ícone continue legível. */
.hero-points .ico { flex: none; width: 21px; height: 21px; color: var(--green-deep); margin-top: 2px; }
.hero-points .ico .mer, .hero-points .ico .fig,
.hero-points .ico .hh, .hero-points .ico .hm { transform-box: view-box; transform-origin: 12px 12px; }

/* 1 · neuropsicólogo: o check ao lado da figura é desenhado */
.ico-pro .ck { stroke-dasharray: 9; animation: icoDraw 3.6s ease-in-out infinite; }
@keyframes icoDraw { 0%, 6% { stroke-dashoffset: 9; } 26%, 100% { stroke-dashoffset: 0; } }

/* 2 · online: o meridiano achata e volta, como um globo girando */
.ico-globo .mer { animation: icoSpinGlobe 5.5s ease-in-out infinite; }
@keyframes icoSpinGlobe { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.1); } }

/* 3 · adultos: a figura respira */
.ico-adulto .fig { animation: icoBob 3.8s ease-in-out infinite; }
@keyframes icoBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4px); } }

/* 4 · sem encaminhamento: o risco corta o documento */
.ico-livre .slash { stroke-dasharray: 24; animation: icoSlash 4.2s ease-in-out infinite; }
@keyframes icoSlash { 0%, 10% { stroke-dashoffset: 24; } 38%, 100% { stroke-dashoffset: 0; } }

/* 5 · 48h: os ponteiros correm */
.ico-relogio .hm { animation: icoTurn 2.8s linear infinite; }
.ico-relogio .hh { animation: icoTurn 14s linear infinite; }
@keyframes icoTurn { to { transform: rotate(360deg); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-media { position: relative; justify-self: center; width: 100%; max-width: 428px;
  animation: hero-up 1s cubic-bezier(.2,.7,.2,1) .12s both; }
/* mancha orgânica que respira e muda de forma devagar */
.hero-blob { position: absolute; z-index: 0; inset: -14% -12% -8% -10%;
  border-radius: 46% 54% 58% 42% / 52% 45% 55% 48%;
  background: radial-gradient(closest-side, rgba(111,160,206,.62), rgba(111,160,206,0) 74%);
  filter: blur(8px); animation: heroGlow 7s ease-in-out infinite, blobMorph 16s ease-in-out infinite; }
@keyframes blobMorph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 52% 45% 55% 48%; }
  33%      { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; }
  66%      { border-radius: 40% 60% 52% 48% / 58% 40% 60% 42%; }
}
.hero-frame-wrap { position: relative; z-index: 1; animation: heroFloat 6.5s ease-in-out infinite; }

/* ondas concêntricas que pulsam a partir da foto (no lugar do anel girando).
   O posicionamento usa margens negativas para deixar o transform livre p/ a animação. */
.hero-ring {
  position: absolute; z-index: 0; top: 50%; left: 50%;
  width: 128%; aspect-ratio: 1; margin: -64% 0 0 -64%;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  pointer-events: none;
}
.hero-ring::before, .hero-ring::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.75);
  animation: heroRipple 5.6s cubic-bezier(.28,.6,.32,1) infinite;
}
.hero-ring::after { animation-delay: 2.8s; }
@keyframes heroRipple {
  0%   { transform: scale(.76); opacity: 0; }
  14%  { opacity: .85; }
  70%  { opacity: .28; }
  100% { transform: scale(1.2); opacity: 0; }
}
.hero-frame { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5;
  border-radius: 24px 24px 20px 20px; overflow: hidden; border: 6px solid #fff; background: #fff;
  box-shadow: 0 34px 74px -30px rgba(4,17,33,.45), 0 8px 22px -12px rgba(4,17,33,.28); }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.hero-badge { position: absolute; z-index: 2; left: -18px; bottom: 30px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 15px; border-radius: 14px;
  background: #fff; border-left: 3px solid var(--sage);
  box-shadow: var(--shadow); animation: heroBadge 6.5s ease-in-out .4s infinite; }
.hero-badge .hb-num { font-family: var(--serif); font-size: 2.2rem; line-height: .92; color: var(--green-deep); }
.hero-badge .btxt { font-size: .74rem; color: var(--ink-soft); line-height: 1.2; }
.hero-badge .btxt b { display: block; color: var(--ink); font-weight: 700; font-size: .8rem; }

/* selo de experiência, no topo da foto */
.hero-badge-top { left: auto; right: -18px; bottom: auto; top: 26px; animation-delay: 1.6s; }

/* o número é animado por JS; a largura fica reservada para não dar tranco */
.hero-badge .count { display: inline-block; min-width: 1.5em; text-align: right; font-variant-numeric: tabular-nums; }
.hero-wave { position: absolute; left: 0; bottom: -1px; z-index: 4; width: 100%;
  height: clamp(46px, 6vw, 88px); color: var(--ivory-2); pointer-events: none; display: block; }
@keyframes hero-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroGlow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .82; transform: scale(1.04); } }
@keyframes heroBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ============================================================
   CAPA — fundo marinho cheio, texto claro, CTA dourado
   Só entra em quem tiver .hero-alt; a capa original fica intacta.
   ============================================================ */
.hero-alt {
  background:
    radial-gradient(64% 52% at 84% 18%, rgba(111,160,206,.30) 0%, rgba(111,160,206,0) 66%),
    radial-gradient(48% 40% at 2% 6%, rgba(169,193,222,.14) 0%, rgba(169,193,222,0) 70%),
    linear-gradient(162deg, #242F4B 0%, #14213A 46%, #041121 100%);
}
.hero-alt .hero-glow {
  background:
    radial-gradient(46% 42% at 6% 78%, rgba(169,193,222,.16), rgba(169,193,222,0) 70%),
    radial-gradient(42% 38% at 92% 90%, rgba(208,183,147,.16), rgba(208,183,147,0) 66%);
}
/* a textura de pontos precisa ser clara sobre o fundo escuro */
.hero-alt::before { background-image: radial-gradient(rgba(255,255,255,.10) 1.1px, transparent 1.1px); }

.hero-alt .hero-eyebrow { color: var(--gold); }
.hero-alt .hero-eyebrow::before { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-alt .hero-title .l1,
.hero-alt .hero-title .l2 .sm,
.hero-alt .hero-title .l3 { color: var(--on-forest); }
.hero-alt .hero-title .l2 { color: var(--gold); }
.hero-alt .hero-title .l4 { color: #fff; }

.hero-alt .hero-points li { color: var(--on-forest-soft); }
.hero-alt .hero-points b { color: #fff; }
.hero-alt .hero-points .ico { color: var(--sage); }

.hero-alt .hero-blob {
  background: radial-gradient(closest-side, rgba(111,160,206,.42), rgba(111,160,206,0) 74%);
}
.hero-alt .hero-frame { border-color: rgba(255,255,255,.92);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 8px 22px -12px rgba(0,0,0,.35); }
.hero-alt .hero-ring { border-color: rgba(255,255,255,.16); }
.hero-alt .hero-ring::before, .hero-alt .hero-ring::after { border-color: rgba(255,255,255,.42); }

/* CTA dourado — o botão de marca do Paulo, que salta do marinho */
.btn-amber {
  background: linear-gradient(135deg, #E6D2B1 0%, #D0B793 55%, #B89A6C 100%);
  color: var(--forest-800);
  box-shadow: 0 14px 30px -10px rgba(156,121,67,.62);
  animation: ctaPulseAmber 2.6s ease-in-out infinite;
}
.btn-amber:hover {
  background: linear-gradient(135deg, #EEDDBF 0%, #D0B793 55%, #A88A5C 100%);
  box-shadow: 0 20px 40px -10px rgba(156,121,67,.8);
}
@keyframes ctaPulseAmber {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(156,121,67,.6), 0 0 0 0 rgba(208,183,147,.5); }
  50%      { box-shadow: 0 16px 34px -10px rgba(156,121,67,.7), 0 0 0 14px rgba(208,183,147,0); }
}

/* ---------- Carrossel dos sinais — deslizamento contínuo ----------
   O JS duplica os itens; o track anda exatamente a largura de um conjunto,
   então a volta é imperceptível. O -9px compensa metade do gap. */
.carousel { position: relative; margin-top: 48px; }
/* o padding vertical evita que a sombra dos cards seja cortada pelo overflow */
.car-viewport { overflow: hidden; padding-block: 6px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.car-track { display: flex; gap: 18px; width: max-content; list-style: none; padding: 0; margin: 0;
  will-change: transform; animation: carScroll 60s linear infinite; }
/* Largura calibrada para caber 4 cards no container (1016px de conteúdo):
   (1016 - 3 gaps de 18) / 4 = 240px. Fixa de propósito — abaixo de 236px o
   texto mais longo passa de 4 para 5 linhas e engole a foto. O 66vw só existe
   para telas muito estreitas, onde o card não pode ser mais largo que a tela. */
.car-item { flex: 0 0 auto; width: min(240px, 66vw);
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--forest-800);
  box-shadow: 0 2px 4px rgba(4,17,33,.06), 0 16px 32px -20px rgba(4,17,33,.45);
  transition: transform .35s ease, box-shadow .35s ease; }
.carousel:hover .car-item:hover { transform: translateY(-5px);
  box-shadow: 0 3px 6px rgba(4,17,33,.08), 0 28px 54px -22px rgba(4,17,33,.55); }
@keyframes carScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
/* pausa para dar tempo de ler */
.carousel:hover .car-track, .carousel:focus-within .car-track { animation-play-state: paused; }

/* a foto ocupa o card inteiro; o texto vem por cima */
.car-fig { position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center; margin: 0;
  background: linear-gradient(150deg, var(--mint), var(--mint-2)); }
/* font-size:0 evita que o texto alternativo apareça enquanto o arquivo não existir.
   A dessaturação aproxima fotos de bancos diferentes, que chegam com temperaturas
   de cor muito distintas; o brightness abre espaço para o texto branco. */
.car-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 26%; font-size: 0; color: transparent;
  filter: saturate(.78) contrast(1.04) brightness(.94);
  transition: transform .8s cubic-bezier(.22,.7,.2,1), filter .45s ease; }
.car-item:hover .car-fig img { transform: scale(1.06); filter: saturate(.95) contrast(1.04) brightness(1); }
/* Película: um véu leve no topo escurece a foto inteira e um degradê forte no
   rodapé garante contraste do texto mesmo sobre as fotos mais claras.
   O topo é de propósito mais fraco que o miolo — várias fotos já têm fundo
   escuro em cima, e um véu forte ali fechava o rosto do retratado. */
.car-fig::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(2,10,20,.26) 0%, rgba(2,10,20,.16) 34%, rgba(2,10,20,.6) 66%, rgba(2,10,20,.93) 100%); }
/* marcador do espaço reservado — some sozinho quando a imagem existir */
.car-fig .ph { position: relative; font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); text-align: center; padding: 0 12px; }
.car-fig.com-img .ph { display: none; }

.car-item p { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 0 18px 20px; margin: 0;
  font-size: .875rem; line-height: 1.5; color: #fff;
  text-shadow: 0 1px 10px rgba(2,10,20,.6); }
.car-item b { color: var(--gold); font-weight: 600; }

/* sem movimento, vira uma faixa que o usuário rola com o dedo */
@media (prefers-reduced-motion: reduce) {
  .car-track { animation: none; }
  .car-viewport { overflow-x: auto; }
}

/* ============================================================
   O QUE É — split + funções cognitivas
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
.split.stretch { align-items: stretch; }
.split.rev .split-media { order: -1; }
.split-media { max-width: 400px; width: 100%; margin-inline: auto; position: relative; }

/* ============================================================
   CONDIÇÕES INVESTIGADAS
   ============================================================ */
/* Bento: 4 colunas × 3 linhas = 12 células.
   TDAH e TEA tomam 2 células cada (faixa de destaque); os outros 8 tomam 1. */
.cond-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr;
  gap: 16px; margin-top: 44px; }
.cond-card.f-2x1 { grid-column: span 2; }
.cond-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 22px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  /* sombra permanente: sem ela o card branco some no fundo claro */
  box-shadow: 0 2px 4px rgba(4,17,33,.05), 0 10px 24px -16px rgba(4,17,33,.28);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.cond-card::after { content:""; position:absolute; left:0; top:0; height:100%; width:3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.cond-card:hover { transform: translateY(-6px); border-color: var(--gold-2);
  box-shadow: 0 3px 6px rgba(4,17,33,.06), 0 22px 44px -20px rgba(4,17,33,.4); }
.cond-card:hover::after { transform: scaleY(1); }
.cond-card .tico { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; color: var(--forest-700);
  background: linear-gradient(150deg, var(--mint), var(--mint-2));
  box-shadow: inset 0 0 0 1px rgba(208,183,147,.28), 0 6px 16px -10px rgba(4,17,33,.45);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease, color .4s ease, box-shadow .4s ease; }
.cond-card .tico svg { width: 26px; height: 26px; stroke-width: 1.7; transform-origin: center; will-change: transform; }
.cond-card:hover .tico { transform: translateY(-2px) scale(1.1) rotate(-5deg);
  background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff;
  box-shadow: 0 12px 24px -8px rgba(208,183,147,.9); }
.cond-card h3 { font-size: 1.08rem; margin-bottom: 7px; }
.cond-card .sig { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 4px; }
.cond-card p { font-size: .87rem; color: var(--ink-soft); line-height: 1.55; }

/* os dois blocos de destaque abrem a grade: fundo em menta, ícone dourado, tipo maior */
.cond-card.feat {
  padding: 32px 30px; justify-content: center;
  background: linear-gradient(158deg, var(--mint) 0%, var(--paper) 74%);
  border-color: var(--line);
}
.cond-card.feat .tico { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff; }
.cond-card.feat .tico svg { width: 28px; height: 28px; }
.cond-card.feat .sig { font-size: .73rem; margin-bottom: 6px; }
.cond-card.feat h3 { font-size: clamp(1.24rem, 1.8vw, 1.5rem); margin-bottom: 11px; }
.cond-card.feat p { font-size: .96rem; line-height: 1.64; }
.cond-card.f-2x1 { justify-content: center; }

/* animações idle dos ícones */
.cond-bento .cond-card:nth-child(1) .tico svg { animation: icoFlick 3.2s ease-in-out infinite; }
.cond-bento .cond-card:nth-child(2) .tico svg { animation: icoSway 4s ease-in-out infinite; }
.cond-bento .cond-card:nth-child(3) .tico svg { animation: icoTwinkle 3.4s ease-in-out infinite; }
.cond-bento .cond-card:nth-child(4) .tico svg { animation: icoBreathe 4.2s ease-in-out infinite; }
.cond-bento .cond-card:nth-child(5) .tico svg { animation: icoFloat 4.6s ease-in-out infinite; }
.cond-bento .cond-card:nth-child(6) .tico svg { animation: icoBreathe 4.2s ease-in-out .6s infinite; }
.cond-bento .cond-card:nth-child(7) .tico svg { animation: icoSway 4s ease-in-out .5s infinite; }
.cond-bento .cond-card:nth-child(8) .tico svg { animation: icoBeat 2.8s ease-in-out infinite; }
.cond-bento .cond-card:nth-child(9) .tico svg { animation: icoFloat 4.6s ease-in-out .9s infinite; }
.cond-bento .cond-card:nth-child(10) .tico svg { animation: icoSpin 14s linear infinite; }
@keyframes icoBreathe { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.13); } }
@keyframes icoFloat   { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-4px); } }
@keyframes icoBeat    { 0%,100%{ transform: scale(1); } 12%{ transform: scale(1.2); } 24%{ transform: scale(1); } 36%{ transform: scale(1.12); } 50%{ transform: scale(1); } }
@keyframes icoSpin    { to { transform: rotate(360deg); } }
@keyframes icoFlick   { 0%,44%,100%{ opacity: 1; } 48%{ opacity: .35; } 52%{ opacity: 1; } 68%{ opacity: .5; } 72%{ opacity: 1; } }
@keyframes icoTwinkle { 0%,100%{ transform: scale(1) rotate(0); opacity: 1; } 50%{ transform: scale(1.16) rotate(10deg); opacity: .82; } }
@keyframes icoSway    { 0%,100%{ transform: rotate(-7deg); } 50%{ transform: rotate(7deg); } }

.section-cta { text-align: center; margin-top: 54px; }
.section-cta .q { font-family: var(--serif); font-size: clamp(1.5rem,3vw,2.2rem); color: var(--forest-700);
  max-width: 17em; margin: 0 auto 10px; line-height: 1.26; letter-spacing: .01em; }
.section-cta .q em { font-family: var(--sans); font-weight: 700; font-style: normal; color: var(--gold-deep); letter-spacing: -.015em; }
.section-cta p { color: var(--ink-soft); margin-bottom: 26px; }
.bg-forest .section-cta .q { color: #fff; }
.bg-forest .section-cta p { color: var(--on-forest-soft); }

/* ============================================================
   BENEFÍCIOS / POR QUE FAZER
   ============================================================ */
.ben-list { display: grid; gap: 18px; margin-top: 32px; }
.ben-list li { display: flex; gap: 16px; align-items: flex-start; }
.ben-list .ck { flex:none; width: 30px; height: 30px; border-radius: 50%; background: var(--forest-700); color: var(--gold); display:grid; place-items:center; margin-top:2px; }
.ben-list .ck svg { width: 15px; height: 15px; }
.ben-list p { font-size: .97rem; color: var(--ink-soft); }
.ben-list b { color: var(--ink); font-weight: 700; }
.bg-forest .ben-list .ck { background: var(--gold); color: var(--forest-800); }
.bg-forest .ben-list p { color: var(--on-forest); }
.bg-forest .ben-list b { color: #fff; }

/* card de destaque do laudo */
.laudo-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 44px); text-align: center;
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.laudo-card::before { content:""; position:absolute; inset:-40% -30% auto auto; width: 260px; height: 260px; border-radius:50%;
  background: radial-gradient(closest-side, rgba(208,183,147,.22), transparent 70%); pointer-events:none; }
.laudo-card .big { font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 5rem); line-height: .9; color: var(--gold); }
.laudo-card .big small { font-size: .34em; letter-spacing: .04em; }
.laudo-card h3 { font-size: 1.3rem; margin: 14px 0 10px; color: #fff; }
.laudo-card p { color: var(--on-forest-soft); font-size: .95rem; }
.laudo-meta { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); text-align: left; }
.laudo-meta div { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--on-forest); }
.laudo-meta svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ============================================================
   TIMELINE — etapas da avaliação
   ============================================================ */
.timeline { position: relative; max-width: 720px; margin: 54px auto 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 14px; bottom: 22px; width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--forest-500) 100%); border-radius: 2px; }
.tl-step { position: relative; padding: 0 0 26px 78px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-marker { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold); color: var(--forest-700);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; line-height: 1;
  box-shadow: 0 6px 16px -8px rgba(4,17,33,.45); z-index: 1;
  transition: transform .35s ease, background .35s ease, color .35s ease; }
.tl-body { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 18px 26px; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; }
.tl-step h3 { font-size: 1.16rem; margin-bottom: 5px; color: var(--ink); }
.tl-step p { font-size: .94rem; color: var(--ink-soft); line-height: 1.6; }
.tl-step:hover .tl-marker { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff; transform: scale(1.08); }
.tl-step:hover .tl-body { transform: translateX(4px); box-shadow: var(--shadow); }
.tl-cta { text-align: center; margin-top: 44px; }

.tl-step.reveal { opacity: 1; transform: none; }
.tl-step.reveal .tl-marker { opacity: 0; transform: scale(.3);
  transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.tl-step.reveal .tl-body { opacity: 0; transform: translateX(-34px) scale(.96); transform-origin: left center;
  transition: opacity .6s ease .1s, transform .65s cubic-bezier(.2,.85,.25,1) .1s; }
.tl-step.reveal.in .tl-marker { opacity: 1; transform: scale(1); }
.tl-step.reveal.in .tl-body { opacity: 1; transform: none; }

.etapas-layout { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(30px, 5vw, 62px); align-items: start; margin-top: 50px; }
.etapas-layout .timeline { margin: 6px 0 0; max-width: none; }
.etapas-photo { position: sticky; top: 104px; }
.ep-frame { position: relative; border-radius: 18px 18px 18px 96px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.ep-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ep-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 12px 18px; border-radius: 12px;
  background: rgba(255,255,255,.93); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow); font-size: .8rem; color: var(--ink-soft); line-height: 1.3; }
.ep-tag b { color: var(--forest-700); font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }

/* ============================================================
   POR QUE ESCOLHER — 3 cards
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.why-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card .ring { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: grid; place-items: center; color: var(--gold-deep); margin-bottom: 20px; }
.why-card .ring svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { font-size: .93rem; color: var(--ink-soft); line-height: 1.62; }

/* ============================================================
   SOBRE
   ============================================================ */
.about-media img { border-radius: 12px 12px 12px 120px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; width: 100%; height: auto; }
.about-media .crp {
  position: absolute; left: -20px; bottom: 34px; background: var(--forest-700); color: #fff;
  padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow); text-align: center;
}
.about-media .crp .n { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--gold); }
.about-media .crp .l { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-forest-soft); margin-top: 4px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 30px; }
.about-cols h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 14px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); margin-bottom: 9px; }
.mini-list .d { flex:none; width:6px; height:6px; border-radius:50%; background: var(--gold); margin-top: 9px; }
.about blockquote { font-family: var(--serif); font-size: clamp(1.2rem,2.3vw,1.6rem); color: var(--forest-600); line-height: 1.4;
  margin: 28px 0; padding-left: 22px; border-left: 3px solid var(--gold); letter-spacing: .01em; }
.crp-line { color: var(--gold-deep); font-weight: 700; letter-spacing: .12em; font-size: .84rem; margin-top: 6px; }

/* ============================================================
   COMO FUNCIONA — 3 passos
   ============================================================ */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.step .n { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.step h4 { color: #fff; font-size: 1.14rem; margin-bottom: 10px; }
.step p { color: var(--on-forest-soft); font-size: .92rem; }
.pay-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-brands span { font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 50px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-forest); }

/* ============================================================
   GOOGLE
   ============================================================ */
.google-badge {
  display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 24px 34px; box-shadow: var(--shadow-sm); max-width: 640px; margin-inline: auto;
}
.google-badge .g { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; }
.google-badge .g .b{color:#4285F4}.g .r{color:#EA4335}.g .y{color:#FBBC05}.g .g2{color:#34A853}
.google-badge .txt { text-align: left; }
.google-badge .txt .st { color: var(--gold-deep); font-size: 1.1rem; letter-spacing: 3px; }
.google-badge .txt .lb { font-size: .88rem; color: var(--ink-soft); }
.google-badge .txt strong { color: var(--ink); }
.google-badge .txt a { color: var(--gold-deep); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-accordion { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-q { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease; }
.faq-q[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-q summary { list-style: none; cursor: pointer; padding: 19px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--ink); transition: color .2s ease; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary:hover, .faq-q[open] summary { color: var(--forest-700); }
.faq-q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 3px;
  border-right: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s ease; }
.faq-q[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: .94rem; color: var(--ink-soft); line-height: 1.64; }
.faq-q[open] .faq-a { animation: faqOpen .35s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq-cta { text-align: center; margin-top: 42px; }
.faq-cta p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 18px; }

/* ============================================================
   CONTATO + FOOTER
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; }
.contact-list { display: grid; gap: 8px; margin-top: 30px; }
.contact-list a, .contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s, transform .25s; }
.contact-list a:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(208,183,147,.16); color: var(--gold); display:grid; place-items:center; flex:none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-forest-soft); display: block; }
.contact-list .v { font-size: 1rem; color: #fff; font-weight: 600; display: block; }
.contact-cta { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(30px,4vw,48px); text-align: center; }
.contact-cta .eyebrow { justify-content: center; margin-bottom: 18px; }
.contact-cta h3 { color:#fff; font-size: clamp(1.5rem,2.8vw,2.15rem); margin-bottom: 14px; }
.contact-cta p { color: var(--on-forest-soft); margin-bottom: 26px; }
.site-footer { background: var(--forest-900); color: var(--on-forest-soft); padding-block: 54px 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { max-width: 350px; }
.footer-brand .brand .wm strong { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: .88rem; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: var(--on-forest-soft); transition: .25s; }
.footer-social a:hover { background: var(--gold); color: var(--forest-900); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-nav { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-nav h5 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.footer-nav a, .footer-nav span { display: block; font-size: .88rem; margin-bottom: 10px; color: var(--on-forest-soft); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
/* o padding-bottom reserva o canto que o botão flutuante do WhatsApp ocupa —
   sem ele a última linha do rodapé fica atrás do botão, em qualquer largura */
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 22px 0 58px; font-size: .78rem; color: var(--on-forest-soft); }
.footer-bottom a { color: var(--gold); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  height: 54px; padding: 0 22px 0 15px; border-radius: 50px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.04) translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float-label { white-space: nowrap; }
@media (max-width: 420px) { .wa-float { right: 14px; bottom: 14px; padding: 0 18px 0 13px; height: 50px; font-size: .9rem; } }
@keyframes wa-pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 18px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Lightbox ---------- */
.hero-frame img, .ep-frame img, .about-media img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 44px); background: rgba(2,9,18,.93); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  cursor: zoom-out; opacity: 0; transition: opacity .3s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(94vw, 1040px); max-height: 90vh; width: auto; height: auto; border-radius: 10px;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.6); cursor: default; animation: lbIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox-close { position: absolute; top: clamp(14px,3vw,24px); right: clamp(14px,3vw,26px);
  width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1200px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: .81rem; }
  .brand .wm strong { font-size: .99rem; }
  .nav-cta .btn { padding: 11px 17px; font-size: .8rem; }
}
@media (max-width: 1024px) {
  /* 2 colunas: o bloco grande deixa de ser 2x2 e vira uma faixa larga */
  .cond-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .why-grid, .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .mbr { display: none; } }

/* Menu: com o rótulo longo no botão, os links + CTA não cabem abaixo de ~1040px.
   A troca para o hambúrguer acontece aqui, antes do resto do layout empilhar. */
@media (max-width: 1120px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle, .nav-cta .nav-toggle { display: block; }

  .nav-panel {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--ivory);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
    padding: 100px 34px 40px; z-index: 105; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  }
  body.menu-open .nav-panel { transform: translateX(0); }
  .nav-panel a { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-panel .btn-wa { margin-top: 20px; font-family: var(--sans); font-size: 1rem; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(4,17,33,.55); opacity: 0; visibility: hidden; transition: .35s; z-index: 104; }
  body.menu-open .nav-scrim { opacity: 1; visibility: visible; }
  body.menu-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
  body.menu-open .nav-toggle span:nth-child(2){ opacity:0;}
  body.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}
}
@media (min-width: 1121px) { .nav-panel, .nav-scrim { display: none; } }

@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .section-head .eyebrow { justify-content: center; }
  .hero { min-height: 0; display: block; align-items: stretch; }
  .hero-glow { background:
    radial-gradient(64% 26% at 50% 86%, rgba(255,255,255,.55), rgba(255,255,255,0) 74%),
    radial-gradient(78% 30% at 50% 6%, rgba(169,193,222,.3), rgba(169,193,222,0) 72%); }
  .hero::before { -webkit-mask-image: radial-gradient(78% 22% at 50% 96%, #000 0%, transparent 74%);
    mask-image: radial-gradient(78% 22% at 50% 96%, #000 0%, transparent 74%); }
  /* O menu fica escondido enquanto a capa está na tela, então não há barra
     ocupando o topo — o respiro aqui é só respiro, não folga para o header. */
  .hero-inner { display: flex; flex-direction: column;
    padding: 54px clamp(20px,6vw,32px) 54px; gap: 0; }
  /* A foto sobe para logo abaixo da linha "Neuropsicólogo · CRP · 100% online".
     `display: contents` dissolve o .hero-content e promove os filhos dele a
     itens do mesmo flex — é o que permite intercalar a foto entre eles sem
     duplicar a imagem no HTML e baixá-la duas vezes. */
  .hero-content { display: contents; text-align: center; }
  .hero-eyebrow { order: 1; justify-content: center; margin-bottom: 16px; }
  .hero-media   { order: 2; max-width: 320px; margin: 4px auto 30px; }
  .hero-title   { order: 3; margin-bottom: 22px; }
  .hero-points  { order: 4; max-width: 26em; margin: 0 auto 28px; text-align: left; }
  .hero-actions { order: 5; justify-content: center; }
  /* a animação de entrada estava no .hero-content, que agora não gera caixa */
  .hero-eyebrow, .hero-media, .hero-title, .hero-points, .hero-actions {
    animation: hero-up .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-media   { animation-delay: .06s; }
  .hero-title   { animation-delay: .12s; }
  .hero-points  { animation-delay: .18s; }
  .hero-actions { animation-delay: .24s; }
  /* selos mais compactos para caber na foto menor */
  .hero-badge { left: 10px; bottom: 18px; padding: 10px 14px 10px 12px; gap: 9px; }
  .hero-badge .hb-num { font-size: 1.75rem; }
  .hero-badge .btxt { font-size: .7rem; }
  .hero-badge .btxt b { font-size: .76rem; }
  /* precisa zerar o bottom herdado da regra acima, senão o selo estica de cima a baixo */
  .hero-badge-top { left: auto; right: 10px; top: 16px; bottom: auto; }
  .hero-wave { height: clamp(38px, 9vw, 60px); }
  .about-cols { grid-template-columns: 1fr; }
  .about-media .crp { left: 10px; }

  .etapas-layout { grid-template-columns: 1fr; gap: 30px; }
  .etapas-photo { position: relative; top: auto; max-width: 360px; margin: 0 auto; }
  .etapas-layout .timeline { margin-inline: auto; }

  /* Daqui para baixo é tudo tela de toque, incluindo tablet — por isso as duas
     regras abaixo começam aqui e não só no recorte de celular.
     Os links do rodapé tinham 24px de altura, metade do alvo mínimo. O padding
     entra no lugar da margem (e vai também nos <span> da coluna ao lado) para
     as duas colunas manterem o mesmo passo vertical. */
  .footer-nav a, .footer-nav span { padding-block: 8px; margin-bottom: 0; }
}

@media (max-width: 620px) {
  /* Em tela estreita o alinhamento entre as linhas empurraria a linha 3 para um
     corpo menor que o do subtítulo. Aqui a legibilidade vem antes do alinhamento. */
  /* Teto ditado pela largura: acima disso "Avaliação Neuropsicológica" quebra
     em duas. O piso baixo é pelo mesmo motivo — em 320px o mínimo de 1.5rem
     travava a fonte acima do que a linha comporta e ela quebrava de novo. */
  .hero-title { font-size: clamp(1.3rem, 6.6vw, 1.65rem); }
  .hero-title .l1 { font-size: max(.82rem, .42em); }
  .hero-title .l3 { font-size: .78em; line-height: 1.32; }
  /* nessa largura "Avaliação Neuropsicológica" ocupa a linha toda e o "para"
     ficaria órfão; ele desce para o começo da linha seguinte */
  .hero-title .l2 .sm { display: none; }
  .hero-title .l3::before { content: "para "; }
}

@media (max-width: 560px) {
  .section-pad { padding-block: clamp(58px, 12vw, 92px); }
  /* o traço fica órfão quando o eyebrow quebra em duas linhas */
  .hero-eyebrow::before { display: none; }
  /* "NEUROPSICÓLOGO · CRP 01/26889 · ONLINE E PRESENCIAL" com o tracking cheio não
     cabe e quebra deixando "ONLINE" sozinho na segunda linha. O corpo em vw
     acompanha a tela: um valor fixo que serve para 390px volta a quebrar em 360. */
  .hero-eyebrow { font-size: min(.72rem, 2.84vw); letter-spacing: .12em; }
  .cond-bento { grid-template-columns: 1fr; }
  .cond-card.f-2x1 { grid-column: span 1; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 34px; }
  .about-media .crp, .hero-badge { transform: scale(.92); transform-origin: left bottom; }

  /* O marcador de 54px mais o recuo de 78px comiam 22% da largura útil e o
     texto de cada etapa ia para seis linhas. */
  .timeline::before { left: 20px; }
  .tl-step { padding: 0 0 22px 56px; }
  .tl-marker { width: 42px; height: 42px; font-size: 1.2rem; }
  .tl-body { padding: 15px 18px; }
  .tl-step h3 { font-size: 1.08rem; }

  .footer-nav { gap: 26px; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .hero-actions .btn, .nav-panel .btn { width: 100%; }
  /* nesta largura cada etapa ia para seis linhas; o recuo devolve ~14px ao texto */
  .timeline::before { left: 17px; }
  .tl-step { padding-left: 48px; }
  .tl-marker { width: 36px; height: 36px; font-size: 1.05rem; }
  .tl-body { padding: 14px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}




/* ---------- Mapa do consultório (contato) ---------- */
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.map-card iframe { display: block; width: 100%; height: clamp(280px, 34vw, 380px); border: 0; }
.map-card .map-cap { display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px;
  font-size: .9rem; color: var(--on-forest); line-height: 1.5; }
.map-card .map-cap svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }
.contact-actions { margin-top: 26px; }

/* "· ONLINE E PRESENCIAL" não cabe na linha do celular e quebrava sozinho;
   a informação já está na lista logo abaixo */
@media (max-width: 560px) { .hero-eyebrow .eb-extra { display: none; } }

/* ---------- Headline da capa num corpo só ----------
   Mesmo sistema dos títulos de seção (serifada + destaque em Poppins dourado),
   todas as linhas no mesmo tamanho. Sobrescreve as regras .l1–.l4 do modelo. */
.hero-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.45vw, 2.1rem); line-height: 1.25;
  letter-spacing: .005em; margin-bottom: 28px; }
.hero-alt .hero-title { color: var(--on-forest); }
.hero-title em { font-size: 1em; }
.hero-alt .hero-title em { color: var(--gold); }
.hero-title .hl { display: block; margin-top: .25em; color: #fff; }
@media (max-width: 620px) {
  .hero-title { font-size: clamp(1.3rem, 5.6vw, 1.55rem); }
}

/* ============================================================
   PARA QUEM É — condições com os sintomas dentro de cada uma
   ============================================================ */
.quadros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.quadro {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 26px 24px; position: relative; overflow: hidden;
  box-shadow: 0 2px 4px rgba(4,17,33,.04), 0 12px 28px -20px rgba(4,17,33,.35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.quadro::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.quadro:hover { transform: translateY(-5px); border-color: var(--gold-2);
  box-shadow: 0 3px 6px rgba(4,17,33,.06), 0 22px 44px -22px rgba(4,17,33,.45); }
.quadro:hover::after { transform: scaleY(1); }
.quadro header { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft); }
.q-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint); color: var(--forest-700); }
.q-ico svg { width: 24px; height: 24px; }
.quadro h3 { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em;
  color: var(--forest-800); line-height: 1.15; }
.quadro header p { font-size: .8rem; color: var(--ink-soft); line-height: 1.35; margin-top: 3px; }
.quadro ul { display: grid; gap: 7px; }
.quadro li { position: relative; padding-left: 21px; font-size: .86rem; color: var(--ink); line-height: 1.4; }
.quadro li::before { content: ""; position: absolute; left: 0; top: .22em; width: 13px; height: 13px; border-radius: 50%;
  background: rgba(208,183,147,.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C7943' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/9px no-repeat; }

/* TDAH e autismo são as buscas principais: cartão escuro */
.quadro.destaque { background: var(--forest-800); border-color: var(--forest-800); }
.quadro.destaque header { border-bottom-color: rgba(255,255,255,.12); }
.quadro.destaque .q-ico { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff; }
.quadro.destaque h3 { color: var(--gold); }
.quadro.destaque header p { color: var(--on-forest-soft); }
.quadro.destaque li { color: var(--on-forest); }
.quadro.destaque li::before { background-color: rgba(208,183,147,.2); }

.tambem { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 26px; }
.tambem .t-lb { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-right: 4px; }
.tambem ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tambem li { font-size: .88rem; font-weight: 500; color: var(--forest-700); padding: 7px 16px; border-radius: 50px;
  background: var(--paper); border: 1px solid var(--line); }

@media (max-width: 1024px) { .quadros { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .quadros { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .quadro { padding: 20px 20px 18px; }
  .quadro header { padding-bottom: 12px; margin-bottom: 12px; }
  .q-ico { width: 42px; height: 42px; border-radius: 12px; }
  .q-ico svg { width: 21px; height: 21px; }
  .quadro h3 { font-size: 1.18rem; }
  .quadro li { font-size: .86rem; }
}

/* ============================================================
   COMO FUNCIONA A AVALIAÇÃO — vídeo do Paulo + passos
   ============================================================ */
.vid-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.vid-col { position: relative; }
.vid-col::before { content: ""; position: absolute; inset: 8% -6% -4% -6%; z-index: 0; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(111,160,206,.35), rgba(111,160,206,0)); filter: blur(10px); }
.vid-frame { position: relative; z-index: 1; width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; background: var(--forest-800);
  border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.vid-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--forest-800); }
.vid-play { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0 0 12%; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px;
  background: linear-gradient(180deg, rgba(4,17,33,0) 45%, rgba(4,17,33,.72) 100%); color: #fff; }
.vp-ico { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--forest-800); box-shadow: 0 0 0 0 rgba(208,183,147,.6);
  animation: vpPulse 2.4s ease-out infinite; transition: transform .25s ease; }
.vp-ico svg { width: 30px; height: 30px; margin-left: 4px; }
.vp-txt { font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.vid-play:hover .vp-ico { transform: scale(1.08); }
@keyframes vpPulse { 0% { box-shadow: 0 0 0 0 rgba(208,183,147,.6); } 70% { box-shadow: 0 0 0 20px rgba(208,183,147,0); } 100% { box-shadow: 0 0 0 0 rgba(208,183,147,0); } }
.vid-frame.tocando .vid-play { display: none; }

.vid-text .eyebrow { margin-bottom: 18px; }
.vid-steps { margin: 30px 0 0; max-width: none; }
.vid-steps .tl-step { padding-bottom: 14px; }
.vid-steps .tl-body { padding: 14px 20px; }
.vid-steps .tl-step h3 { font-size: 1.08rem; margin-bottom: 3px; }
.vid-steps .tl-step p { font-size: .9rem; line-height: 1.5; }
.vid-cta { margin-top: 30px; }

@media (max-width: 860px) {
  /* no celular o título vem antes do vídeo: o .vid-text se dissolve e os filhos
     dele entram na mesma coluna que o vídeo, cada um na sua ordem */
  .vid-grid { display: flex; flex-direction: column; gap: 0; }
  .vid-text { display: contents; }
  .vid-text > .reveal:first-child { order: 1; }
  .vid-col { order: 2; width: 100%; margin-top: 30px; }
  .vid-steps { order: 3; margin-top: 36px; }
  .vid-cta { order: 4; }
  .vid-frame { max-width: 290px; }
  .vid-text > .reveal:first-child { text-align: center; }
  .vid-text .eyebrow { justify-content: center; }
  .vid-cta { text-align: center; }
}

/* ---------- Por que escolher: foto + cartões empilhados ---------- */
.esc-grid { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-areas: "foto head" "foto cards";
  gap: 0 clamp(36px, 6vw, 72px); align-items: start; }
.esc-head { grid-area: head; }
.esc-head .eyebrow { margin-bottom: 18px; }
.esc-foto { grid-area: foto; position: relative; align-self: center; max-width: 440px; width: 100%; margin-inline: auto; }
.esc-foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px 18px 18px 110px;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.esc-tag { position: absolute; right: -14px; bottom: 30px; padding: 12px 18px; border-radius: 12px; background: var(--forest-800);
  color: var(--on-forest-soft); font-size: .74rem; line-height: 1.35; box-shadow: var(--shadow); }
.esc-tag b { display: block; color: var(--gold); font-size: .86rem; letter-spacing: .08em; }
.why-stack { grid-area: cards; display: grid; gap: 14px; margin-top: 30px; }
.why-stack .why-card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px 24px; }
.why-stack .why-card .ring { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
.why-stack .why-card h3 { font-size: 1.12rem; margin-bottom: 6px; align-self: end; }
.why-stack .why-card p { font-size: .9rem; }
@media (max-width: 860px) {
  .esc-grid { grid-template-columns: 1fr; grid-template-areas: "head" "foto" "cards"; }
  .esc-head { text-align: center; }
  .esc-head .eyebrow { justify-content: center; }
  .esc-foto { max-width: 300px; margin-top: 30px; }
  .esc-tag { right: 8px; }
}
@media (max-width: 560px) {
  .why-stack .why-card { padding: 18px 18px; column-gap: 14px; }
  .why-stack .why-card .ring { width: 44px; height: 44px; }
  .why-stack .why-card .ring svg { width: 22px; height: 22px; }
}

/* ---------- Contato: o e-mail longo alargava a coluna além da tela ---------- */
.contact-grid > * { min-width: 0; }
.contact-list .v { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .contact-list a { padding: 14px 16px; gap: 14px; }
  .contact-list .v { font-size: .92rem; }
  .map-card .map-cap { padding: 16px 18px; font-size: .85rem; }
}

/* ---------- Capa no celular: foto menor, a headline volta a mandar ---------- */
@media (max-width: 860px) {
  .hero-media { max-width: 210px; margin: 2px auto 26px; }
  .hero-frame { border-width: 5px; border-radius: 20px; }
}
@media (max-width: 400px) { .hero-media { max-width: 190px; } }
