/* ============================================================
   Site Sorteio ZPRO — Oferta da Copa
   Redesign mobile-first · tema Copa (Brasil) + acento ZPRO
   ============================================================ */

:root {
  --green: #00b35a;
  --green-deep: #008a45;
  --green-glow: #36f08a;
  --yellow: #ffd200;
  --yellow-soft: #ffe269;
  --blue: #2563eb;
  --zpro: #6366f1;
  --zpro-soft: #a5a6ff;

  --bg-0: #04130d;
  --bg-1: #07261b;

  --ink: #f2fbf6;
  --ink-dim: #afd0c0;
  --ink-mute: #7aa18d;

  --card: rgba(255, 255, 255, 0.045);
  --card-2: rgba(255, 255, 255, 0.07);
  --brd: rgba(255, 255, 255, 0.10);
  --brd-2: rgba(255, 255, 255, 0.18);

  --ok: #22c55e;
  --err: #ff6b6b;

  --r-lg: 22px;
  --r-md: 15px;
  --r-sm: 11px;
  --shadow: 0 26px 70px -22px rgba(0, 0, 0, 0.65);
  --shadow-sm: 0 12px 34px -14px rgba(0, 0, 0, 0.55);

  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "Sora", var(--font);

  --safe-b: env(safe-area-inset-bottom, 0px);

  /* aliases retrocompatíveis (admin.html / regulamento.html usam estes nomes) */
  --card-brd: var(--brd);
  --card-brd-strong: var(--brd-2);
  --radius: var(--r-lg);
  --radius-sm: 12px;
}

* { box-sizing: border-box; min-width: 0; }
/* o atributo hidden deve sempre ocultar, mesmo quando há display no seletor (id/classe) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; }

/* ---------- Fundo ---------- */
.bg-field {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 50% 118%, rgba(0, 179, 90, 0.30), transparent 62%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 64%);
}
.bg-field::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.016) 0 42px, transparent 42px 84px);
  mask-image: linear-gradient(180deg, transparent, #000 38%, transparent 92%);
}
.bg-spot {
  position: fixed; inset: 0 0 auto 0; height: 78vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 380px at 14% -6%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(560px 340px at 92% -2%, rgba(255, 210, 0, 0.14), transparent 58%),
    radial-gradient(700px 420px at 60% 0%, rgba(0, 179, 90, 0.16), transparent 62%);
  animation: aurora 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes aurora {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.9; }
  50% { transform: translate3d(3%, 1.5%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.04); opacity: 0.92; }
}

/* grão sutil para profundidade */
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04; 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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* barra de progresso de scroll */
.scrollbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--yellow), var(--green-glow));
  box-shadow: 0 0 12px rgba(54, 240, 138, 0.5);
  transition: width 0.12s linear;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.container--narrow { max-width: 680px; }

.card-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--zpro);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: #fff; cursor: pointer; text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.22s ease, background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease;
}
.btn:hover::after { left: 130%; }
.btn--mini { padding: 10px 16px; font-size: 13.5px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { --bg: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 14px 32px -12px rgba(0, 179, 90, 0.7); }
.btn--copa { --bg: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 14px 32px -14px rgba(0, 179, 90, 0.7); }
.btn--live { --bg: linear-gradient(135deg, var(--zpro), #4f46e5); box-shadow: 0 14px 32px -14px rgba(99, 102, 241, 0.7); }
.btn--ghost { --bg: transparent; border-color: var(--brd-2); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--ghost::after { display: none; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(4, 19, 13, 0.9), rgba(4, 19, 13, 0.55));
  border-bottom: 1px solid var(--brd);
}
.nav__inner { display: flex; align-items: center; gap: 10px; height: 60px; }
.brand { flex-shrink: 0; }
.brand__logo { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 0.96; }
.nav__menu { display: none; margin: 0 auto; gap: 26px; }
.nav__menu a { font-size: 14.5px; font-weight: 600; color: var(--ink-dim); text-decoration: none; transition: color 0.15s; }
.nav__menu a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.nav__cta { display: none; }

.status-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--brd); background: rgba(255, 255, 255, 0.04); color: var(--ink-dim);
  white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); }
.status-chip[data-state="open"] { color: #bff5d3; border-color: rgba(34, 197, 94, 0.4); }
.status-chip[data-state="open"] .status-dot { background: var(--green-glow); animation: pulse 2s infinite; }
.status-chip[data-state="closed"] { color: #ffc9c9; border-color: rgba(255, 107, 107, 0.4); }
.status-chip[data-state="closed"] .status-dot { background: var(--err); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(54, 240, 138, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(54, 240, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(54, 240, 138, 0); } }

/* ---------- Bandeira ---------- */
.flag { width: 22px; height: 16px; border-radius: 3px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.flag--lg { width: 34px; height: 24px; }

/* ---------- HERO ---------- */
.hero { padding: 34px 0 12px; }
.hero__grid { display: grid; gap: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--yellow-soft); background: rgba(255, 210, 0, 0.09);
  border: 1px solid rgba(255, 210, 0, 0.28); padding: 7px 13px; border-radius: 999px;
}
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(33px, 8.8vw, 58px); line-height: 1.03; letter-spacing: -0.02em;
  margin: 16px 0 14px; display: flex; flex-direction: column;
  overflow-wrap: break-word;
}
.hl {
  background: linear-gradient(100deg, var(--yellow) 0%, var(--green-glow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 16.5px; color: var(--ink-dim); margin: 0 0 24px; max-width: 540px; }
.hero__lead strong { color: var(--ink); }
.hero__ctas { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }

.trust-row {
  list-style: none; padding: 18px 0 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border-top: 1px solid var(--brd);
}
.trust-row li { display: flex; flex-direction: column; gap: 3px; }
.trust-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); }
.trust-v { font-weight: 700; font-size: 13.5px; color: var(--ink); }

/* prova social + ao vivo */
.hero__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 22px; }
.livenow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff;
  background: linear-gradient(135deg, #ff3b3b, #d61f1f); padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(214, 31, 31, 0.7);
}
.livenow__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.proof { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-dim); }
.proof b { color: var(--ink); font-weight: 800; }
.proof__dots { display: inline-flex; }
.proof__dots i {
  width: 22px; height: 22px; border-radius: 50%; margin-left: -8px; border: 2px solid var(--bg-0);
  background: linear-gradient(135deg, var(--green), var(--zpro));
}
.proof__dots i:first-child { margin-left: 0; background: linear-gradient(135deg, var(--yellow), var(--green)); }
.proof__dots i:nth-child(2) { background: linear-gradient(135deg, var(--green-glow), var(--blue)); }

/* urgência do contador (última hora) */
.board__cd.urgent, .mobilebar__cd.urgent { color: #ff6b6b; border-color: rgba(255, 107, 107, 0.5); animation: pulse 1.4s infinite; }

/* ---------- Placar interativo ---------- */
.hero__board { width: 100%; }
.board { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.board__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.board__live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--zpro-soft);
}
.board__cd {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  color: var(--ink-dim); font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--brd); border-radius: 999px; padding: 5px 11px;
}

.board__match {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px;
  background: radial-gradient(420px 180px at 50% -40%, rgba(0, 179, 90, 0.22), transparent),
              rgba(0, 0, 0, 0.22);
  border: 1px solid var(--brd); border-radius: var(--r-md); padding: 16px;
}
.team { display: flex; align-items: center; gap: 10px; }
.team__name { font-family: var(--display); font-weight: 700; font-size: 19px; }
.board__goals { grid-column: 2; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); text-align: center; }

.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper__btn {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--brd-2);
  background: rgba(255, 255, 255, 0.05); color: var(--ink);
  transition: all 0.14s;
}
.stepper__btn:hover { background: var(--green-deep); border-color: var(--green); transform: translateY(-1px); }
.stepper__btn:active { transform: scale(0.94); }
.stepper__val {
  font-family: var(--display); font-weight: 800; font-size: 38px;
  min-width: 52px; text-align: center; font-variant-numeric: tabular-nums;
  color: var(--yellow);
}

.board__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out {
  border: 1px solid var(--brd); border-radius: var(--r-md); padding: 13px 14px;
  display: flex; flex-direction: column; gap: 6px; background: rgba(0, 0, 0, 0.2);
}
.out--win { background: linear-gradient(180deg, rgba(99, 102, 241, 0.14), rgba(0, 0, 0, 0.2)); border-color: rgba(99, 102, 241, 0.3); }
.out__k { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.04em; }
.out__v { font-family: var(--display); display: flex; align-items: baseline; gap: 5px; }
.out__v b { font-size: 30px; font-weight: 800; line-height: 1; color: var(--yellow-soft); }
.out--win .out__v b { color: var(--zpro-soft); }
.out__v small { font-size: 11px; color: var(--ink-dim); font-weight: 600; }

.board__hint { text-align: center; font-size: 13px; color: var(--ink-dim); margin: 0; }
.bump { animation: bump 0.32s ease; }
@keyframes bump { 0% { transform: scale(1); } 42% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section__head { text-align: center; max-width: 600px; margin: 0 auto 28px; }
.section__tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 10px;
}
.section__title { font-family: var(--display); font-weight: 800; font-size: clamp(25px, 6vw, 36px); letter-spacing: -0.02em; }
.section__lead { color: var(--ink-dim); margin: 8px 0 0; font-size: 15.5px; }

/* ---------- Promos ---------- */
.promos { display: grid; gap: 16px; }
.promo { padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.promo--featured { border-color: rgba(99, 102, 241, 0.35); box-shadow: 0 26px 60px -26px rgba(99, 102, 241, 0.5); }
.ribbon {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff; background: linear-gradient(135deg, var(--zpro), #4f46e5);
  padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.promo__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-sm);
}
.promo__icon--copa { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.promo__icon--live { background: linear-gradient(135deg, var(--zpro), #4f46e5); }
.promo__title { font-family: var(--display); font-weight: 700; font-size: 22px; }
.promo__tag { font-size: 13px; color: var(--ink-mute); margin: -6px 0 0; }
.promo__lead { font-size: 15.5px; color: var(--ink-dim); margin: 0; }
.promo__lead strong { color: var(--yellow-soft); }
.promo--featured .promo__lead strong { color: var(--zpro-soft); }

.ticklist { list-style: none; padding: 0; margin: 2px 0 6px; display: flex; flex-direction: column; gap: 9px; }
.ticklist li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-dim); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 179, 90, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2336f08a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(54, 240, 138, 0.3);
}
.promo--featured .ticklist li::before {
  background: rgba(99, 102, 241, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a5a6ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: rgba(165, 166, 255, 0.35);
}
.promo .btn { margin-top: auto; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.step { padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.step__n {
  font-family: var(--display); font-weight: 800; font-size: 17px;
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  color: var(--bg-0); background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  box-shadow: 0 8px 20px -8px rgba(255, 210, 0, 0.6);
}
.step__t { font-family: var(--display); font-weight: 700; font-size: 17px; }
.step__d { font-size: 14px; color: var(--ink-dim); margin: 0; }

/* ---------- Form ---------- */
.form-sec { }
.formwrap { padding: 24px 20px; }
.form-banner {
  background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.4); color: #ffd0d0;
  border-radius: var(--r-md); padding: 12px 15px; font-size: 14px; font-weight: 600; margin-bottom: 18px; text-align: center;
}
.form { display: flex; flex-direction: column; gap: 17px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; gap: 17px; }
.field label, .field__label {
  font-size: 13.5px; font-weight: 600; color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 8px;
}
.livetag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--zpro-soft); background: rgba(99, 102, 241, 0.16); border: 1px solid rgba(99, 102, 241, 0.32);
  padding: 2px 7px; border-radius: 999px;
}

.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="password"] {
  width: 100%; font-family: var(--font); font-size: 16px; color: var(--ink);
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--brd); border-radius: var(--r-md);
  padding: 14px 15px; transition: border-color 0.16s, box-shadow 0.16s;
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 179, 90, 0.18); }
.field--key input:focus { border-color: var(--zpro); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }
.field.has-error input { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.16); }

.field__pwd { position: relative; }
.field__pwd input { padding-right: 48px; }
.pwd-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--ink-mute); width: 38px; height: 38px;
  display: grid; place-items: center; cursor: pointer; border-radius: 9px;
}
.pwd-toggle:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.field__hint { font-size: 12.5px; color: var(--ink-mute); }
.field__err { font-size: 12.5px; color: var(--err); font-weight: 600; display: none; }
.field.has-error .field__err, .field__err.show { display: block; }

.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px;
  background: rgba(0, 0, 0, 0.24); border: 1px solid var(--brd); border-radius: var(--r-md); padding: 5px;
}
.seg__btn {
  font-family: var(--font); font-weight: 600; font-size: 14px; padding: 12px;
  border: none; border-radius: 10px; background: transparent; color: var(--ink-dim); cursor: pointer; transition: all 0.16s;
}
.seg__btn.is-active { background: linear-gradient(135deg, var(--zpro), #4f46e5); color: #fff; box-shadow: var(--shadow-sm); }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding-top: 2px; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent__box {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; margin-top: 1px;
  border: 1.6px solid var(--brd-2); background: rgba(0, 0, 0, 0.25);
  display: grid; place-items: center; color: transparent; transition: all 0.16s;
}
.consent input:checked + .consent__box { background: linear-gradient(135deg, var(--green), var(--green-deep)); border-color: var(--green-glow); color: #fff; }
.consent input:focus-visible + .consent__box { box-shadow: 0 0 0 3px rgba(0, 179, 90, 0.3); }
.consent__text { font-size: 13.5px; color: var(--ink-dim); }
.consent__text a { color: var(--zpro-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.btn__spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__legal { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; font-size: 12px; color: var(--ink-mute); text-align: center; margin: 2px 0 0; }
.form__legal a { color: var(--ink-dim); text-decoration: underline; }

.success { text-align: center; padding: 20px 6px; animation: pop 0.4s ease; }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.success__badge {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 18px 40px -14px rgba(0, 179, 90, 0.8); animation: pop 0.5s ease;
}
.success__title { font-family: var(--display); font-weight: 800; font-size: 25px; margin-bottom: 8px; }
.success__text { color: var(--ink-dim); font-size: 15.5px; margin: 0 auto 20px; max-width: 420px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.faq__item { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-md); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: 15px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2336f08a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.22s;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__a { padding: 0 18px 16px; font-size: 14px; color: var(--ink-dim); }

/* ---------- Footer institucional ---------- */
.footer { border-top: 1px solid var(--brd); padding: 40px 0 calc(24px + var(--safe-b)); margin-top: 28px; background: rgba(0, 0, 0, 0.26); }
.footer__grid { display: grid; gap: 28px; }
.footer__logo { height: 24px; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 12px; }
.footer__tag { font-size: 13.5px; color: var(--ink-dim); font-weight: 600; margin: 0 0 12px; }
.footer__addr { font-style: normal; font-size: 12.5px; color: var(--ink-mute); line-height: 1.7; }
.footer__addr a { color: var(--ink-dim); text-decoration: none; }
.footer__addr a:hover { color: var(--ink); text-decoration: underline; }

.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__h { font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-glow); margin-bottom: 2px; }
.footer__col a { font-size: 14px; color: var(--ink-dim); text-decoration: none; transition: color 0.15s; width: fit-content; }
.footer__col a:hover { color: var(--ink); }

.footer__bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--brd); display: flex; flex-direction: column; gap: 14px; }
.footer__legalrow { display: flex; flex-direction: column; gap: 12px; }
.footer__company { font-size: 12.5px; color: var(--ink-dim); }
.footer__policies { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__policies a { font-size: 12.5px; color: var(--ink-mute); text-decoration: none; }
.footer__policies a:hover { color: var(--ink); text-decoration: underline; }
.footer__cdc { font-size: 11px; line-height: 1.6; color: var(--ink-mute); margin: 0; opacity: 0.85; }
.footer__copy { font-size: 11.5px; color: var(--ink-mute); margin: 0; }

/* ---------- Barra fixa mobile ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: linear-gradient(180deg, rgba(4, 19, 13, 0.7), rgba(4, 19, 13, 0.96));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--brd);
  transform: translateY(120%); transition: transform 0.3s ease;
}
.mobilebar.show { transform: translateY(0); }
.mobilebar__info { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.mobilebar__k { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); }
.mobilebar__cd { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--yellow-soft); font-variant-numeric: tabular-nums; }
.mobilebar .btn { padding: 12px 20px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 10, 7, 0.72); backdrop-filter: blur(4px); }
.modal__panel { position: relative; width: 100%; max-width: 720px; max-height: 88vh; display: flex; flex-direction: column; animation: pop 0.28s ease; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--brd); }
.modal__title { font-family: var(--display); font-weight: 700; font-size: 18px; }
.modal__close { background: none; border: none; color: var(--ink-mute); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.modal__close:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.modal__body { overflow-y: auto; padding: 6px 22px 18px; -webkit-overflow-scrolling: touch; }
.modal__foot { padding: 14px 22px; border-top: 1px solid var(--brd); display: flex; justify-content: flex-end; }

/* regulamento render (modal + página /regulamento) */
.reg-group { font-family: var(--display); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow-soft); margin: 24px 0 6px; padding-bottom: 8px; border-bottom: 1px dashed var(--brd); }
.reg-sec { margin: 16px 0; }
.reg-sec__title { font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.reg-sec__title span { color: var(--green-glow); margin-right: 7px; }
.reg-sec p { font-size: 14px; color: var(--ink-dim); margin: 0 0 8px; }
.reg-sec ul { margin: 0 0 10px; padding-left: 20px; }
.reg-sec li { font-size: 14px; color: var(--ink-dim); margin-bottom: 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translateX(-50%) translateY(20px);
  background: #0d2018; border: 1px solid var(--brd-2); color: var(--ink);
  padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow); z-index: 90; opacity: 0; transition: opacity 0.25s, transform 0.25s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--err { border-color: rgba(255, 107, 107, 0.5); }
.toast--ok { border-color: rgba(34, 197, 94, 0.5); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: calc(86px + var(--safe-b)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; text-decoration: none;
  background: #25d366; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.wa-fab:hover { background: #1ebe57; transform: scale(1.1); box-shadow: 0 16px 38px -8px rgba(37, 211, 102, 0.78); }
.wa-fab:active { transform: scale(1.02); }
.wa-fab svg { position: relative; z-index: 1; }
.wa-fab__ring { position: absolute; inset: 0; border-radius: 50%; animation: waPulse 2.6s infinite; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (min-width: 980px) { .wa-fab { right: 24px; bottom: 24px; } }

/* ---------- Confetti ---------- */
.confetti-piece { position: fixed; top: -12px; width: 9px; height: 14px; z-index: 100; pointer-events: none; will-change: transform; }

/* ---------- Card tilt (hover) ---------- */
.promo, .step { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s; transform-style: preserve-3d; }

/* ---------- Produto / mockup ---------- */
.product__grid { display: grid; gap: 32px; align-items: center; }
.product__title { text-align: left; }
.product__lead { color: var(--ink-dim); font-size: 16px; margin: 12px 0 20px; }
.product__copy .section__tag { display: block; }
.feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.feats li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); font-weight: 600; }
.feats__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--green-glow); background: rgba(0, 179, 90, 0.12); border: 1px solid rgba(54, 240, 138, 0.25); }

.product__visual { display: flex; justify-content: center; perspective: 1000px; }
.phone {
  position: relative; width: 268px; max-width: 80vw; aspect-ratio: 268 / 558;
  background: linear-gradient(160deg, #11271d, #0a1a13); border-radius: 38px;
  border: 1px solid var(--brd-2); padding: 11px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(0, 0, 0, 0.4);
  transform: rotateY(-12deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform 0.4s ease;
}
.product__visual:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
.phone__cam { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 54px; height: 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); z-index: 2; }
.phone__screen { height: 100%; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; background: #0b1f17; }
.chat__top { display: flex; align-items: center; gap: 9px; padding: 22px 12px 10px; background: linear-gradient(180deg, #0f2a1f, #0b1f17); border-bottom: 1px solid var(--brd); }
.chat__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--zpro), var(--green)); flex-shrink: 0; }
.chat__who { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.chat__who b { font-size: 13px; }
.chat__who span { font-size: 11px; color: var(--green-glow); }
.chat__ch { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); border: 1px solid var(--brd); border-radius: 999px; padding: 3px 7px; white-space: nowrap; }
.chat__body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: radial-gradient(circle at 50% 0%, rgba(0, 179, 90, 0.06), transparent); overflow: hidden; }
.bubble { max-width: 84%; font-size: 12px; line-height: 1.45; padding: 8px 11px; border-radius: 13px; }
.bubble--in { align-self: flex-start; background: rgba(22, 48, 36, 0.45); border: 1px solid var(--brd); color: var(--ink-dim); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: linear-gradient(135deg, #0f5132, #0a7a43); color: #eafff3; border-bottom-right-radius: 4px; }
.bubble--out b { color: #fff; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; background: rgba(22, 48, 36, 0.45); border: 1px solid var(--brd); border-radius: 13px; border-bottom-left-radius: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ============================================================
   Breakpoints (mobile-first)
   ============================================================ */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .promos { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 24px; }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
  .hero__title { margin-top: 20px; }
  .nav__menu { display: flex; }
  .nav__cta { display: inline-flex; }
  .board { padding: 26px; }
  .stepper__val { font-size: 44px; }
  .out__v b { font-size: 34px; }
  .product__grid { grid-template-columns: 1.05fr 0.95fr; gap: 52px; }
  .phone { width: 290px; }
  .mobilebar { display: none !important; }
  .toast { bottom: 26px; }
  .footer { padding-bottom: 26px; }
  .footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1.1fr; gap: 40px; }
  .footer__brand { grid-column: auto; }
  .footer__legalrow { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn::after, .status-dot, .bg-spot, .wa-fab__ring, .livenow__dot, .typing span,
  .board__cd.urgent, .mobilebar__cd.urgent { animation: none !important; }
  .phone { transform: none !important; }
}
