/* ============================================================
   JJ RIFAS — bridge page
   Estética: inventário de jogo / ficha técnica. Escuro, alto
   contraste, muito espaço negativo.
   ============================================================ */

:root {
  --void: #08080A;
  --steel: #141419;
  --line: #2A2A33;
  --gold: #E8A317;
  --gold-dim: #7A5A0E;
  --wa: #25D366;
  --chrome: #C9CCD1;
  --ash: #75757F;

  --font-display: "Archivo Black", sans-serif;
  --font-body: "Barlow Condensed", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

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

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

body {
  background: var(--void);
  color: var(--chrome);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  min-height: 100dvh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

/* ---------- Barra de marca ---------- */

.brand-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(232, 163, 23, 0.6); }
  50%      { opacity: 0.35; box-shadow: 0 0 0 rgba(232, 163, 23, 0); }
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chrome);
  white-space: nowrap;
}

/* ---------- Herói ---------- */

.hero {
  padding: 28px 0 48px;
}

.hero-strike {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ash);
  text-decoration: line-through;
  text-decoration-color: var(--ash);
  letter-spacing: 0.02em;
}

.hero-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 34vw, 8.5rem);
  line-height: 0.95;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.hero-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.75rem, 9vw, 2.25rem);
  letter-spacing: 0.01em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-copy {
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--chrome);
  margin-top: 16px;
  max-width: 34ch;
}

.gold {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Grid de slots (assinatura) ---------- */

.slot-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 24px;
}

.slot {
  aspect-ratio: 1;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.slot--filled {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(232, 163, 23, 0.55), 0 0 32px rgba(232, 163, 23, 0.25);
  animation: slot-glow 2.4s ease-in-out infinite;
}

@keyframes slot-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(232, 163, 23, 0.55), 0 0 32px rgba(232, 163, 23, 0.25); }
  50%      { box-shadow: 0 0 6px rgba(232, 163, 23, 0.3), 0 0 16px rgba(232, 163, 23, 0.1); }
}

.slot-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ash);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ---------- Prova social (descomente o bloco no index.html) ---------- */

.proof {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- CTA ---------- */

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--wa);
  color: #06120A;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: box-shadow 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}

.cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), 0 0 24px rgba(37, 211, 102, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.cta-icon {
  flex-shrink: 0;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ash);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ---------- Seções ---------- */

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-label::before {
  content: "// ";
  color: var(--gold-dim);
}

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 10px;
  max-width: 18ch;
}

/* ---------- Passos ---------- */

.steps {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 16px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 2px;
}

.step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}

.step-text {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--chrome);
  margin-top: 4px;
}

/* ---------- Fechamento ---------- */

.close-copy {
  font-size: 1.3rem;
  color: var(--chrome);
  margin-top: 16px;
}

/* ---------- Rodapé ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.6;
  color: var(--ash);
  letter-spacing: 0.02em;
}

/* ---------- Acessibilidade / movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  .brand-dot,
  .slot--filled {
    animation: none;
  }
  .cta {
    transition: none;
  }
}
