:root {
  color-scheme: light;
  --ink: #16161d;
  --ink-2: #2a2a33;
  --paper: #f6f4fb;
  --card: #fdfcff;
  --muted: #625f70;
  --line: #e6e2ef;
  --soft: #f2effa;
  --lime: #d7ff36;
  --lime-dark: #2f4200;
  --lilac: #d9cdfb;
  --sky: #cfe6ff;
  --danger: #a12a2a;
  --radius: 22px;
  --shadow: 0 18px 50px rgb(43 26 99 / 9%);
  --shadow-folha: 0 -10px 40px rgb(43 26 99 / 9%), 0 2px 10px rgb(43 26 99 / 5%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #5b3fd6; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .isca { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: fixed; left: 14px; top: -100px; z-index: 100; background: var(--card); padding: 12px 16px; border: 2px solid var(--ink); }
.pular:focus { top: 14px; }

/* Fundo de seda: faixas de cor suaves, só com gradientes (sem imagem, compatível com a CSP). */
.seda { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #f1ecfd 0%, #f6f4fb 55%, #f7f6fa 100%); pointer-events: none; }
.seda span { position: absolute; left: -35vmax; width: 170vmax; border-radius: 50%; transform-origin: center; }
.seda span:nth-child(1) { top: -8vmax; height: 40vmax; background: radial-gradient(closest-side, rgb(205 189 250 / 90%), rgb(205 189 250 / 0)); transform: rotate(-9deg); }
.seda span:nth-child(2) { top: 14vmax; height: 26vmax; background: radial-gradient(closest-side, rgb(215 255 54 / 62%), rgb(215 255 54 / 0)); transform: rotate(-12deg); }
.seda span:nth-child(3) { top: 24vmax; height: 30vmax; background: radial-gradient(closest-side, rgb(186 220 255 / 85%), rgb(186 220 255 / 0)); transform: rotate(-7deg); }
.seda span:nth-child(4) { top: 4vmax; height: 16vmax; background: radial-gradient(closest-side, rgb(255 255 255 / 75%), rgb(255 255 255 / 0)); transform: rotate(-11deg); }

.faixa-homolog { position: relative; z-index: 2; background: var(--lime); color: var(--lime-dark); padding: 7px 18px; text-align: center; font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.topo { min-height: 68px; display: flex; align-items: center; justify-content: space-between; width: min(100%, 1180px); margin: auto; padding: 12px 20px; }
/* Só no app (body com data-tela). As páginas de Privacidade e Termos não têm data-tela e mantêm topo e idioma. */
body[data-tela]:not([data-tela="inicio"]) .topo { justify-content: center; min-height: 58px; }
body[data-tela]:not([data-tela="inicio"]) .seletores { display: none; }
body[data-tela="questionario"] .topo, body[data-tela="carregando"] .topo { display: none; }
.marca { font-size: 1.35rem; font-weight: 900; letter-spacing: -.06em; text-decoration: none; }
.marca span { color: #4b6a00; }
.seletores { display: flex; gap: 8px; }
.seletores select { width: auto; min-height: 44px; padding: 7px 28px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgb(253 252 255 / 85%); color: var(--ink); font-size: .8rem; font-weight: 800; }

.tela { width: min(100%, 1180px); margin: 0 auto; padding: 12px 16px 88px; }
.sobretitulo, .etapa, .numero-secao { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 850; color: var(--muted); }
h1 { margin: 10px 0 18px; font-size: clamp(2.2rem, 6.4vw, 4.6rem); line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
h2 { margin: 6px 0 16px; font-size: clamp(1.45rem, 3.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
h3 { margin: 10px 0; font-size: 1.15rem; letter-spacing: -.02em; }
p { margin: 0 0 14px; }
.resumo { max-width: 620px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.25rem); }

/* Folha branca que sobe de baixo, como nas telas de referência. */
.folha { background: var(--card); border-radius: 28px; box-shadow: var(--shadow-folha); padding: 26px 20px 28px; }

/* Botões */
.botao { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 22px; background: transparent; color: var(--ink); cursor: pointer; font-weight: 750; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.botao.principal { width: 100%; margin-top: 16px; background: var(--ink); color: #fbfaff; border-color: var(--ink); box-shadow: 0 10px 24px rgb(22 22 29 / 20%); }
.botao.principal:active { transform: translateY(1px); }
.botao.principal:disabled { opacity: .55; cursor: wait; }
.botao.secundario { width: 100%; background: var(--card); margin-top: 12px; }
.link-botao { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; font-weight: 650; }
.icone-botao { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.icone-botao svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Início */
.hero-grid { min-height: min(720px, calc(100vh - 80px)); display: grid; align-items: center; gap: 22px; padding: 8px 0 40px; }
.hero-copy h1 { font-size: clamp(2.3rem, 7.2vw, 4.4rem); }
.selos-confianca { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.selos-confianca span { min-height: 36px; display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: .8rem; font-weight: 700; }
.selos-confianca span::before { content: "✓"; margin-right: 8px; color: #4b6a00; font-weight: 900; }

/* Mock de celular com a busca do Google (ilustração) */
.mock-busca { margin: 18px 0 6px; }
.mock-busca figcaption { margin-top: 8px; color: var(--muted); font-size: .76rem; text-align: center; }
.celular { position: relative; padding: 14px 12px 16px; border: 6px solid var(--ink); border-radius: 30px; background: linear-gradient(180deg, #ffffff, #f7f5fc); box-shadow: 0 24px 60px rgb(43 26 99 / 18%); }
.celular::before { content: ""; display: block; width: 76px; height: 6px; margin: -4px auto 12px; border-radius: 99px; background: #d8d4e2; }
.busca-barra { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .88rem; font-weight: 650; box-shadow: 0 4px 14px rgb(43 26 99 / 7%); }
.busca-barra svg, .busca-campo svg { width: 18px; flex: 0 0 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.resultado { margin-top: 12px; padding: 12px; border-radius: 16px; }
.resultado p { margin: 0; }
.patrocinado { background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 22px rgb(43 26 99 / 8%); }
.rotulo-patrocinado { font-size: .72rem; font-weight: 850; color: var(--ink); }
.resultado-site { color: #476150; font-size: .76rem; }
.resultado-titulo { margin-top: 2px !important; color: #5b3fd6; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.selo-exemplo { width: fit-content; margin: 0 auto 10px; padding: 4px 12px; border: 1px dashed #8d84a8; border-radius: 999px; background: rgb(253 252 255 / 80%); color: var(--ink-2); font-size: .74rem; font-weight: 800; }
.papeis { list-style: none; display: grid; gap: 10px; margin: 16px 0 6px; padding: 0; }
.papeis li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 6px 18px rgb(43 26 99 / 6%); font-size: .9rem; }
.papel { min-width: 74px; padding: 6px 10px; border-radius: 999px; text-align: center; font-size: .76rem; font-weight: 850; }
.papel-voce { background: #eefbe0; color: #2c4a12; }
.papel-equipe { background: #efeaff; color: #4a32b5; }
.papel-google { background: #e6f2ff; color: #1f4f8a; }
.resultado-texto { margin-top: 4px !important; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.resultado-acoes { display: flex; gap: 8px; margin-top: 10px; }
.resultado-acoes span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; font-weight: 750; color: #5b3fd6; }
.organico span { display: block; height: 9px; margin: 7px 0; border-radius: 99px; background: #e8e5ef; }
.organico span:first-child { width: 42%; background: #dcd8e6; }
.organico span:nth-child(2) { width: 88%; }
.organico span:nth-child(3) { width: 66%; }

/* Blocos da página inicial */
.bloco { margin: 18px 0; padding: 30px 20px; }
.folha-bloco { background: rgb(253 252 255 / 92%); border-radius: 28px; box-shadow: var(--shadow); }
.timeline-home { list-style: none; display: grid; gap: 12px; padding: 8px 0 0; margin: 0; }
.timeline-home li { display: flex; gap: 16px; padding: 16px; background: var(--soft); border-radius: 18px; }
.timeline-home p, .feature-card p { color: var(--muted); margin: 4px 0 0; }
.icone-linha, .feature-icone, .icone-item { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--lime); }
.icone-linha svg, .feature-icone svg, .icone-item svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grade-cards { display: grid; gap: 12px; }
.feature-card { padding: 22px; border-radius: 20px; background: var(--soft); }
.destaque-card { background: var(--ink); color: #fbfaff; }
.destaque-card p { color: #c9c6d4; }
.destaque-card .feature-icone { background: var(--lime); color: var(--ink); }
.calculadora-wrap, .preco-home { display: grid; gap: 22px; align-items: center; }
.cartao, .price-card { padding: clamp(20px, 5vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.calculadora { background: var(--soft); border: 0; }
.opcoes-horiz { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.mini-opcao { min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; font-weight: 800; }
.calc-resultado { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.calc-resultado span { color: var(--muted); }
.calc-resultado strong { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.05em; }
.price-card { position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; width: 150px; height: 150px; right: -50px; top: -60px; border-radius: 50%; background: radial-gradient(closest-side, var(--lime), rgb(215 255 54 / 0)); }
.preco { position: relative; display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px; }
.preco > span { font-size: clamp(2.8rem, 8vw, 4.6rem); line-height: 1; font-weight: 900; letter-spacing: -.07em; }
.preco small { color: var(--muted); font-weight: 700; }
.lista-check { list-style: none; padding: 0; margin: 8px 0 14px; }
.lista-check li { position: relative; padding: 7px 0 7px 32px; }
.lista-check li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-dark); font-size: .75rem; font-weight: 900; }
.micro, .fonte, .ajuda { color: var(--muted); font-size: .88rem; }
.honesto { border-radius: 28px; background: var(--ink); color: #fbfaff; }
.honesto .numero-secao { color: var(--lime); }
.honesto-grid { display: grid; gap: 10px; }
.honesto-grid p { margin: 0; padding: 16px; border: 1px solid #34343f; border-radius: 16px; color: #d2cfdc; }
.caso-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.caso-numero { display: block; font-size: 1.6rem; letter-spacing: -.04em; }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 800; }
summary::after { content: "+"; font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; color: var(--muted); padding-bottom: 14px; }

/* Fluxo: topo com seta, marca centralizada e barra em 3 segmentos; a folha fica embaixo */
.fluxo { width: min(100%, 520px); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 0 0; }
.progresso-wrap { position: sticky; top: 0; z-index: 3; padding: 6px 12px 0; }
.progresso-info { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; }
.progresso-info .marca-fluxo { justify-self: center; font-size: 1.25rem; }
.progresso-info .link-botao { justify-self: end; font-size: .85rem; }
.progresso-etapas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 4px 0; }
.progresso-etapas > span { height: 3px; overflow: hidden; border-radius: 3px; background: rgb(22 22 29 / 14%); }
.progresso-etapas > span i { display: block; width: 0; height: 100%; background: var(--ink); transition: width .3s cubic-bezier(.22,1,.36,1); }
.progresso-etapas > span[data-fill="1"] i { width: 34%; }
.progresso-etapas > span[data-fill="2"] i { width: 67%; }
.progresso-etapas > span[data-fill="3"] i { width: 100%; }
.progresso-texto { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: .74rem; font-weight: 650; }
.fluxo > .folha-fluxo { margin-top: auto; border-radius: 28px 28px 0 0; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.fluxo > .folha:not(.folha-fluxo) { margin-top: 12px; }
.fluxo h1 { margin: 6px 0 14px; font-size: clamp(1.5rem, 5.4vw, 1.95rem); line-height: 1.15; letter-spacing: -.03em; }
.fluxo .etapa { margin: 0; }
.resumo-folha { color: var(--muted); font-size: .95rem; }
.pergunta:not([hidden]), .intersticio:not([hidden]) { animation: pergunta-entra .32s cubic-bezier(.22,1,.36,1); }
@keyframes pergunta-entra { from { opacity: 0; transform: translateY(14px); } }

label { display: block; margin: 14px 0 6px; font-weight: 750; font-size: .92rem; }
input:not([type="checkbox"]), select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #d6d1e2; border-radius: 14px; background: #faf9fd; color: var(--ink); }
input:not([type="checkbox"]):focus, select:focus { border-color: var(--ink); background: var(--card); }
.busca-campo { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1px solid #d6d1e2; border-radius: 999px; background: #faf9fd; }
.busca-campo input { min-height: 46px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.busca-campo:focus-within { border-color: var(--ink); background: var(--card); }
.busca-campo input:focus-visible { outline: none; }
.busca-campo:focus-within { outline: 3px solid #5b3fd6; outline-offset: 2px; }
.campos-lado { display: grid; gap: 0 12px; }
.telefone-grid { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }

/* Opções em linha com círculo de rádio à direita */
.opcoes, .lista-segmentos { display: grid; gap: 2px; margin: 12px 0 4px; }
.lista-segmentos { max-height: min(50vh, 460px); overflow: auto; margin-right: -8px; padding-right: 8px; overscroll-behavior: contain; }
.opcao { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 46px 8px 6px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-weight: 650; transition: background-color .15s ease; }
.opcao::after { content: ""; position: absolute; right: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid #bdb7cc; border-radius: 50%; background: var(--card); transition: border-width .15s ease, border-color .15s ease; }
@media (hover: hover) { .opcao:hover { background: var(--soft); } .mini-opcao:hover { border-color: var(--ink); } .botao.principal:hover { background: #000; } }
.opcao[aria-pressed="true"] { background: #f4f1fd; }
.intersticio .mock-busca { margin-top: 10px; }
.intersticio .celular { padding: 10px 10px 12px; border-width: 5px; border-radius: 26px; }
.intersticio .celular::before { margin-bottom: 8px; }
.intersticio .resultado { margin-top: 8px; padding: 10px; }
.intersticio .organico span:nth-child(3) { display: none; }
.opcao[aria-pressed="true"]::after { border: 6px solid var(--ink); }
.emoji { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); font-size: 1.3rem; line-height: 1; }
.opcoes-cartoes { grid-template-columns: 1fr 1fr; gap: 10px; }
.opcao-cartao { min-height: 128px; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 10px 14px; border: 1.5px solid var(--line); border-radius: 18px; text-align: center; font-size: .92rem; line-height: 1.25; background: var(--card); }
.opcao-cartao::after { top: 12px; right: 12px; margin-top: 0; }
.opcao-cartao[aria-pressed="true"] { border-color: var(--ink); }
.emoji-grande { font-size: 2.3rem; line-height: 1; }
.consentimento { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.consentimento input, .passos-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.erro { min-height: 24px; margin: 10px 0 0; color: var(--danger); font-weight: 750; }
.erro:empty { min-height: 0; margin: 0; }

/* Telas intermediárias */
.cartao-controle { margin: 16px 0 4px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 8px 24px rgb(43 26 99 / 7%); }
.controle-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .9rem; }
.chave-ligada { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.chave-ligada i { position: relative; width: 34px; height: 20px; border-radius: 99px; background: #5b3fd6; }
.chave-ligada i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); }
.controle-linha { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 650; }
.selo { padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.selo-verde { background: #e6f7da; color: #2f5a10; }
.selo-lilas { background: #ebe5ff; color: #4a32b5; }
.selo-amarelo { background: #fff4c7; color: #6b4e00; }
.resumo-perfil { margin: 14px 0 6px; padding: 4px 14px; border-radius: 18px; background: var(--soft); }
.resumo-item { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.resumo-item:last-child { border-bottom: 0; }
.resumo-item dt { color: var(--muted); font-size: .85rem; }
.resumo-item dd { margin: 0; text-align: right; font-weight: 750; font-size: .9rem; overflow-wrap: anywhere; }
.nota-verde { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #eefbe0; color: #2c4a12; font-size: .88rem; }

/* Carregamento: escuro, com o radar */
.carregando { width: 100%; max-width: none; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: #0e0e14; color: #fbfaff; }
.carregando-centro { width: min(100%, 420px); text-align: center; }
.carregando h1 { margin: 18px 0 10px; font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.1; letter-spacing: -.04em; }
.radar-mini { width: 168px; height: 168px; }
.radar-fundo { fill: rgb(215 255 54 / 6%); stroke: #2f2f39; }
.radar-anel { fill: none; stroke: #3d3d48; stroke-dasharray: 4 7; }
.radar-sweep { fill: #d7ff36; fill-opacity: .16; transform-origin: 110px 110px; animation: sweep 2.8s linear infinite; }
.radar-pontos circle { fill: var(--lime); animation: pulse 1.8s ease-in-out infinite; }
.radar-pontos circle:nth-child(2n) { animation-delay: .5s; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
.carregando-passos { list-style: none; display: grid; gap: 8px; margin: 18px 0; padding: 0; text-align: left; }
.carregando-passos li { position: relative; padding: 10px 12px 10px 40px; border-radius: 12px; background: #181820; color: #a9a6b6; font-size: .92rem; }
.carregando-passos li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid #4a4a56; border-radius: 50%; }
.carregando-passos li.feito { color: #fbfaff; }
.carregando-passos li.feito::before { border-color: var(--lime); background: var(--lime); }
.barra-indeterminada { height: 4px; overflow: hidden; border-radius: 99px; background: #26262f; }
.barra-indeterminada span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--lime); animation: vai-e-volta 1.4s ease-in-out infinite alternate; }
@keyframes vai-e-volta { from { transform: translateX(-10%); } to { transform: translateX(160%); } }

/* Plano */
.folha-plano h1 { margin-bottom: 10px; }
.chips-resumo { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip { padding: 7px 12px; border-radius: 999px; background: var(--soft); font-size: .82rem; font-weight: 700; }
.folha .cartao { margin: 14px 0; }
.trilha h2, .incluso h2, .radar-plano h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.trilha { background: linear-gradient(180deg, #fbfaff, #f3f0fb); }
.trilha-svg { display: block; width: 100%; height: auto; margin: 4px 0 10px; }
.trilha-area { fill: rgb(123 97 255 / 10%); }
.trilha-linha { fill: none; stroke: #7b61ff; stroke-width: 3; stroke-linecap: round; }
.trilha-ponto { fill: var(--card); stroke: #7b61ff; stroke-width: 3; }
.inicio-ponto { stroke: #4caf50; }
.fim-ponto { fill: var(--lime); stroke: var(--ink); }
.trilha-fases { list-style: none; display: grid; gap: 8px; padding: 0; margin: 0 0 10px; }
.trilha-fases li { padding: 10px 12px; border-radius: 14px; background: var(--card); font-size: .88rem; }
.trilha-fases li:nth-child(1) { background: #eefbe0; }
.trilha-fases li:nth-child(2) { background: #efeaff; }
.trilha-fases li:nth-child(3) { background: #e6f2ff; }
.trilha-fases strong { display: block; font-size: .8rem; }
.radar-plano { background: #14141b; color: #fbfaff; border-color: #14141b; }
.radar-plano .fonte { color: #b9b6c6; margin: 0; }
.radar-metricas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.radar-metricas div { padding: 12px 8px; border: 1px solid #34343f; border-radius: 14px; }
.radar-metricas strong { display: block; color: var(--lime); font-size: 1.5rem; }
.radar-metricas span { color: #c9c6d4; font-size: .74rem; }
.lista-icones { list-style: none; display: grid; gap: 14px; padding: 0; margin: 4px 0 0; }
.lista-icones li { display: flex; gap: 12px; align-items: flex-start; }
.lista-icones .icone-item { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; background: var(--soft); color: #5b3fd6; }
.lista-icones .icone-item svg { width: 20px; }
.lista-icones p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.timeline-plano { list-style: none; padding: 0; counter-reset: plano; }
.timeline-plano li { position: relative; min-height: 50px; padding: 8px 0 10px 50px; counter-increment: plano; }
.timeline-plano li::before { content: counter(plano); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-dark); font-weight: 900; }

/* Assinatura */
.assinatura-card { margin: 14px 0 0; border: 2px solid var(--ink); }
.plano-nome { position: relative; margin: 0; font-weight: 850; }
.assinatura-card h2 { font-size: 1rem; margin: 6px 0 0; }
.pagamento-seguro { margin: 14px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }

/* Autorização e confirmação */
.aviso, .dica { padding: 14px; border-radius: 14px; background: var(--soft); font-size: .92rem; }
.dica { display: flex; gap: 12px; margin: 14px 0; }
.dica span { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--card); }
.dica p { margin: 0; }
.instrucao { margin: 16px 0; }
.instrucao-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.instrucao-head h2 { font-size: 1.15rem; margin: 0; }
#passos-progresso { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: .8rem; font-weight: 800; }
.passos-check { list-style: none; padding: 0; counter-reset: passos; }
.passos-check li { counter-increment: passos; padding: 12px 0; border-top: 1px solid var(--line); }
.passos-check label { display: flex; gap: 12px; margin: 0; font-weight: 500; }
.passos-check label span::before { content: counter(passos) ". "; font-weight: 900; }
.passos-check input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(98 95 112 / 50%); }
/* O e-mail não quebra no meio: o botão desce para a linha de baixo antes; só um e-mail maior que a linha inteira quebra. */
.email-copia { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 14px; background: var(--soft); overflow-wrap: break-word; }
.email-copia > strong { flex: 1 1 auto; min-width: 0; }
.botao.copiar { flex: 0 0 auto; min-height: 44px; padding: 8px 14px; background: var(--card); }
.rodape-instrucao { color: var(--muted); font-size: .88rem; }
.link-suporte { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.confirmacao .folha { text-align: left; }
.sucesso { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-dark); font-size: 2.4rem; font-weight: 900; animation: sucesso .55s cubic-bezier(.22,1,.36,1); }
@keyframes sucesso { from { transform: scale(.4); opacity: 0; } }

.cta-fixa { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(246 244 251 / 94%); border-top: 1px solid var(--line); }
.cta-fixa .botao { margin: 0; }
footer { min-height: 110px; display: flex; flex-direction: column; gap: 14px; justify-content: space-between; padding: 26px 20px; color: var(--muted); font-size: .84rem; }
body[data-tela]:not([data-tela="inicio"]) footer { display: none; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

.legal { width: min(100%, 820px); margin: 24px auto; padding: 32px 22px 70px; background: var(--card); border-radius: 28px; box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
.legal h2 { margin-top: 36px; font-size: 1.5rem; }
.legal p, .legal li { color: var(--muted); }
.legal .topo-legal { display: flex; justify-content: space-between; align-items: center; }

@media (min-width: 720px) {
  .tela { padding-inline: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 48px; padding: 30px 0 60px; }
  .hero-copy { padding: 40px; }
  .hero-copy .botao.principal { width: auto; min-width: 320px; }
  .hero-mock { max-width: 380px; justify-self: center; transform: rotate(2deg); }
  .bloco { padding: 44px; }
  .timeline-home { grid-template-columns: repeat(3, 1fr); }
  .timeline-home li { display: block; }
  .icone-linha { margin-bottom: 18px; }
  .grade-cards { grid-template-columns: repeat(3, 1fr); }
  .calculadora-wrap, .preco-home { grid-template-columns: 1fr 1fr; }
  .honesto-grid { grid-template-columns: repeat(3, 1fr); }
  .campos-lado { grid-template-columns: 1fr 1fr; }
  .grade-casos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  footer { flex-direction: row; align-items: center; padding-inline: max(24px, calc((100vw - 1140px) / 2)); }
  .cta-fixa { display: none !important; }
  .fluxo > .folha-fluxo { margin-bottom: 32px; border-radius: 28px; }
  .fluxo > .folha:not(.folha-fluxo) { margin-bottom: 40px; padding: 30px 28px; }
}

@media (max-width: 380px) {
  .opcoes-cartoes { grid-template-columns: 1fr; }
  .opcao-cartao { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px 46px 12px 12px; }
  .opcao-cartao::after { top: 50%; margin-top: -10px; }
  .emoji-grande { font-size: 1.6rem; }
  .radar-metricas { grid-template-columns: 1fr; }
}

@media (max-height: 720px) {
  .intersticio .resultado-texto, .intersticio .organico, .intersticio .celular::before { display: none; }
  .intersticio h1 { font-size: 1.35rem; }
  .intersticio .resumo-folha { font-size: .88rem; margin-bottom: 8px; }
  .intersticio .selo-exemplo { margin-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
