/* Sorteio Triton Vespa.
   Identidade da campanha: amarelo de vespa com tinta preta. As três cores do
   produto aparecem só onde são prêmio. Display condensado, corpo na mesma família. */
:root {
  --yellow: #f5c400;
  --yellow-deep: #d9ad00;
  --yellow-soft: #ffe36b;
  --ink: #000;
  --ink-2: #161616;
  --ink-3: #262626;
  --paper: #fff;
  --text-on-yellow: #000;
  --muted-on-yellow: #4a3f00;
  --text-on-ink: #fff;
  --muted-on-ink: #b9b9b9;
  --verde: #19c85a;
  --azul: #2e7cf6;
  --vermelho: #f2313f;
  --danger: #b3001b;
  --tape: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--yellow) 14px 28px);
  --radius: 8px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--yellow); color: var(--text-on-yellow);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.container { width: min(100% - 36px, 720px); margin-inline: auto; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; margin: 0 0 .35em; }
h1 { font-size: clamp(3rem, 14vw, 6.4rem); max-width: 13ch; }
h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 .9em; }
a { color: inherit; }
.small { font-size: .9rem; }
.muted { color: var(--muted-on-yellow); }
.dark .muted { color: var(--muted-on-ink); }
[hidden] { display: none !important; }

/* Topo */
.hero { padding: 26px 0 36px; }
.hero .logo { display: block; height: 22px; width: auto; margin-bottom: 30px; }
.lead { font-size: 1.2rem; max-width: 30ch; margin: 14px 0 22px; }
.prizes { border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 22px; }
.prizes p { margin: 0 0 8px; font-weight: 600; }
.prizes ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.prizes li { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--text-on-ink); padding: 8px 14px 8px 10px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.verde { background: var(--verde); }
.dot.azul { background: var(--azul); }
.dot.vermelho { background: var(--vermelho); }
.stats { margin: 18px 0 0; font-weight: 700; font-size: 1.05rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-live .play { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--vermelho); }
.btn-live:hover { background: rgba(0, 0, 0, .06); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 1.05rem var(--font-body); cursor: pointer; text-decoration: none; transition: transform .08s ease, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--yellow); }
.dark .btn { border-color: var(--yellow); color: var(--yellow); }
.dark .btn-ink { background: var(--yellow); color: var(--ink); }
.btn-block { width: 100%; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

/* Como funciona: é uma sequência de verdade, por isso numerada */
.how { padding: 8px 0 40px; }
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; border-top: 3px solid var(--ink); padding-top: 10px; }
.steps .n { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: .85; }
.steps p { margin: 0; }

/* Bloco escuro do cadastro */
.dark { background: var(--ink); color: var(--text-on-ink); }
.tape { height: 14px; background: var(--tape); }
#cadastro .container { padding: 34px 0 44px; }
#cadastro h2 { color: var(--yellow); }
label { display: block; font-size: .92rem; font-weight: 600; color: var(--muted-on-ink); margin: 16px 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=datetime-local], input[type=number] {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--radius); border: 2px solid var(--ink-3);
  background: var(--paper); color: var(--ink); font: 1.05rem var(--font-body);
}
input:focus { border-color: var(--yellow); outline: none; }
input::placeholder { color: #8a8a8a; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
input[type=file] { width: 100%; padding: 10px 12px; border-radius: var(--radius); border: 2px dashed var(--ink-3); background: var(--ink-2); color: var(--text-on-ink); font: .95rem var(--font-body); }
input[type=file]::file-selector-button { margin-right: 12px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--yellow); background: transparent; color: var(--yellow); font: 700 .9rem var(--font-body); cursor: pointer; }
.preview { display: block; max-height: 140px; max-width: 100%; margin-top: 10px; border-radius: 6px; border: 2px solid var(--ink-3); }

/* Aviso que abre ao anexar o print */
.modal { border: 3px solid var(--yellow); border-radius: var(--radius); padding: 0; background: var(--ink); color: var(--text-on-ink); width: min(100% - 32px, 440px); overflow: hidden; }
.modal::backdrop { background: rgba(0, 0, 0, .78); }
.modal .tape { height: 12px; }
.modal-body { padding: 22px 20px 20px; }
.modal-body h2 { color: var(--yellow); }
.modal-body p { font-size: 1.1rem; }
.modal-body .btn { margin-top: 12px; }
.error { color: #fff; background: var(--danger); border-radius: var(--radius); padding: 12px 14px; margin-top: 16px; font-weight: 600; }
.color-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.color-picker label { margin: 0; position: relative; }
.color-picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.color-picker span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius); border: 2px solid var(--ink-3); background: var(--ink-2); color: var(--text-on-ink); cursor: pointer; font-weight: 600; }
.color-picker input:checked + span { border-color: var(--yellow); background: var(--ink-3); }
.color-picker input:focus-visible + span { outline: 3px solid var(--azul); }
.store-row { border: 2px dashed var(--ink-3); border-radius: var(--radius); padding: 2px 14px 16px; margin-top: 14px; position: relative; }
.store-row .remove { position: absolute; top: 6px; right: 4px; background: none; border: 0; color: var(--muted-on-ink); font-size: 1.6rem; line-height: 1; padding: 6px 10px; cursor: pointer; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: .95rem; font-weight: 400; color: var(--text-on-ink); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--yellow); }
.stack { display: grid; gap: 10px; margin-top: 16px; }

/* Números como bilhetes de rifa */
.tickets { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.ticket { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: .04em; padding: 10px 16px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.ticket.void { background: var(--ink-3); color: var(--muted-on-ink); text-decoration: line-through; }
.ticket-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.badge { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink-3); color: var(--muted-on-ink); white-space: nowrap; }
.badge.em_analise { color: var(--yellow); border-color: var(--yellow); }
.badge.aprovado { color: var(--verde); border-color: var(--verde); }
.badge.anulado { color: var(--vermelho); border-color: var(--vermelho); }
.on-yellow .badge { border-color: var(--ink); color: var(--ink); background: transparent; }
.on-yellow .badge.aprovado { background: var(--ink); color: var(--verde); }
.on-yellow .badge.anulado { background: var(--ink); color: var(--vermelho); }
.result-box { border: 2px solid var(--yellow); border-radius: var(--radius); padding: 20px 18px; }
.result-box h2 { margin-bottom: 4px; }

/* Consulta, ganhadores e regras (fundo amarelo) */
#meus-numeros, #ganhadores, #regras { padding: 40px 0 0; }
.query { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.query input { border-color: var(--ink); }
.on-yellow input[type=tel] { background: var(--paper); }
.on-yellow label { color: var(--muted-on-yellow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 2px solid rgba(0, 0, 0, .18); vertical-align: top; }
th { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; }
.winner { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; border-top: 3px solid var(--ink); padding: 14px 0; }
.winner .ticket { background: var(--ink); color: var(--yellow); }
.winner .prize { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.rules { padding-left: 20px; margin: 0; }
.rules li { margin-bottom: 10px; }
footer.dark { margin-top: 48px; padding: 28px 0 40px; }
footer .logo { height: 20px; width: auto; filter: invert(1); display: block; margin-bottom: 10px; }

@media (min-width: 720px) {
  .hero { padding: 44px 0 52px; }
  .hero .logo { height: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr 1fr; }
}
