/* =========================================================
   A CLÍNICA PSI — Douglas Miranda
   Psicólogo e Neuropsicólogo · CRP 08/31968
   Avaliação Neuropsicológica 100% online — especializada em adultos
   Brasileiros no Brasil e no exterior

   Design system espelhado no Manual da Marca "A Clínica":
     #3B4658  navy (cor principal)
     #3A3732  grafite
     #BCB9B7  cinza quente (taupe)
     #EFEFEF  off-white
   Tipografia do manual: Melinda Evania (display) + Montserrat (apoio).
   Melinda Evania não existe como webfont; o display usa Cormorant
   Garamond, o substituto livre mais próximo do desenho do logotipo.
   ========================================================= */

:root {
  /* Neutros — off-white da marca */
  --off:        #EFEFEF;   /* BRAND */
  --off-2:      #E8E8E7;
  --off-3:      #DEDDDB;
  --paper:      #FFFFFF;

  /* Navy da marca */
  --navy-900:   #1F2733;
  --navy-800:   #2C3543;
  --navy-700:   #3B4658;   /* BRAND — header/hero */
  --navy-600:   #4B5769;
  --navy-500:   #637084;
  --mist:       #C8CDD6;
  --mist-soft:  #A9B2C0;

  /* Grafite e cinza quente da marca */
  --charcoal:   #3A3732;   /* BRAND */
  --taupe:      #BCB9B7;   /* BRAND */
  --taupe-soft: #D8D5D3;
  --taupe-ink:  #6B635C;   /* taupe escurecido, legível sobre off-white */

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

  /* Texto */
  --ink:          #2B3038;
  --ink-soft:     #5C6470;
  --ink-muted:    #8B929C;
  --on-navy:      #EDEFF2;
  --on-navy-soft: #BFC6D1;

  --line:      rgba(43,48,56,.14);
  --line-soft: rgba(43,48,56,.09);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:    4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 10px rgba(31,39,51,.07);
  --shadow:    0 18px 50px -22px rgba(31,39,51,.34);
  --shadow-lg: 0 40px 80px -30px rgba(31,39,51,.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(--off);
  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 sobrescrevia o
   aspect-ratio dos retratos e os esticava no mobile */
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-off     { background: var(--off); }
.bg-off2    { background: var(--off-2); }
.bg-paper   { background: var(--paper); }
.bg-navy    { background: var(--navy-700); color: var(--on-navy); }
.bg-navy.deep { background: var(--navy-800); }

/* ---------- Tipografia ---------- */
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-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

.display { font-size: clamp(1.95rem, 4vw, 3.35rem); font-weight: 600; letter-spacing: .01em; line-height: 1.12; }
h2.title { font-size: clamp(1.95rem, 3.9vw, 3.05rem); line-height: 1.08; letter-spacing: 0; }
h3 { font-size: 1.35rem; font-weight: 600; }

/* Ênfase: corpo → itálico navy; títulos → Montserrat bold (contraste com a serifada) */
em, .accent-serif { font-style: italic; color: var(--navy-600); }
h1 em, h2 em, h3 em, h4 em, .display em, .title em {
  font-family: var(--sans); font-weight: 700; font-style: normal; letter-spacing: -.015em; color: var(--navy-700); }
.bg-navy em { color: var(--taupe); }
.bg-navy h1 em, .bg-navy h2 em, .bg-navy h3 em { color: var(--taupe); font-family: var(--sans); font-weight: 700; }

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

.lead { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.65; }
.bg-navy .lead { color: var(--on-navy-soft); }
.lead strong { color: var(--ink); font-weight: 600; }
.bg-navy .lead strong { color: #fff; font-weight: 600; }

/* frase de reforço logo abaixo do lead */
.lead-strong { margin-top: 14px; font-size: 1.04rem; font-weight: 600; color: var(--navy-700); line-height: 1.6; }
.bg-navy .lead-strong { color: #fff; }

/* títulos longos: o clamp padrão fica gigante em frases de duas linhas ou mais */
h2.title.title-sm { font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.16; }

/* rótulo que abre um bloco de pílulas/cards dentro de uma seção */
.block-head { text-align: center; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  color: var(--ink); margin-top: clamp(56px, 7vw, 82px); margin-bottom: 4px; }
.block-head.on-navy { color: #fff; }
/* respiro maior: colado no parágrafo anterior os dois blocos se misturavam */
.mini-head { margin-top: 36px; font-weight: 700; font-size: .98rem; color: var(--ink); }

.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; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy-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;
  will-change: transform; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(31,39,51,.5); }
.btn svg { width: 18px; height: 18px; }
.btn-navy    { --bg: var(--navy-700); --fg: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-light   { --bg: var(--off); --fg: var(--navy-800); }
.btn-light:hover { background: #fff; }
/* Botao de acao na paleta da marca.
   Fundo claro  -> navy com texto branco.
   Fundo navy   -> taupe com texto navy (header, menu, hero e secoes .bg-navy).
   O verde do WhatsApp ficou reservado ao botao flutuante, a pedido do Douglas. */
.btn-brand      { --bg: var(--navy-700); --fg: #fff; }
.btn-brand:hover{ background: var(--navy-800); }
.bg-navy .btn-brand, .hero .btn-brand,
.site-header .btn-brand, .nav-panel .btn-brand { --bg: var(--taupe); --fg: var(--navy-900); }
.bg-navy .btn-brand:hover, .hero .btn-brand:hover,
.site-header .btn-brand:hover, .nav-panel .btn-brand:hover { background: #D3D0CE; }
.btn-outline { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn-outline:hover { background: var(--navy-700); color:#fff; border-color: var(--navy-700); }
.bg-navy .btn-outline { color: #fff; border-color: rgba(255,255,255,.32); }
.bg-navy .btn-outline:hover { background:#fff; color: var(--navy-800); }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* CTA principal — na paleta da marca (navy nos fundos claros) */
.btn-cta {
  --bg: var(--navy-700); --fg: #fff;
  position: relative; overflow: hidden;
  padding: 18px 42px; font-size: 1.06rem; font-weight: 700; letter-spacing: .015em;
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-700) 52%, var(--navy-900) 100%);
  color: #fff; border: none;
  box-shadow: 0 14px 32px -10px rgba(31,39,51,.55);
  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,.45), transparent);
  transform: skewX(-18deg); animation: ctaShine 3.4s ease-in-out infinite;
}
.btn-cta:hover { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 55%, #141A22 100%);
  transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 44px -10px rgba(31,39,51,.75); animation-play-state: paused; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 32px -10px rgba(31,39,51,.55), 0 0 0 0 rgba(59,70,88,.45); }
  50%      { box-shadow: 0 16px 36px -10px rgba(31,39,51,.65), 0 0 0 16px rgba(59,70,88,0); }
}

/* ...e taupe quando o CTA cai sobre fundo navy, para nao sumir no fundo */
.bg-navy .btn-cta, .hero .btn-cta {
  background: linear-gradient(135deg, #D9D6D4 0%, var(--taupe) 52%, #A19D9A 100%);
  color: var(--navy-900);
  box-shadow: 0 14px 32px -10px rgba(10,14,20,.55);
  animation-name: ctaPulseLight;
}
.bg-navy .btn-cta .cta-ico, .hero .btn-cta .cta-ico { background: rgba(31,39,51,.16); }
.bg-navy .btn-cta::after, .hero .btn-cta::after {
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); }
.bg-navy .btn-cta:hover, .hero .btn-cta:hover {
  background: linear-gradient(135deg, #EDEBEA 0%, #CFCCCA 55%, #A19D9A 100%);
  color: var(--navy-900); box-shadow: 0 22px 44px -10px rgba(10,14,20,.7); }
@keyframes ctaPulseLight {
  0%, 100% { box-shadow: 0 14px 32px -10px rgba(10,14,20,.55), 0 0 0 0 rgba(188,185,183,.5); }
  50%      { box-shadow: 0 16px 36px -10px rgba(10,14,20,.65), 0 0 0 16px rgba(188,185,183,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 — navy da marca
   ============================================================ */
.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: 14px;
  background: var(--navy-700);
}
.site-header.scrolled {
  box-shadow: 0 6px 24px -14px rgba(31,39,51,.65), 0 1px 0 rgba(0,0,0,.06);
  padding-block: 10px;
  background: var(--navy-800);
}
/* logo à 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; }
.brand-logo { height: 54px; width: auto; display: block; transition: height .35s ease; }
.site-header.scrolled .brand-logo { height: 46px; }

.nav-links { display: flex; align-items: center; gap: 24px; grid-column: 2; justify-self: center; }
.nav-links a { font-size: .86rem; font-weight: 600; color: var(--on-navy-soft); 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(--taupe); transition: width .3s ease; }
.nav-links a:hover { color: #fff; }
.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: .85rem; }
.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav-toggle span { display:block; width: 24px; height: 2px; background: var(--off); margin: 5px auto; transition: .3s; border-radius: 2px; }

/* ============================================================
   HERO — capa navy #3B4658, retrato emoldurado
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(580px, 90vh, 880px);
  display: flex; align-items: center; color: var(--on-navy);
  background: var(--navy-700);
}
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 50% at 78% 28%, rgba(188,185,183,.22), rgba(188,185,183,0) 62%),
    radial-gradient(62% 62% at 14% 84%, rgba(99,112,132,.45), rgba(99,112,132,0) 64%),
    radial-gradient(80% 70% at 92% 92%, rgba(31,39,51,.55), rgba(31,39,51,0) 62%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1160px; margin: 0 auto;
  padding: 126px clamp(22px, 5vw, 52px) 104px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.hero-content { max-width: 590px; 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: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 20px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--taupe); display: inline-block; }
.hero-title { margin: 0 0 16px; line-height: 1.06; font-weight: 600; overflow-wrap: break-word; }
.hero-title .t-thin { display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem); letter-spacing: .01em; color: var(--mist); }
.hero-title .nowrap { white-space: nowrap; }
@media (max-width: 560px) { .hero-title .nowrap { white-space: normal; } }
.hero-title .t-bold { display: block; font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 3.05rem); letter-spacing: -.015em; color: #fff; margin-top: .06em; }
/* IMPORTANTE: o destaque NÃO leva white-space: nowrap.
   Com nowrap, uma frase longa não quebra e a palavra fica cortada na tela do
   celular. Quando dois termos precisarem ficar juntos, use a classe .nowrap
   (que já tem exceção para telas pequenas, logo acima). */
.hero-title em { font-family: var(--sans); font-weight: 700; font-style: normal; color: var(--taupe); letter-spacing: -.01em; }
/* dentro da linha serifada (mais apagada), o destaque precisa vir em branco —
   em taupe ele ficava do mesmo tom do resto e a ênfase se perdia */
.hero-title .t-thin em { color: #fff; }
.hero-title .t-bold em { font-style: normal; color: var(--taupe); }
.hero-sub { font-family: var(--sans); font-weight: 400; font-size: 1rem;
  color: var(--on-navy-soft); letter-spacing: 0; line-height: 1.6; max-width: 34em; margin-bottom: 12px; }
.hero-sub strong { color: #fff; font-weight: 600; }
/* linha de fechamento da capa: destaque sem virar mais um parágrafo */
.hero-sub:last-of-type { margin-bottom: 26px; }
.hero-points { display: grid; gap: 9px; margin-bottom: 32px; }
/* em negrito e um corpo menor que os parágrafos, a pedido do cliente */
.hero-points li { position: relative; display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans);
  font-size: .92rem; line-height: 1.4; color: #fff; font-weight: 700; letter-spacing: .005em; }
.hero-points svg { flex: none; width: 22px; height: 22px; color: var(--taupe); margin-top: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .btn-cta { padding: 20px 48px; font-size: 1.12rem; }
.hero-actions .btn-cta .cta-ico { width: 28px; height: 28px; }
/* ---- retrato emoldurado ---- */
.hero-media { position: relative; justify-self: center; width: 100%; max-width: 420px;
  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(188,185,183,.42), rgba(188,185,183,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-ring { position: absolute; z-index: 0; top: 50%; left: 50%; width: 122%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(188,185,183,.45);
  pointer-events: none; animation: heroRing 30s linear infinite; }
.hero-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--taupe); box-shadow: 0 0 14px 3px rgba(188,185,183,.6); }
.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(15,20,28,.65), 0 8px 22px -12px rgba(15,20,28,.45); }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* selo sobre a foto */
.hero-tag { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: var(--off); color: var(--navy-800); font-family: var(--sans); font-weight: 700;
  font-size: .95rem; letter-spacing: .01em; padding: 11px 26px; border-radius: 50px;
  box-shadow: 0 12px 26px -10px rgba(15,20,28,.55), inset 0 0 0 1px rgba(255,255,255,.4); 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(--off-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: .8; transform: scale(1.04); } }
@keyframes heroRing { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- Faixa de confiança ---------- */
.trust { border-bottom: 1px solid var(--line-soft); background: var(--off-2); }
.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(--navy-600); flex: none; }
.trust-item .t { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.trust-item .s { font-size: .8rem; color: var(--ink-muted); line-height: 1.35; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }

/* ============================================================
   INTRO — foto de apresentação + texto
   ============================================================ */
/* a foto e estreita e alta (recorte enviado pelo Douglas, 643x1024) — a coluna
   do texto fica maior para equilibrar a proporcao entre imagem e texto */
.intro-split { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.intro-copy .title { font-size: clamp(1.95rem, 3.9vw, 3.05rem); }
.intro-photo { position: relative; width: 100%; max-width: 390px; margin: 0 auto; aspect-ratio: 643/1024;
  border-radius: 18px; overflow: hidden; border: 6px solid #fff; background: var(--off-2);
  box-shadow: 0 34px 74px -30px rgba(15,20,28,.55), 0 8px 22px -12px rgba(15,20,28,.4); }
.intro-photo::after { content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(188,185,183,.35); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-photo figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(31,39,51,.82); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: 7px 13px; border-radius: 50px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 1024px) {
  .intro-split { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .intro-copy .eyebrow { justify-content: center; }
}

/* ============================================================
   SPLITS (foto + texto)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: -1; }
.approach-media, .about-media { max-width: 400px; width: 100%; margin-inline: auto; }
.approach-media { position: relative; }
.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 .tag {
  position: absolute; right: -18px; top: 30px; background: var(--navy-700); color: #fff;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 700; padding: 14px 22px; border-radius: 10px;
  box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.approach-media .tag small { display:block; font-family: var(--sans); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--taupe); margin-top: 4px; }

/* pílulas de funções cognitivas */
/* grid de temas investigados — 2 colunas: os itens viraram frases inteiras e
   em 3 colunas a linha ficava com 4 ou 5 palavras */
.demand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
/* align-items:flex-start (e não center): os itens viraram frases de 2–3 linhas
   e o marcador precisa ficar alinhado com a primeira linha, não no meio do bloco */
.demand-grid .dm { display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; font-weight: 400; line-height: 1.5; color: var(--on-navy);
  transition: background .25s, transform .25s; }
.demand-grid .dm strong { font-weight: 600; color: #fff; }
.bg-off .demand-grid .dm strong, .bg-off2 .demand-grid .dm strong { color: var(--ink); }
.demand-grid .dm .dot { margin-top: 7px; }
.demand-grid .dm:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.demand-grid .dm .dot { flex:none; width: 9px; height: 9px; border-radius: 50%; background: var(--taupe); box-shadow: 0 0 0 4px rgba(188,185,183,.18); }
.bg-off .demand-grid .dm, .bg-off2 .demand-grid .dm {
  background: var(--paper); border: 1px solid var(--line-soft); color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.bg-off .demand-grid .dm .dot, .bg-off2 .demand-grid .dm .dot { background: var(--navy-600); box-shadow: 0 0 0 4px rgba(75,87,105,.14); }
.bg-off .demand-grid .dm:hover, .bg-off2 .demand-grid .dm:hover { background: var(--paper); box-shadow: var(--shadow); }

/* ============================================================
   CHIPS — entrada em cascata
   ============================================================ */
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; justify-content: flex-start; }
.svc-tags span { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-700); background: var(--paper); border: 1px solid var(--line-soft);
  padding: 8px 14px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.demand-grid.reveal { opacity: 1; transform: none; }
.svc-tags span, .demand-grid .dm {
  opacity: 0; animation-fill-mode: both;
  transition: box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.reveal.in .svc-tags span,
.demand-grid.reveal.in .dm {
  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; } }
.svc-tags span:hover, .demand-grid .dm:hover { box-shadow: 0 9px 20px -8px rgba(31,39,51,.4); }
.svc-tags span:nth-child(1), .demand-grid .dm:nth-child(1) { animation-delay: .05s; }
.svc-tags span:nth-child(2), .demand-grid .dm:nth-child(2) { animation-delay: .10s; }
.svc-tags span:nth-child(3), .demand-grid .dm:nth-child(3) { animation-delay: .15s; }
.svc-tags span:nth-child(4), .demand-grid .dm:nth-child(4) { animation-delay: .20s; }
.svc-tags span:nth-child(5), .demand-grid .dm:nth-child(5) { animation-delay: .25s; }
.svc-tags span:nth-child(6), .demand-grid .dm:nth-child(6) { animation-delay: .30s; }
.demand-grid .dm:nth-child(7) { animation-delay: .35s; }
.demand-grid .dm:nth-child(8) { animation-delay: .40s; }
.demand-grid .dm:nth-child(9) { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .svc-tags span, .demand-grid .dm { opacity: 1 !important; animation: none !important; }
}

.cta-band { text-align: center; margin-top: 54px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 26px; }

/* ============================================================
   DIFERENCIAIS — a profundidade da investigação (01 -> 02 -> 03)
   ============================================================ */
.depth { max-width: 800px; margin: clamp(40px, 5vw, 56px) auto 0; text-align: center; }
/* quadros finos: sem o número 01/02/03 e com menos sobra em cima e embaixo */
.depth-step { background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px) clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; }
.depth-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.depth-kicker { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-ink); margin: 0 0 12px; }
.depth-step h3 { font-size: clamp(1.28rem, 2.3vw, 1.62rem); line-height: 1.3; color: var(--ink);
  margin-bottom: 12px; }
.depth-items { font-size: .98rem; color: var(--ink-soft); line-height: 1.75;
  max-width: 62ch; margin-inline: auto; }
.depth-note { margin-top: 16px; font-weight: 700; font-size: 1.04rem; line-height: 1.5;
  color: var(--navy-700); max-width: 52ch; margin-inline: auto; }
.depth-arrow { display: grid; place-items: center; height: 56px; color: var(--taupe); }
.depth-arrow svg { width: 26px; height: 26px; animation: depthDrop 2.4s ease-in-out infinite; }
@keyframes depthDrop { 0%, 70%, 100% { transform: translateY(-3px); } 85% { transform: translateY(3px); } }
@media (max-width: 560px) { .depth-arrow { height: 44px; } }
.bg-navy .cta-band p { color: var(--on-navy-soft); }

/* ============================================================
   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(--paper); 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(--taupe); line-height: 1; margin-bottom: 14px; }
.step .sico { position: absolute; top: 34px; right: 30px; color: var(--navy-600); }
.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.02rem; line-height: 1.6; }

/* ============================================================
   SOBRE
   ============================================================ */
.about-media { position: relative; }
/* foto mais comprida, na mesma proporcao da secao "Avaliacao", para nao
   destoar da altura do texto ao lado */
.about-media { max-width: 420px; }
.about-media img { border-radius: 12px 12px 12px 120px; box-shadow: var(--shadow-lg); aspect-ratio: 708/1128; object-fit: cover; width:100%; object-position: 50% 50%; }
.about-media .crp {
  position: absolute; left: -20px; bottom: 34px; background: var(--navy-700); color: #fff;
  padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow); text-align:center;
}
.about-media .crp .n { font-family: var(--sans); font-size: 1.06rem; font-weight:700; line-height:1.1; color: #fff; letter-spacing: .02em; }
.about-media .crp .l { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-top:5px; }
/* auto-fit: com uma coluna só (depois que "Atuação" saiu) o bloco ocupa a
   largura toda em vez de deixar metade vazia */
.about-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 40px; margin-top: 30px; }
.about-cols h4 { font-family: var(--sans); font-size: .76rem; letter-spacing:.16em; text-transform: uppercase; color: var(--taupe-ink); font-weight: 700; margin-bottom: 14px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); margin-bottom: 9px; line-height: 1.5; }
.mini-list .d { flex:none; width:6px; height:6px; border-radius:50%; background: var(--navy-600); margin-top: 9px; }
/* underline via text-decoration (e não border-bottom): quando o link quebra
   em duas linhas, o traço acompanha o texto em vez de virar dois riscos soltos */
.mini-list a { color: var(--navy-700); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 3px; }
.mini-list a:hover { color: var(--navy-800); text-decoration-color: var(--navy-700); }
.about blockquote { font-family: var(--serif); font-size: clamp(1.28rem,2.5vw,1.8rem); font-style: italic; color: var(--navy-600); line-height: 1.34; margin: 28px 0; padding-left: 22px; border-left: 3px solid var(--taupe); letter-spacing: .01em; }
/* a coluna de texto do "Sobre" é bem mais alta que a foto; centralizar deixava
   um vazio grande no topo. Alinhada em cima e grudada na rolagem fica melhor. */
/* a foto do "Profissional responsável" fica centralizada na vertical em
   relação ao texto — antes ela era sticky e ficava colada no topo */

/* ============================================================
   AVALIAÇÕES — Google + Zenklub
   ============================================================ */
.stars { color: #E0A63C; letter-spacing: 2px; font-size: 1.1rem; margin: 10px 0 6px; }
.reviews-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px;
  max-width: 860px; margin-inline: auto; }
.review-card { position: relative; text-align: center; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(28px,4vw,40px);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center;
  transition: transform .35s ease, box-shadow .35s ease; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card .g-badge { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.review-card .g-badge .b{color:#4285F4}.review-card .g-badge .r{color:#EA4335}.review-card .g-badge .y{color:#FBBC05}.review-card .g-badge .g2{color:#34A853}
.review-card .z-badge { font-family: var(--sans); font-size: 1.6rem; font-weight: 700; line-height: 1.44;
  letter-spacing: -.02em; color: var(--navy-700); }
.review-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.review-card p { color: var(--ink-soft); font-size: 1rem; margin: 0 0 22px; max-width: 34ch; }
.review-card .btn { margin-top: auto; }
/* o quadro inteiro redireciona para o perfil (Google / Zenklub) — o link
   do botao se estica por cima do card, sem aninhar <a> dentro de <a>. */
.review-card .btn::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
@media (max-width: 700px) { .reviews-two { grid-template-columns: 1fr; max-width: 420px; } }

/* ============================================================
   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: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 1.32rem; font-weight: 600;
  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(--navy-700); }
.faq-q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 3px;
  border-right: 2.5px solid var(--navy-600); border-bottom: 2.5px solid var(--navy-600);
  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.02rem; 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.02rem; margin-bottom: 18px; }

/* ============================================================
   CONTATO + RODAPÉ
   ============================================================ */
/* título e texto centralizados, ocupando a largura da página; abaixo, lista e
   card lado a lado e com a MESMA altura; o botão vem centralizado embaixo */
.contact-head { max-width: 880px; margin-inline: auto; margin-bottom: clamp(34px, 4vw, 48px); text-align: center; }
.contact-head .eyebrow { margin-bottom: 18px; }
.contact-head .lead { margin-top: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,44px); align-items: stretch; }
.contact-list { display: grid; gap: 8px; grid-auto-rows: 1fr; }
.contact-list a, .contact-list .ci-static { 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(188,185,183,.18); color: var(--taupe); display:grid; place-items:center; flex:none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list a > span:last-child, .contact-list .ci-static > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.contact-list .k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-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;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-cta .contact-logo { height: 76px; width: auto; margin: 0 auto 20px; }
/* frase longa: no tamanho anterior (2.3rem) ela tomava o card inteiro */
.contact-cta h3 { color:#fff; font-size: clamp(1.32rem,2.2vw,1.72rem); line-height: 1.28; margin-bottom: 14px; }
.contact-cta p { color: var(--on-navy-soft); margin-bottom: 0; }
.contact-foot { text-align: center; margin-top: clamp(30px, 4vw, 44px); }

.site-footer { background: var(--navy-900); color: var(--on-navy-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: 380px; }
.footer-brand .brand-logo { height: 62px; }
.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-navy-soft); transition: .25s; }
.footer-social a:hover { background: var(--taupe); color: var(--navy-900); border-color: var(--taupe); 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(--taupe); margin-bottom: 16px; font-weight: 700; }
.footer-nav a { display: block; font-size: .88rem; margin-bottom: 10px; color: var(--on-navy-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: .78rem; color: var(--on-navy-soft); }
.footer-bottom a { color: var(--taupe); }

/* ---------- WhatsApp flutuante ---------- */
/* REGRA DE OURO deste botão: o alvo de toque é uma caixa fixa, ESTÁTICA e
   SEMPRE PRESENTE. No WebKit (iPhone), um position:fixed que MUDA DE ESTADO
   depois que a página já rolou fica com a área de toque desatualizada: ele é
   desenhado no lugar certo, mas o toque é testado no lugar antigo — o 1º toque
   se perde e só o 2º abre o link. Por isso:
     · nada de transform no botão (nem na entrada, nem no hover)
     · nenhuma animação infinita — nem no botão, nem em pseudo-elemento dele
     · NÃO esconder/mostrar via opacity/visibility/pointer-events.
   Se um dia quiser o efeito "aparece depois da capa", tem que ser via display
   (que reconstrói a área de toque), nunca visibility.                        */
.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;        /* só cor: nada que mexa no layout */
  touch-action: manipulation;              /* sem espera por duplo-toque */
  -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, .about-media img, .intro-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(20,25,33,.9); 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); }

/* ============================================================
   PARA QUEM É — cards
   ============================================================ */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.who-card { position: relative; overflow: hidden; text-align: center;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 32px 24px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease; }
.who-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--taupe), var(--navy-600)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.who-card:hover::after { transform: scaleX(1); }
.who-card .wico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-800));
  box-shadow: inset 0 0 0 1px rgba(188,185,183,.3), 0 10px 22px -12px rgba(31,39,51,.6);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease; }
.who-card .wico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform-origin: center; }
.who-card:hover .wico { transform: translateY(-2px) scale(1.08); background: linear-gradient(150deg, var(--navy-700), var(--charcoal)); }
.who-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--ink); }
/* os três quadros são categorias, não títulos de leitura: rótulo em caixa alta
   na fonte de apoio segura melhor frases de 3–4 palavras que a serifada */
.who-card h3.wtitle { font-family: var(--sans); font-size: .86rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--navy-700); line-height: 1.4; margin-bottom: 12px; }
.who-card .wlead { font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: var(--navy-600); line-height: 1.35; margin-bottom: 10px; }
.who-card p { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; }
.who-card p strong { color: var(--ink); font-weight: 600; }
.who-grid .who-card:nth-child(1) .wico svg { animation: tlBreathe 4.4s ease-in-out infinite; }
.who-grid .who-card:nth-child(2) .wico svg { animation: tlFloat 4s ease-in-out infinite; }
.who-grid .who-card:nth-child(3) .wico svg { animation: tlScan 4.2s ease-in-out .4s infinite; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   TIMELINE — etapas da avaliação
   ============================================================ */
.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(--taupe) 0%, var(--navy-600) 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, var(--navy-600), var(--navy-800)); color: #fff;
  display: grid; place-items: center; z-index: 1;
  box-shadow: 0 12px 26px -10px rgba(31,39,51,.75), inset 0 0 0 1px rgba(188,185,183,.28);
  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(188,185,183,.5); 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(--taupe); color: var(--navy-800); font-family: var(--sans); font-size: .76rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--off-2); box-shadow: 0 3px 8px -3px rgba(31,39,51,.5); }

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

.tl-step:hover .tl-marker { transform: scale(1.09); box-shadow: 0 16px 32px -10px rgba(31,39,51,.9); }
.tl-step:hover .tl-marker::after { opacity: 1; transform: scale(1.02); }
.tl-step:hover .tl-body { transform: translateX(5px); box-shadow: var(--shadow); border-color: transparent; }
.tl-cta { text-align: center; margin-top: 46px; }

/* a linha do tempo passou a ficar sobre fundo navy: a linha e o marcador
   precisam de contraste próprio, senão somem dentro do fundo */
.bg-navy .timeline::before { background: linear-gradient(180deg, var(--taupe) 0%, rgba(188,185,183,.22) 100%); }
.bg-navy .tl-marker { background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.8), inset 0 0 0 1px rgba(188,185,183,.5); }
.bg-navy .tl-num { border-color: var(--navy-700); }

.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; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .mbr { display: none; } }

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .nav-toggle { display: block; }
  .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(70% 34% at 50% 86%, rgba(99,112,132,.45), rgba(99,112,132,0) 74%); }
  .hero-inner { grid-template-columns: 1fr; padding: 104px clamp(20px,6vw,32px) 64px; gap: 8px; }
  .hero-content { max-width: none; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-points { max-width: 27em; margin-inline: auto; text-align: left; }
  .hero-actions { justify-content: center; }
  .intro-copy .svc-tags { justify-content: center; }
  .intro-copy .mini-head { text-align: center; }
  .hero-media { order: -1; max-width: 280px; margin: 6px auto 30px; }
  .hero-wave { height: clamp(38px, 9vw, 60px); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .trust-item:nth-child(3) { border-left: 0; }
  .about-cols { grid-template-columns: 1fr; }
  .approach-media .tag { right: 10px; top: 14px; }
  .about-media .crp { left: 10px; }

  .nav-panel {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--off);
    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.55rem; font-weight: 600; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-panel .btn-brand { margin-top: 20px; font-family: var(--sans); font-size: 1rem; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(20,25,33,.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: 760px) {
  .demand-grid { 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; }
  .about-media .crp { transform: scale(.92); transform-origin: left bottom; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  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 é fixo (~82px, 74px depois do scroll). Sem scroll-margin,
   as âncoras escondiam os títulos atrás dele.
   ============================================================ */
section[id], .site-footer, #top { scroll-margin-top: 92px; }

@media (max-width: 1024px) {
  /* minmax(0,1fr) prende a trilha no viewport — sem isso o botão do CTA
     esticava o grid além da largura 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) {
  /* ---- CTA: cabia em 442px num viewport de 390 ---- */
  .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: .64rem; 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; }

  /* ---- retratos: 4/5 em largura cheia comia uma tela inteira ---- */
  .approach-media, .about-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; }
  .about-media .crp { left: 6px; }

  /* ---- timeline: o marcador espremia o card em ~275px ---- */
  .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: .66rem; top: -4px; right: -4px; }
  .tl-body { padding: 18px; }
  .tl-step h3 { font-size: 1.2rem; }
  .tl-step p, .tl-body p { font-size: .97rem; }

  /* ---- contato ---- */
  .contact-list .v { font-size: .94rem; }
  .contact-list a, .contact-list .ci-static { padding: 14px 16px; gap: 12px; }
  .contact-list .ic { width: 38px; height: 38px; }

  /* ---- botão flutuante: mantém o rótulo, encolhido para caber ---- */
  .wa-float {
    right: 14px;
    /* Folga da barra de baixo do Safari iOS: com ela recolhida, um toque nos
       ~60px inferiores só reabre a barra — que então encobre o botão. */
    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; }
}
