/* Chute Parceiros
   Layout: uma única primeira dobra. Estádio à noite ao fundo (raios, campo em perspectiva,
   letreiros vazados); promessa à esquerda e o formulário à direita, com o mascote sentado no
   card. Tipografia condensada em itálico como placar; adesivos com sombra dura. */
:root {
  --ink: #0E0E0D;
  --ink-2: #1A1A18;
  --chalk: #F7F6F2;
  --paper: #FFFFFF;
  --field-line: #D9D7CD;
  --volt: #F2FD41;
  --lilac: #C996F9;
  --mute: #9A9A92;
  --mute-ink: #5A5A52;
  --error: #D7263D;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
a, button, label { -webkit-tap-highlight-color: transparent; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.load { animation: up .9s var(--ease) both; animation-delay: var(--d, 0s); }

.pill {
  align-self: flex-start;
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  background: var(--volt); color: var(--ink);
}

/* ---------- stage + background ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; }
.bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 60% at 74% 42%, #2C2138 0%, transparent 70%),
    radial-gradient(35% 45% at 8% 88%, rgba(242, 253, 65, .08), transparent 70%),
    var(--ink);
}
.bg__rays {
  position: absolute; left: 74%; top: 42%; width: 1900px; height: 1900px; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(247, 246, 242, .05) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 46%); mask: radial-gradient(circle, #000 0%, transparent 46%);
  animation: spin 90s linear infinite;
}
.bg__spot { position: absolute; inset: 0; background: radial-gradient(460px circle at var(--sx, 74%) var(--sy, 40%), rgba(201, 150, 249, .16), transparent 60%); }


.bg__fade { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(14, 14, 13, .7)); }

/* ---------- nav ---------- */
.nav__inner { display: flex; align-items: center; gap: 14px; padding-block: 22px; }
.nav__logo img { height: clamp(40px, 4.4vw, 56px); width: auto; }
.nav__by { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.nav__by img { height: 20px; width: auto; }
@media (max-width: 480px) { .nav__by { display: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  grid-template-areas: "head form" "steps form";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 100px); row-gap: 32px;
  padding-block: clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px);
  align-items: start;
}
.hero__head { grid-area: head; display: flex; flex-direction: column; gap: 22px; min-width: 0; padding-top: clamp(8px, 4vw, 56px); }
.hero__title {
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: clamp(54px, 7.2vw, 108px); line-height: .88; text-transform: uppercase;
}
.hero__title .line { display: block; }
.hero__title .hl { color: var(--volt); }
.hero__lead { font-size: clamp(18px, 1.7vw, 21px); color: #C9C9C1; max-width: 27em; }
.hero__lead b { color: var(--chalk); }

/* "Como funciona": a card with a dashed timeline linking the step numbers */
.steps {
  grid-area: steps; align-self: start; max-width: 520px;
  padding: 24px 24px 8px;
  background: rgba(247, 246, 242, .035); border: 1px solid #2A2A26; border-radius: 22px;
}
.steps__title {
  margin: 0 0 18px;
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1;
  text-transform: uppercase; color: var(--chalk);
}
.steps__list { display: flex; flex-direction: column; }
.steps__list li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 20px; font-weight: 600; font-size: 17px; line-height: 1.45; color: #DADAD2; }
.steps__list p { margin: 0; padding-top: 7px; }
.steps__list span {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink-2); border: 2px solid #34342F; color: var(--chalk);
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 21px;
}
.steps__list li:not(:last-child)::before {
  content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, #3A3A35 0 5px, transparent 5px 10px);
}
.steps__list li:last-child span { background: var(--volt); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--lilac); }
.steps__list li:last-child p { color: var(--chalk); }

/* form column */
.hero__form { grid-area: form; position: relative; padding-top: 64px; }
.mascot {
  position: absolute; z-index: 3; right: -36px; top: -20px; width: 176px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55));
  transform-origin: 50% 90%;
  animation: pop-in .9s var(--bounce) .5s both, bob 4s ease-in-out 1.4s infinite;
}
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.hero__form.is-done .mascot { animation: cheer .9s var(--bounce) 2, bob 4s ease-in-out 1.8s infinite; }
@keyframes cheer { 30% { transform: translateY(-40px) rotate(-12deg) scale(1.08); } 60% { transform: translateY(-8px) rotate(8deg); } }

.choice {
  position: absolute; z-index: 3; left: 18px; top: 18px; rotate: -5deg;
  display: grid; grid-template-columns: 1fr 1fr; padding: 5px;
  background: var(--ink); border: 2px solid #3A3A35; border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  animation: pop-in .6s var(--bounce) .9s both;
}
.choice__opt {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 18px; color: var(--chalk);
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase;
}
.choice__opt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.choice__opt--menos { animation: opt-a 7s ease-in-out infinite; }
.choice__opt--mais { animation: opt-b 7s ease-in-out infinite; }
.choice__thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: var(--lilac); animation: thumb 7s var(--bounce) infinite;
}
@keyframes thumb {
  0%, 42% { transform: translateX(0); background: var(--lilac); }
  50%, 92% { transform: translateX(100%); background: var(--volt); }
  100% { transform: translateX(0); background: var(--lilac); }
}
@keyframes opt-a { 0%, 42% { color: var(--ink); } 50%, 92% { color: var(--chalk); } 100% { color: var(--ink); } }
@keyframes opt-b { 0%, 42% { color: var(--chalk); } 50%, 92% { color: var(--ink); } 100% { color: var(--chalk); } }

.card {
  position: relative; z-index: 1;
  background: var(--chalk); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 28px;
  box-shadow: 12px 12px 0 var(--volt), 0 40px 90px rgba(0, 0, 0, .55);
  padding: clamp(22px, 3vw, 30px);
}

/* phones and portrait tablets: one centered column, form right after the pitch */
@media (max-width: 719px), (max-width: 900px) and (orientation: portrait) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "steps"; grid-template-rows: auto; row-gap: 22px; justify-items: center; }
  .hero__head, .hero__form, .steps { width: 100%; max-width: 520px; }
  .hero__head { gap: 16px; padding-top: 4px; }
  .hero__title { font-size: clamp(42px, 13.6vw, 72px); }
  .hero__lead { font-size: 17px; }
  .hero__form { padding-top: 50px; }
  .mascot { right: -6px; top: -12px; width: 128px; }
  .choice { top: 10px; left: 8px; }
  .choice__opt { font-size: 18px; padding: 7px 13px; }
  .form__head .form__title { padding-right: 100px; }
  .nav__inner { padding-block: 14px; }
  .bg__rays { width: 1300px; height: 1300px; left: 60%; top: 52%; }

  .steps { margin-top: 22px; padding: 22px 20px 6px; }
  .steps__list li { font-size: 16px; }
  .steps__list p { padding-top: 8px; }
}
@media (max-width: 360px) {
  .card .form__title { font-size: 30px; }
  .form__head .form__title { padding-right: 84px; }
  .mascot { width: 108px; top: -6px; }
  .choice__opt { font-size: 16px; padding: 7px 11px; }
}
/* phones in landscape: keep the side-by-side layout with a narrower form */
@media (max-width: 900px) and (orientation: landscape) and (min-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 32px; }
  .hero__title { font-size: 52px; }
  .mascot { width: 128px; right: -16px; }
  .form__head .form__title { padding-right: 96px; }
}

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form__head { display: flex; flex-direction: column; gap: 2px; }
.form__head .form__title { padding-right: 116px; }
.form__title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(34px, 3.4vw, 42px); line-height: .92; text-transform: uppercase; }
.form__sub { font-size: 15px; color: var(--mute-ink); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 14px; font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--field-line); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #A8A69C; }
.field input:focus { border-color: var(--ink); box-shadow: 4px 4px 0 var(--volt); }
.field.has-error input { border-color: var(--error); }
.field__err { font-size: 13px; font-weight: 600; color: var(--error); }
.field__err:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.tipos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tipos label { position: relative; cursor: pointer; }
.tipos input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tipos span {
  display: block; text-align: center; padding: 10px 4px; border-radius: 12px;
  background: var(--paper); border: 2px solid var(--field-line);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--bounce);
}
.tipos label:hover span { border-color: var(--ink); }
.tipos input:checked + span { background: var(--ink); color: var(--volt); border-color: var(--ink); transform: scale(1.03); }
.tipos input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.field.has-error .tipos span { border-color: color-mix(in srgb, var(--error) 55%, var(--field-line)); }
@media (max-width: 520px) { .tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--mute-ink); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 2px solid var(--ink); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--volt); border-width: 0 0 3px 3px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .25s var(--bounce); }
.check input:checked { background: var(--ink); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.field.has-error .check input { border-color: var(--error); }
.terms-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; text-decoration-color: var(--lilac); }
.terms-link:hover { text-decoration-color: var(--ink); }

/* ---------- terms dialog ---------- */
.terms {
  width: min(560px, calc(100% - 32px)); max-height: min(80vh, 720px); padding: 0;
  background: var(--chalk); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 24px; box-shadow: 10px 10px 0 var(--volt);
  overflow: hidden;
}
.terms[open] { display: flex; animation: pop-in .35s var(--bounce); }
.terms::backdrop { background: rgba(14, 14, 13, .7); backdrop-filter: blur(4px); }
.terms__inner { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.terms__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 12px; }
.terms__title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 32px; line-height: 1; text-transform: uppercase; }
.terms__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.terms__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.terms__body { overflow-y: auto; padding: 4px 24px 8px; font-size: 15px; line-height: 1.6; color: #3A3A35; min-height: 0; }
.terms__body h3 { margin: 18px 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.terms__body p { margin: 0; }
.terms__date { margin-top: 18px !important; font-size: 13px; color: var(--mute-ink); }
.terms__foot { padding: 16px 24px 22px; border-top: 1px solid var(--field-line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: 24px; letter-spacing: .5px; text-transform: uppercase;
  padding: 14px 28px; border-radius: 999px; border: 3px solid var(--ink);
  background: var(--ink); color: var(--volt);
  cursor: pointer; white-space: nowrap;
  box-shadow: 5px 5px 0 var(--lilac);
  transition: box-shadow .2s var(--ease), translate .2s var(--ease), opacity .2s;
}
.btn svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { box-shadow: 8px 8px 0 var(--lilac); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { box-shadow: 2px 2px 0 var(--lilac); }
.btn--block { width: 100%; margin-top: 4px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; font-weight: 600; color: var(--error); text-align: center; }
.form__status:empty { display: none; }

.done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 28px; outline: none; animation: pop-in .6s var(--bounce); }
.done .form__title { padding-right: 110px; }
.done p { color: var(--mute-ink); }
.done b { color: var(--ink); }
.done__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 6px 6px 0 var(--lilac); }
.done__badge svg { width: 36px; height: 36px; fill: none; stroke: var(--volt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ---------- ticker ---------- */
.ticker { display: grid; place-items: center; overflow: clip; padding-block: clamp(64px, 7vw, 96px); }
.ticker__band { grid-area: 1 / 1; width: 112%; border-block: 3px solid var(--ink); overflow: hidden; }
.ticker__band--volt { background: var(--volt); color: var(--ink); rotate: -3.5deg; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.ticker__band--lilac { background: var(--lilac); color: var(--ink); rotate: 3.5deg; }
@media (max-width: 700px) {
  .ticker__band--volt { rotate: -7deg; }
  .ticker__band--lilac { rotate: 7deg; }
}
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker__track--rev { animation-direction: reverse; animation-duration: 42s; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 22px; padding: 10px 11px;
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); text-transform: uppercase; white-space: nowrap;
}
.ticker__track span::after { content: ""; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding-block: 28px; color: var(--mute); font-size: 14px; border-top: 1px solid #22221F; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer__by { display: flex; align-items: center; gap: 10px; }
.footer__by img { height: 20px; width: auto; }
.footer__legal { display: flex; align-items: center; gap: 10px; }
.age {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 2px solid currentColor; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--chalk);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none !important; }
}
