/* Boa Achada · site de captura. Usa os componentes e as cores da marca (marca/marca.css e marca/cores.css):
   aqui só entra o layout. Nada de hex: as cores vêm das variáveis. */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img, svg { max-width: 100%; }
.caixa { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; background: var(--texto); color: var(--fundo); padding: 10px 14px; border-radius: var(--raio); z-index: 30; }
.pular:focus { top: 12px; }
.exemplo { display: inline-block; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--texto-2); border: 1px dashed var(--texto-2); border-radius: 3px; padding: 0.15em 0.5em; }

/* Topo */
.topo { border-bottom: var(--linha) solid var(--texto); }
.topo .caixa { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.topo .marca img { display: block; height: 30px; width: auto; }

/* Primeira dobra: tudo o que importa cabe na tela do celular (testado a 360 x 640). */
.hero { padding-top: 28px; padding-bottom: 32px; text-align: center; }
.hero-avatar { display: block; width: 88px; height: 88px; margin: 0 auto 16px; }
.hero .t-rotulo { color: var(--texto-2); margin-bottom: 10px; }
.hero h1 { font-family: var(--f-cond); font-weight: 700; font-size: clamp(36px, 9.5vw, 56px); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.hero-promessa { margin: 14px auto 0; max-width: 34ch; font-size: 16px; line-height: 1.5; }
.acoes { display: grid; gap: 12px; margin: 24px auto 0; max-width: 420px; }
.botao-largo { width: 100%; min-height: 56px; font-size: 17px; }
.botao-canal.botao-largo { box-shadow: 0 4px 0 var(--texto); }
.botao-canal.botao-largo:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--texto); }
.hero-nota { margin: 14px auto 0; max-width: 36ch; font-size: 13px; line-height: 1.5; color: var(--texto-2); }
.hero-nota + .hero-nota { margin-top: 4px; }

/* Blocos */
.bloco { padding-top: 36px; padding-bottom: 36px; }
.hero + .bloco[aria-label="Canais"] { padding-top: 0; }
.bloco + .bloco { border-top: 1px solid var(--papel-suave); }
.secao-titulo h2 { font-size: 28px; white-space: normal; }
.lista-check { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; }
.lista-check svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--nicho); }

/* Exemplo de oferta: o mesmo recibo das peças do canal. */
.oferta { margin-top: 18px; max-width: 420px; }
.oferta .t-subtitulo { font-size: 18px; }
.oferta-foto { aspect-ratio: 1 / 1; width: 100%; margin: 10px 0 4px; border-radius: 4px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.oferta-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.oferta-foto.vazia { background: var(--papel-suave); border: 1px dashed var(--texto-2); }
.oferta-foto.vazia span { font-family: var(--f-mono); font-size: 13px; color: var(--texto-2); }
.oferta-preco { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.oferta .numero { font-size: 64px; }
.oferta .numero-de { font-size: 15px; }
.oferta .parcela { font-size: 15px; }
.oferta .desconto { font-family: var(--f-mono); font-weight: 600; font-size: 15px; color: var(--texto); }
.oferta dl { display: grid; gap: 4px; }

/* Como funciona */
.passos { list-style: none; display: grid; gap: 14px; margin-top: 4px; }
.passo { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start; }
.passo svg { width: 32px; height: 32px; grid-row: span 2; color: var(--texto); }
.passo h3 { font-family: var(--f-cond); font-weight: 600; font-size: 22px; line-height: 1.15; }
.passo p { font-size: 15px; line-height: 1.5; color: var(--texto-2); }

/* Perguntas */
.perguntas details { border: var(--linha) solid var(--texto); border-radius: var(--raio); background: var(--fundo-2); }
.perguntas details + details { margin-top: 10px; }
.perguntas summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: '+'; font-weight: 600; }
.perguntas details[open] summary::after { content: '−'; }
.perguntas details p { padding: 0 16px 16px; font-size: 15px; line-height: 1.55; }

.final { text-align: center; }
.final h2 { font-family: var(--f-cond); font-weight: 700; font-size: 34px; line-height: 1.05; text-wrap: balance; }

/* Página inicial (link da bio): um cartão por canal, com os dois botões direto. */
.canais { list-style: none; display: grid; gap: 16px; margin-top: 8px; }
.canal { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.canal img { width: 64px; height: 64px; }
.canal h2 { font-family: var(--f-cond); font-weight: 700; font-size: 26px; line-height: 1.05; }
.canal p { font-size: 14px; color: var(--texto-2); }
.canal .acoes { grid-column: 1 / -1; margin: 4px 0 0; max-width: none; grid-template-columns: 1fr 1fr; }
.canal .botao { min-height: 48px; font-size: 15px; padding: 0 0.8rem; }
.canal .saiba { grid-column: 1 / -1; font-size: 14px; }
@media (max-width: 380px) { .canal .acoes { grid-template-columns: 1fr; } }

/* Texto corrido (privacidade) */
.texto { padding-top: 32px; padding-bottom: 48px; }
.texto h1 { font-family: var(--f-cond); font-weight: 700; font-size: 40px; line-height: 1; margin-bottom: 16px; }
.texto h2 { font-family: var(--f-cond); font-weight: 600; font-size: 24px; margin: 28px 0 8px; }
.texto p, .texto li { font-size: 15px; line-height: 1.6; }
.texto ul { padding-left: 1.2em; display: grid; gap: 6px; }
.texto .botao { margin-top: 12px; }

/* Rodapé */
.rodape { border-top: var(--linha) solid var(--texto); background: var(--fundo-2); padding: 28px 0 96px; font-size: 14px; }
.rodape nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.rodape p { color: var(--texto-2); line-height: 1.55; }
.rodape p + p { margin-top: 8px; }

/* Barra do celular: aparece quando os botões do topo saem da tela (app.js). */
.barra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fundo); border-top: var(--linha) solid var(--texto); transform: translateY(110%); transition: transform 0.2s ease; }
.barra-fixa.visivel { transform: none; }
.barra-fixa .botao { width: 100%; max-width: 420px; margin: 0 auto; display: flex; min-height: 52px; }
@media (min-width: 900px) { .barra-fixa { display: none; } }

/* Aviso de cookies: no rodapé da tela, sem bloquear a página. */
/* Compacto: num celular de 360 x 640 o aviso não pode cobrir o botão principal (teste "aviso de cookies não cobre"). */
.aviso-cookies { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 20; max-width: 560px; margin: 0 auto; background: var(--fundo-2); border: var(--linha) solid var(--texto); border-radius: var(--raio); padding: 10px 12px; display: grid; gap: 8px; font-size: 13px; line-height: 1.4; box-shadow: 0 4px 0 var(--texto); }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies .acoes-aviso { display: flex; gap: 10px; }
.aviso-cookies .botao { min-height: 44px; font-size: 14px; padding: 0 1rem; flex: 1; }
@media (min-width: 520px) { .aviso-cookies { grid-template-columns: 1fr auto; align-items: center; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .barra-fixa { transition: none; } }
