:root {
  --amarelo: #FFD000;
  --preto: #141414;
  --cinza: #6B6B6B;
  --linha: #E6E4DC;
  --fundo: #FAFAF7;
  --erro: #C8371E;
  --raio: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--fundo);
  color: var(--preto);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.topo {
  position: sticky; top: 0; z-index: 5;
  background: var(--preto); color: #fff;
  padding: 14px 20px 0;
}
.marca { font-weight: 800; font-size: 14px; letter-spacing: .3px; }
.progresso { height: 4px; background: #2c2c2c; margin: 12px -20px 0; }
.progresso-barra { height: 100%; width: 0; background: var(--amarelo); transition: width .35s ease; }

main { max-width: 560px; margin: 0 auto; padding: 32px 20px 56px; }

.tela { display: none; animation: entrar .35s ease; }
.tela.ativa { display: block; }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--cinza);
}
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; background: var(--amarelo); vertical-align: middle; margin-right: 8px; }

h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; margin: 0 0 16px; font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(22px, 6vw, 27px); line-height: 1.25; margin: 0 0 22px; font-weight: 800; }
.lead { color: #333; margin: 0 0 12px; }

.beneficios { list-style: none; padding: 0; margin: 0 0 28px; }
.beneficios li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--linha); }
.beneficios li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amarelo); font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}

.btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: var(--amarelo); color: var(--preto);
  border: 0; border-radius: var(--raio);
  padding: 17px 20px; font: inherit; font-weight: 800; font-size: 17px;
  cursor: pointer; transition: transform .1s ease, filter .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { filter: grayscale(1); opacity: .6; cursor: wait; }
.btn-peq { width: auto; padding: 12px 22px; font-size: 15px; }
.btn-link {
  background: none; border: 0; color: var(--cinza); font: inherit; font-size: 15px;
  padding: 12px 0; cursor: pointer; display: block; margin: 8px auto 0;
}
.nota-rodape { text-align: center; color: var(--cinza); font-size: 14px; margin-top: 12px; }

.opcoes { display: grid; gap: 10px; }
.opcao {
  text-align: left; font: inherit; font-size: 16px; color: var(--preto);
  background: #fff; border: 1.5px solid var(--linha); border-radius: var(--raio);
  padding: 15px 18px; cursor: pointer; transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.opcao:hover { border-color: #bdbbb2; }
.opcao.sel { border-color: var(--preto); background: var(--amarelo); font-weight: 700; }

textarea, input:not([type=checkbox]) {
  width: 100%; font: inherit; font-size: 16px; color: var(--preto);
  background: #fff; border: 1.5px solid var(--linha); border-radius: 12px;
  padding: 13px 14px; margin-top: 6px;
}
textarea { min-height: 130px; resize: vertical; }
textarea:focus, input:focus { outline: none; border-color: var(--preto); }

.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.nav .btn-link { margin: 0; }

form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.opc { font-weight: 400; color: var(--cinza); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: #333; margin: 6px 0 18px; }
label.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--preto); flex-shrink: 0; }
.invalido { border-color: var(--erro) !important; }
label.check.invalido span { color: var(--erro); }
.erro { color: var(--erro); font-size: 14px; min-height: 1em; margin: 0 0 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.nota-grande { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.nota-grande small { font-size: 24px; color: var(--cinza); letter-spacing: 0; font-weight: 700; }
.nivel { display: inline-block; background: var(--preto); color: var(--amarelo); font-weight: 800; padding: 6px 12px; border-radius: 8px; margin: 12px 0 26px; }

.areas { display: grid; gap: 14px; margin-bottom: 26px; }
.area-linha { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; font-weight: 700; }
.area-trilho { grid-column: 1 / -1; height: 8px; background: var(--linha); border-radius: 8px; overflow: hidden; }
.area-valor { height: 100%; width: 0; border-radius: 8px; transition: width .9s ease; }

.aviso { background: #fff; border-left: 4px solid var(--amarelo); padding: 16px 18px; border-radius: 0 12px 12px 0; margin-bottom: 20px; font-size: 15px; }
.aviso strong { display: block; margin-bottom: 4px; }

@media (prefers-reduced-motion: reduce) {
  .tela, .progresso-barra, .area-valor { animation: none; transition: none; }
}
