/* =========================================================
   Aline Kersul — Neuropsicóloga · CRP 04/37859
   Avaliação Neuropsicológica · Pouso Alegre – MG
   Design system: creme + taupe + marrom café + bronze
   (paleta da identidade visual da Aline: #110605 · #432A14 ·
    #AC9B89 · #B2B2B2 · #F8EFE8, com o bronze das artes dela)
   ========================================================= */

:root {
  /* Neutros — creme da marca */
  --cream:        #FAF6F1;
  --cream-2:      #F5EDE5;
  --sand:         #EDE3D8;
  --paper:        #FFFFFF;
  --card:         #FFFCF8;

  /* Marrons da marca */
  --espresso:     #110605;   /* marca */
  --brown-900:    #1C0F08;
  --brown-800:    #2A190D;
  --brown-700:    #432A14;   /* marca */
  --brown-600:    #5C3D20;
  --taupe:        #AC9B89;   /* marca */
  --taupe-soft:   #D8CCBF;
  --gray:         #B2B2B2;   /* marca */

  /* Bege / bronze (destaques, ícones e botões) */
  --tan:          #D0B793;
  --tan-soft:     #E9DCC8;
  --tan-pale:     #F4ECE0;
  --tan-deep:     #B8976A;
  --tan-ink:      #85592A;   /* bronze legível sobre o creme (itálicos das artes) */

  --wa:           #25D366;
  --wa-dark:      #1eb257;

  /* Texto */
  --ink:          #1A110B;
  --ink-soft:     #4A3F37;
  --ink-muted:    #7D7268;
  --on-dark:      #F6EFE8;
  --on-dark-soft: #CDBFB2;

  --line:         rgba(67,42,20,.16);
  --line-soft:    rgba(67,42,20,.10);
  --line-tan:     rgba(184,151,106,.38);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;  /* display / títulos */
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-lg: 12px;
  --shadow-sm: 0 2px 12px rgba(67,42,20,.06);
  --shadow:    0 18px 50px -22px rgba(67,42,20,.32);
  --shadow-lg: 0 40px 80px -30px rgba(67,42,20,.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; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.68;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
/* height:auto neutraliza o atributo height="" do HTML, que esticava os retratos */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { 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-cream   { background: var(--cream); }
.bg-cream2  { background: var(--cream-2); }
.bg-sand    { background: var(--sand); }
.bg-paper   { background: var(--paper); }
.bg-dark    { background: var(--espresso); color: var(--on-dark); }
/* degradê marrom da marca → café */
.bg-dark.deep { background: linear-gradient(180deg, #432A14 0%, #2A190D 45%, #110605 100%); }
.bg-dark.glow { background:
  radial-gradient(60% 70% at 85% 0%, rgba(92,61,32,.75), rgba(92,61,32,0) 70%),
  radial-gradient(50% 60% at 5% 100%, rgba(67,42,20,.6), rgba(67,42,20,0) 70%), var(--espresso); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: .004em; color: var(--ink); overflow-wrap: break-word; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }

h2.title { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: 0; }
h3 { font-size: 1.35rem; font-weight: 600; }

/* Ênfase: itálico da serifada em bronze (como nas artes da Aline) */
em { font-style: italic; color: var(--brown-700); }
h1 em, h2 em, h3 em, h4 em, .title em {
  font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: 0; color: var(--tan-ink); }
.bg-dark em { color: var(--tan-soft); }
.bg-dark h1 em, .bg-dark h2 em, .bg-dark h3 em { color: var(--tan); }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--tan-ink);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--tan-deep); display: inline-block; }
.eyebrow.centered::after { content: ""; width: 34px; height: 1px; background: var(--tan-deep); display: inline-block; }
.bg-dark .eyebrow { color: var(--tan); }
.bg-dark .eyebrow::before, .bg-dark .eyebrow.centered::after { background: var(--tan); }

.lead { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.68; }
.bg-dark .lead { color: var(--on-dark-soft); }
.lead + .lead { margin-top: 14px; }
/* subtítulo em serifada (frases de abertura das seções) */
.sub-serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.3; color: var(--brown-700); }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }

.block-label { text-align: center; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.block-label.caps { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--tan-ink); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brown-800); --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(67,42,20,.5); }
.btn svg { width: 18px; height: 18px; }
.btn-tan     { --bg: var(--tan); --fg: var(--espresso); }
.btn-tan:hover { background: var(--tan-deep); }
.btn-dark    { --bg: var(--brown-800); --fg: #fff; }
.btn-dark:hover { background: var(--tan); color: var(--espresso); }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* CTA de destaque — bege/caramelo em degradê, com pulso e brilho */
.btn-cta {
  position: relative; overflow: hidden;
  padding: 18px 42px; font-size: 1.06rem; font-weight: 700; letter-spacing: .015em;
  background: linear-gradient(135deg, #E6D3B6 0%, #D0B793 50%, #B8976A 100%);
  color: var(--espresso); border: none;
  box-shadow: 0 14px 32px -10px rgba(184,151,106,.7);
  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(17,6,5,.12); 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,.55), transparent);
  transform: skewX(-18deg); animation: ctaShine 3.4s ease-in-out infinite;
}
.btn-cta:hover { background: linear-gradient(135deg, #EEDDC3 0%, #D6BF9D 55%, #B08D5E 100%);
  transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 44px -10px rgba(184,151,106,.85); animation-play-state: paused; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 32px -10px rgba(184,151,106,.7), 0 0 0 0 rgba(208,183,147,.6); }
  50%      { box-shadow: 0 16px 36px -10px rgba(184,151,106,.8), 0 0 0 16px rgba(208,183,147,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 — faixa creme com assinatura em texto
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: box-shadow .35s ease, padding .35s ease, background .35s ease;
  padding-block: 16px;
  background: var(--cream);
  border-bottom: 1px solid rgba(184,151,106,.45);
}
.site-header.scrolled {
  box-shadow: 0 6px 24px -14px rgba(67,42,20,.45), 0 1px 0 rgba(0,0,0,.03);
  padding-block: 11px;
}
/* menu equilibrado: assinatura à esquerda, navegação centralizada, CTA à direita */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; grid-column: 1; justify-self: start; }
/* ----------------------------------------------------------------
   ASSINATURA EM TEXTO — provisória até chegar o arquivo da logomarca.
   Para usar a logo: troque o <span class="brand-text">…</span> por
   <img class="brand-logo" src="assets/img/logo.png" alt="Aline Kersul">
   ---------------------------------------------------------------- */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--espresso);
  letter-spacing: .01em; transition: font-size .35s ease; }
.brand-text span { font-family: var(--sans); font-size: .6rem; font-weight: 600; letter-spacing: .3em;
  text-transform: uppercase; color: var(--tan-ink); margin-top: 6px; }
.site-header.scrolled .brand-text strong { font-size: 1.55rem; }
.brand-logo { height: 58px; width: auto; display: block; transition: height .35s ease; }
.site-header.scrolled .brand-logo { height: 50px; }

.nav-links { display: flex; align-items: center; gap: 26px; column-gap: 22px; grid-column: 2; justify-self: center; }
.nav-links a { font-size: .9rem; font-weight: 600; color: var(--brown-700); position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--tan-deep); transition: width .3s ease; }
.nav-links a:hover { color: var(--espresso); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; grid-column: 3; justify-self: end; }
.nav-cta .nav-wa { padding: 11px 22px; font-size: .87rem; }
.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav-toggle span { display:block; width: 24px; height: 2px; background: var(--brown-700); margin: 5px auto; transition: .3s; border-radius: 2px; }

/* ============================================================
   HERO — capa creme, retrato emoldurado ao lado
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(600px, 92vh, 900px);
  display: flex; align-items: center; color: var(--ink);
  background: linear-gradient(180deg, #FBF7F2 0%, #F6EEE5 60%, #F1E6DA 100%);
}
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 56% at 76% 36%, rgba(208,183,147,.40), rgba(208,183,147,0) 66%),
    radial-gradient(50% 60% at 8% 96%, rgba(172,155,137,.24), rgba(172,155,137,0) 62%),
    radial-gradient(40% 40% at 30% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1160px; margin: 0 auto;
  padding: 132px clamp(22px, 5vw, 52px) 110px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.hero-content { max-width: 600px; animation: hero-up .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .8em; font-family: var(--sans); font-size: .72rem;
  font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--tan-ink); margin-bottom: 20px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--tan-deep); display: inline-block; }
.hero-title { margin: 0 0 18px; line-height: 1; }
.hero-title .t-main { display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.35rem, 4.7vw, 3.75rem); letter-spacing: .005em; color: var(--espresso); line-height: 1.02; }
.hero-title .t-loc { display: block; font-family: var(--sans); font-weight: 500; font-size: clamp(.82rem, 1.2vw, .98rem);
  letter-spacing: .3em; text-transform: uppercase; color: var(--tan-ink); margin-top: 16px; }
.hero-lead { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 1.7rem); line-height: 1.25;
  color: var(--brown-700); margin-bottom: 18px; max-width: 26em; }
.hero-lead em { color: var(--tan-ink); }
.hero-sub { font-family: var(--sans); font-weight: 400; font-size: 1rem;
  color: var(--ink-soft); line-height: 1.65; max-width: 36em; }
.hero-sub + .hero-sub { margin-top: 12px; }
.hero-points { display: grid; gap: 8px; margin: 24px 0 30px; }
.hero-points li { position: relative; display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans);
  font-size: 1rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.hero-points svg { flex: none; width: 22px; height: 22px; color: var(--tan-deep); margin-top: 1px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .btn-cta { padding: 20px 48px; font-size: 1.14rem; }
.hero-actions .btn-cta .cta-ico { width: 28px; height: 28px; }
.hero-note { margin-top: 14px; font-size: .84rem; color: var(--ink-muted); }
/* ---- retrato emoldurado com animação sutil ---- */
.hero-media { position: relative; justify-self: center; width: 100%; max-width: 430px;
  animation: hero-up 1s cubic-bezier(.2,.7,.2,1) .12s both; }
.hero-blob { position: absolute; z-index: 0; inset: -12% -10% -6% -8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184,151,106,.42), rgba(184,151,106,0) 72%);
  filter: blur(6px); animation: heroGlow 7s ease-in-out infinite; }
.hero-frame-wrap { position: relative; z-index: 1; animation: heroFloat 6.5s ease-in-out infinite; }
.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(67,42,20,.55), 0 8px 22px -12px rgba(67,42,20,.35); }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
/* selo "Neuropsicóloga" sobre a foto */
.hero-tag { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: var(--tan); color: var(--espresso); font-family: var(--sans); font-weight: 700;
  font-size: 1rem; letter-spacing: .01em; padding: 11px 28px; border-radius: 50px;
  box-shadow: 0 12px 26px -10px rgba(67,42,20,.55), inset 0 0 0 1px rgba(255,255,255,.35); white-space: nowrap;
  animation: heroTag 6.5s ease-in-out .4s infinite; }
@keyframes heroTag { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.hero-wave { position: absolute; left: 0; bottom: -1px; z-index: 4; width: 100%;
  height: clamp(46px, 6vw, 88px); color: var(--sand); 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: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.04); } }

/* ---------- Faixa de confiança ---------- */
.trust { border-bottom: 1px solid var(--line-soft); background: var(--sand); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 32px; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.trust-item svg { width: 27px; height: 27px; color: var(--tan-ink); flex: none; }
.trust-item .t { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); line-height: 1.05; }
.trust-item .s { font-size: .82rem; color: var(--ink-muted); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }

/* ============================================================
   INTRO — "Conheça a Avaliação" com retrato vertical
   ============================================================ */
.intro-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.intro-copy .title { font-size: clamp(2rem, 4vw, 3.1rem); }
.intro-copy .sub-serif { margin-top: 14px; }
.video-frame { position: relative; width: 100%; max-width: 330px; margin-inline: auto; aspect-ratio: 9/16;
  border-radius: 22px; overflow: hidden; border: 6px solid #fff; background: var(--brown-800);
  box-shadow: 0 34px 74px -30px rgba(67,42,20,.55), 0 8px 22px -12px rgba(67,42,20,.35); }
.video-frame::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(208,183,147,.4); }
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame img { object-position: 52% 50%; }
.video-play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border: none; border-radius: 50%;
  background: rgba(208,183,147,.96); color: var(--espresso); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 12px 34px -8px rgba(0,0,0,.55); transition: transform .25s ease, background .25s ease;
  animation: playPulse 2.4s ease-in-out infinite; z-index: 2; }
.video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-play:hover { transform: scale(1.09); background: var(--tan); }
.video-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(28,15,8,.82); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .01em;
  padding: 7px 13px; border-radius: 50px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: opacity .3s ease, visibility .3s ease; }
.video-frame.playing .video-play, .video-frame.playing .video-tag { opacity: 0; visibility: hidden; }
@keyframes playPulse {
  0%,100% { box-shadow: 0 12px 34px -8px rgba(0,0,0,.55), 0 0 0 0 rgba(208,183,147,.6); }
  50%     { box-shadow: 0 12px 34px -8px rgba(0,0,0,.55), 0 0 0 16px rgba(208,183,147,0); }
}

/* condições investigáveis — caixinhas com ícone (2 colunas) */
.list-intro { margin-top: 22px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.cond-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cond { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line-tan); box-shadow: var(--shadow-sm);
  font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.3; text-align: left;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.cond:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(67,42,20,.35); border-color: var(--tan-deep); }

/* ícone redondo padrão (bege claro + traço bronze) */
.ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tan-pale); color: var(--tan-ink); box-shadow: inset 0 0 0 1px rgba(184,151,106,.28); }
.ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-sep { flex: none; width: 1px; align-self: stretch; margin-block: 6px; background: var(--line-tan); }

/* ============================================================
   SPLIT (texto + retrato) — investigar / transtornos / como funciona
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.approach-media { position: relative; max-width: 400px; width: 100%; margin-inline: auto; }
.approach-media img { border-radius: 12px 12px 120px 12px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width:100%; }
.approach-media.alt img { border-radius: 120px 12px 12px 12px; }
.approach-media .tag {
  position: absolute; right: -18px; top: 30px; background: var(--tan); color: var(--espresso);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700; padding: 14px 22px; border-radius: 10px;
  box-shadow: var(--shadow); text-align: center; line-height: 1.1; white-space: nowrap;
}
.approach-media .tag small { display:block; font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity:.75; }

/* pílulas de funções cognitivas */
.pill-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.pill { font-size: .86rem; font-weight: 500; padding: 9px 18px; border-radius: 50px;
  background: var(--card); border: 1px solid var(--line-tan); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, border-color .25s ease; }
.pill:hover { box-shadow: 0 9px 20px -8px rgba(67,42,20,.35); border-color: var(--tan-deep); }

/* sinais — cartões com ícone (para quem é) */
.sign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.sg { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line-tan); box-shadow: var(--shadow-sm);
  font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.4;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.sg .ico { width: 48px; height: 48px; }
.sg .ico svg { width: 23px; height: 23px; }
.sg:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tan-deep); }

/* transtornos — cartões com ícone, título e descrição */
.tr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 56px); }
.tr { position: relative; padding: 26px 24px 24px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.tr::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--tan-deep);
  transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.tr:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.tr:hover::after { transform: scaleY(1); }
.tr .ico { width: 52px; height: 52px; margin-bottom: 16px; transition: background .35s ease, color .35s ease; }
.tr .ico svg { width: 25px; height: 25px; }
.tr:hover .ico { background: linear-gradient(150deg, var(--tan), var(--tan-deep)); color: #fff; }
.tr h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
.tr p { font-size: .96rem; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   ENTRADA EM CASCATA — os filhos de .stagger aparecem um a um
   (.pop = efeito "monta no lugar", usado nas pílulas e caixinhas)
   ============================================================ */
.stagger.reveal { opacity: 1; transform: none; }
.stagger > * { opacity: 0; animation-fill-mode: both; }
.stagger.reveal.in > * { animation-name: fadeUp; animation-duration: .6s; animation-timing-function: cubic-bezier(.2,.8,.25,1); }
.stagger.pop.reveal.in > * { animation-name: chipPop; animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.85,.3,1.4); }
@keyframes chipPop { from { opacity: 0; transform: scale(.7) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stagger > :nth-child(1)  { animation-delay: .05s; }
.stagger > :nth-child(2)  { animation-delay: .10s; }
.stagger > :nth-child(3)  { animation-delay: .15s; }
.stagger > :nth-child(4)  { animation-delay: .20s; }
.stagger > :nth-child(5)  { animation-delay: .25s; }
.stagger > :nth-child(6)  { animation-delay: .30s; }
.stagger > :nth-child(7)  { animation-delay: .35s; }
.stagger > :nth-child(8)  { animation-delay: .40s; }
.stagger > :nth-child(9)  { animation-delay: .45s; }
.stagger > :nth-child(10) { animation-delay: .50s; }
.stagger > :nth-child(11) { animation-delay: .55s; }
.stagger > :nth-child(12) { animation-delay: .60s; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1 !important; animation: none !important; }
}

.cta-band { text-align: center; margin-top: 54px; }

/* ============================================================
   TIMELINE — etapas da avaliação neuropsicológica
   ============================================================ */
.timeline { position: relative; max-width: 780px; margin: 54px auto 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 26px; bottom: 30px; width: 3px;
  background: linear-gradient(180deg, var(--tan) 0%, var(--taupe) 100%); border-radius: 3px; }
.tl-step { position: relative; padding: 0 0 26px 96px; }
.tl-step:last-child { padding-bottom: 0; }

.tl-marker { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(150deg, #DCC6A6, var(--tan-deep)); color: #fff;
  display: grid; place-items: center; z-index: 1;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.3);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
.tl-marker::after { content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(208,183,147,.55); opacity: 0; transition: opacity .4s ease, transform .4s ease; }
.tl-ico { display: grid; place-items: center; }
.tl-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transform-origin: center; will-change: transform; }
.tl-num { position: absolute; top: -5px; right: -5px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--espresso); color: var(--tan-soft); font-family: var(--sans); font-size: .78rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--tan-soft); box-shadow: 0 3px 8px -3px rgba(0,0,0,.5); }

.tl-body { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg);
  padding: 20px 26px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.6); position: relative;
  transition: transform .35s ease, box-shadow .35s ease; }
.tl-body::before { content: ""; position: absolute; left: -8px; top: 26px; width: 15px; height: 15px;
  background: var(--card); transform: rotate(45deg); }
.tl-kicker { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--tan-ink); margin-bottom: 6px; }
.tl-step h3 { font-size: 1.35rem; margin-bottom: 6px; color: var(--ink); }
.tl-step p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.6; }

.tl-step:hover .tl-marker { transform: scale(1.09); box-shadow: 0 16px 32px -10px rgba(0,0,0,.7); }
.tl-step:hover .tl-marker::after { opacity: 1; transform: scale(1.02); }
.tl-step:hover .tl-body { transform: translateX(5px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.75); }
.tl-cta { text-align: center; margin-top: 46px; }

/* animações idle dos ícones — uma por etapa */
.tl-step:nth-child(1) .tl-ico svg { animation: tlBreathe 4s ease-in-out infinite; }
.tl-step:nth-child(2) .tl-ico svg { animation: tlBeat 2.8s ease-in-out infinite; }
.tl-step:nth-child(3) .tl-ico svg { animation: tlScan 3.4s ease-in-out infinite; }
.tl-step:nth-child(4) .tl-ico svg { animation: tlFloat 3.6s ease-in-out infinite; }
.tl-step:nth-child(5) .tl-ico svg { animation: tlPulse 3s ease-in-out infinite; }
@keyframes tlBreathe { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.12);} }
@keyframes tlBeat { 0%,100%{ transform: scale(1);} 14%{ transform: scale(1.2);} 28%{ transform: scale(1);} 42%{ transform: scale(1.12);} 56%{ transform: scale(1);} }
@keyframes tlScan { 0%,100%{ transform: translate(-1.5px,-1.5px) rotate(-5deg);} 50%{ transform: translate(1.5px,1.5px) rotate(5deg);} }
@keyframes tlFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }
@keyframes tlPulse { 0%,100%{ transform: scale(1); opacity:1;} 50%{ transform: scale(1.1); opacity:.82;} }

.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(-30px) scale(.97); transform-origin: left center;
  transition: opacity .6s ease .12s, transform .6s cubic-bezier(.2,.85,.25,1) .12s; }
.tl-step.reveal.in .tl-marker { opacity: 1; transform: scale(1); }
.tl-step.reveal.in .tl-body { opacity: 1; transform: none; }

/* ============================================================
   COMO FUNCIONA (3 passos)
   ============================================================ */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.step {
  position: relative; padding: 40px 30px 34px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .n { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: var(--tan-deep); line-height: 1; margin-bottom: 14px; }
.step .sico { position: absolute; top: 34px; right: 30px; color: var(--taupe); }
.step .sico svg { width: 34px; height: 34px; }
.step h4 { font-size: 1.35rem; margin-bottom: 10px; color: var(--ink); }
.step p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.6; }

/* ============================================================
   SOBRE — layout do modelo 2: título com filete, foto com
   moldura deslocada em bege e texto de apresentação
   ============================================================ */
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas: "head photo" "text photo";
  column-gap: clamp(40px, 6vw, 84px); row-gap: 10px; align-items: start; }
.bio-head  { grid-area: head; align-self: end; }
/* no desktop a foto acompanha a leitura do texto (sticky) */
.bio-photo { grid-area: photo; align-self: start; justify-self: center; width: 100%; display: flex; justify-content: center;
  position: sticky; top: 120px; margin-top: 8px; }
.bio-text  { grid-area: text; }

.h-name { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.08; color: var(--ink); }
.h-name::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; border-radius: 3px;
  background: linear-gradient(90deg, var(--tan-deep), var(--taupe-soft)); }
.bio-crp { color: var(--tan-ink); font-weight: 600; letter-spacing: .14em; font-size: .85rem; margin-top: 14px; }
.bio-head .eyebrow { margin-bottom: 18px; }

/* moldura deslocada (modelo 2) */
.frame { position: relative; display: block; max-width: 380px; width: 100%; }
.frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 18%;
  border-radius: 30px; box-shadow: var(--shadow); }
.frame::before { content: ""; position: absolute; top: 18px; left: 18px; right: -18px; bottom: -18px;
  border: 2px solid var(--tan); border-radius: 30px; z-index: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.frame:hover::before { transform: translate(-6px, -6px); }
/* selo de experiência sobre a foto */
.frame .exp { position: absolute; z-index: 2; left: -20px; bottom: 34px; background: var(--brown-800); color: #fff;
  padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow); text-align: center; }
.frame .exp .n { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--tan); }
.frame .exp .l { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 4px; }

.bio-text p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.7; }
.bio-text .bio-quote { margin: 24px 0 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 500;
  line-height: 1.28; color: var(--ink); }
.bio-text .bio-quote em { display: block; font-weight: 600; color: var(--tan-ink); }
.bio-formacao { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.bio-formacao h4 { font-family: var(--sans); font-size: .78rem; letter-spacing:.16em; text-transform: uppercase; color: var(--tan-ink); font-weight: 600; margin-bottom: 14px; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--ink-soft); margin-bottom: 10px; line-height: 1.5; }
.mini-list li small { display: block; color: var(--ink-muted); font-size: .85rem; }
.mini-list .d { flex:none; width:6px; height:6px; border-radius:50%; background: var(--tan-deep); margin-top: 8px; }

/* ============================================================
   AVALIAÇÕES NO GOOGLE
   ============================================================ */
.reviews-embed { margin-top: 44px; }
.reviews-cta { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(32px,5vw,48px); box-shadow: var(--shadow-sm); }
.reviews-cta .g-badge { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; display: inline-block; margin-bottom: 8px; }
.reviews-cta .g-badge .b{color:#4285F4}.reviews-cta .g-badge .r{color:#EA4335}.reviews-cta .g-badge .y{color:#FBBC05}.reviews-cta .g-badge .g2{color:#34A853}
.reviews-cta h3 { font-size: 1.5rem; margin-bottom: 8px; }
.reviews-cta p { color: var(--ink-soft); font-size: 1.04rem; margin: 0 auto 22px; max-width: 44ch; }

/* ============================================================
   ATENDIMENTO PRESENCIAL — local e agendamento
   ============================================================ */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.loc-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; padding: 30px 30px;
  box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; }
.loc-card .lic { flex:none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: var(--tan);
  background: linear-gradient(150deg, var(--brown-600), var(--brown-800)); }
.loc-card .lic svg { width: 26px; height: 26px; }
.loc-card h4 { font-size: 1.35rem; margin-bottom: 6px; }
.loc-card .addr { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; }
.loc-card .hours { display: grid; gap: 5px; font-size: .9rem; color: var(--ink-soft); }
.loc-card .hours b { color: var(--ink); font-weight: 600; }
.loc-card .loc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .88rem; font-weight: 600;
  color: var(--tan-ink); border-bottom: 1px solid rgba(133,89,42,.35); transition: color .2s, border-color .2s; }
.loc-card .loc-link:hover { color: var(--espresso); border-color: var(--espresso); }
.loc-card .loc-link svg { width: 14px; height: 14px; }
.loc-extra { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; margin-top: 22px; }
.loc-photo { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); }
.loc-photo img { width: 100%; height: 100%; min-height: 320px; max-height: 380px; object-fit: cover; object-position: 50% 30%; }
.map-wrap { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); background: var(--brown-800); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; filter: sepia(.12) saturate(.9); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-accordion { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-q { background: var(--card); 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: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  line-height: 1.3; 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(--tan-ink); }
.faq-q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 3px;
  border-right: 2.5px solid var(--tan-deep); border-bottom: 2.5px solid var(--tan-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: 1.04rem; color: var(--ink-soft); line-height: 1.65; }
.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: 1.04rem; margin-bottom: 18px; }

/* ============================================================
   CONTATO + RODAPÉ
   ============================================================ */
.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 > div { 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(--tan); display:grid; place-items:center; flex:none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list > a > span:last-child, .contact-list > div > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.contact-list .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact-list .v { font-size: 1rem; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.contact-cta { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); 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.7rem,3vw,2.4rem); margin-bottom: 14px; }
.contact-cta p { color: var(--on-dark-soft); margin-bottom: 26px; }

.site-footer { background: #0A0403; color: var(--on-dark-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: 360px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: var(--tan); }
.footer-brand p { margin-top: 18px; font-size: .9rem; 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-dark-soft); transition: .25s; }
.footer-social a:hover { background: var(--tan); color: var(--espresso); border-color: var(--tan); 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: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin-bottom: 16px; font-weight: 600; }
.footer-nav a { display: block; font-size: .9rem; margin-bottom: 10px; color: var(--on-dark-soft); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; color: var(--on-dark-soft); }
.footer-bottom a { color: var(--tan); }

/* ---------- WhatsApp flutuante ---------- */
/* REGRA DE OURO deste botão (herdada do modelo): o alvo de toque é uma caixa
   fixa, ESTÁTICA e SEMPRE PRESENTE. No WebKit (iPhone), um position:fixed que
   muda de estado depois da rolagem fica com a área de toque desatualizada e
   exige 2 toques. Por isso: nada de transform, nenhuma animação infinita e
   nada de esconder/mostrar via opacity/visibility/pointer-events. */
.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; letter-spacing: .01em;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: background .25s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,.12);
}
.wa-float:active { background: var(--wa-dark); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float-label { white-space: nowrap; }

/* ---------- 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, .approach-media img, .frame img, .video-frame img, .loc-photo 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(17,6,5,.92); 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); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .steps3 { grid-template-columns: 1fr; }
  .sign-grid, .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .mbr { display: none; } }

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .split, .contact-grid, .locs, .loc-extra { grid-template-columns: 1fr; }
  .section-head .eyebrow { justify-content: center; }

  .hero { min-height: 0; display: block; align-items: stretch; }
  .hero-glow { background:
    radial-gradient(80% 36% at 50% 20%, rgba(208,183,147,.42), rgba(208,183,147,0) 72%),
    radial-gradient(70% 30% at 50% 100%, rgba(172,155,137,.22), rgba(172,155,137,0) 70%); }
  .hero-inner { grid-template-columns: 1fr; padding: 104px clamp(20px,6vw,32px) 70px; gap: 8px; }
  .hero-content { max-width: none; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-lead, .hero-sub { margin-inline: auto; }
  .hero-points { max-width: 27em; margin-inline: auto; text-align: left; }
  .hero-actions { justify-content: center; }
  /* foto no topo no mobile (como no modelo) */
  .hero-media { order: -1; max-width: 290px; margin: 6px auto 30px; }
  .hero-wave { height: clamp(38px, 9vw, 60px); }

  .intro-split { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .intro-copy .eyebrow { justify-content: center; }
  .video-frame { max-width: 300px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .trust-item:nth-child(3) { border-left: 0; }
  .approach-media .tag { right: 10px; top: 14px; }
  .loc-photo img { max-height: 340px; }

  /* Sobre: título → foto → texto (como no print do modelo 2) */
  .bio-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photo" "text"; row-gap: 34px; }
  .bio-photo { position: static; margin-top: 0; }
  .bio-head { text-align: center; }
  .bio-head .eyebrow { justify-content: center; }
  .h-name::after { margin-inline: auto; }
  .frame { max-width: 320px; }
  .frame .exp { left: -10px; }

  .nav-panel {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--cream);
    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;
  }
  body.menu-open .nav-panel { transform: translateX(0); }
  .nav-panel a { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-panel .btn { margin-top: 20px; padding: 15px 26px; font-family: var(--sans); font-size: 1rem; border-bottom: 0; color: #fff; }
  .nav-panel .btn:hover { color: var(--espresso); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(17,6,5,.5); 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: 1025px) { .nav-panel, .nav-scrim { display: none; } }
@media (max-width: 640px) {
  .sign-grid, .tr-grid { grid-template-columns: minmax(0, 1fr); }
  .mini-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section-pad { padding-block: clamp(46px, 9vw, 72px); }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 34px; }
  .frame .exp { transform: scale(.92); transform-origin: left bottom; }
}
@media (max-width: 440px) {
  .cond-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  body { font-size: 15.5px; }
  .hero-actions .btn, .nav-panel .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .trust-item { border-left: 0 !important; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   AJUSTES MOBILE
   O header é fixed (~88px, ~74px depois do scroll). Sem
   scroll-margin, âncoras e rolagem escondiam os títulos.
   ============================================================ */
section[id], .site-footer, #top { scroll-margin-top: 96px; }

@media (max-width: 1024px) {
  /* minmax(0,1fr) impede que o CTA alargue a trilha além da tela */
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-inline: var(--gutter); }
  .hero-content, .hero-media { min-width: 0; }
}

@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 15px 26px; font-size: .95rem; }
  .hero-actions, .cta-band, .tl-cta { width: 100%; }
  .hero-actions .btn-cta,
  .cta-band .btn-cta,
  .tl-cta .btn,
  .btn-lg.btn-cta {
    width: 100%; max-width: 380px; padding: 17px 22px; font-size: 1rem;
  }
  .hero-actions .btn-cta { margin-inline: auto; }
  .cta-band .btn-cta, .tl-cta .btn { margin-inline: auto; }
  .hero-actions .btn-cta .cta-ico { width: 24px; height: 24px; }

  /* eyebrows: o traço decorativo ficava órfão quando o texto quebrava */
  .eyebrow { font-size: .66rem; letter-spacing: .16em; gap: .6em; }
  .eyebrow::before, .eyebrow.centered::after { width: 22px; }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .12em; }
  .hero-eyebrow::before { display: none; }
  .hero-title .t-loc { letter-spacing: .2em; }

  .brand-text strong { font-size: 1.45rem; }
  .brand-text span { font-size: .55rem; letter-spacing: .26em; }
  .site-header.scrolled .brand-text strong { font-size: 1.35rem; }

  /* retratos: 4/5 em largura cheia comia uma tela inteira */
  .approach-media { max-width: 320px; }
  .approach-media .tag { right: 6px; top: 10px; font-size: 1rem; padding: 10px 15px; }
  .approach-media .tag br { display: none; }
  .approach-media .tag small { font-size: .55rem; letter-spacing: .12em; }
  .frame { max-width: 290px; }
  .frame::before { top: 12px; left: 12px; right: -12px; bottom: -12px; }
  .frame .exp { left: -6px; bottom: 24px; padding: 12px 16px; }
  .frame .exp .n { font-size: 1.6rem; }

  /* timeline: o marcador espremia o card */
  .timeline { margin-top: 38px; }
  .timeline::before { left: 23px; }
  .tl-step { padding-left: 66px; padding-bottom: 20px; }
  .tl-marker { width: 48px; height: 48px; }
  .tl-ico svg { width: 24px; height: 24px; }
  .tl-num { width: 21px; height: 21px; font-size: .68rem; top: -4px; right: -4px; }
  .tl-body { padding: 18px 18px; }
  .tl-step h3 { font-size: 1.22rem; }
  .tl-step p, .tl-body p { font-size: .98rem; }

  /* cartões de transtornos: ícone ao lado do texto para não alongar a página */
  .tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 20px 18px; }
  .tr .ico { width: 44px; height: 44px; margin-bottom: 0; grid-row: span 2; }
  .tr .ico svg { width: 22px; height: 22px; }
  .tr h3 { font-size: 1.2rem; margin-bottom: 6px; }
  .loc-card { padding: 24px 20px; gap: 14px; }
  .loc-card .lic { width: 46px; height: 46px; }
  .loc-photo img, .map-wrap iframe { min-height: 260px; }

  .contact-list .v { font-size: .94rem; }
  .contact-list > a, .contact-list > div { padding: 14px 16px; gap: 12px; }
  .contact-list .ic { width: 38px; height: 38px; }

  /* botão flutuante: mantém o rótulo, encolhido; longe da barra inferior do Safari iOS */
  .wa-float {
    right: 14px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    height: 52px; padding: 0 16px 0 12px; gap: 7px; font-size: .82rem;
  }
  .wa-float svg { width: 22px; height: 22px; }
  /* respiro para o flutuante nunca cobrir a última linha */
  .site-footer { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 400px) {
  :root { --gutter: 18px; }
}
