/* ============================================================
   CartolaMan Landing — styles
   Dark premium + orange glow. Cman palette.
   ============================================================ */

:root {
  --orange:       #EA5C1F;
  --orange-soft:  #FF7A3D;
  --orange-deep:  #8A3413;
  --cream:        #FFE3D6;
  --bg:           #15171F;
  --surface:      #212431;
  --surface-2:    #2D3140;
  --text:         #F4F5F7;
  --text-dim:     #A6AAB8;
  --live:         #FF3B30;

  --radius:       20px;
  --radius-lg:    28px;
  --maxw:         1180px;

  --shadow-glow:  0 0 60px -10px rgba(234, 92, 31, .55);
  --shadow-card:  0 24px 60px -24px rgba(0, 0, 0, .7);

  --ease:         cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* offset pro nav fixo não cobrir o alvo das âncoras */
.features, .gallery, .faq, .cta-final, .live-section, #download { scroll-margin-top: 84px; }

body {
  font-family: 'Onest', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(234, 92, 31, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(138, 52, 19, .14), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }

.grad {
  background: linear-gradient(120deg, var(--orange-soft), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ====================== NAV ====================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(21, 23, 31, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 9px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand-accent { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-live {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text) !important;
  font-size: 13px !important; font-weight: 800 !important; letter-spacing: .06em;
  border: 1px solid rgba(255, 59, 48, .4);
  background: rgba(255, 59, 48, .1);
  padding: 6px 13px; border-radius: 999px;
}
.nav-live:hover { border-color: rgba(255, 59, 48, .8); }
.nav-cta {
  color: #fff !important;
  background: linear-gradient(120deg, var(--orange-soft), var(--orange));
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -10px rgba(234, 92, 31, .9);
}
.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ====================== HERO ====================== */
.hero { position: relative; overflow: hidden; padding: 70px 22px 90px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: glowBreathe 9s var(--ease) infinite alternate;
}
.hero-glow-1 { width: 520px; height: 520px; background: rgba(234, 92, 31, .35); top: -120px; right: -80px; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(138, 52, 19, .4); bottom: -160px; left: -120px; animation-delay: -4s; }
@keyframes glowBreathe { from { opacity: .55; transform: scale(.92); } to { opacity: .9; transform: scale(1.06); } }

.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, black, transparent 75%);
}

.hero-copy { position: relative; z-index: 2; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--cream);
  background: rgba(234, 92, 31, .12);
  border: 1px solid rgba(234, 92, 31, .35);
  padding: 7px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255, 59, 48, .7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); }
  70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 900;
  margin: 18px 0 16px;
}
.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 28px;
}

/* store buttons */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-buttons.center { justify-content: center; }
.btn-store {
  --mx: 50%; --my: 50%;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.btn-store::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(160px circle at var(--mx) var(--my), rgba(234, 92, 31, .35), transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.btn-store:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 92, 31, .55);
  box-shadow: 0 16px 40px -18px rgba(234, 92, 31, .8);
}
.btn-store:hover::before { opacity: 1; }
.btn-store svg { position: relative; z-index: 1; }
.bs-text { position: relative; z-index: 1; display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.bs-text small { font-size: 11px; color: var(--text-dim); }
.bs-text strong { font-size: 17px; font-weight: 700; }

/* --- loja da plataforma do visitante (classes postas pelo script.js) --- */
.btn-store.is-platform {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 34px -16px rgba(234, 92, 31, .9);
}
.btn-store.is-platform .bs-text small { color: rgba(255, 255, 255, .82); }
.btn-store.is-other {
  opacity: .6;
  padding: 10px 18px;
}
.btn-store.is-other .bs-text strong { font-size: 15px; }
.btn-store.is-other:hover,
.btn-store.is-other:focus-visible { opacity: 1; }

.trust { margin-top: 16px; font-size: 13.5px; color: var(--text-dim); }
/* Segunda linha do convite (só na rota /i/CODIGO): colada na primeira, mesmo
   peso — é rede de segurança, não alerta. */
.trust-digitar { margin-top: 4px; }
.trust-digitar b { color: var(--cream); letter-spacing: .06em; }

/* ---- bloco de convite (só existe na rota /i/CODIGO) ----
   Renderizado NO SERVIDOR, dentro do hero. Se o JS falhar, o código
   continua na tela e selecionável — só o botão Copiar depende de script. */
.convite {
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  margin: 26px 0 4px;
  max-width: 460px;
}
.convite-hi {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700;
  color: var(--cream);
  background: var(--orange-deep);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.convite .eyebrow { display: block; margin-bottom: 6px; font-size: 11.5px; }
.convite-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.convite-codigo {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(27px, 6.5vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .2em;
  /* o letter-spacing também é aplicado DEPOIS do último caractere: sem esta
     compensação o bloco fica com um vão fantasma à direita do código. */
  margin-right: -.2em;
  /* #EA5C1F sobre o card dá ~3,7:1 — abaixo do AA de corpo normal (4,5:1),
     acima do de corpo grande (3:1), que é o caso aqui (≥27px, bold). */
  color: var(--orange);
  user-select: all;
  -webkit-user-select: all;
}
.convite-copiar {
  font-family: inherit; font-size: 14px; font-weight: 700;
  border: 0; cursor: pointer;
  white-space: nowrap;
}
.convite-copiar[data-estado="copiado"] {
  background: none;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--cream) !important;
}
.convite-dica { margin-top: 14px; font-size: 13.5px; color: var(--text-dim); }

/* ---- phone mockup ---- */
.hero-mock { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }
.mock-glow {
  position: absolute; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(234, 92, 31, .5), transparent 65%);
  filter: blur(40px); z-index: 0;
}
.phone {
  position: relative;
  width: 300px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #34384a, #1a1c26);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  z-index: 1;
}
.phone img { border-radius: 32px; width: 100%; height: auto; }
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #0c0d12; border-radius: 0 0 14px 14px; z-index: 2;
}
.tilt { transition: transform .15s var(--ease); transform-style: preserve-3d; will-change: transform; }
.hero-mock { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 14px;
  color: var(--text);
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong { color: var(--orange-soft); }
.fc-1 { top: 16%; left: -6%; animation-delay: -1s; }
.fc-2 { bottom: 14%; right: -10%; animation-delay: -3s; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d058; box-shadow: 0 0 8px #34d058; }
.fc-ico { font-size: 14px; }

/* ====================== shared section ====================== */
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-soft); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

.glass {
  background: linear-gradient(160deg, rgba(45, 49, 64, .7), rgba(33, 36, 49, .5));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ====================== FEATURES ====================== */
.features { max-width: var(--maxw); margin: 0 auto; padding: 90px 22px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(234, 92, 31, .4); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }

.feat-link { color: var(--orange-soft); font-weight: 700; white-space: nowrap; }
.feat-link:hover { text-decoration: underline; }

/* ============ palcos animados (uma mini-demo por recurso) ============
   Cada palco imita a tela real do app. As animações ficam PAUSADAS até a
   grade entrar em cena (script.js liga .anim-on) — fora da tela não gasta
   bateria. Todo estado-base é o estado VISÍVEL: com prefers-reduced-motion
   as animações somem e o palco continua legível.
   ==================================================================== */
.feat-stage {
  position: relative;
  height: 104px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(234, 92, 31, .16), transparent 62%),
    #171A24;
  font-size: 11px;
  line-height: 1;
}
.fs-tag {
  position: absolute; left: 12px; bottom: 9px;
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- 1. Feed AO VIVO: eventos entrando de baixo, um a um ---- */
.fs-feed { padding-top: 26px; }   /* faixa própria pro selo AO VIVO */
.fs-live {
  position: absolute; right: 12px; top: 10px;
  display: flex; align-items: center; gap: 4px;
  font-size: 8.5px; font-weight: 800; letter-spacing: .1em; color: var(--live);
}
.fs-live i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--live);
  animation: fsBlink 1.5s ease-in-out infinite;
}
@keyframes fsBlink { 50% { opacity: .25; } }

.fs-ev {
  display: flex; align-items: center; gap: 7px;
  height: 21px; margin-bottom: 5px; padding: 0 7px;
  border-radius: 7px; background: rgba(255, 255, 255, .055);
  animation: fsEvIn 5.4s var(--ease) infinite;
}
.fs-ev:nth-child(3) { animation-delay: .5s; }
.fs-ev:nth-child(4) { animation-delay: 1s; }
.fs-ic { font-size: 10px; }
.fs-nm { flex: 1; color: var(--text); font-weight: 600; }
.fs-pt { color: #4ADE80; font-weight: 800; }
.fs-pt.neg { color: var(--live); }
/* A janela visível é longa de propósito: com 3 linhas defasadas em .5s,
   o feed nunca fica vazio — só troca de evento. */
@keyframes fsEvIn {
  0%        { opacity: 0; transform: translateY(15px) scale(.96); }
  6%, 92%   { opacity: 1; transform: none; }
  100%      { opacity: 0; transform: translateY(-8px); }
}

/* ---- 2. Escalação por IA: três estratégias, uma escolhida por vez ---- */
.fs-strat {
  display: flex; align-items: center; gap: 9px;
  height: 22px; margin-bottom: 5px; padding: 0 8px;
  border-radius: 7px; background: rgba(255, 255, 255, .045);
  animation: fsPick 6.6s var(--ease) infinite;
}
.fs-strat:nth-child(2) { animation-delay: 2.2s; }
.fs-strat:nth-child(3) { animation-delay: 4.4s; }
.fs-strat b {
  width: 66px; font-size: 8.5px; letter-spacing: .08em; color: var(--text-dim);
}
.fs-strat span {
  flex: 1; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .08); overflow: hidden;
}
.fs-strat i {
  display: block; height: 100%; width: var(--w); border-radius: 3px;
  background: linear-gradient(90deg, var(--orange-soft), var(--orange));
  animation: fsFill 6.6s var(--ease) infinite;
}
.fs-strat:nth-child(2) i { animation-delay: 2.2s; }
.fs-strat:nth-child(3) i { animation-delay: 4.4s; }
@keyframes fsPick {
  0%, 2%   { background: rgba(255, 255, 255, .045); }
  10%, 30% { background: rgba(234, 92, 31, .22); }
  38%,100% { background: rgba(255, 255, 255, .045); }
}
@keyframes fsFill { 0%, 2% { width: 0; } 26%, 100% { width: var(--w); } }

/* ---- 3. Parciais: o número girando + scouts pipocando ---- */
.fs-par .fs-num { height: 32px; overflow: hidden; margin-top: 2px; }
.fs-roll { list-style: none; animation: fsRoll 8s steps(5) infinite; }
.fs-roll li {
  height: 32px; line-height: 32px;
  font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.02em;
}
@keyframes fsRoll { to { transform: translateY(-160px); } }
.fs-bars {
  position: absolute; right: 12px; top: 16px;
  display: flex; align-items: flex-end; gap: 5px; height: 42px;
}
.fs-bars i {
  width: 5px; border-radius: 2px; height: 40%;
  background: linear-gradient(180deg, var(--orange-soft), var(--orange-deep));
  animation: fsBar 2.4s var(--ease) infinite alternate;
}
.fs-bars i:nth-child(2) { animation-delay: .2s; }
.fs-bars i:nth-child(3) { animation-delay: .4s; }
.fs-bars i:nth-child(4) { animation-delay: .6s; }
.fs-bars i:nth-child(5) { animation-delay: .8s; }
.fs-bars i:nth-child(6) { animation-delay: 1s; }
.fs-bars i:nth-child(7) { animation-delay: 1.2s; }
@keyframes fsBar { from { height: 18%; } to { height: 100%; } }

/* ---- 4. Ligas: o ranking mexendo durante a rodada ---- */
.fs-lrow {
  display: flex; align-items: center; gap: 8px;
  height: 22px; margin-bottom: 5px; padding: 0 8px;
  border-radius: 7px; background: rgba(255, 255, 255, .055);
}
.fs-lrow b { width: 12px; color: var(--orange-soft); font-size: 10px; }
.fs-lrow span { flex: 1; color: var(--text); font-weight: 600; }
.fs-lrow em { font-style: normal; font-weight: 800; color: #fff; }
.fs-up { color: #4ADE80; font-size: 8px; animation: fsBlink 1.2s infinite; }
.fs-liga .r2 { animation: fsDesce 6.4s var(--ease) infinite; }
.fs-liga .r3 { animation: fsSobe  6.4s var(--ease) infinite; }
@keyframes fsDesce {
  0%, 28%   { transform: none; }
  46%, 82%  { transform: translateY(27px); }
  100%      { transform: none; }
}
@keyframes fsSobe {
  0%, 28%   { transform: none; background: rgba(255, 255, 255, .055); }
  46%, 82%  { transform: translateY(-27px); background: rgba(234, 92, 31, .24); }
  100%      { transform: none; background: rgba(255, 255, 255, .055); }
}

/* ---- 5. Nota: o monitor do app, com a linha sendo traçada ---- */
.fs-ecg { position: absolute; inset: 6px 10px 14px 10px; width: auto; height: auto; }
.fs-ecg path {
  fill: none; stroke: var(--orange-soft); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 5px rgba(234, 92, 31, .8));
  animation: fsTraco 3.6s linear infinite;
}
@keyframes fsTraco { 0% { stroke-dashoffset: 1; } 72%, 100% { stroke-dashoffset: 0; } }
.fs-nota-val {
  position: absolute; right: 12px; top: 12px; text-align: right;
  text-shadow: 0 0 18px rgba(0, 0, 0, .9);
}
.fs-nota-val b { display: block; font-size: 26px; color: #fff; letter-spacing: -.02em; }
.fs-nota-val span { font-size: 8px; letter-spacing: .16em; color: var(--orange-soft); }

/* ---- 6. IA vs Você: placar e jogador a jogador ---- */
.fs-duelo-head {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 9px;
}
.fs-duelo-head b { font-size: 8.5px; letter-spacing: .1em; color: var(--text-dim); }
.fs-duelo-head em { font-style: normal; font-size: 14px; font-weight: 800; color: #fff; }
.fs-x { color: var(--text-dim); }
.fs-pair { display: flex; gap: 6px; height: 8px; margin-bottom: 5px; }
.fs-pair i {
  flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .16);
  animation: fsDuelo 4.8s var(--ease) infinite;
}
/* base laranja no lado da IA: sem animação (reduced motion) o card ainda
   conta a história de quem ganhou o duelo */
.fs-pair i.l {
  transform-origin: right;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-soft));
}
.fs-pair i.r { transform-origin: left; }
.fs-duelo .fs-pair:nth-child(3) i { animation-delay: .5s; }
.fs-duelo .fs-pair:nth-child(4) i { animation-delay: 1s; }
.fs-duelo .fs-pair i.r { animation-name: fsDueloPerde; }
@keyframes fsDuelo {
  0%, 12%  { background: rgba(255, 255, 255, .16); }
  22%, 62% { background: linear-gradient(90deg, var(--orange-deep), var(--orange-soft)); }
  74%,100% { background: rgba(255, 255, 255, .16); }
}
@keyframes fsDueloPerde {
  0%, 12%  { transform: scaleX(1); opacity: 1; }
  22%, 62% { transform: scaleX(.6); opacity: .5; }
  74%,100% { transform: scaleX(1); opacity: 1; }
}

/* ---- 7. Alertas: o jogador que virou má ideia, e a troca sugerida ---- */
.fs-alerta { padding: 14px 32px 14px 12px; }   /* calha à direita pro alerta */
.fs-pin {
  position: absolute; right: 12px; top: 50%; margin-top: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--live);
  animation: fsPing 2.2s var(--ease) infinite;
}
@keyframes fsPing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .55); }
  60%      { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
}
.fs-pl {
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  height: 22px; padding: 0 8px; border-radius: 7px;
  background: rgba(255, 255, 255, .055); color: var(--text); font-weight: 600;
}
.fs-pl em {
  font-style: normal; margin-left: auto; font-size: 10px;
  color: var(--text-dim); font-weight: 700;
}
.fs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.fs-dot.ok { background: #4ADE80; }
.fs-pl.out { animation: fsSai 5s var(--ease) infinite; }
.fs-pl.in  { animation: fsEntra 5s var(--ease) infinite; }
.fs-seta {
  text-align: center; height: 12px; line-height: 12px;
  color: var(--orange-soft); font-size: 10px;
  animation: fsDesceSeta 5s var(--ease) infinite;
}
@keyframes fsSai {
  0%, 22%  { opacity: 1; text-decoration: none; }
  40%,100% { opacity: .38; text-decoration: line-through; }
}
@keyframes fsEntra {
  0%, 34%  { opacity: .35; transform: translateY(5px); background: rgba(255, 255, 255, .055); }
  52%,100% { opacity: 1; transform: none; background: rgba(74, 222, 128, .16); }
}
@keyframes fsDesceSeta {
  0%, 22%, 60%, 100% { opacity: .3; transform: none; }
  40%                { opacity: 1; transform: translateY(2px); }
}

/* ---- 8. Compartilhar: a imagem do time sendo gerada ---- */
.fs-mini {
  height: 100%; padding: 8px 9px; border-radius: 10px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative; overflow: hidden;
  animation: fsCaptura 4.4s var(--ease) infinite;
}
.fs-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fs-mini-head b { font-size: 8.5px; letter-spacing: .1em; color: var(--cream); }
.fs-mini-head em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--orange-soft); }
.fs-mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.fs-mini-grid i {
  height: 11px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
}
.fs-shine {
  position: absolute; top: -60%; left: -60%; width: 55%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: rotate(18deg);
  animation: fsShine 4.4s var(--ease) infinite;
}
@keyframes fsShine { 0% { left: -60%; } 46%, 100% { left: 130%; } }
@keyframes fsCaptura {
  0%, 40%  { transform: scale(1); }
  50%      { transform: scale(.955); }
  62%,100% { transform: scale(1); }
}
.fs-flash {
  position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none;
  animation: fsFlash 4.4s var(--ease) infinite;
}
@keyframes fsFlash { 0%, 44% { opacity: 0; } 50% { opacity: .3; } 58%, 100% { opacity: 0; } }

/* Congela os 8 palcos enquanto a grade não está em cena (script.js liga
   .anim-on). Precisa vir DEPOIS de tudo e com especificidade alta: o
   shorthand `animation:` das regras acima reseta animation-play-state
   pra running, então a pausa perderia por ordem e por especificidade. */
.feature-grid:not(.anim-on) .feat-stage,
.feature-grid:not(.anim-on) .feat-stage * { animation-play-state: paused; }

/* ====================== AO VIVO ====================== */
.live-section { position: relative; overflow: hidden; padding: 90px 22px; }
.live-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px 480px at 78% 20%, rgba(234, 92, 31, .18), transparent 65%),
    radial-gradient(520px 420px at 10% 85%, rgba(255, 59, 48, .10), transparent 65%);
}
.live-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.live-copy h2 { font-size: clamp(28px, 4.2vw, 44px); margin: 18px 0 16px; }
.live-copy .lead { margin-bottom: 30px; }
.live-copy .lead strong { color: var(--text); font-weight: 700; }

.live-points { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.live-points li { display: flex; gap: 14px; align-items: flex-start; }
.lp-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--orange-soft), var(--orange-deep));
  box-shadow: 0 8px 20px -10px rgba(234, 92, 31, .9);
}
.live-points h3 { font-size: 16.5px; margin-bottom: 3px; }
.live-points p { color: var(--text-dim); font-size: 14.5px; }

.live-cta {
  display: inline-block;
  background: linear-gradient(120deg, var(--orange-soft), var(--orange));
  color: #fff; font-weight: 700; font-size: 15.5px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(234, 92, 31, .9);
  transition: transform .25s var(--ease), filter .25s;
}
.live-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* --- demo do feed --- */
.live-demo { position: relative; display: flex; justify-content: center; }
.live-demo-glow {
  position: absolute; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(234, 92, 31, .45), transparent 65%);
  filter: blur(45px); z-index: 0;
}
.feed-screen {
  border-radius: 32px;
  background: linear-gradient(180deg, #2D3140, #212431);
  padding: 46px 14px 18px;
  height: 452px;
  overflow: hidden;
}
.feed-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 12px;
}
.feed-title {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--text-dim);
}
.feed-score { font-size: 17px; font-weight: 800; color: #34d058; }

.feed-list { display: flex; flex-direction: column; gap: 9px; }
.feed-card {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 14px;
  background: rgba(45, 49, 64, .8);
  border: 1px solid rgba(255, 255, 255, .07);
  animation: feedIn .42s var(--ease) both;
}
.feed-card.mine {
  background: linear-gradient(120deg, rgba(234, 92, 31, .95), rgba(138, 52, 19, .95));
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 12px 28px -14px rgba(234, 92, 31, .9);
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}
.fd-ico {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: 15px;
  background: rgba(255, 255, 255, .08);
}
.feed-card.mine .fd-ico { background: rgba(255, 255, 255, .2); }
.fd-body { flex: 1 1 auto; min-width: 0; display: block; }
.fd-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; line-height: 1.25;
}
.fd-sub { display: block; font-size: 11.5px; color: var(--text-dim); line-height: 1.3; }
.feed-card.mine .fd-sub { color: rgba(255, 255, 255, .8); }
.fd-pts { flex: 0 0 auto; font-size: 14px; font-weight: 800; color: #34d058; }
.feed-card.mine .fd-pts { color: #fff; }
.fd-pts.neg { color: #ff6b6b; }
.feed-card.anulado { border-color: rgba(255, 59, 48, .5); background: rgba(255, 59, 48, .08); }
.feed-card.anulado .fd-name { text-decoration: line-through; color: var(--text-dim); }
.feed-card.anulado .fd-pts { color: var(--live); }
.fd-mine-tag {
  font-size: 9px; font-weight: 800; letter-spacing: .08em;
  background: rgba(255, 255, 255, .22); color: #fff;
  padding: 2px 6px; border-radius: 5px; flex: 0 0 auto;
}

/* ====================== GALLERY ====================== */
.gallery { padding: 60px 0 90px; }
.gallery-track {
  display: flex; gap: 26px;
  overflow-x: auto;
  padding: 24px max(22px, calc((100vw - var(--maxw)) / 2 + 22px));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.phone-sm {
  flex: 0 0 auto;
  width: 232px; padding: 9px; border-radius: 34px;
  scroll-snap-align: center;
  transition: transform .35s var(--ease);
}
.phone-sm img { border-radius: 26px; }
.phone-sm:hover { transform: translateY(-10px) scale(1.02); }

/* ====================== FAQ ====================== */
.faq { max-width: 760px; margin: 0 auto; padding: 70px 22px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(45, 49, 64, .4);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer;
  color: var(--text);
  font-family: inherit; font-size: 16.5px; font-weight: 600; text-align: left;
  padding: 20px 22px;
}
.faq-chevron {
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(-135deg); }
.faq-q[aria-expanded="true"] { color: var(--orange-soft); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a p { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* ====================== CTA FINAL ====================== */
.cta-final { padding: 40px 22px 100px; }
.cta-panel {
  position: relative; overflow: hidden;
  max-width: 880px; margin: 0 auto; text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(234, 92, 31, .25);
}
.cta-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(234, 92, 31, .4), transparent 65%);
  filter: blur(50px); z-index: 0;
}
.cta-panel > *:not(.cta-glow) { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.cta-panel p { color: var(--text-dim); font-size: 17px; margin-bottom: 28px; }

/* ====================== FOOTER ====================== */
.footer { border-top: 1px solid rgba(255, 255, 255, .07); padding: 50px 22px 36px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { border-radius: 11px; }
.footer-tag { color: var(--text-dim); font-size: 13.5px; margin-top: 2px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-weight: 600; font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--orange-soft); }
.footer-legal {
  max-width: var(--maxw); margin: 30px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .05);
}
.footer-legal p { color: #6b6f7d; font-size: 12.5px; line-height: 1.6; }

/* ====================== consent (LGPD) ====================== */
.consent {
  position: fixed; z-index: 200;
  left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(640px, calc(100% - 28px));
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(33, 36, 49, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-card);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 280px; font-size: 13.5px; color: var(--text-dim); }
.consent p a { color: var(--orange-soft); }
.consent-actions { display: flex; gap: 10px; }
.consent-btn {
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 0;
  background: linear-gradient(120deg, var(--orange-soft), var(--orange)); color: #fff;
}
.consent-btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .18); color: var(--text-dim); }

/* ====================== reveal animation ====================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .store-buttons { justify-content: center; }
  .convite-row { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .live-inner { grid-template-columns: 1fr; gap: 44px; }
  .live-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .live-points { text-align: left; max-width: 460px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 60px 0 auto 0;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(21, 23, 31, .97);
    backdrop-filter: blur(16px);
    padding: 16px 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
  }
  .nav-links a { padding: 12px 6px; font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-open .nav-links { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 48px 20px 70px; }
  .float-card { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .live-section { padding: 64px 20px; }
  .nav-live { align-self: flex-start; }
}

/* ====================== reduced motion ====================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
