/* StellarWiFi: landing v2. Azul do próprio produto (ícone e painel) sobre o vazio da StellarCore.
   Tema claro e escuro pelo aparelho (prefers-color-scheme). Space Mono (títulos e números) e Exo 2 (texto).
   Tudo local: nenhuma fonte, imagem ou script de terceiro. */

@font-face { font-family: "Exo 2"; font-weight: 100 900; font-display: swap;
  src: url(../fontes/exo2-latin.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-display: swap;
  src: url(../fontes/spacemono-400.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap;
  src: url(../fontes/spacemono-700.woff2) format("woff2"); }

/* ---------- Tokens: claro (padrão) ---------- */
:root {
  color-scheme: light;
  --fundo: #f4f7fd;
  --fundo-2: #e7eefb;
  --faixa: rgba(37, 99, 235, 0.06);
  --tinta: #0f1a33;
  --tinta-2: #2b3a5c;
  --suave: #4f5d7e;
  --azul: #2563eb;
  --azul-hover: #1d4ed8;
  --azul-texto: #1d4ed8;
  --azul-claro: #2563eb;
  --linha: rgba(37, 99, 235, 0.16);
  --linha-forte: rgba(37, 99, 235, 0.3);
  --onda: rgba(37, 99, 235, 0.22);
  --glow-a: rgba(147, 197, 253, 0.6);
  --glow-b: rgba(37, 99, 235, 0.16);
  --vidro-bg: rgba(255, 255, 255, 0.58);
  --vidro-solido: #ffffff;
  --vidro-borda: rgba(37, 99, 235, 0.16);
  --reflexo: rgba(255, 255, 255, 0.95);
  --reflexo-topo: rgba(255, 255, 255, 0.7);
  --sombra: rgba(30, 58, 138, 0.2);
  --trilho: #cfdcf5;
}

/* ---------- Tokens: escuro (aparelho em modo escuro) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    color-scheme: dark;
    --fundo: #04030d;
    --fundo-2: #07142e;
    --faixa: rgba(7, 20, 46, 0.6);
    --tinta: #f1f5f9;
    --tinta-2: #d5deeb;
    --suave: #a7b4cc;
    --azul: #2563eb;
    --azul-hover: #3b7bf2;
    --azul-texto: #93c5fd;
    --azul-claro: #93c5fd;
    --linha: rgba(147, 197, 253, 0.16);
    --linha-forte: rgba(147, 197, 253, 0.32);
    --onda: rgba(147, 197, 253, 0.2);
    --glow-a: rgba(37, 99, 235, 0.3);
    --glow-b: rgba(16, 40, 92, 0.7);
    --vidro-bg: rgba(16, 40, 92, 0.3);
    --vidro-solido: #0b1a3a;
    --vidro-borda: rgba(147, 197, 253, 0.22);
    --reflexo: rgba(255, 255, 255, 0.22);
    --reflexo-topo: rgba(255, 255, 255, 0.08);
    --sombra: rgba(0, 0, 0, 0.6);
    --trilho: #1b2c52;
  }
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--fundo);
  background-image:
    radial-gradient(60% 42% at 92% -4%, var(--glow-a), rgba(0, 0, 0, 0) 70%),
    radial-gradient(48% 36% at -6% 58%, var(--glow-b), rgba(0, 0, 0, 0) 70%),
    radial-gradient(40% 30% at 90% 100%, var(--glow-b), rgba(0, 0, 0, 0) 70%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--tinta-2);
  font: 400 1.0625rem/1.6 "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-texto); text-underline-offset: 3px; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
h2 { font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1.13 "Exo 2", system-ui, sans-serif; color: var(--tinta); letter-spacing: -0.012em; text-wrap: balance; }
h3 { font: 700 1.2rem/1.3 "Exo 2", system-ui, sans-serif; color: var(--tinta); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--tinta); color: var(--fundo); padding: 10px 14px; border-radius: 8px; }
.pular:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; border-radius: 6px; }

/* ---------- Vidro: só existe sobre fundo com cor e forma ---------- */
.vidro {
  position: relative;
  background: var(--vidro-bg);
  border: 1px solid var(--vidro-borda);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--reflexo), 0 34px 70px -36px var(--sombra);
  isolation: isolate;
}
/* reflexo sutil na borda superior, sem brilho chapado */
.vidro::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), var(--reflexo), rgba(0, 0, 0, 0));
  pointer-events: none; z-index: 1;
}
.vidro::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, var(--reflexo-topo), rgba(255, 255, 255, 0) 38%);
}
.vidro > * { position: relative; z-index: 2; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vidro { background: var(--vidro-solido); }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 14px;
  background: var(--azul); color: #fff; font: 700 1rem "Exo 2", system-ui, sans-serif;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(37, 99, 235, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--azul-hover); transform: translateY(-1px); }
.btn-pequeno { min-height: 40px; padding: 0 16px; font-size: 0.95rem; box-shadow: none; }
.btn-grande { min-height: 58px; padding: 0 34px; font-size: 1.1rem; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--fundo) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--linha);
}
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); text-decoration: none; font: 600 1.05rem "Exo 2", system-ui, sans-serif; }
.marca img { width: 30px; height: 30px; }

/* ---------- Seções ---------- */
main > section { max-width: 1180px; margin-inline: auto; padding-block: clamp(64px, 10vw, 128px); padding-inline: clamp(16px, 4vw, 40px); position: relative; }
.faixa { background: var(--faixa); max-width: none; }
.faixa > * { max-width: 1180px; margin-inline: auto; }
.faixa { border-block: 1px solid var(--linha); }

/* ---------- Herói ---------- */
.heroi {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center; gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 7vw, 96px);
}
.heroi-texto { min-width: 0; }
h1 {
  font: 700 clamp(2.05rem, 5vw, 4.1rem)/1.04 "Space Mono", ui-monospace, monospace;
  color: var(--tinta); letter-spacing: -0.035em; text-wrap: balance; margin-bottom: 22px;
}
.slogan { font: 600 1.2rem/1.4 "Exo 2", system-ui, sans-serif; color: var(--azul-texto); margin-bottom: 18px; }
.lead { font-size: 1.08rem; color: var(--tinta-2); max-width: 34rem; }
.acoes { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.apoio { color: var(--suave); font-size: 0.93rem; max-width: 24rem; }

/* ---------- Palco dos celulares (JS mede e dimensiona: os dois cabem inteiros) ---------- */
.palco {
  position: relative; min-width: 0; width: 100%;
  height: 600px;
  --px: 0px; --py: 0px;
}
.ondas {
  position: absolute; left: 50%; top: 50%; width: min(100%, 620px); height: auto;
  transform: translate(-50%, -50%); color: var(--onda); pointer-events: none; z-index: 0;
}
.cel {
  position: absolute; top: 50%;
  width: 280px; height: 580px;
  margin-left: -140px; margin-top: -290px;
  perspective: 1200px;
  transform: translate3d(var(--px), var(--py), 0) scale(var(--s, 1));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 1;
}
.cel-cliente { left: 25%; }
.cel-dono { left: 75%; z-index: 2; }

.celular {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: flutua 9s ease-in-out infinite;
}
.cel-dono .celular { animation-delay: -4.5s; }
.cel-cliente .celular { transform: rotateY(var(--ry)) rotateX(4deg); }
.cel-dono .celular { transform: rotateY(var(--ry)) rotateX(4deg); }

@keyframes flutua {
  0%, 100% { transform: rotateY(var(--ry)) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(calc(var(--ry) * 0.55)) rotateX(8deg) translateY(-12px); }
}

.corpo {
  position: absolute; inset: 0;
  border-radius: 46px;
  background: linear-gradient(160deg, #22305a 0%, #0a0f20 46%, #060a18 100%);
  border: 1px solid rgba(219, 234, 254, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 50px 90px -40px rgba(4, 3, 13, 0.85);
}
.corpo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.05) 100%);
}
.tela {
  position: absolute; left: 10px; right: 10px; top: 12px; bottom: 12px;
  border-radius: 36px; overflow: hidden; background: #0b1f3a;
}
/* barra de status sólida: o conteúdo rola por trás dela, como num aparelho de verdade */
.tela::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 36px; z-index: 2;
  background: var(--barra, #0b1f3a);
}
.tela::before {
  content: ""; position: absolute; top: 8px; left: 50%; z-index: 3;
  width: 84px; height: 22px; margin-left: -42px; border-radius: 14px; background: #000;
}
.cel-cliente .tela { --barra: #0b1f3a; }
.cel-dono .tela { --barra: #04030d; background: #04030d; }

.rola { position: relative; animation: rolar 26s ease-in-out infinite; will-change: transform; }
.cel-dono .rola { animation-delay: -13s; }
@keyframes rolar {
  0%, 12% { transform: translate3d(0, 0, 0); }
  46%, 60% { transform: translate3d(0, calc(var(--rolar, 0px) * -1), 0); }
  84%, 100% { transform: translate3d(0, 0, 0); }
}
.palco.fora .celular, .palco.fora .rola { animation-play-state: paused; }

/* Tela do portal (cliente): cores do modelo padrão do portal (fundo #0b1f3a, cartão branco, botão #2563EB) */
.site { padding: 42px 16px 14px; color: #fff; }
.site-boas { font-size: 11px; color: #dbeafe; }
.site-nome { font: 700 22px/1.15 "Exo 2", system-ui, sans-serif; margin: 2px 0 8px; }
.site-frase { font-size: 13px; line-height: 1.45; color: #e2e8f0; margin-bottom: 10px; }
.site-texto { font-size: 12px; color: #dbeafe; margin-top: 6px; }
.fw { margin: 12px 12px 16px; padding: 14px 13px 12px; background: #fff; color: #15131f; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); font-size: 12px; line-height: 1.4; }
.fw-titulo { font: 700 15px/1.2 "Exo 2", system-ui, sans-serif; margin-bottom: 6px; }
.fw-aviso { font-size: 10.5px; color: #3f3a52; margin-bottom: 4px; }
.fw-aviso u { color: #2563eb; }
.fw-campo { display: block; margin-top: 8px; }
.fw-campo span { display: block; font-size: 10.5px; color: #3f3a52; margin-bottom: 3px; }
.fw-campo em { font-style: normal; color: #5b6784; }
.fw-campo b { display: block; min-height: 26px; padding: 6px 9px; border: 1px solid #cfd6e6; border-radius: 8px; font-weight: 400; font-size: 12px; color: #15131f; }
.fw-campo b.vazio { border-color: #b9c3dc; }
.fw-aceite { display: flex; gap: 7px; align-items: flex-start; margin-top: 8px; font-size: 10.5px; color: #3f3a52; }
.fw-aceite i { flex: 0 0 11px; width: 11px; height: 11px; margin-top: 2px; border: 1.5px solid #7b84a0; border-radius: 3px; }
.fw-botao { margin-top: 12px; padding: 9px 8px; border-radius: 9px; background: #2563eb; color: #fff; font-weight: 700; font-size: 12px; text-align: center; }
.fw-rodape { margin-top: 10px; font-size: 10px; color: #5b6784; text-align: center; }
.fw-rodape u { color: #2563eb; }
.fw-marca { margin-top: 6px; font-size: 9px; color: #5b6784; text-align: center; }

/* Tela do painel (dono) */
.painel-topo { display: flex; justify-content: space-between; align-items: center; padding: 42px 14px 8px; font-size: 10px; }
.painel-marca { display: inline-flex; align-items: center; gap: 6px; color: #93c5fd; font-weight: 600; font-size: 11px; }
.painel-marca img { width: 16px; height: 16px; }
.painel-local { color: #94a3b8; }
.pbloco { padding: 12px 14px; border-top: 1px solid rgba(147, 197, 253, 0.14); }
.pgrande { font-size: 12px; color: #f1f5f9; }
.pgrande b { display: block; font: 700 34px/1 "Space Mono", ui-monospace, monospace; color: #f1f5f9; margin-bottom: 4px; }
.estrelas { width: 100%; height: 62px; margin: 6px 0 4px; color: #93c5fd; }
.estrelas circle { fill: currentColor; }
.estrelas .horiz { stroke: rgba(147, 197, 253, 0.3); stroke-width: 1; }
.pnum { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 6px; font-size: 9px; color: #94a3b8; }
.pnum dt { line-height: 1.2; }
.pnum dd { margin-top: 3px; font: 700 13px/1.2 "Space Mono", ui-monospace, monospace; color: #f1f5f9; }
.pnum dd small { font: 400 9px "Exo 2", system-ui, sans-serif; color: #94a3b8; }
.pnum dd i { font-style: normal; color: #94a3b8; }
.ptitulo { font: 600 11px "Exo 2", system-ui, sans-serif; color: #dbeafe; margin-bottom: 8px; }
.pbarras { display: flex; align-items: flex-end; gap: 3px; height: 58px; }
.pbarras i { flex: 1; min-width: 0; border-radius: 2px 2px 0 0; background: rgba(37, 99, 235, 0.5); }
.pbarras i.hoje { background: #2563eb; box-shadow: 0 0 10px rgba(37, 99, 235, 0.7); }
.palerta { font-size: 11px; color: #f59e0b; }
.plinha { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.ptabela { width: 100%; border-collapse: collapse; font-size: 10px; }
.ptabela th { text-align: left; font-weight: 500; color: #94a3b8; padding: 4px 0; border-bottom: 1px solid rgba(147, 197, 253, 0.14); }
.ptabela td { padding: 5px 0; color: #cbd5e1; border-bottom: 1px solid rgba(147, 197, 253, 0.08); }
.ptabela td.sim { color: #4ade80; }
.pbotao { display: inline-block; margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: #2563eb; color: #fff; font: 700 10.5px "Exo 2", system-ui, sans-serif; }

/* ---------- Revelar ao rolar (só com JS; sem JS tudo aparece) ---------- */
.js .rev { opacity: 0; transform: translateY(22px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .rev.visivel { opacity: 1; transform: none; }

/* ---------- Problema ---------- */
.bloco-texto { max-width: 780px; }
.bloco-texto p { margin-top: 20px; font-size: 1.15rem; line-height: 1.65; color: var(--tinta-2); }

/* ---------- Quem entra / aceita / volta ---------- */
.tres { padding-block: clamp(56px, 8vw, 104px); }
.tres-lista { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tres-lista li { padding: clamp(22px, 3vw, 34px); min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tres-palavra { font: 700 clamp(1.6rem, 2.9vw, 2.4rem)/1.05 "Space Mono", ui-monospace, monospace; color: var(--tinta); letter-spacing: -0.02em; }
.tres-lista p { color: var(--tinta-2); }
.meio-acao { margin-top: 36px; }

/* ---------- Como funciona: passos com ilustração ---------- */
.como { padding-top: clamp(72px, 10vw, 128px); }
.cabeca { margin-bottom: 36px; }
.passos { list-style: none; padding: 0; display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
.passo { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.passo-num { font: 700 clamp(3.4rem, 7vw, 5.2rem)/0.9 "Space Mono", ui-monospace, monospace; color: var(--azul-texto); letter-spacing: -0.05em; }
.passo h3 { margin-top: 6px; }
.passo p { color: var(--tinta-2); }

.ilu { position: relative; height: 96px; margin-bottom: 4px; }
/* 1: sinal que se espalha */
.ilu-entrar i {
  position: absolute; left: 50%; bottom: 6px; width: 40px; height: 40px; margin-left: -20px;
  border: 3px solid var(--azul); border-color: var(--azul) transparent transparent transparent;
  border-radius: 50%; animation: pulso 2.8s ease-out infinite; opacity: 0;
}
.ilu-entrar i:nth-child(2) { width: 68px; height: 68px; margin-left: -34px; bottom: 6px; animation-delay: 0.35s; }
.ilu-entrar i:nth-child(3) { width: 96px; height: 96px; margin-left: -48px; bottom: 6px; animation-delay: 0.7s; }
@keyframes pulso { 0% { opacity: 0; transform: scale(0.8); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.05); } }
/* 2: campos sendo preenchidos e uma caixa que fica desmarcada */
.ilu-form { display: grid; gap: 10px; align-content: center; height: 96px; }
.campo-ilu { display: block; height: 16px; border: 1px solid var(--linha-forte); border-radius: 7px; background: var(--trilho); overflow: hidden; }
.campo-ilu b { display: block; height: 100%; width: 0; background: var(--azul); border-radius: 6px; animation: digitar 4s ease-in-out infinite; }
.campo-ilu:nth-child(2) b { animation-delay: 0.8s; }
.caixa-ilu { display: flex; align-items: center; gap: 10px; }
.caixa-ilu::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--suave); border-radius: 4px; flex: 0 0 16px; }
.caixa-ilu b { display: block; height: 4px; width: 60px; border-radius: 3px; background: var(--trilho); }
@keyframes digitar { 0%, 10% { width: 0; } 50%, 80% { width: 78%; } 100% { width: 0; } }
/* 3: barras do painel subindo */
.ilu-painel { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.ilu-painel > span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.ilu-painel i { display: block; width: 100%; height: 30%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--azul-texto), var(--azul)); animation: subir 3.6s ease-in-out infinite; }
.ilu-painel > span:nth-child(2) i { animation-delay: 0.3s; }
.ilu-painel > span:nth-child(3) i { animation-delay: 0.6s; }
.ilu-painel > span:nth-child(4) i { animation-delay: 0.9s; }
@keyframes subir { 0%, 100% { height: 30%; } 45%, 70% { height: 92%; } }

/* ---------- Duas colunas (cliente x dono) ---------- */
.duas-colunas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.coluna { padding: clamp(26px, 3.4vw, 40px); }
.rotulo { font: 700 1.25rem/1.2 "Exo 2", system-ui, sans-serif; color: var(--tinta); margin-bottom: 4px; }
.lista { list-style: none; padding: 0; margin-top: 18px; }
.lista li { padding: 16px 0; border-top: 1px solid var(--linha); color: var(--tinta-2); }
.lista li:last-child { border-bottom: 1px solid var(--linha); }
.lista strong { color: var(--tinta); font-weight: 700; }
.lista-larga li { font-size: 1.1rem; padding: 18px 0; }
.ficha { margin-top: 18px; }
.ficha > div { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 4px 18px; padding: 15px 0; border-top: 1px solid var(--linha); }
.ficha > div:last-child { border-bottom: 1px solid var(--linha); }
.ficha dt { font: 700 1.02rem/1.4 "Exo 2", system-ui, sans-serif; color: var(--azul-texto); }
.ficha dd { color: var(--tinta-2); }

/* ---------- Privacidade: destaque ---------- */
.privacidade { position: relative; overflow: hidden; }
.ondas-fundo { position: absolute; inset: 0; color: var(--onda); pointer-events: none; z-index: 0; }
.ondas-fundo svg { width: 100%; height: 100%; }
.privacidade-grade { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.privacidade h2 { max-width: 22ch; }
.chaves { padding: clamp(24px, 3vw, 34px); }
.chave { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--linha); font-size: 0.98rem; color: var(--tinta); }
.chave:last-child { border-bottom: 1px solid var(--linha); }
.chave > span:first-child { flex: 1; min-width: 0; font-weight: 600; }
.estado { font-size: 0.86rem; color: var(--suave); white-space: nowrap; }
.estado.fixo { color: var(--azul-texto); }
.interruptor { position: relative; flex: 0 0 46px; height: 26px; border-radius: 999px; background: var(--trilho); border: 1px solid var(--linha-forte); }
.interruptor i { position: absolute; top: 50%; left: 3px; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--suave); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.chave .estado { min-width: 0; }
.chave:has(.interruptor) .estado { flex: 0 0 auto; }

/* ---------- Como começa ---------- */
.comeco .passos { grid-template-columns: minmax(0, 1fr); }
.passos-enxutos .passo-num { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.passos-enxutos li { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }

/* ---------- CTA final ---------- */
.fechamento { padding-block: clamp(72px, 11vw, 140px); }
.fechamento-caixa { position: relative; overflow: hidden; padding: clamp(36px, 7vw, 92px); }
.fechamento-caixa .ondas-fundo { z-index: 0; }
.fechamento-caixa > *:not(.ondas-fundo) { position: relative; z-index: 1; }
.fechamento h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); max-width: 16ch; line-height: 1.04; letter-spacing: -0.025em; color: var(--tinta); }
.fechamento p { margin-top: 22px; font-size: 1.14rem; max-width: 36rem; color: var(--tinta-2); }
.fechamento .btn { margin-top: 34px; }
.fechamento-caixa .ondas-fundo svg { position: absolute; right: -10%; top: 50%; width: 80%; height: auto; transform: translateY(-50%); }

.rodape { max-width: 1180px; margin-inline: auto; padding: 36px clamp(16px, 4vw, 40px) 48px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 0.92rem; }
.rodape p + p { margin-top: 10px; }
.rodape a { color: var(--tinta); }

.barra-fixa { display: none; }

/* ---------- Larguras ---------- */
@media (min-width: 760px) {
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .passo { min-height: 100%; }
  .comeco .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .heroi { grid-template-columns: minmax(0, 1fr); }
  .privacidade-grade { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .tres-lista { grid-template-columns: minmax(0, 1fr); }
  .tres-lista li { min-height: 0; }
  .duas-colunas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .palco { height: 420px; }
  .acoes .btn { width: 100%; }
  .acoes { gap: 14px; }
  .apoio { max-width: none; }
  .barra-fixa {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--fundo) 90%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--linha);
  }
  .barra-fixa .btn { width: 100%; }
  body { padding-bottom: 92px; }
  .fechamento .btn { width: 100%; }
  .chave { flex-wrap: wrap; }
}

/* ---------- Movimento reduzido: nada se mexe, tudo aparece ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .celular, .rola, .ilu-entrar i, .campo-ilu b, .ilu-painel i { animation: none !important; }
  .rola { transform: none; }
  .ilu-entrar i { opacity: 0.5; }
  .campo-ilu b { width: 70%; }
  .ilu-painel i { height: 70%; }
  .cel { transition: none; transform: scale(var(--s, 1)); }
  .js .rev { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
