/* ---------- grade ---------- */
.palco {
  max-width: 1180px; margin: 0 auto; padding: 8px 16px 40px;
  display: grid; gap: 22px;
  grid-template-areas: "hero" "painel" "premios" "como";
}
.hero { grid-area: hero; padding-top: 8px; }
.painel { grid-area: painel; }
.premios { grid-area: premios; display: grid; gap: 14px; }
.como { grid-area: como; }
.qr-desk { display: none; }

@media (min-width: 960px) {
  .palco {
    padding: 28px 24px 64px; column-gap: 56px; row-gap: 28px;
    grid-template-columns: minmax(0, 1fr) 440px;
    grid-template-areas: "hero painel" "premios painel" "como painel" "qr painel" ". painel";
    align-items: start;
  }
  .painel { position: sticky; top: 20px; }
  .premios { grid-template-columns: 1fr 1fr; }
  .qr-desk { grid-area: qr; display: flex; gap: 18px; align-items: center; padding: 16px; max-width: 460px; }
  .qr-desk img { border-radius: 10px; background: #fff; padding: 6px; flex: none; }
  .qr-desk b { display: block; font-size: 15px; }
  .qr-desk span { color: var(--ink-2); font-size: 14px; }
}

/* ---------- hero ---------- */
.hero h1 { font-size: clamp(38px, 9.5vw, 70px); font-weight: 800; margin: 12px 0 14px; max-width: 13ch; }
.hero .sub { max-width: 46ch; }
.mini-premios { list-style: none; display: flex; gap: 8px; padding: 0; margin: 18px 0 0; flex-wrap: wrap; }
.mini-premios li { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.mini-premios b { color: var(--yellow); }
@media (min-width: 960px) { .mini-premios { display: none; } }

/* ---------- cartão do formulário ---------- */
.form-card { padding: 22px 18px 18px; position: relative; overflow: hidden; }
.form-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, transparent, var(--yellow) 30%, var(--yellow-2) 70%, transparent);
}
@media (min-width: 420px) { .form-card { padding: 28px 26px 24px; } }
.form-cab { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.form-cab h2 { font-size: 24px; font-weight: 800; }
.passos { font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.carregando { min-height: 280px; display: grid; place-items: center; color: var(--yellow); }

.elegibilidade { border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; margin: 4px 0 8px; }
.eleg-tit { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.eleg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 800;
  border: 1px solid var(--line-2); color: var(--ink-3); transition: .3s var(--ease);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transition: .3s var(--ease); }
.chip.on { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.chip.on i { background: var(--navy); }
.chip.off { text-decoration: line-through; opacity: .55; }
.eleg-nota { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }

.seguro { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.seguro svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
#enviar { margin-top: 10px; height: 58px; font-size: 17px; }

/* ---------- estados ---------- */
.estado[hidden] { display: none !important; }
.estado { animation: surge .45s var(--ease) both; }
@keyframes surge { from { opacity: 0; transform: translateY(10px); } }
.aviso-estado { text-align: center; padding: 26px 6px 10px; display: grid; justify-items: center; gap: 12px; }
.aviso-estado h2 { font-size: 23px; font-weight: 800; }
.aviso-estado .sub { font-size: 15px; max-width: 34ch; }
.icone-estado { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 221, 0, .1); border: 1px solid rgba(255, 221, 0, .3); }
.icone-estado svg { width: 30px; height: 30px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; }

/* ---------- sucesso ---------- */
.sucesso { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 6px 0 4px; }
.sucesso h2 { font-size: 25px; font-weight: 800; max-width: 18ch; }
.selo { width: 96px; height: 96px; }
.selo-anel { fill: rgba(255, 221, 0, .1); stroke: var(--yellow); stroke-width: 4; stroke-dasharray: 330; stroke-dashoffset: 330; animation: traco .8s var(--ease) .1s forwards; transform-origin: center; }
.selo-check { fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: traco .45s var(--ease) .75s forwards; }
@keyframes traco { to { stroke-dashoffset: 0; } }
.ticket {
  width: 100%; display: grid; grid-template-columns: auto 1fr; text-align: left; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #FFE53A, var(--yellow) 40%, var(--yellow-2)); color: var(--navy);
  animation: ticket .7s var(--ease) .5s both; position: relative;
}
@keyframes ticket { from { opacity: 0; transform: translateY(16px) rotate(-2deg) scale(.96); } }
.ticket-l { padding: 16px 18px; border-right: 2px dashed rgba(11, 11, 30, .25); display: grid; align-content: center; }
.ticket-r { padding: 16px 18px; }
.ticket-rot { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.ticket-num { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 4px; }
.ticket ul { list-style: none; padding: 0; margin: 6px 0 0; font-weight: 800; font-size: 15px; display: grid; gap: 3px; }
.ticket li::before { content: "✓ "; }
.ok-texto { font-size: 15px; }
.ok-texto b { color: var(--ink); }

/* ---------- prêmios ---------- */
.premio { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; align-items: center; transition: transform .3s var(--ease), border-color .3s; }
.premio:hover { transform: translateY(-2px); border-color: var(--line-2); }
@media (min-width: 960px) { .premio { grid-template-columns: 1fr; padding: 20px; align-content: start; } }
.premio-arte { position: relative; height: 120px; border-radius: 14px; background: radial-gradient(circle at 30% 20%, rgba(255, 221, 0, .16), transparent 60%), var(--navy-3); overflow: hidden; }
@media (min-width: 960px) { .premio-arte { height: 150px; } }
.premio-arte .qtd { position: absolute; right: 10px; bottom: 6px; font-size: 30px; font-weight: 800; color: var(--yellow); letter-spacing: -.04em; }
.livro { position: absolute; bottom: 18px; width: 30%; height: 62%; border-radius: 3px 6px 6px 3px; box-shadow: -4px 6px 14px rgba(0, 0, 0, .45); }
.livro::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14%; background: rgba(0, 0, 0, .28); border-radius: 3px 0 0 3px; }
.livro::after { content: ""; position: absolute; left: 26%; right: 14%; top: 20%; height: 3px; background: currentColor; box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor; opacity: .55; }
.l1 { left: 12%; background: #26264A; color: var(--yellow); transform: rotate(-8deg); }
.l2 { left: 30%; background: var(--yellow); color: var(--navy); z-index: 2; height: 68%; }
.l3 { left: 48%; background: #F4F4F8; color: var(--navy); transform: rotate(7deg); }
.diag svg { position: absolute; inset: 8px 8px 8px 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.diag .barras rect { fill: rgba(255, 255, 255, .14); transform-origin: bottom; transform-box: fill-box; animation: barra 1.2s var(--ease) both; }
.diag .barras rect:nth-child(2) { animation-delay: .1s } .diag .barras rect:nth-child(3) { animation-delay: .2s }
.diag .barras rect:nth-child(4) { animation-delay: .3s } .diag .barras rect:nth-child(5) { animation-delay: .4s; fill: rgba(255, 221, 0, .45); }
@keyframes barra { from { transform: scaleY(0); } }
.diag .seta, .diag .ponta { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.diag .seta { stroke-dasharray: 220; stroke-dashoffset: 220; animation: traco 1.4s var(--ease) .4s forwards; }
.diag .ponta { opacity: 0; animation: aparece .3s 1.6s forwards; }
@keyframes aparece { to { opacity: 1; } }
.premio-corpo h3 { font-size: 19px; font-weight: 800; margin: 8px 0 6px; letter-spacing: -.015em; line-height: 1.2; }
.premio-corpo p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.selo-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.selo-tag.amarelo { background: rgba(255, 221, 0, .14); color: var(--yellow); }
.premio-diag { border-color: rgba(255, 221, 0, .22); }

/* ---------- como funciona ---------- */
.como ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; counter-reset: passo; }
.como li { counter-increment: passo; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.como li::before {
  content: counter(passo); grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: var(--yellow); border: 1px solid rgba(255, 221, 0, .35); background: rgba(255, 221, 0, .07);
}
.como b { font-size: 16px; }
.como span { color: var(--ink-2); font-size: 14.5px; }

/* ---------- entrada ---------- */
.entra { animation: surge .7s var(--ease) both; }
.palco > .entra:nth-child(2) { animation-delay: .08s; }
.palco > .entra:nth-child(3) { animation-delay: .16s; }
.palco > .entra:nth-child(4) { animation-delay: .24s; }

/* ---------- folha (regulamento / privacidade) ---------- */
.folha {
  border: 0; padding: 0; width: min(760px, 100%); max-height: 88dvh; margin: auto auto 0; border-radius: 22px 22px 0 0;
  background: var(--navy-2); color: var(--ink); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
}
@media (min-width: 760px) { .folha { margin: auto; border-radius: 22px; } }
.folha::backdrop { background: rgba(5, 5, 15, .7); backdrop-filter: blur(4px); }
.folha[open] { animation: sobe .35s var(--ease); display: flex; flex-direction: column; }
@keyframes sobe { from { transform: translateY(40px); opacity: 0; } }
.folha-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.folha-cab h2 { font-size: 18px; }
.folha-corpo { overflow: auto; padding: 4px 20px 28px; -webkit-overflow-scrolling: touch; }

.folha-corpo article { padding: 14px 0 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.folha-corpo article > .eyebrow { display: none; }

.btn-live .yt { width: 22px; height: 22px; fill: currentColor; flex: none; }
