/* ═══════════════════════════════════════════════════════════════════════
   UNNA — DESIGN SYSTEM
   Paleta "Café & Névoa" · v2.0
   ───────────────────────────────────────────────────────────────────────
   Princípio de proporção: 85% neutros · 12% marrons · 3% acento.
   É o que separa uma paleta sofisticada de uma amadora — a cor de marca
   fica reservada para onde precisa dirigir a atenção (os CTAs).

   TODAS as combinações de texto deste arquivo foram verificadas em
   contraste e passam WCAG 2.1 AA (≥4.5:1 texto, ≥3:1 componentes).
   Público inclui idosos em investigação de declínio cognitivo — perda de
   sensibilidade ao contraste é a regra, não a exceção.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ═══ PALETA — derivada do logo oficial ═══
     Cores amostradas pixel a pixel do arquivo da cliente:
       cérebro escuro #6A4837 · cérebro médio #B68F7F
       logotipo       #755240 · lilás         #C3A6C1
     Os tons abaixo partem desses valores e são ajustados até cada par de
     texto passar WCAG AA. O público inclui idosos em investigação de
     declínio cognitivo — perda de sensibilidade ao contraste é a regra. */

  /* ─── NEUTROS (85% da aplicação) ─── */
  --nevoa:        #FBF8F5;   /* fundo principal */
  --linho:        #F1E9E2;   /* fundo de seção / cartões */
  --veu:          #F0E8EF;   /* fundo de seção com tinta do lilás da marca */
  --areia:        #D9CCC1;   /* elementos sobre fundo escuro */
  --branco:       #FFFFFF;

  /* ─── MARROM (12%) — os marrons do próprio logo ─── */
  --argila:       #B68F7F;   /* cérebro médio · decorativo, nunca texto claro */
  --marca-marrom: #6A4837;   /* cérebro escuro · fundo do monograma */
  --cafe:         #6E5140;
  --espresso:     #43301F;   /* âncora escura: header, faixas, rodapé */
  --grao:         #2A1D13;

  /* ─── ACENTO (3%) ─── */
  --acento:       #6A4E78;   /* links e CTA — 6,67:1 sobre névoa */
  --acento-marca: #C3A6C1;   /* lilás exato do logo · decorativo */
  --acento-veu:   #EADEE8;   /* tinta clara do acento */

  /* ─── TEXTO (todos verificados AA) ─── */
  --texto:        #4A382C;   /* corpo            10,5:1 sobre névoa */
  --titulo:       #43301F;   /* títulos          11,8:1 */
  --texto-suave:  #6E5140;   /* apoio             6,8:1 */
  --texto-tenue:  #78665C;   /* legendas, crumbs  5,2:1 · 4,5:1 no pior fundo */
  --texto-claro:  #D4C7BD;   /* sobre espresso    7,6:1 */

  /* ─── LINHAS ─── */
  --linha:        #E6DCD3;   /* divisória decorativa */
  --linha-forte:  #9A8578;   /* borda de input e botão — 3,3:1 (WCAG 1.4.11) */

  /* ─── ESTADO ─── */
  --erro:         #A6453B;   /* 5,6:1 sobre névoa — legível é obrigatório aqui */
  --erro-fundo:   #FBF1EF;
  --sucesso:      #4F7A63;
  --whatsapp:     #1EA952;   /* verde WhatsApp escurecido p/ contraste com branco */

  /* ─── TIPOGRAFIA ───
     Fraunces com os eixos SOFT (terminais arredondados) e WONK (formas
     excêntricas) ativos — sem eles a fonte renderiza na variante neutra. */
  --f-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-corpo:  'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1.0625rem;
  --t-md:   1.1875rem;
  --t-lg:   1.375rem;
  --t-xl:   1.75rem;
  --t-2xl:  2.25rem;
  --t-hero: clamp(2rem, 4.3vw, 3.25rem);   /* H1 da home carrega os termos do nicho: mais texto, corpo um pouco menor */
  --t-page: clamp(1.9rem, 4vw, 2.9rem);

  --fw-light: 300; --fw-reg: 400; --fw-med: 500;
  --fw-semi: 600;  --fw-bold: 700;

  --lh-tight: 1.15; --lh-snug: 1.4; --lh-norm: 1.65;
  --ls-tight: -0.022em; --ls-wide: 0.06em; --ls-wider: 0.13em;

  /* ─── ESPAÇAMENTO (base 4) ─── */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 20px;  --s6: 24px;  --s8: 32px;  --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  --wrap:      min(1180px, 92vw);
  --wrap-text: min(720px, 92vw);

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;

  --sh-sm: 0 1px 3px rgba(36,26,21,.05), 0 1px 2px rgba(36,26,21,.04);
  --sh-md: 0 4px 20px rgba(36,26,21,.07), 0 2px 6px rgba(36,26,21,.04);
  --sh-lg: 0 12px 40px rgba(36,26,21,.09), 0 4px 12px rgba(36,26,21,.05);

  --tr-fast: 160ms cubic-bezier(.4,0,.2,1);
  --tr-base: 260ms cubic-bezier(.4,0,.2,1);
  --tr-soft: 420ms cubic-bezier(.22,1,.36,1);

  --z-textura: 1; --z-base: 0; --z-raise: 10;
  --z-nav: 40; --z-float: 50; --z-modal: 60;

  --h-header: 76px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--h-header) + var(--s4));
  -webkit-text-size-adjust: 100%;
  /* A trava precisa estar AQUI, não só no body.
     `overflow-x: hidden` aplicado apenas ao <body> é ignorado por boa
     parte dos navegadores de celular: a propagação para o viewport parte
     do <html>. Era por isso que o site continuava arrastando para o lado
     no telefone mesmo com a regra no body.
     `clip` em vez de `hidden` porque não cria contexto de rolagem — e
     portanto não quebra `position: sticky` nem o scroll suave. */
  overflow-x: clip;
  max-width: 100%;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img, svg { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }

body {
  font-family: var(--f-corpo);
  font-size: var(--t-base);
  line-height: var(--lh-norm);
  color: var(--texto);
  background: var(--nevoa);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  /* Palavra longa sem espaço (URL, e-mail, @usuario) empurrava o layout
     para além da tela em vez de quebrar. */
  overflow-wrap: break-word;
}

/* Itens de grid e flex nascem com `min-width: auto`, o que significa
   "nunca encolher abaixo do meu conteúdo". Uma única palavra comprida
   dentro de uma célula estica a grade inteira e cria rolagem lateral.
   É a causa nº 1 de estouro horizontal em layout de grid. */
.grid-2 > *, .grid-3 > *, .f-row > *, .hero__grade > *, .foot-grid > *,
.trust__grid > *, .step > *, .info-item > *, .nav > *, .cookie-bar > * {
  min-width: 0;
}

/* Textura de papel. Fica no z-index mais baixo da escala definida em
   :root — antes estava em 9998, ignorando a escala e passando por cima
   de qualquer modal futuro. */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none;
  z-index: var(--z-textura); opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══ FOCO — visível em TODO elemento interativo ═══ */
:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ═══ TIPOGRAFIA ═══ */
h1, h2 {
  font-family: var(--f-titulo);
  font-weight: var(--fw-semi);
  font-variation-settings: 'SOFT' 45, 'WONK' 1;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--titulo);
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); font-variation-settings: 'SOFT' 45, 'WONK' 1, 'opsz' 100; }
h2 { font-size: clamp(1.65rem, 3.2vw, var(--t-2xl)); font-variation-settings: 'SOFT' 45, 'WONK' 1, 'opsz' 40; }
h3 { font-family: var(--f-corpo); font-size: var(--t-lg); font-weight: var(--fw-bold);
     line-height: var(--lh-snug); color: var(--titulo); }
h4 { font-family: var(--f-corpo); font-size: var(--t-md); font-weight: var(--fw-bold);
     line-height: var(--lh-snug); color: var(--titulo); }

p { max-width: 68ch; }
strong { font-weight: var(--fw-bold); color: var(--grao); }
a { color: var(--acento); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--espresso); }

.lead { font-size: var(--t-md); line-height: var(--lh-snug); color: var(--texto-suave); }
.overline {
  display: inline-block; font-size: var(--t-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: var(--acento); margin-bottom: var(--s3);
}
.caption { font-size: var(--t-sm); color: var(--texto-tenue); }

/* ═══ LAYOUT ═══ */
.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-text { width: var(--wrap-text); margin-inline: auto; }
section { padding-block: var(--s24); position: relative; }
@media (max-width: 768px) { section { padding-block: var(--s16); } }

.sec-head { text-align: center; margin-bottom: var(--s16); }
.sec-head h2 { margin-bottom: var(--s4); }
.sec-head p { margin-inline: auto; }

.bg-nevoa { background: var(--nevoa); }
.bg-linho { background: var(--linho); }
.bg-veu   { background: var(--veu); }

.flow > * + *    { margin-top: var(--s6); }
.flow-lg > * + * { margin-top: var(--s10); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s10); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s6); }
.grid-2--sobre  { align-items: center; gap: var(--s16); }
.grid-2--form   { align-items: start; gap: var(--s16); }
.grid-2--etapas { gap: var(--s10); }
.btn-linha { display: flex; gap: var(--s4); flex-wrap: wrap; }

/* ═══ BOTÕES ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--f-corpo); font-size: var(--t-sm); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  padding: var(--s4) var(--s8); border-radius: var(--r-full);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background var(--tr-base), color var(--tr-base),
              border-color var(--tr-base), transform var(--tr-base), box-shadow var(--tr-base);
  white-space: nowrap;
}
.btn-primary  { background: var(--espresso); color: var(--branco); box-shadow: var(--sh-md); }
.btn-primary:hover  { background: var(--grao); color: var(--branco); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-acento   { background: var(--acento); color: var(--branco); box-shadow: var(--sh-md); }
.btn-acento:hover   { background: #4E3C5E; color: var(--branco); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-outline  { background: transparent; color: var(--cafe); border-color: var(--linha-forte); }
.btn-outline:hover  { background: var(--espresso); color: var(--branco); border-color: var(--espresso); }
.btn-ghost    { background: var(--branco); color: var(--cafe); border-color: var(--linha-forte); }
.btn-ghost:hover    { background: var(--linho); color: var(--espresso); border-color: var(--cafe); }
.btn-lg { padding: var(--s5) var(--s10); font-size: var(--t-base); }
.btn-sm { padding: var(--s3) var(--s6); font-size: var(--t-xs); }
.btn:active { transform: translateY(0); }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ═══ SKIP LINK ═══ */
.skip-link {
  position: absolute; top: -100px; left: var(--s4); z-index: var(--z-modal);
  background: var(--espresso); color: var(--branco);
  padding: var(--s3) var(--s6); border-radius: var(--r-sm);
  text-decoration: none; transition: top var(--tr-fast);
}
.skip-link:focus { top: var(--s4); color: var(--branco); }

/* ═══ HEADER ═══ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  background: rgba(250, 247, 244, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
}
.site-header.scrolled { border-bottom-color: var(--linha); box-shadow: var(--sh-sm); }

.nav {
  width: var(--wrap); margin-inline: auto; min-height: var(--h-header);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s6);
}
/* O logo é o arquivo oficial da cliente, na versão horizontal composta
   a partir das faixas do lockup vertical original. */
.nav__brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav__logo { width: auto; height: 46px; display: block; }
@media (max-width: 420px) { .nav__logo { height: 38px; } }
.nav__menu { display: flex; align-items: center; gap: var(--s6); list-style: none; }
.nav__menu a {
  font-size: var(--t-sm); font-weight: var(--fw-med);
  color: var(--texto-suave); text-decoration: none;
  transition: color var(--tr-fast); position: relative;
}
.nav__menu a:not(.btn)::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1.5px;
  background: var(--acento); transition: width var(--tr-base);
}
.nav__menu a:not(.btn):hover { color: var(--espresso); }
.nav__menu a:not(.btn):hover::after { width: 100%; }
.nav__menu a.btn { color: var(--branco); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: var(--s2);
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--espresso); transition: transform var(--tr-base), opacity var(--tr-base);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drop { position: relative; }
.nav__drop-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: var(--s3); min-width: 270px;
  opacity: 0; visibility: hidden; list-style: none;
  transition: opacity var(--tr-base), visibility var(--tr-base), transform var(--tr-base);
}
.nav__drop:hover .nav__drop-panel,
.nav__drop:focus-within .nav__drop-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__drop-panel a {
  display: block; padding: var(--s3) var(--s4); border-radius: var(--r-sm);
  font-size: var(--t-sm); color: var(--texto-suave);
}
.nav__drop-panel a::after { display: none; }
.nav__drop-panel a:hover { background: var(--veu); color: var(--espresso); }

@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--h-header) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nevoa); border-bottom: 1px solid var(--linha);
    padding: var(--s4) 4vw var(--s8);
    max-height: calc(100svh - var(--h-header)); overflow-y: auto;
    transform: translateY(-120%); box-shadow: var(--sh-lg);
    /* `visibility` é o que tira o menu fechado da árvore de acessibilidade.
       Só com transform ele continua focável por teclado e anunciado por
       leitor de tela — 11 links invisíveis antes do conteúdo. */
    visibility: hidden;
    transition: transform var(--tr-soft), visibility var(--tr-soft);
  }
  .nav__menu.open { transform: translateY(0); visibility: visible; }
  .nav__menu > li { border-bottom: 1px solid var(--linha); }
  .nav__menu > li:last-child { border: none; padding-top: var(--s5); }
  .nav__menu a:not(.btn) { display: block; padding: var(--s4) 0; font-size: var(--t-base); }
  .nav__menu a.btn { width: 100%; }
  .nav__drop-panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: 0 0 var(--s3) var(--s4);
    min-width: 0; background: transparent;
  }
  .nav__drop-panel a { padding: var(--s3) 0; font-size: var(--t-sm); }
}

/* ═══ HERO — duas colunas: texto e a responsável ═══
   Em serviço de saúde, o rosto de quem atende é o sinal de confiança mais
   forte que existe. Por isso a foto sobe para antes da primeira rolagem,
   ao lado do texto — e não como fundo, onde o rosto competiria com a
   leitura. Fundo claro: a foto tem luz quente e um véu escuro brigaria
   com ela. */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--h-header) + var(--s16));
  padding-bottom: var(--s16);
  background: linear-gradient(165deg, var(--veu) 0%, var(--nevoa) 42%, var(--linho) 100%);
}
.hero::after {
  content: ''; position: absolute; top: -18%; right: -12%;
  width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(195,166,193,.28) 0%, transparent 66%);
  pointer-events: none; z-index: 0;
}
.hero__grade {
  position: relative; z-index: var(--z-raise);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--s16); align-items: center;
}
.hero__texto { max-width: 620px; }
.hero__texto h1 { margin-bottom: var(--s5); }
.hero__texto .lead { font-size: var(--t-md); color: var(--texto-suave); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s10); }

.hero__figura {
  position: relative; margin: 0;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); background: var(--linho);
  aspect-ratio: 4/5;
}
.hero__figura img { width: 100%; height: 100%; object-fit: cover; }
/* Selo com o nome e o registro, ancorado à foto */
.hero__selo {
  position: absolute; left: var(--s5); right: var(--s5); bottom: var(--s5);
  background: rgba(251,248,245,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md); padding: var(--s4) var(--s5);
  box-shadow: var(--sh-sm);
}
.hero__selo strong {
  display: block; font-family: var(--f-titulo); font-size: var(--t-md);
  font-variation-settings: 'SOFT' 45, 'WONK' 1;
  font-weight: var(--fw-semi); color: var(--titulo); line-height: 1.2;
}
.hero__selo span {
  display: block; font-size: var(--t-xs); color: var(--texto-tenue);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  font-weight: var(--fw-bold); margin-top: 3px;
}

@media (max-width: 980px) {
  .hero__grade { grid-template-columns: 1fr; gap: var(--s12); }
  .hero__figura { max-width: 460px; margin-inline: auto; }
  .hero__texto { max-width: none; }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--branco); border: 1px solid var(--acento-veu);
  border-radius: var(--r-full); padding: var(--s2) var(--s5);
  font-size: var(--t-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--acento); margin-bottom: var(--s5);
}

/* ═══ HERO INTERNO ═══ */
.page-hero {
  padding-top: calc(var(--h-header) + var(--s20)); padding-bottom: var(--s20);
  background: linear-gradient(160deg, var(--veu) 0%, var(--linho) 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; top: -34%; right: -8%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,106,143,.20) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero--curto { padding-bottom: var(--s12); }
.page-hero__inner { position: relative; z-index: var(--z-raise); max-width: 790px; }
.page-hero h1 { margin-bottom: var(--s5); font-size: var(--t-page); }
.page-hero__cta { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s8); }

.crumb {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  font-size: var(--t-sm); color: var(--texto-tenue); margin-bottom: var(--s5); list-style: none;
}
.crumb a { color: var(--texto-tenue); text-decoration: none; }
.crumb a:hover { color: var(--espresso); text-decoration: underline; }
.crumb li:not(:last-child)::after { content: '/'; margin-left: var(--s2); color: var(--argila); }

/* ═══ FAIXA DE CREDIBILIDADE ═══ */
.trust { background: var(--espresso); padding-block: var(--s12); }
.trust__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--s8); text-align: center; list-style: none;
}
.trust__num {
  display: block; font-family: var(--f-titulo); font-size: 1.9rem;
  font-weight: var(--fw-semi); font-variation-settings: 'SOFT' 45, 'WONK' 1;
  color: var(--branco); line-height: 1.1; margin-bottom: var(--s2);
}
.trust__lbl {
  display: block; font-size: var(--t-xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--areia); font-weight: var(--fw-bold);
}

/* ═══ CARTÕES DE ESPECIALIDADE ═══ */
.spec-card {
  display: flex; flex-direction: column;
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--r-lg); padding: var(--s8);
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
}
.spec-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--argila), var(--acento-marca));
  transform: scaleX(0); transform-origin: left; transition: transform var(--tr-soft);
}
.spec-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--acento-veu); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--veu); display: grid; place-items: center;
  margin-bottom: var(--s5); color: var(--acento); flex-shrink: 0;
}
.spec-card h3 { margin-bottom: var(--s3); font-size: var(--t-md); }
.spec-card p { font-size: var(--t-sm); margin-bottom: var(--s5); flex: 1; color: var(--texto-suave); }
.spec-card__more {
  font-size: var(--t-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--acento);
  display: inline-flex; align-items: center; gap: var(--s2);
  transition: gap var(--tr-base);
}
.spec-card:hover .spec-card__more { gap: var(--s3); }

/* ═══ ETAPAS ═══ */
.step { display: flex; gap: var(--s6); align-items: flex-start; }
.step__num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--branco); border: 1.5px solid var(--acento-veu);
  display: grid; place-items: center;
  font-family: var(--f-titulo); font-size: 1.05rem; font-weight: var(--fw-semi);
  color: var(--acento);
}
.step h3 { margin-bottom: var(--s2); font-size: var(--t-md); }
.step p { font-size: var(--t-sm); color: var(--texto-suave); }

/* ═══ LISTA COM MARCADOR ═══ */
.check-list { list-style: none; display: grid; gap: var(--s4); }
.check-list li {
  display: flex; gap: var(--s3); align-items: flex-start;
  font-size: var(--t-sm); color: var(--texto-suave);
}
.check-list li::before {
  content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 8px;
  border-radius: 50%; background: var(--acento-marca);
  box-shadow: 0 0 0 3px var(--acento-veu);
}
.check-list strong { display: block; color: var(--titulo); margin-bottom: 2px; }
.lista { padding-left: var(--s6); display: grid; gap: var(--s2); }
.lista li { color: var(--texto); }

/* ═══ RETRATO (bloco Sobre) ═══ */
.retrato {
  position: relative; margin: 0;
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--linho); box-shadow: var(--sh-lg);
}
.retrato img { width: 100%; height: 100%; object-fit: cover; }
/* Moldura interna sutil: separa a foto do fundo claro da seção sem
   precisar de borda dura. */
.retrato::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(67,48,31,.10);
  pointer-events: none;
}
.retrato__cap {
  position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s4);
  background: rgba(251,248,245,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md); padding: var(--s3) var(--s5);
  font-size: var(--t-xs); color: var(--texto-tenue); line-height: 1.5;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  font-weight: var(--fw-bold);
}
.retrato__cap strong {
  display: block; font-family: var(--f-titulo); font-size: var(--t-md);
  font-variation-settings: 'SOFT' 45, 'WONK' 1; letter-spacing: 0;
  text-transform: none; font-weight: var(--fw-semi);
  color: var(--titulo); margin-bottom: 2px;
}

/* ═══ FAQ ═══ */
.faq { border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
  padding: var(--s6) 0; cursor: pointer; list-style: none;
  font-size: var(--t-md); font-weight: var(--fw-bold);
  color: var(--titulo); transition: color var(--tr-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acento); }
.faq summary::after {
  content: '+'; flex-shrink: 0; font-size: 1.5rem; font-weight: var(--fw-light);
  color: var(--acento); transition: transform var(--tr-base); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__corpo { padding-bottom: var(--s6); }
.faq__corpo p { font-size: var(--t-sm); max-width: 66ch; color: var(--texto-suave); }

/* ═══ PROSA (política de privacidade) ═══ */
.prosa > * + * { margin-top: var(--s5); }
.prosa h2 {
  font-size: var(--t-lg); margin-top: var(--s12);
  padding-bottom: var(--s3); border-bottom: 1px solid var(--linha);
}
.prosa h2:first-of-type { margin-top: var(--s8); }
.prosa p, .prosa li { font-size: var(--t-sm); line-height: 1.75; }

/* ═══ FORMULÁRIO ═══ */
.form-card {
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--r-xl); padding: var(--s12); box-shadow: var(--sh-lg);
}
@media (max-width: 640px) { .form-card { padding: var(--s6); border-radius: var(--r-lg); } }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 620px) { .f-row { grid-template-columns: 1fr; } }
.f-group { margin-bottom: var(--s5); }
.f-label {
  display: block; font-size: var(--t-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--titulo); margin-bottom: var(--s2);
}
.f-label .req { color: var(--erro); }
.f-opt { font-weight: var(--fw-reg); color: var(--texto-tenue); text-transform: none; letter-spacing: 0; }
.f-input {
  width: 100%; padding: var(--s4) var(--s5);
  font-size: var(--t-base); font-family: var(--f-corpo);
  background: var(--nevoa); color: var(--texto);
  /* Borda em 3,5:1 — a anterior ficava em 1,4:1 e os campos sumiam
     em tela de celular sob luz do sol. */
  border: 1.5px solid var(--linha-forte); border-radius: var(--r-md);
  transition: border-color var(--tr-fast), background var(--tr-fast), box-shadow var(--tr-fast);
}
.f-input::placeholder { color: var(--texto-tenue); }
.f-input:focus-visible {
  outline: none; border-color: var(--acento); background: var(--branco);
  box-shadow: 0 0 0 4px rgba(95,74,114,.16);
}
.f-input.err { border-color: var(--erro); background: var(--erro-fundo); }
select.f-input {
  appearance: none; cursor: pointer; padding-right: var(--s10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D2E26' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s5) center;
}
textarea.f-input { resize: vertical; min-height: 118px; }
.f-err {
  display: block; font-size: var(--t-xs); color: var(--erro);
  margin-top: var(--s2); min-height: 16px; font-weight: var(--fw-med);
}

.f-consent { background: var(--nevoa); border: 1px solid var(--linha); border-radius: var(--r-md); padding: var(--s4); }
.f-check { display: flex; gap: var(--s3); align-items: flex-start; cursor: pointer; }
.f-check input {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  accent-color: var(--acento); cursor: pointer;
}
.f-check span { font-size: var(--t-xs); line-height: 1.6; color: var(--texto-suave); }

.f-submit { width: 100%; margin-top: var(--s2); }
.f-submit.ok { background: var(--sucesso); }
.f-noscript {
  margin-top: var(--s4); padding: var(--s4);
  background: var(--erro-fundo); border: 1px solid var(--erro);
  border-radius: var(--r-md); font-size: var(--t-sm);
}
.f-note {
  display: flex; align-items: flex-start; gap: var(--s2);
  font-size: var(--t-xs); color: var(--texto-tenue);
  margin-top: var(--s4); line-height: 1.5;
}

/* ═══ WHATSAPP FLUTUANTE ═══ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  display: flex; align-items: center; gap: var(--s3);
  background: var(--whatsapp); color: #fff; text-decoration: none;
  padding: 14px 20px 14px 16px; border-radius: var(--r-full);
  box-shadow: 0 6px 24px rgba(30,169,82,.34), 0 2px 8px rgba(0,0,0,.10);
  font-size: var(--t-sm); font-weight: var(--fw-bold);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  /* Atraso era de 0,9s — tempo suficiente para o usuário achar que o
     botão só aparece depois de rolar. É o principal canal de contato:
     tem de estar visível praticamente junto com a página. */
  animation: waIn .45s cubic-bezier(.22,1,.36,1) .15s both;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); color: #fff; box-shadow: 0 10px 32px rgba(30,169,82,.44); }
.wa-float svg { flex-shrink: 0; }
.wa-float__txt { white-space: nowrap; }
@keyframes waIn { from { opacity: 0; transform: translateY(24px) scale(.86); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; padding: 15px; }
  .wa-float__txt { display: none; }
}

/* ═══ MAPA ═══ */
.map-frame {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--linha); box-shadow: var(--sh-md);
  line-height: 0; background: var(--linho);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ═══ INFORMAÇÕES DE CONTATO ═══ */
.info-item { display: flex; gap: var(--s4); align-items: flex-start; }
.info-item__ico {
  width: 42px; height: 42px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--veu); display: grid; place-items: center; color: var(--acento);
}
.info-item__lbl {
  font-size: var(--t-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--texto-tenue); margin-bottom: 3px;
}
.info-item__val { font-size: var(--t-sm); color: var(--titulo); font-weight: var(--fw-med); line-height: 1.5; }
.info-item__val a { color: var(--titulo); text-decoration: none; }
.info-item__val a:hover { color: var(--acento); text-decoration: underline; }

/* ═══ RODAPÉ ═══ */
.site-footer { background: var(--espresso); color: var(--texto-claro); padding-block: var(--s20) var(--s8); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s12); margin-bottom: var(--s16); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: var(--s10); } }
.foot-logo { width: 230px; height: auto; margin-bottom: var(--s5); }
.site-footer p { color: var(--texto-claro); font-size: var(--t-sm); }
.foot-h {
  font-size: var(--t-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wider);
  text-transform: uppercase; color: var(--branco); margin-bottom: var(--s5);
}
.foot-list { list-style: none; display: grid; gap: var(--s3); }
.foot-list a { color: var(--texto-claro); text-decoration: none; font-size: var(--t-sm); transition: color var(--tr-fast); }
.foot-list a:hover { color: var(--branco); text-decoration: underline; }
.foot-social { display: flex; gap: var(--s3); margin-top: var(--s6); }
.foot-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.10); display: grid; place-items: center;
  color: var(--branco); transition: background var(--tr-base), transform var(--tr-base);
}
.foot-social a:hover { background: var(--acento); color: var(--branco); transform: translateY(-2px); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--s8);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
  font-size: var(--t-xs); color: var(--texto-claro);
}

/* ═══ BARRA DE COOKIES ═══ */
.cookie-bar {
  position: fixed; left: 50%; bottom: var(--s5); transform: translateX(-50%);
  z-index: var(--z-modal); width: min(680px, 92vw);
  display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap;
  background: var(--branco); border: 1px solid var(--linha-forte);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: var(--s5) var(--s6);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: var(--t-xs); flex: 1 1 300px; margin: 0; color: var(--texto-suave); }
.cookie-bar__acoes { display: flex; gap: var(--s3); }
@media (max-width: 560px) {
  .cookie-bar { bottom: 88px; }
  .cookie-bar__acoes { width: 100%; }
  .cookie-bar__acoes .btn { flex: 1; }
}

/* ═══ ANIMAÇÃO DE ENTRADA ═══
   REGRA: o conteúdo é visível por padrão. A animação é enriquecimento.

   Antes era o contrário — `.reveal { opacity: 0 }` no CSS e o JavaScript
   revelava depois. Isso fazia 14 dos 20 blocos da home ficarem invisíveis
   se o observer não disparasse: seções inteiras em branco no celular.
   Conteúdo escondido atrás de JavaScript é conteúdo que pode nunca
   aparecer — script lento, bloqueado ou com erro apaga a página.

   Agora a classe `js` só entra no <html> se o JavaScript executar, e é
   ela que autoriza esconder. Sem JS, tudo aparece normalmente. */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.js .reveal.on { opacity: 1; transform: none; }

/* Failsafe: a classe `revelar-tudo` entra por temporizador no <head>, 3s
   após o carregamento. Se o main.js não chegar, se der erro, ou se o
   IntersectionObserver não disparar, o conteúdo aparece assim mesmo.
   Um bloco sem animação é um detalhe. Um bloco invisível é conteúdo
   perdido — e foi o que derrubou a versão anterior no celular. */
.revelar-tudo .reveal { opacity: 1 !important; transform: none !important; }

/* ═══ MOVIMENTO REDUZIDO ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   AJUSTES DE CELULAR
   Medidos num viewport real de 390px, não estimados.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* A home tinha 17,8 telas de altura. Respiro de desktop em tela de
     celular vira rolagem vazia — o dedo cansa antes do conteúdo acabar. */
  section { padding-block: var(--s12); }
  .sec-head { margin-bottom: var(--s10); }
  .hero {
    padding-top: calc(var(--h-header) + var(--s6));
    padding-bottom: var(--s12);
  }
  .grid-2--etapas, .grid-2--sobre, .grid-2--form { gap: var(--s8); }
  .flow-lg > * + * { margin-top: var(--s8); }
  .site-footer { padding-block: var(--s12) var(--s6); }
  .foot-grid { margin-bottom: var(--s10); }
}

@media (max-width: 560px) {
  /* minmax(170px,1fr) colapsava para UMA coluna: 437px de altura para
     quatro dados de duas palavras. Em 2×2 cabe tudo em ~180px. */
  .trust__grid { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); }
  .trust__num { font-size: 1.6rem; }

  /* O nome completo quebrava em três linhas e o selo comia 1/4 da foto. */
  .hero__selo { padding: var(--s3) var(--s4); }
  .hero__selo strong { font-size: var(--t-base); }
  .retrato__cap strong { font-size: var(--t-base); }
}

/* ═══ ALVOS DE TOQUE ═══
   Links de lista tinham 16px de altura. A recomendação de plataforma é
   44px; o mínimo do WCAG 2.5.8 é 24px. Público inclui idosos, para quem
   alvo pequeno é barreira real, não detalhe. */
@media (pointer: coarse), (max-width: 980px) {
  .foot-list a, .info-item__val a, .crumb a, .nav__drop-panel a {
    display: inline-block; padding-block: var(--s3);
  }
  .foot-list { gap: var(--s1); }
  .nav__toggle { padding: var(--s3); }
  .f-check input { width: 24px; height: 24px; }
  .faq summary { padding-block: var(--s5); }
}

/* ═══ IMPRESSÃO ═══ */
@media print {
  .site-header, .wa-float, .cookie-bar, .map-frame, .hero__bg, form { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; background: #fff; }
  .hero__inner h1, .hero__inner .lead { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
