/* Inter servida pelo próprio site (SIL Open Font License, fonts/OFL-Inter.txt): nada de fonte de terceiros */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); 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'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); 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'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); 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'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); 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'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); 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; }

:root {
  --petroleo: #0E2A3A;
  --petroleo-fundo: #0A1F2B;
  --azul: #1E5AA8;
  --azul-escuro: #174C8F;
  --azul-claro: #E4EDF8;
  --ambar: #D7A53D;
  --ambar-claro: #FBF3E0;
  --ambar-texto: #6E5112;
  --verde: #1F8A5B;
  --verde-escuro: #18704A;
  --verde-claro: #EAF5EF;
  --vermelho: #C53B3B;
  --gelo: #F7F9FC;
  --branco: #FFFFFF;
  --tinta: #1F2937;
  --cinza: #5B6675;
  --borda: #DCE3EC;
  --texto-claro: #CFDCE7;
  --texto-apagado: #93A9BC;
  --papel: #FCFCFA;
  --impressao: #39424C;
  --fonte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
  --largura: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--fonte);
  color: var(--tinta);
  background: var(--gelo);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 0.5em; color: var(--petroleo); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.25rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 20px; }
.estreito { max-width: 760px; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--branco); }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.discreto { font-size: 14.5px; color: var(--cinza); }

.faixa-teste { padding: 8px 16px; background: var(--ambar); color: var(--petroleo); font-size: 14px; font-weight: 700; text-align: center; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(247, 249, 252, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borda); }
.topo-linha { display: flex; align-items: center; gap: 28px; height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--petroleo); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.marca-clara { color: var(--branco); }
.topo nav { display: flex; gap: 26px; margin-left: auto; }
.topo nav a { color: var(--tinta); font-size: 15px; font-weight: 500; text-decoration: none; }
.topo nav a:hover { color: var(--azul); }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 2px solid var(--azul); border-radius: 10px;
  background: var(--azul); color: var(--branco); font: 700 16px/1.2 var(--fonte); text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.botao:hover { background: var(--azul-escuro); border-color: var(--azul-escuro); }
.botao-pequeno { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.botao-claro { background: transparent; border-color: rgba(255, 255, 255, 0.5); }
.botao-claro:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--branco); }
.botao-contorno { background: transparent; color: var(--azul); }
.botao-contorno:hover { background: var(--azul-claro); border-color: var(--azul); }
.botao-largo { width: 100%; }
.link-botao {
  display: block; margin: 10px auto 0; padding: 8px 0; border: 0; background: none;
  color: var(--azul); font: 600 15px var(--fonte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* herói */
.heroi { padding: 72px 0 92px; background: var(--petroleo); color: var(--texto-claro); overflow: hidden; }
/* no desktop o boletim fica à direita; no celular, logo abaixo do título */
.heroi-grade {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: 'titulo cena' 'texto cena';
  column-gap: 56px; row-gap: 24px; align-items: center;
}
.heroi-titulo { grid-area: titulo; align-self: end; }
.heroi-texto { grid-area: texto; align-self: start; }
.heroi h1 { margin: 0; color: var(--branco); }
.heroi-sub { max-width: 33em; font-size: 1.2rem; line-height: 1.55; }
.heroi-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.heroi-nota { margin: 0; color: var(--texto-apagado); font-size: 14px; }
.contagem {
  display: inline-block; margin: 0 0 24px; padding: 6px 14px; border: 1px solid rgba(215, 165, 61, 0.5); border-radius: 999px;
  background: rgba(215, 165, 61, 0.14); color: #F2D59A; font-size: 14px; font-weight: 600;
}

/* o boletim no visor da câmera */
.cena { grid-area: cena; display: flex; justify-content: center; }
.visor { position: relative; padding: 30px 34px; }
.canto { position: absolute; width: 30px; height: 30px; border: 0 solid var(--ambar); }
.c1 { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.c2 { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.c3 { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.c4 { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
.boletim {
  position: relative; width: 268px; padding: 22px 20px 24px;
  background: var(--papel); color: var(--impressao); font: 500 12px/1.65 var(--mono); letter-spacing: 0.02em;
  transform: rotate(-2.5deg); box-shadow: 0 28px 50px -10px rgba(0, 0, 0, 0.45);
}
.boletim::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23FCFCFA'/%3E%3C/svg%3E") repeat-x;
}
.bu-cabeca { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.bu-cabeca b { font-weight: 700; letter-spacing: 0.14em; }
.bu-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bu-sep { margin: 8px 0; border-top: 1px dashed #B5BDC6; }
.bu-cargo { margin-bottom: 2px; font-weight: 700; }
.bu-tarja { display: block; width: 44px; height: 9px; background: repeating-linear-gradient(90deg, #C2C9D1 0 3px, transparent 3px 5px); }
.bu-tarja.curta { width: 26px; }
.bu-total { margin-top: 6px; padding-top: 6px; border-top: 1px solid #B5BDC6; font-weight: 700; }
.bu-qrs { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.bu-qrs svg { width: 76px; height: 76px; fill: var(--impressao); }
.flash { position: absolute; inset: 0; background: var(--branco); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .boletim { animation: imprimir 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
  .canto { animation: focar 0.4s ease-out 1.35s both; }
  .flash { animation: disparar 0.6s ease-out 1.75s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@keyframes imprimir {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(-60px -60px -80px -60px); }
}
@keyframes focar {
  from { opacity: 0; transform: scale(1.3); }
  to { opacity: 1; transform: none; }
}
@keyframes disparar {
  0% { opacity: 0; }
  12% { opacity: 0.9; }
  100% { opacity: 0; }
}

/* seções */
.secao { padding: 96px 0; }
.secao-branca { background: var(--branco); }
.secao-escura { background: var(--petroleo); color: var(--texto-claro); }
.secao-escura h2, .secao-escura h3 { color: var(--branco); }
.secao-escura a { color: #9CC3F0; }
.secao-escura .discreto { color: var(--texto-apagado); }

/* o plano */
.linha-tempo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin: 44px 0 0; padding: 0; list-style: none; }
.linha-tempo li { position: relative; padding-top: 30px; border-top: 3px solid var(--borda); }
.linha-tempo li::before {
  content: ''; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%;
  background: var(--borda); box-shadow: 0 0 0 5px var(--gelo);
}
.linha-tempo li:first-child { border-top-color: var(--azul); }
.linha-tempo li:first-child::before { background: var(--azul); }
.linha-tempo h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; }
.linha-tempo li p:last-child { max-width: 34em; margin: 0; color: var(--cinza); }
.quando { margin: 0 0 6px; color: var(--azul); font-weight: 700; }
.numero-testes { display: block; margin-bottom: 6px; color: var(--azul); font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.05em; }
.linha-tempo li + li .quando { color: var(--cinza); }
.prova {
  margin: 48px 0 0; padding: 16px 20px; border-left: 3px solid var(--verde); border-radius: 0 10px 10px 0;
  background: var(--verde-claro); color: var(--petroleo); font-size: 15.5px;
}
.prova a { font-weight: 600; white-space: nowrap; }

/* como funciona, passo a passo */
.lead-escuro { max-width: 40em; margin: 0 0 40px; color: var(--texto-claro); font-size: 1.2rem; }
.passo-a-passo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; margin: 0; padding: 0; list-style: none; }
.passo { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.passo-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.passo-num { color: var(--ambar); font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.passo-icone {
  width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(156, 195, 240, 0.12);
  fill: none; stroke: #9CC3F0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.passo h3 { font-size: 1.2rem; }
.passo > p { margin: 0; font-size: 15.5px; }
.saiba-mais { margin: 16px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.saiba-mais summary { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: #9CC3F0; font-size: 15px; }
.saiba-mais summary::after {
  content: ''; float: none; width: 7px; height: 7px; margin: -4px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  color: inherit; transform: rotate(45deg); transition: transform 0.2s ease;
}
.saiba-mais[open] summary::after { content: ''; margin-top: 4px; transform: rotate(225deg); }
.saiba-mais ul { margin: 10px 0 0; padding-left: 18px; color: var(--texto-claro); font-size: 14.5px; }
.saiba-mais li { margin-bottom: 8px; }
.saiba-mais li::marker { color: var(--ambar); }
.saiba-mais strong { color: var(--branco); }
.passo-link { display: inline-block; margin-top: 16px; font-weight: 700; }

/* como ajudar */
.ajuda-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 72px; align-items: start; }
.forma { padding: 30px 0; border-top: 1px solid var(--borda); }
.forma:first-of-type { padding-top: 6px; border-top: 0; }
.forma h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.025em; }
.forma > p { max-width: 36em; color: var(--cinza); }
.passos { margin: 20px 0; padding: 0; list-style: none; counter-reset: passo; }
.passos li { counter-increment: passo; position: relative; min-height: 34px; padding: 4px 0 18px 50px; }
.passos li::before {
  content: counter(passo); position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--azul-claro); color: var(--azul); font-size: 15px; font-weight: 800;
}
.passos li:not(:last-child)::after { content: ''; position: absolute; top: 38px; bottom: 2px; left: 16px; width: 2px; background: var(--azul-claro); }
.regra { display: inline-block; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--ambar-claro); color: var(--ambar-texto); font-size: 14.5px; font-weight: 500; }
.contador { margin: 14px 0 0; color: var(--verde); font-weight: 600; }
.progresso { max-width: 460px; margin-top: 22px; }
.progresso-numeros { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--cinza); }
.progresso-numeros strong { color: var(--petroleo); font-size: 3rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; }
.barra { height: 12px; margin: 12px 0 8px; border-radius: 999px; background: #CFE7D9; overflow: hidden; }
.barra span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--verde); transition: width 0.8s ease; }
.progresso-detalhe { margin: 0; color: var(--cinza); font-size: 14.5px; }

/* formulário */
.cartao-form {
  position: sticky; top: 88px; padding: 30px; border: 1px solid var(--borda); border-radius: 18px; background: var(--branco);
  box-shadow: 0 1px 2px rgba(14, 42, 58, 0.05), 0 24px 48px -16px rgba(14, 42, 58, 0.22);
}
.cartao-form h3 { margin-bottom: 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; }
.form-prova { margin: 0; color: var(--verde); font-size: 14.5px; font-weight: 600; }

/* etapas do formulário */
.etapas { display: flex; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.etapas li {
  display: flex; flex: 1; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--borda);
  color: var(--cinza); font-size: 13px; font-weight: 600; line-height: 1.2;
}
.etapa-num { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--borda); color: var(--petroleo); font-size: 12px; font-weight: 800; }
.etapas li[aria-current] { border-top-color: var(--azul); color: var(--petroleo); }
.etapas li[aria-current] .etapa-num { background: var(--azul); color: var(--branco); }
.etapas li.feita { border-top-color: var(--verde); }
.etapas li.feita .etapa-num {
  font-size: 0;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.etapa { margin-top: 20px; }
.etapa-titulo { margin-bottom: 12px; font-size: 1.08rem; }
.etapa-titulo:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .etapa:not([hidden]) { animation: entrar 0.28s ease-out; }
}
@keyframes entrar {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; color: var(--petroleo); font-size: 14.5px; font-weight: 600; }
.campo-largo { grid-column: 1 / -1; }
input[type='text'], input[type='email'], input[type='tel'], input[type='number'], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--borda); border-radius: 10px;
  background: var(--branco); color: var(--tinta); font: 400 16px var(--fonte);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.18); }
input[aria-invalid='true'], select[aria-invalid='true'] { border-color: var(--vermelho); }
textarea { min-height: 84px; resize: vertical; font-size: 13px; word-break: break-all; }
fieldset { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; padding: 0; color: var(--petroleo); font-weight: 700; }
/* cartões de escolha: o rádio invisível cobre o cartão inteiro */
.opcao-ajuda { position: relative; display: block; margin-bottom: 10px; cursor: pointer; }
.opcao-ajuda input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcao-corpo {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--borda); border-radius: 14px; background: var(--branco);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.opcao-icone {
  flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--azul-claro);
  fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background-color 0.15s ease;
}
.opcao-texto { display: flex; flex-direction: column; gap: 2px; }
.opcao-texto strong { color: var(--petroleo); font-size: 15px; line-height: 1.3; }
.opcao-texto small { color: var(--cinza); font-size: 13.5px; line-height: 1.35; }
.selo-mais {
  flex: none; margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--ambar-claro); color: var(--ambar-texto);
  font-size: 12px; font-style: normal; font-weight: 700; white-space: nowrap;
}
.opcao-ajuda:hover .opcao-corpo { border-color: #A9C1E2; }
.opcao-ajuda input:checked + .opcao-corpo { border-color: var(--azul); background: var(--azul-claro); box-shadow: 0 0 0 1px var(--azul); }
.opcao-ajuda input:checked + .opcao-corpo .opcao-icone { background: var(--azul); stroke: var(--branco); }
.opcao-ajuda input:focus-visible + .opcao-corpo { outline: 3px solid var(--azul); outline-offset: 2px; }
.opcao-ajuda input:disabled { cursor: not-allowed; }
.opcao-ajuda input:disabled + .opcao-corpo { opacity: 0.45; }

/* campos: dica embaixo, que vira aviso de erro; verde com ✓ quando está certo */
.dica { color: var(--cinza); font-size: 12.5px; font-weight: 400; line-height: 1.35; }
.dica:empty { display: none; }
.campo.invalido .dica { color: var(--vermelho); font-weight: 600; }
.campo.invalido input, .campo.invalido select { border-color: var(--vermelho); }
.campo.valido input, .campo.valido select { border-color: #8CC7A9; }
.campo.valido input:not([type='number']) {
  padding-right: 40px;
  background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}

/* quanto a doação move a barra da meta */
.impacto { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--verde-claro); }
.impacto p { margin: 8px 0 0; color: var(--petroleo); font-size: 14px; font-weight: 600; }
.barra-impacto { display: flex; gap: 2px; margin: 0; }
.barra-impacto span { border-radius: 0; transition: width 0.4s ease; }
#impacto-sua { background: repeating-linear-gradient(135deg, #2FA36F 0 5px, #6CC497 5px 10px); }

.fechamento { margin-top: 20px; }
.fechamento .aceite { margin-top: 0; }
.navegacao { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.navegacao .botao { flex: 1; }
.navegacao .link-botao { display: inline; margin: 0; padding: 12px 4px 12px 0; }
.tranquiliza { margin: 10px 0 0; color: var(--cinza); font-size: 13px; text-align: center; }
.nota { margin: 4px 0 0; color: var(--ambar-texto); font-size: 14px; }
.valores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.valores label { position: relative; }
.valores input { position: absolute; opacity: 0; }
.valores span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--borda); border-radius: 10px;
  color: var(--petroleo); font-size: 15px; font-weight: 700; cursor: pointer;
}
.valores input:checked + span { border-color: var(--azul); background: var(--azul-claro); color: var(--azul); }
.valores input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
#campo-outro { margin-top: 12px; }
.aceite { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 18px; color: var(--cinza); font-size: 14px; line-height: 1.45; cursor: pointer; }
.aceite input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--azul); }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.botao-confirma {
  display: block; width: 100%; min-height: 56px; border: 0; border-radius: 10px; background: var(--verde); color: var(--branco);
  font: 800 17px/1.2 var(--fonte); letter-spacing: 0.01em; cursor: pointer;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.16); transition: background-color 0.15s ease;
}
.botao-confirma:hover { background: var(--verde-escuro); }
.botao-confirma:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2); }
.botao-confirma[disabled] { opacity: 0.65; cursor: wait; }
.mensagem { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.mensagem.ok { color: var(--verde); }
.mensagem.erro { color: var(--vermelho); }

/* depois de enviar */
.resultado:focus { outline: none; }
.resultado h3 { font-size: 1.4rem; }
.resultado h3::before {
  content: ''; display: block; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.resultado > p { color: var(--cinza); }
.pix-titulo { margin: 18px 0 0; color: var(--petroleo); font-size: 1.1rem; }
.pix-destino { margin: 4px 0 0; color: var(--cinza); font-size: 14px; }
.comunidade { margin-top: 20px; padding: 18px; border-radius: 14px; background: var(--verde-claro); }
.comunidade p { color: var(--petroleo); font-size: 15px; }
.comunidade .botao { border-color: var(--verde); background: var(--verde); }
.comunidade .botao:hover { border-color: var(--verde-escuro); background: var(--verde-escuro); }
.compartilhar { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--borda); }
.compartilhar p { color: var(--petroleo); font-size: 15px; }
.compartilhar-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.compartilhar-acoes .botao { flex: 1 1 180px; }
.qr { display: flex; justify-content: center; margin: 14px 0 16px; }
.qr img, .qr svg { width: 220px; height: 220px; image-rendering: pixelated; }
.qr-teste {
  display: flex; align-items: center; justify-content: center; width: 220px; height: 220px; padding: 18px;
  border: 2px dashed var(--ambar); border-radius: 12px; background: var(--ambar-claro); color: var(--ambar-texto); font-weight: 700; text-align: center;
}
.aviso-teste { padding: 10px 12px; border-radius: 10px; background: var(--ambar-claro); color: var(--ambar-texto); font-size: 14px; font-weight: 600; }
#pix .campo { margin-bottom: 12px; }
.pix-status { margin: 14px 0 4px; color: var(--petroleo); font-weight: 700; }
.pix-status.ok { color: var(--verde); }
.pix-status.erro { color: var(--vermelho); }
#pix-simular { margin-top: 8px; }

/* transparência */
.compromissos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 36px 0 40px; padding: 0; list-style: none; }
.compromissos li { padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, 0.16); font-size: 15.5px; line-height: 1.55; }
.compromissos strong { display: block; margin-bottom: 6px; color: var(--branco); font-size: 1.15rem; letter-spacing: -0.01em; }
.quem { max-width: 62ch; margin: 0; }
.quem strong { color: var(--branco); }

/* perguntas */
details { margin-bottom: 10px; padding: 0 20px; border: 1px solid var(--borda); border-radius: 12px; background: var(--branco); }
summary { padding: 16px 0; color: var(--petroleo); font-weight: 700; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; margin-left: 12px; color: var(--azul); font-weight: 800; }
details[open] summary::after { content: '–'; }
details p { margin: 0 0 16px; color: var(--cinza); }

/* rodapé */
.rodape { padding: 48px 0; background: var(--petroleo-fundo); color: var(--texto-apagado); font-size: 14px; }
.rodape-grade { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.privacidade h2 { margin-bottom: 8px; color: var(--branco); font-size: 1rem; letter-spacing: 0; }
.privacidade p { max-width: 75ch; }
.privacidade p:last-child { margin: 0; }

/* responsivo */
@media (max-width: 960px) {
  .topo nav { display: none; }
  .topo-linha .botao { margin-left: auto; }
  .heroi { padding: 48px 0 64px; }
  .heroi-grade { grid-template-columns: 1fr; grid-template-areas: 'titulo' 'cena' 'texto'; row-gap: 28px; }
  .ajuda-grade { grid-template-columns: 1fr; gap: 48px; }
  .cartao-form { position: static; }
  .linha-tempo, .compromissos { grid-template-columns: 1fr; gap: 36px; }
  .passo-a-passo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secao { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .secao { padding: 60px 0; }
  .campos { grid-template-columns: 1fr; }
  .valores { grid-template-columns: repeat(3, 1fr); }
  .passo-a-passo { grid-template-columns: 1fr; }
  .passo { padding: 20px; }
  .cartao-form { padding: 22px 18px; border-radius: 14px; }
  .heroi-acoes .botao { width: 100%; }
  .heroi-grade { row-gap: 22px; }
  .visor { padding: 22px 24px; }
  .canto { width: 24px; height: 24px; }
  .boletim { width: 220px; padding: 18px 16px 20px; font-size: 11px; }
  .bu-qrs svg { width: 60px; height: 60px; }
  .rodape-grade { grid-template-columns: 1fr; }
}
