/* =============================================================
   assets/css/base.css -- sistema visual da Belko Dev (SPEC 6 e 7)
   -------------------------------------------------------------
   "Escuro premium de precisao": fundo quase preto, bordas de 1px,
   tipografia grande e o gradiente laranja para magenta so onde
   precisa chamar a atencao (CTA principal, uma palavra de destaque,
   borda em hover). Proporcao: 90% neutros, 8% texto secundario e
   bordas, 2% gradiente.

   Indice
     1. Fontes            8. Componentes
     2. Tokens            9. Formulario
     3. Reset            10. Header e menu
     4. Foco e acesso    11. Rodape
     5. Tipografia       12. Revelar (entrada das secoes)
     6. Layout           13. Tema acolhedor
     7. Fundos           14. Movimento reduzido

   Regras: so transform e opacity animam (fora a entrada das palavras
   do hero, que usa blur); nada de cor fixa fora dos tokens; texto
   sobre o gradiente e sempre --tinta, nunca branco.
   ============================================================= */

/* ---------- 1. Fontes ----------------------------------------
   Servidas do proprio dominio, subconjunto latin. So a fonte dos
   titulos e pre-carregada (parciais/head.php). Os fallbacks com
   size-adjust seguram o layout enquanto a fonte chega. */
@font-face {
  font-family: "Geist";
  src: url("../fontes/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fontes/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fontes/geist-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* ---------- 2. Tokens (SPEC 6.1) ------------------------------ */
:root {
  /* Cores */
  --fundo: #07070C;
  --fundo-rgb: 7 7 12;
  --superficie: #0F0F17;
  --superficie-2: #14141E;
  --borda: #1E1E2A;
  --borda-forte: #34344A;
  --borda-campo: #66667E;           /* contorno de campos: 3:1 sobre o fundo (WCAG 1.4.11) */
  --texto: #F4F4F7;
  --texto-2: #9A9AAE;
  --tinta: #07070C;                 /* texto sobre o gradiente */
  --laranja: #FF8A00;
  --magenta: #E3307A;
  --grad: linear-gradient(90deg, #FF8A00, #E3307A);
  --ok: #2BD9A0;                    /* so transacao aprovada e metrica positiva */
  --erro: #FF7A8A;
  --foco: #FF8A00;
  --vela: rgb(255 255 255 / 0.04);  /* preenchimento sutil sobre qualquer fundo */
  --pontos: rgb(255 255 255 / 0.09);

  /* Raios */
  --raio-p: 10px;
  --raio: 16px;
  --raio-g: 24px;
  --raio-pilula: 999px;

  /* Espacamentos (escala de 4) */
  --e-1: 4px;
  --e-2: 8px;
  --e-3: 12px;
  --e-4: 16px;
  --e-5: 24px;
  --e-6: 32px;
  --e-7: 48px;
  --e-8: 64px;
  --e-9: 96px;
  --e-10: 128px;

  /* Larguras e grade */
  --largura: 1200px;
  --gutter: 24px;
  --margem: 20px;
  --secao: 96px;
  --header-h: 72px;

  /* Curvas e tempos */
  --ease-entrada: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: ease-out;
  --dur-hover: 200ms;
  --dur-entrada: 600ms;

  /* Tipografia: familias */
  --f-titulo: "Geist", "Geist Fallback", system-ui, sans-serif;
  --f-corpo: "Inter", "Inter Fallback", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Tipografia: escala fluida (mobile a 400px, desktop a 1280px) */
  --t-hero: clamp(2.5rem, 1.591rem + 3.636vw, 4.5rem);      /* 40 a 72 */
  --t-secao: clamp(1.875rem, 1.477rem + 1.591vw, 2.75rem);  /* 30 a 44 */
  --t-h3: clamp(1.25rem, 1.136rem + 0.455vw, 1.5rem);       /* 20 a 24 */
  --t-lead: clamp(1.0625rem, 0.989rem + 0.295vw, 1.25rem);  /* 17 a 20 */
  --t-corpo: clamp(1rem, 0.943rem + 0.227vw, 1.125rem);     /* 16 a 18 */
  --t-peq: 0.875rem;                                         /* 14 */
  --t-mono: clamp(0.75rem, 0.722rem + 0.114vw, 0.8125rem);  /* 12 a 13 */
  --t-numero: clamp(3rem, 2.25rem + 3vw, 4.75rem);          /* 48 a 76 */

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --margem: 32px; }
}
@media (min-width: 1024px) {
  :root { --secao: 160px; }
}

/* ---------- 3. Reset enxuto ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--fundo);
  color-scheme: dark;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--f-corpo);
  font-size: var(--t-corpo);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-aberto { overflow: hidden; }
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; }
summary { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 4. Selecao, foco e acesso ------------------------- */
::selection { background: var(--magenta); color: var(--tinta); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--foco);
  outline-offset: 3px;
}
/* Links de texto: anel com cantos suaves. O resto segue o raio do proprio elemento. */
.link:focus-visible, .prosa a:focus-visible, .logo:focus-visible, .rodape__lista a:focus-visible, .faq__pergunta:focus-visible { border-radius: 6px; }

.pular {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--texto);
  color: var(--tinta);
  font-weight: 600;
  border-radius: var(--raio-p);
  transform: translateY(-200%);
  transition: transform var(--dur-hover) var(--ease-hover);
}
.pular:focus-visible { transform: none; outline-offset: 2px; }

.so-leitor {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. Tipografia ------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-titulo);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); line-height: 1.04; }
h2 { font-size: var(--t-secao); line-height: 1.12; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.titulo-hero { font-size: var(--t-hero); line-height: 1.04; }
.titulo-secao { font-size: var(--t-secao); line-height: 1.12; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--texto-2); max-width: 62ch; }
.peq { font-size: var(--t-peq); line-height: 1.5; }
.texto-2 { color: var(--texto-2); }
.centro { text-align: center; }
.mono { font-family: var(--f-mono); font-size: var(--t-mono); font-synthesis: none; }

/* Rotulo mono: "01 / SOLUCOES". Nunca em paragrafo corrido. */
.rotulo {
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-2);
}
.rotulo__num { color: var(--texto); }

/* Palavra de destaque. Funciona em qualquer titulo. */
.grad-texto {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .grad-texto { background: none; color: Highlight; -webkit-text-fill-color: currentColor; }
}

/* Texto corrido de pagina (politicas, artigos, descricoes longas). */
.prosa { max-width: 68ch; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 { font-size: var(--t-h3); margin-top: 2.2em; }
.prosa h3 { font-size: 1.125rem; margin-top: 1.8em; }
.prosa ul { list-style: disc; padding-left: 1.3em; }
.prosa ol { list-style: decimal; padding-left: 1.3em; }
.prosa li + li { margin-top: 0.4em; }
.prosa a, .link {
  background:
    var(--grad) 0 100% / 0 1px no-repeat,
    linear-gradient(var(--borda-forte), var(--borda-forte)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur-hover) var(--ease-hover);
}
.prosa a:hover, .link:hover, .prosa a:focus-visible, .link:focus-visible {
  background-size: 100% 1px, 100% 1px;
}
/* Link de texto sozinho em uma linha (fora de frase): alvo de toque de 44px,
   com o sublinhado no mesmo lugar de sempre. */
.link--bloco { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; background-position: 0 calc(50% + 14px), 0 calc(50% + 14px); }
.prosa strong { font-weight: 600; }

/* ---------- 6. Layout ----------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--largura) + var(--margem) * 2);
  margin-inline: auto;
  padding-inline: var(--margem);
}
.container--estreito { max-width: calc(800px + var(--margem) * 2); }

/* Grade de 12 colunas. No mobile tudo ocupa a linha inteira;
   .col-N vale a partir de 768px, .lg-N a partir de 1024px,
   .ini-N / .lg-ini-N escolhem a coluna inicial. */
.grade {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
.grade > * { --span: 12; --ini: auto; grid-column: var(--ini) / span var(--span); }
.grade--sem-gap { gap: 0; }
.grade--gap-g { gap: var(--e-6) 0; } /* 11 vazios de 32px passam de 320px de largura: no mobile so espaco entre linhas */
@media (min-width: 768px) { .grade--gap-g { gap: var(--e-6); } }
.grade--centro { align-items: center; }
.grade--topo { align-items: start; }
@media (min-width: 768px) {
  .col-1 { --span: 1; } .col-2 { --span: 2; } .col-3 { --span: 3; } .col-4 { --span: 4; }
  .col-5 { --span: 5; } .col-6 { --span: 6; } .col-7 { --span: 7; } .col-8 { --span: 8; }
  .col-9 { --span: 9; } .col-10 { --span: 10; } .col-11 { --span: 11; } .col-12 { --span: 12; }
  .ini-1 { --ini: 1; } .ini-2 { --ini: 2; } .ini-3 { --ini: 3; } .ini-4 { --ini: 4; }
  .ini-5 { --ini: 5; } .ini-6 { --ini: 6; } .ini-7 { --ini: 7; } .ini-8 { --ini: 8; }
  .ini-9 { --ini: 9; }
}
@media (min-width: 1024px) {
  .lg-1 { --span: 1; } .lg-2 { --span: 2; } .lg-3 { --span: 3; } .lg-4 { --span: 4; }
  .lg-5 { --span: 5; } .lg-6 { --span: 6; } .lg-7 { --span: 7; } .lg-8 { --span: 8; }
  .lg-9 { --span: 9; } .lg-10 { --span: 10; } .lg-11 { --span: 11; } .lg-12 { --span: 12; }
  .lg-ini-1 { --ini: 1; } .lg-ini-2 { --ini: 2; } .lg-ini-3 { --ini: 3; } .lg-ini-4 { --ini: 4; }
  .lg-ini-5 { --ini: 5; } .lg-ini-6 { --ini: 6; } .lg-ini-7 { --ini: 7; } .lg-ini-8 { --ini: 8; }
  .lg-ini-9 { --ini: 9; }
}

/* Secao: 160px de respiro no desktop, 96px no mobile. */
.secao { position: relative; padding-block: var(--secao); }
.secao--compacta { padding-block: calc(var(--secao) / 2); }
.secao--topo { padding-top: calc(var(--header-h) + var(--secao) * 0.6); }
.secao--borda { border-top: 1px solid var(--borda); }
.secao--tela { min-height: 100svh; display: flex; align-items: center; }

/* Cabecalho de secao: rotulo, titulo e uma linha de apoio. */
.cabeca-secao { max-width: 760px; margin-bottom: var(--e-8); }
.cabeca-secao > * + * { margin-top: var(--e-4); }
.cabeca-secao .rotulo { margin-bottom: var(--e-5); }
.cabeca-secao.centro { margin-inline: auto; }
.cabeca-secao.centro .lead { margin-inline: auto; }

.fluxo > * + * { margin-top: var(--fluxo, var(--e-4)); }
.fluxo-g { --fluxo: var(--e-6); }
.linha { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--e-3)); }
.linha--g { --gap: var(--e-5); }
.divisor { height: 1px; border: 0; background: var(--borda); margin: 0; }
.divisor--grad { background: var(--grad); opacity: 0.5; }

/* ---------- 7. Fundos ----------------------------------------- */
/* Grao a 3%: ruido em SVG embutido, sem pedir imagem. Se a CSP
   bloquear data:, a pagina so fica sem o grao. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Grade fina de pontos, opcional por secao. Some nas bordas. */
.fundo-pontos { isolation: isolate; }
.fundo-pontos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--pontos) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 78%);
}

/* Aurora suave para o hero (loop de 20s) e holofote que segue o mouse
   (so desktop; --mx e --my vem do base.js em [data-holofote]). */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  background:
    radial-gradient(40% 55% at 28% 35%, rgb(255 138 0 / 0.16), transparent 70%),
    radial-gradient(38% 50% at 72% 30%, rgb(227 48 122 / 0.15), transparent 70%);
  animation: aurora 20s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}
.holofote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgb(255 255 255 / 0.05), transparent 70%);
  transition: opacity 400ms var(--ease-hover);
}
@media (hover: hover) and (pointer: fine) {
  .holofote:hover::after { opacity: 1; }
}

/* ---------- 8. Componentes ------------------------------------ */

/* Anel em gradiente de 1px (botao de contorno, card, opcao marcada).
   Desenhado por mascara: so a borda aparece, o miolo fica livre. */
.card::before, .btn--contorno::before, .opcao__corpo::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--anel, var(--grad));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-hover) var(--ease-hover);
}

/* Botoes. Alvo de toque minimo de 44px. */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--raio-p);
  font-family: var(--f-corpo);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.btn .icone { transition: transform 300ms var(--ease-entrada); }
.btn:hover .icone, .btn:focus-visible .icone { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.btn--g { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn--bloco { display: flex; width: 100%; }

.btn--principal { background: var(--grad); color: var(--tinta); overflow: hidden; }
.btn--principal::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.4), transparent);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}
.btn--principal:hover::after, .btn--principal:focus-visible::after {
  transform: translateX(380%) skewX(-20deg);
  transition: transform 300ms var(--ease-entrada);
}

.btn--contorno { --anel: var(--grad); background: transparent; color: var(--texto); border-color: var(--borda-forte); }
.btn--contorno:hover, .btn--contorno:focus-visible { background: var(--vela); }
.btn--contorno:hover::before, .btn--contorno:focus-visible::before { opacity: 1; }
.btn--contorno:hover, .btn--contorno:focus-visible { border-color: transparent; }

/* Link de texto com seta (usado depois de um paragrafo ou card). */
.link-seta { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.link-seta .icone { transition: transform var(--dur-hover) var(--ease-hover); }
.link-seta:hover .icone, .link-seta:focus-visible .icone { transform: translateX(4px); }

/* Card: borda de 1px, raio de 16px, sem sombra. A borda em gradiente
   segue o cursor via --mx e --my (base.js); em toque ela fica fixa. */
.card {
  --anel: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--laranja), var(--magenta) 45%, transparent 80%);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--e-3);
  padding: var(--e-6);
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  transition: transform var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover);
}
.card--parado { --anel: none; }
a.card, .card--link { color: inherit; }
.card:not(.card--parado):hover, .card:not(.card--parado):focus-within { transform: translateY(-2px); border-color: transparent; }
.card:not(.card--parado):hover::before, .card:not(.card--parado):focus-within::before { opacity: 1; }
.card--g { padding: var(--e-7); }
.card--destaque { background: var(--superficie-2); }
.card__icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-p);
  color: var(--texto-2);
  background: var(--vela);
}
.card__titulo { font-size: var(--t-h3); }
.card__texto { color: var(--texto-2); font-size: 1rem; }
.card__rodape { margin-top: auto; padding-top: var(--e-3); }

/* Icones de linha (app/apresentacao.php): herdam a cor do texto. */
.icone { flex: none; }

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-pilula);
  background: var(--vela);
  color: var(--texto-2);
  font-size: var(--t-peq);
  line-height: 1;
  white-space: nowrap;
}
.chip--ativo { color: var(--texto); border-color: var(--borda-forte); }

/* Selo mono com ponto verde pulsando (hero e agenda). */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-pilula);
  background: var(--vela);
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-synthesis: none;
  letter-spacing: 0.04em;
  color: var(--texto-2);
}
.selo__ponto { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.selo__ponto::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: pulso 2s ease-out infinite;
}
@keyframes pulso {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(3); opacity: 0; }
}

/* Lista de checagem */
.lista-check { display: grid; gap: var(--e-3); }
.lista-check li { position: relative; padding-left: 34px; color: var(--texto); }
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border: 1px solid var(--borda-forte);
  border-radius: 50%;
}
.lista-check li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.2em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--texto);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.lista-check--2 li { color: var(--texto-2); }

/* Numero grande com legenda (contador: data-contador="6" data-sufixo="+") */
.numero { display: flex; flex-direction: column; gap: var(--e-2); }
.numero__valor {
  font-family: var(--f-titulo);
  font-size: var(--t-numero);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.numero__legenda {
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-synthesis: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-2);
}

/* FAQ com details: teclado de graca (Tab, Enter, Espaco). */
.faq { border-top: 1px solid var(--borda); }
.faq__item { border-bottom: 1px solid var(--borda); }
.faq__pergunta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-5);
  min-height: 72px;
  padding: var(--e-4) 0;
  font-family: var(--f-titulo);
  font-size: clamp(1.0625rem, 0.99rem + 0.3vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color var(--dur-hover) var(--ease-hover);
}
.faq__pergunta::-webkit-details-marker { display: none; }
.faq__pergunta::marker { content: ""; }
.faq__sinal { position: relative; flex: none; width: 20px; height: 20px; color: var(--texto-2); }
.faq__sinal::before, .faq__sinal::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 9.25px;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease-entrada);
}
.faq__sinal::after { transform: rotate(90deg); }
.faq__item[open] .faq__sinal::after { transform: rotate(0deg); }
.faq__item[open] .faq__sinal { color: var(--texto); }
.faq__resposta { max-width: 68ch; padding: 0 0 var(--e-5); color: var(--texto-2); }
.faq__item[open] .faq__resposta { animation: aparecer 400ms var(--ease-entrada); }
@keyframes aparecer {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Citacao */
.citacao { padding-left: var(--e-5); border-left: 1px solid var(--borda-forte); max-width: 62ch; }
.citacao__texto {
  font-family: var(--f-titulo);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.citacao__autor {
  margin-top: var(--e-4);
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-synthesis: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-2);
  font-style: normal;
}

/* Tabela simples (rola de lado em tela estreita) */
.tabela-rolagem { overflow-x: auto; border: 1px solid var(--borda); border-radius: var(--raio); }
.tabela { width: 100%; min-width: 520px; font-size: 0.9375rem; text-align: left; }
.tabela th, .tabela td { padding: 16px 20px; border-bottom: 1px solid var(--borda); vertical-align: top; }
.tabela thead th {
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-2);
  background: var(--superficie);
}
.tabela tbody tr:last-child th, .tabela tbody tr:last-child td { border-bottom: 0; }
.tabela tbody th { font-weight: 500; }
.tabela td { color: var(--texto-2); }

/* Molduras para mockups reais (nunca imagem de banco) */
.moldura-nav {
  overflow: hidden;
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
}
.moldura-nav__barra {
  display: flex;
  align-items: center;
  gap: var(--e-4);
  height: 44px;
  padding: 0 var(--e-4);
  border-bottom: 1px solid var(--borda);
}
.moldura-nav__pontos { display: flex; gap: 6px; }
.moldura-nav__pontos i { width: 10px; height: 10px; border: 1px solid var(--borda-forte); border-radius: 50%; }
.moldura-nav__url {
  flex: 1;
  max-width: 360px;
  margin-inline: auto;
  padding: 4px 12px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-pilula);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-synthesis: none;
  color: var(--texto-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.moldura-nav__tela { background: var(--fundo); }
.moldura-nav__tela img, .moldura-nav__tela svg { width: 100%; }

.moldura-cel {
  position: relative;
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 10px;
  background: var(--superficie);
  border: 1px solid var(--borda-forte);
  border-radius: 40px;
}
.moldura-cel::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 1;
  width: 72px;
  height: 20px;
  margin-left: -36px;
  border-radius: var(--raio-pilula);
  background: var(--fundo);
}
.moldura-cel__tela { overflow: hidden; aspect-ratio: 9 / 19; background: var(--fundo); border-radius: 30px; }
.moldura-cel__tela img, .moldura-cel__tela svg { width: 100%; height: 100%; object-fit: cover; }

/* Faixa rolante infinita. O markup repete a lista uma vez (a copia
   leva aria-hidden); a faixa anda metade da largura e recomeca. */
.faixa {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.faixa__trilho { display: flex; width: max-content; animation: faixa 50s linear infinite; }
.faixa:hover .faixa__trilho, .faixa:focus-within .faixa__trilho { animation-play-state: paused; }
.faixa__lista { display: flex; flex: none; gap: var(--e-8); padding-right: var(--e-8); }
.faixa__item {
  flex: none;
  font-family: var(--f-titulo);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--texto-2);
  opacity: 0.85;
  white-space: nowrap;
}
@keyframes faixa { to { transform: translateX(-50%); } }

/* Linha do tempo vertical ("Como trabalho"). Tudo aceso por padrao.
   Com .linha-tempo--anima o JS da pagina acende cada etapa (.acesa)
   e controla --progresso (0 a 1) da linha. */
.linha-tempo { position: relative; display: grid; gap: var(--e-8); padding-left: 44px; counter-reset: etapa; }
.linha-tempo::before, .linha-tempo::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--borda-forte);
}
.linha-tempo::after {
  background: var(--grad);
  background: linear-gradient(180deg, var(--laranja), var(--magenta));
  transform-origin: top;
  transform: scaleY(var(--progresso, 1));
}
.linha-tempo__item { position: relative; counter-increment: etapa; }
.linha-tempo__item::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 4px;
  width: 23px;
  height: 23px;
  border: 1px solid var(--borda-forte);
  border-radius: 50%;
  background: var(--fundo);
}
.linha-tempo__item::after {
  content: "";
  position: absolute;
  left: -36px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  transition: opacity 400ms var(--ease-entrada), transform 400ms var(--ease-entrada);
}
.linha-tempo__num {
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-synthesis: none;
  letter-spacing: 0.06em;
  color: var(--texto-2);
}
.linha-tempo__titulo { margin-top: var(--e-2); }
.linha-tempo__texto { margin-top: var(--e-2); color: var(--texto-2); max-width: 56ch; }
.linha-tempo__recebe { margin-top: var(--e-3); font-size: var(--t-peq); color: var(--texto); }
.linha-tempo--anima .linha-tempo__item:not(.acesa)::after { opacity: 0; transform: scale(0.4); }
.linha-tempo--anima .linha-tempo__item:not(.acesa) .linha-tempo__titulo { color: var(--texto-2); }

/* Aviso de formulario (resultado do envio) */
.aviso { padding: var(--e-4) var(--e-5); border: 1px solid var(--borda-forte); border-radius: var(--raio-p); background: var(--superficie); font-size: 0.9375rem; }
.aviso--erro { border-color: var(--erro); color: var(--erro); }
.aviso--ok { border-color: var(--ok); color: var(--ok); }

/* ---------- 9. Formulario ------------------------------------- */
.campo { display: grid; gap: var(--e-2); }
.campo__rotulo { font-size: 0.9375rem; font-weight: 500; color: var(--texto); }
.campo__opcional { color: var(--texto-2); font-weight: 400; }
.entrada {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--superficie);
  border: 1px solid var(--borda-campo);
  border-radius: 12px;
  color: var(--texto);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.entrada::placeholder { color: var(--texto-2); opacity: 0.8; }
.entrada:hover { border-color: var(--texto-2); }
.entrada:focus-visible { border-color: var(--foco); outline: 2px solid var(--foco); outline-offset: 0; border-radius: 12px; }
textarea.entrada { min-height: 140px; resize: vertical; }
select.entrada { cursor: pointer; }
.campo__ajuda { font-size: var(--t-peq); color: var(--texto-2); }
.campo__erro { display: none; font-size: var(--t-peq); color: var(--erro); }
.campo--erro .campo__erro, .entrada[aria-invalid="true"] ~ .campo__erro { display: block; }
.campo--erro .entrada, .entrada[aria-invalid="true"] { border-color: var(--erro); }
.campo--erro .entrada:focus-visible, .entrada[aria-invalid="true"]:focus-visible { outline-color: var(--erro); }

/* Opcao em cartao: radio e checkbox de verdade (input escondido so
   para a vista, nao para o teclado). */
.grupo-opcoes { display: grid; gap: var(--e-3); min-width: 0; margin: 0; padding: 0; border: 0; }
.grupo-opcoes__legenda { padding: 0; margin-bottom: var(--e-3); font-weight: 500; }
@media (min-width: 640px) {
  .grupo-opcoes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grupo-opcoes--2 .grupo-opcoes__legenda { grid-column: 1 / -1; }
}
.opcao { position: relative; display: block; cursor: pointer; }
.opcao__input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; inset: 0; cursor: pointer; z-index: 1; }
.opcao__corpo {
  --anel: var(--grad);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--e-4);
  min-height: 56px;
  padding: 12px 18px;
  background: var(--superficie);
  border: 1px solid var(--borda-campo);
  border-radius: 12px;
  transition: border-color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.opcao:hover .opcao__corpo { border-color: var(--texto-2); }
.opcao__marca {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--texto-2);
  border-radius: 50%;
}
.opcao__input[type="checkbox"] + .opcao__corpo .opcao__marca { border-radius: 6px; }
.opcao__marca::after { content: ""; position: absolute; opacity: 0; transition: opacity var(--dur-hover) var(--ease-hover); }
.opcao__input[type="radio"] + .opcao__corpo .opcao__marca::after { inset: 4px; border-radius: 50%; background: var(--grad); }
.opcao__input[type="checkbox"] + .opcao__corpo .opcao__marca::after {
  left: 5.5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--texto);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.opcao__texto { display: grid; gap: 2px; }
.opcao__titulo { font-weight: 500; line-height: 1.3; }
.opcao__desc { font-size: var(--t-peq); color: var(--texto-2); line-height: 1.4; }
.opcao__input:checked + .opcao__corpo { border-color: transparent; background: var(--superficie-2); }
.opcao__input:checked + .opcao__corpo::before { opacity: 1; }
.opcao__input:checked + .opcao__corpo .opcao__marca { border-color: var(--texto); }
.opcao__input:checked + .opcao__corpo .opcao__marca::after { opacity: 1; }
.opcao__input:focus-visible + .opcao__corpo { outline: 2px solid var(--foco); outline-offset: 3px; }

/* Barra de progresso (briefing) */
.progresso { height: 4px; overflow: hidden; background: var(--borda); border-radius: var(--raio-pilula); }
.progresso__barra {
  height: 100%;
  background: var(--grad);
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(var(--valor, 0));
  transition: transform 400ms var(--ease-entrada);
}
.progresso-legenda { display: flex; justify-content: space-between; margin-bottom: var(--e-2); }

/* ---------- 10. Header e menu --------------------------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(var(--fundo-rgb) / 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--borda);
  opacity: 0;
  transition: opacity var(--dur-hover) var(--ease-hover);
}
.header.is-rolado::before, body.menu-aberto .header::before { opacity: 1; }
.header__in { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--e-4); height: 100%; }
.header__acoes { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--e-2); }

.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-titulo); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.logo svg { width: 28px; height: 28px; }
@media (max-width: 359px) { .logo__texto { display: none; } }
.header__acoes .btn .icone { display: none; }
@media (min-width: 480px) { .header__acoes .btn .icone { display: block; } }

.menu__toggle { display: grid; place-items: center; width: 44px; height: 44px; color: var(--texto); border-radius: var(--raio-p); }
.menu__toggle .icone--fechar { display: none; }
.menu__toggle[aria-expanded="true"] .icone--menu { display: none; }
.menu__toggle[aria-expanded="true"] .icone--fechar { display: block; }

.menu__lista { display: flex; flex-direction: column; }
.menu__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--texto-2);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--raio-p);
  transition: color var(--dur-hover) var(--ease-hover);
}
.menu__link:hover, .menu__link:focus-visible, .menu__link[aria-current], .tem-sub.aberto > .menu__link { color: var(--texto); }
.menu__link[aria-current]:not(button)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--grad);
}
.menu__link .icone { transition: transform var(--dur-hover) var(--ease-hover); }
.tem-sub.aberto > .menu__link .icone { transform: rotate(180deg); }

.submenu { display: none; }
.submenu__link { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; transition: background-color var(--dur-hover) var(--ease-hover); }
.submenu__link:hover, .submenu__link:focus-visible { background: var(--vela); }
.submenu__titulo { color: var(--texto); font-weight: 500; font-size: 0.9375rem; }
.submenu__desc { color: var(--texto-2); font-size: var(--t-peq); line-height: 1.4; }
.submenu__link[aria-current] .submenu__titulo { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Seletor de idioma (i18n/i18n.php: details.lang) */
.lang { position: relative; }
.lang summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-p);
  color: var(--texto-2);
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-synthesis: none;
  list-style: none;
  transition: color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--texto); border-color: var(--borda-forte); }
.lang__seta { transition: transform var(--dur-hover) var(--ease-hover); }
.lang[open] .lang__seta { transform: rotate(180deg); }
.lang__cod { font-family: var(--f-mono); font-size: var(--t-mono); font-synthesis: none; letter-spacing: 0.06em; }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 3;
  min-width: 180px;
  padding: 6px;
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
}
.lang__menu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--texto-2); font-size: 0.9375rem; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--vela); color: var(--texto); }
.lang__menu a[aria-current] { color: var(--texto); }

/* Mobile: menu em tela cheia com fade. */
@media (max-width: 1023px) {
  .header__acoes .btn { padding: 0 14px; }
  .menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--e-6);
    padding: calc(var(--header-h) + 16px) var(--margem) 40px;
    overflow-y: auto;
    background: var(--fundo);
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms var(--ease-hover), visibility 0s linear 250ms;
  }
  .menu.aberto { opacity: 1; visibility: visible; transition-delay: 0s; }
  .menu__link { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--borda); border-radius: 0; font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; color: var(--texto); }
  .menu__link[aria-current]:not(button)::after { display: none; }
  .tem-sub.aberto > .submenu { display: grid; gap: 2px; padding: 8px 0 12px; animation: aparecer 250ms var(--ease-entrada); }
  .menu .lang { align-self: flex-start; }
  .menu .lang__menu { position: static; margin-top: 8px; }
}

/* Desktop: menu na barra, submenu em painel. */
@media (min-width: 1024px) {
  .menu__toggle { display: none; }
  .menu { display: flex; flex: 1; align-items: center; gap: var(--e-4); }
  .menu__lista { flex-direction: row; gap: 2px; margin-inline: auto; }
  .tem-sub { position: relative; }
  .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    z-index: 3;
    display: grid;
    min-width: 340px;
    padding: 8px;
    background: var(--superficie);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--dur-hover) var(--ease-hover), transform var(--dur-hover) var(--ease-hover), visibility 0s linear var(--dur-hover);
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
  .tem-sub.aberto > .submenu, html:not(.js) .tem-sub:hover > .submenu, html:not(.js) .tem-sub:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}

/* Botao flutuante de WhatsApp: so no mobile, canto inferior direito. */
.whats-flutuante {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--tinta);
  transition: transform var(--dur-hover) var(--ease-hover), opacity var(--dur-hover) var(--ease-hover);
}
.whats-flutuante:active { transform: scale(0.96); }
body.menu-aberto .whats-flutuante { opacity: 0; pointer-events: none; }
@media (min-width: 768px) { .whats-flutuante { display: none; } }

/* ---------- 11. Rodape ---------------------------------------- */
.rodape { padding: var(--e-9) 0 var(--e-6); border-top: 1px solid var(--borda); background: var(--fundo); }
.rodape__grade { display: grid; gap: var(--e-7) var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rodape__marca { grid-column: 1 / -1; max-width: 360px; }
.rodape__marca p { margin-top: var(--e-4); color: var(--texto-2); font-size: var(--t-peq); }
.rodape__titulo { margin-bottom: var(--e-4); }
/* minmax(0, 1fr) + quebra em qualquer ponto: o e-mail e mais largo que a
   coluna no celular e empurrava a pagina inteira para 386px em tela de 375. */
.rodape__lista { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.rodape__lista a, .rodape__lista span { min-width: 0; overflow-wrap: anywhere; }
.rodape__lista a, .rodape__lista span { display: inline-flex; align-items: center; min-height: 36px; color: var(--texto-2); font-size: 0.9375rem; transition: color var(--dur-hover) var(--ease-hover); }
.rodape__lista a { min-height: 44px; }
.rodape__lista a:hover, .rodape__lista a:focus-visible { color: var(--texto); }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--e-3) var(--e-5); margin-top: var(--e-8); padding-top: var(--e-5); border-top: 1px solid var(--borda); color: var(--texto-2); font-size: var(--t-peq); }
@media (max-width: 767px) { .rodape { padding-bottom: calc(var(--e-9) + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 768px) {
  .rodape__grade { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .rodape__marca { grid-column: auto; }
}

/* ---------- 12. Revelar (entrada das secoes) ------------------
   Sem JavaScript o conteudo aparece: o estado escondido so existe
   com a classe .js no html (posta pelo base.js, que ja marca como
   .visivel o que esta na primeira tela, para nada piscar). */
.revelar {
  transition: opacity var(--dur-entrada) var(--ease-entrada), transform var(--dur-entrada) var(--ease-entrada);
  transition-delay: var(--atraso, 0ms);
}
html.js .revelar:not(.visivel) { opacity: 0; transform: translateY(24px); }
.atraso-1 { --atraso: 80ms; } .atraso-2 { --atraso: 160ms; } .atraso-3 { --atraso: 240ms; } .atraso-4 { --atraso: 320ms; }

/* Titulo do hero palavra por palavra, so com CSS: o PHP entrega cada
   palavra em .p com style="--i:N" (app/apresentacao.php). 60ms entre
   palavras, cerca de 700ms no total. */
.titulo-palavras .p { display: inline-block; animation: palavra 460ms var(--ease-entrada) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes palavra {
  from { opacity: 0; transform: translateY(12px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Troca de pagina: fade curto de 200ms (SPEC 7). Numa aba oculta ou em
   segundo plano o navegador aborta a transicao e registra "InvalidStateError:
   Transition was aborted because of invalid state" no console. E inofensivo:
   em aba visivel (conferido no Chrome, na homologacao) nao aparece nada. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }

/* ---------- 13. Tema acolhedor --------------------------------
   Pagina de pequenos negocios: mesma identidade, um pouco mais
   clara e calorosa (grafite quente, raios maiores, mais ar). */
.tema-acolhedor {
  --fundo: #14111A;
  --fundo-rgb: 20 17 26;
  --superficie: #1D1924;
  --superficie-2: #251F2D;
  --borda: #302A3A;
  --borda-forte: #4A4258;
  --borda-campo: #7A7190;
  --texto: #FBF8F6;
  --texto-2: #B8B0C2;
  --tinta: #07070C;                 /* igual ao tema escuro: #14111A sobre o magenta dava 4,4:1 */
  --raio-p: 12px;
  --raio: 20px;
  --raio-g: 28px;
  --pontos: rgb(255 240 230 / 0.1);
  background: var(--fundo);
  color: var(--texto);
}
html:has(> body.tema-acolhedor) { background: #14111A; }
.tema-acolhedor { line-height: 1.7; }
.tema-acolhedor .aurora::before {
  background:
    radial-gradient(45% 60% at 25% 35%, rgb(255 138 0 / 0.22), transparent 70%),
    radial-gradient(40% 55% at 75% 30%, rgb(227 48 122 / 0.18), transparent 70%);
}
.tema-acolhedor .card { padding: var(--e-7) var(--e-6); }

/* ---------- 14. Movimento reduzido ----------------------------
   Tudo no estado final, nada se move e nada some. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  @view-transition { navigation: none; }
  html.js .revelar:not(.visivel) { opacity: 1; transform: none; }
  .titulo-palavras .p { animation: none; }
  .aurora::before, .selo__ponto::after { animation: none; }
  .selo__ponto::after { display: none; }
  .btn--principal::after { display: none; }
  .btn:hover .icone, .link-seta:hover .icone { transform: none; }
  .card:not(.card--parado):hover, .card:not(.card--parado):focus-within { transform: none; }
  .faixa { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .faixa__trilho { animation: none; width: auto; flex-wrap: wrap; }
  .faixa__lista[aria-hidden="true"] { display: none; }
  .linha-tempo--anima .linha-tempo__item:not(.acesa)::after { opacity: 1; transform: none; }
  .linha-tempo--anima .linha-tempo__item:not(.acesa) .linha-tempo__titulo { color: inherit; }
  .linha-tempo::after { transform: none; }
  .progresso__barra { transition: none; }
}
