/* ─── Google Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── @property para spotlight border ───────────────────────────────────── */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS — fonte da verdade: index.css da WebApp Prysma
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Superfícies */
  --void: #060609;
  --deep: #0a0b10;
  --surface: #0f1018;
  --surface-alt: #13141e;
  --surface-up: #181a26;
  --surface-high: #1e2030;

  /* Bordas */
  --border: rgba(139, 92, 246, 0.12);
  --border-glow: rgba(139, 92, 246, 0.35);
  --border-subtle: rgba(139, 92, 246, 0.06);

  /* Primária — violeta prysma (oklch 0.68 0.22 295) */
  --primary: #8b5cf6;
  --primary-dim: #6d28d9;
  --primary-bright: #a78bfa;
  --primary-glow: rgba(139, 92, 246, 0.15);
  --primary-faint: rgba(139, 92, 246, 0.07);

  /* Rosa prysma — BrainFloating (oklch 0.62 0.28 330) */
  --rose: #d64e98;
  --rose-bright: #e07ab8;
  --rose-dim: #a33878;
  --rose-glow: rgba(214, 78, 152, 0.20);
  --rose-faint: rgba(214, 78, 152, 0.08);

  /* Âmbar — chart & dados */
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-dim: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.20);

  /* Texto */
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --text-accent: #c4b5fd;
  --text-rose: #f0abcf;

  /* Status */
  --success: #10b981;
  --countdown-urgent: #ef4444;

  /* Fontes (WebApp: Space Grotesk + Space Mono + Playfair Display) */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Raios */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Espaçamento base */
  --space-section: 100px;
  --space-block: 56px;
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* #11 — trava scroll enquanto nos estados 0-3 */
  overflow: hidden;
  overscroll-behavior: none;
  height: 100%;
}

/* iOS Safari: -webkit-overflow-scrolling:touch causa bounce mesmo com overflow:hidden */
/* Desbloqueado pelo JS ao entrar no State 4 (LP) */
html.lp-unlocked {
  overflow-y: auto;
  height: auto;
}

body {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── Canvas estelar ──────────────────────────────────────────────────────── */
#star-canvas {
  position: fixed;
  inset: 0;
  z-index: -2; /* Atrás de todo o conteúdo, mas acima do void base */
  pointer-events: none;
}

/* ─── Grain overlay ───────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes spin-border {
  to {
    --angle: 360deg;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

@keyframes orbital-dash {
  from {
    stroke-dashoffset: 220;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes progress-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes urgent-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-pulse-violet {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.35), 0 0 60px rgba(139, 92, 246, 0.12);
  }

  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.65), 0 0 100px rgba(139, 92, 246, 0.22);
  }
}

@keyframes glow-pulse-rose {

  0%,
  100% {
    box-shadow: 0 0 18px rgba(214, 78, 152, 0.30), 0 0 50px rgba(214, 78, 152, 0.10);
  }

  50% {
    box-shadow: 0 0 36px rgba(214, 78, 152, 0.55), 0 0 80px rgba(214, 78, 152, 0.20);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes glow-pulse-dual {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.35), 0 0 60px rgba(214, 78, 152, 0.12);
  }

  50% {
    box-shadow: 0 0 40px rgba(214, 78, 152, 0.65), 0 0 100px rgba(139, 92, 246, 0.22);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.15;
  }

  33% {
    transform: translateY(-6px) rotate(2deg);
    opacity: 0.25;
  }

  66% {
    transform: translateY(-3px) rotate(-1deg);
    opacity: 0.18;
  }
}

@keyframes shimmer-linear {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes scale-hover {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Glass morphism — legibilidade sobre o canvas */
.glass {
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
}

.glass-light {
  background: rgba(15, 16, 24, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Spotlight border — giratório */
.spotlight-border {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--angle), transparent 75%, var(--primary) 100%) border-box;
  border: 1px solid transparent;
  animation: spin-border 4s linear infinite;
}

.spotlight-border:focus,
.spotlight-border:focus-within {
  animation: spin-border 2s linear infinite;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--angle), transparent 55%, var(--primary) 100%) border-box;
}

.spotlight-border-alt {
  background:
    linear-gradient(var(--surface-alt), var(--surface-alt)) padding-box,
    conic-gradient(from var(--angle), transparent 75%, var(--primary) 100%) border-box;
  border: 1px solid transparent;
  animation: spin-border 5s linear infinite;
}

.spotlight-border-rose {
  background:
    linear-gradient(var(--surface-alt), var(--surface-alt)) padding-box,
    conic-gradient(from var(--angle), transparent 75%, var(--rose) 100%) border-box;
  border: 1px solid transparent;
  animation: spin-border 4s linear infinite;
}

.spotlight-border-audio {
  position: relative;
}

.spotlight-border-audio::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 60%, var(--primary-bright) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spin-border 2.5s linear infinite;
  pointer-events: none;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--rose-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  font-style: inherit;
}

.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Versão itálica do degradê (para frases dentro de blocos em italic) */
.gradient-text-italic {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--rose-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  font-style: italic;
}

.text-rose-prysma {
  color: var(--rose-bright) !important;
  font-size: 18px;
}

/* Revelação cadencial */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Revelação progressiva vinculada ao scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(10px);
  /* Transição linear curta para suavizar o movimento sem lag */
  transition: opacity 0.15s linear, transform 0.15s linear, filter 0.15s linear;
  will-change: opacity, transform, filter;
}

/* State hidden */
.state-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
}

[data-state] {
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOTÕES
   ═══════════════════════════════════════════════════════════════════════════ */
.btn-primary {
  width: 100%;
  min-height: 52px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* #15 — Botão "INICIAR ABDUÇÃO" com efeitos completos do btn-cta */
#code-submit-btn {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  border: 1px solid rgba(167, 139, 250, 0.40);
  border-radius: var(--radius-lg);
  animation: glow-pulse-violet 2.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

#code-submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  pointer-events: none;
}

#code-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.1);
  box-shadow: none;
}

/* Rosa — para Estado 2 (substitui gold) */
.btn-rose {
  width: 100%;
  min-height: 52px;
  background: linear-gradient(135deg, var(--rose-dim), var(--rose));
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s ease;
  animation: glow-pulse-rose 3s ease-in-out infinite;
}

.btn-rose:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn-rose:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  animation: none;
}

/* CTA final — violeta com glow pulsante */
.btn-cta {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 60px;
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 60px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: 1px solid rgba(167, 139, 250, 0.4);
  transition: all 0.35s ease;
  animation: glow-pulse-violet 2.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.1);
}

.btn-continue {
  align-self: flex-end;
  min-height: 48px;
  padding: 0 32px;
  background: transparent;
  color: var(--primary-bright);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
}

.btn-continue:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   COUNTDOWN BAR (fixo topo)
   ═══════════════════════════════════════════════════════════════════════════ */
#countdown-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(6, 6, 9, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  font-family: var(--font-mono);
}

#countdown-bar .bar-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--primary-bright);
  text-transform: lowercase;
}

#countdown-bar .bar-timer {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

#countdown-bar .bar-timer .countdown-display {
  color: var(--text-muted);
  font-size: 12px;
}

#countdown-bar .bar-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADO 0 — CÓDIGO
   ═══════════════════════════════════════════════════════════════════════════ */
#state-0 {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding-bottom cria espaço para o fine-print absoluto (#12) */
  padding: 0 24px 56px;
  text-align: center;
  position: relative;
}

/* Fundo com estrelas estáticas + cadentes (70% opacidade) para State 0 */
#state-0::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 10% 90%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200% 200%, 150% 150%, 180% 180%, 160% 160%, 170% 170%, 190% 190%, 140% 140%;
  background-position: 0% 0%, 40% 60%, 130% 270%, 70% 100%, 150% 140%, 90% 210%, 130% 80%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.code-screen-logo {
  position: fixed;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--primary-bright);
  text-transform: lowercase;
}

.prism-ornament {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  flex-shrink: 0;
  animation: float-slow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 5px rgba(167, 139, 250, 0.35));
}

.code-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 48px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.code-subheadline {
  font-size: clamp(13px, 2vw, 16px);
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 420px;
  line-height: 2;
  text-align: center;
}

.code-sub-invite {
  color: var(--text-accent);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* s0 — badge pill "pessoal e intransferível" */
.s0-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214, 78, 152, 0.08);
  border: 1px solid rgba(214, 78, 152, 0.3);
  border-radius: 99px;
  padding: 5px 10px;
  margin-bottom: 36px;
}

.s0-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-bright);
  flex-shrink: 0;
  animation: glow-pulse-rose 2s ease-in-out infinite;
}

.s0-pill-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--rose-bright);
  letter-spacing: 0.15em;
}

/* s0 — label acima do input */
.s0-input-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

/* s0 — box do countdown */
.s0-countdown-box {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 20px 32px;
}

.code-sub-freq {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.88em;
  letter-spacing: 0.12em;
}

.code-form {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.code-input {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: var(--radius-lg);
  outline: none;
  transition: all 0.3s ease;
  min-height: 52px;
}

.code-input::placeholder {
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0.06em;
}

/* #07 — apenas glow externo (border pulse), sem glow interno */
@keyframes error-border-pulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(214, 78, 152, 0.22), 0 0 0 1px rgba(214, 78, 152, 0.35);
  }

  50% {
    box-shadow: 0 0 28px rgba(214, 78, 152, 0.60), 0 0 60px rgba(214, 78, 152, 0.18), 0 0 0 1px rgba(214, 78, 152, 0.55);
  }
}

/* #08 — mesma largura do formulário (max-width: 360px) */
.error-msg {
  width: 100%;
  max-width: 360px;
  /* igual ao .code-form */
  margin-top: 12px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--rose-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-align: left;
  border-radius: var(--radius-lg);
  background: var(--rose-faint);
  border: 1px solid rgba(214, 78, 152, 0.35);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: opacity 0.35s ease, transform 0.35s ease;
  animation: error-border-pulse 2s ease-in-out infinite;
}

/* #07 — ::before removido (sem glow interno) */
.error-msg::before {
  display: none;
}

/* Ícone "!" em círculo preenchido */
.error-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--rose-bright);
  color: #060609;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.error-text {
  line-height: 1.8;
}

.error-msg.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  animation: none;
}

/* Countdown — no fluxo central (#12) */
.code-countdown-wrapper {
  margin-top: 53px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.code-countdown-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.code-countdown-display {
  font-family: var(--font-mono);
  font-size: clamp(22px, 4vw, 30px);
  color: var(--primary-bright);
  letter-spacing: 0.08em;
}

.code-countdown-display.urgent {
  color: var(--countdown-urgent);
  animation: urgent-pulse 1s ease-in-out infinite;
}

/* Fine-print — absoluto no rodapé (#12) */
.code-fine-print {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* #01 — State 0: todos os elementos começam invisíveis (fade-in via JS) */
#state-0 .prism-ornament,
#state-0 .code-headline,
#state-0 .code-subheadline,
#state-0 .s0-pill-badge,
#state-0 .s0-input-label,
#state-0 .code-form,
#state-0 .code-countdown-wrapper,
#state-0 .code-fine-print {
  opacity: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADOS 1 & 2 — PERGUNTA E FORMULÁRIO
   ═══════════════════════════════════════════════════════════════════════════ */
#state-1,
#state-2 {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 24px 60px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Fundo com estrelas estáticas + cadentes (70% opacidade) para States 1 & 2 */
#state-1::before,
#state-2::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 10% 90%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200% 200%, 150% 150%, 180% 180%, 160% 160%, 170% 170%, 190% 190%, 140% 140%;
  background-position: 0% 0%, 40% 60%, 130% 270%, 70% 100%, 150% 140%, 90% 210%, 130% 80%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.state-logo {
  position: fixed;
  top: 26px;
  left: 28px;
  z-index: 10;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--primary-bright);
  text-transform: lowercase;
}

/* ── Botão VOLTAR — canto superior esquerdo (lp-funnel) ────────────── */
.back-link {
  position: fixed;
  top: 50px;
  left: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.28s ease;
  opacity: 0;
  pointer-events: none;
}

.back-link:hover {
  color: var(--primary-bright);
}

.back-link span:first-child {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.28s ease;
}

.back-link:hover span:first-child {
  transform: translateX(-4px);
}

/* Mostrar quando a classe .visible está presente */
.back-link.visible {
  opacity: 1;
  pointer-events: auto;
}

#lp-back-btn-scroll {
  position: absolute !important;
  top: 68px;
}

/* ── Botão AVANÇAR — canto superior direito (lp-funnel) ────────────── */
.forward-link {
  position: fixed;
  top: 50px;
  right: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.28s ease;
  opacity: 0;
  pointer-events: none;
}

.forward-link:hover {
  color: var(--primary-bright);
}

.forward-link span:last-child {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.28s ease;
}

.forward-link:hover span:last-child {
  transform: translateX(4px);
}

.forward-link.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Barra de progresso LP — redimensionada e contagem removida ────── */
.lp-progress {
  height: 4px;
  padding: 16px 24px;
}

.lp-prog-label {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUBSTATE 4.0 — Vídeo Background + Som + Barra Arrastável
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Cover: Capa de Entrada ── */
.lp-s0-cover {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.lp-s0-cover.active {
  display: flex;
  pointer-events: all;
}

.lp-s0-cover.exiting {
  opacity: 0;
  pointer-events: none;
}

.lp-s0-cover-title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  text-align: center;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lp-s0-cover-title.revealed {
  opacity: 1;
}

.lp-s0-cover-btn {
  all: unset;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(10, 11, 16, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
  animation: lp-cover-btn-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both, lp-cover-btn-pulse 2.2s ease-in-out 1.6s infinite;
}

/* Badge rosa — bolinha de notificação */
.lp-s0-cover-badge {
  position: absolute;
  top: -8px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose, #d64e98);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(214,78,152,0.6);
  pointer-events: none;
}

/* "1 nova" em negrito roxo */
.lp-s0-cover-highlight {
  color: var(--primary-bright);
  font-weight: 700;
}

/* "• ver ›" */
.lp-s0-cover-ver {
  color: var(--primary-bright);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Seta animada */
.lp-s0-cover-arrow {
  display: inline-block;
  animation: lp-cover-arrow-nudge 1s ease-in-out infinite;
}

@keyframes lp-cover-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

.lp-s0-cover-btn:hover {
  border-color: rgba(139,92,246,0.8);
  color: #fff;
  box-shadow: 0 0 32px rgba(139,92,246,0.3);
}

@keyframes lp-cover-btn-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lp-cover-btn-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.4); }
  50%       { box-shadow: 0 0 36px rgba(139,92,246,0.5);  border-color: rgba(139,92,246,0.95); }
}

/* ── LP-SUB-3: Stack de notificações ─────────────────────────── */
/* Stack — posicionamento absoluto, altura fixa */
.lp-s3-msg-stack {
  position: relative;
  width: 100%;
  height: 130px;
}

/* Msg 2 wrapper — absolute, centrado, SEM overflow:hidden */
.lp-s3-msg-new {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  overflow: visible !important;
  opacity: 0 !important;
  transform: translateX(-50%) translateY(-8px) !important;
  pointer-events: none !important;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lp-s3-msg-new.visible {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: all !important;
}

/* Msg 2 button — tamanho natural (igual LP-SUB-0), sem animação padrão */
#lp-s3-cover-btn-new {
  white-space: nowrap !important;
  animation: none !important;
}

/* Pulse só após wrapper visível */
.lp-s3-msg-new.visible #lp-s3-cover-btn-new {
  animation: lp-cover-btn-pulse 2.2s ease-in-out 0.55s infinite !important;
}

/* Msg 1 — absolute, centrada, desliza para baixo quando msg2 entra */
#lp-s3-cover-btn {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  white-space: nowrap !important;
  transform: translateX(-50%) !important;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Quando msg2 entra: msg1 desliza 77px pra baixo (47px botão + 30px gap) */
.lp-s3-msg-new.visible ~ #lp-s3-cover-btn {
  transform: translateX(-50%) translateY(77px) !important;
}

/* Msg 1 — estado "visto": sem pulse, opaca, travada */
.lp-cover-msg-seen {
  opacity: 0.38 !important;
  pointer-events: none !important;
  animation: none !important;
  cursor: default !important;
  box-shadow: none !important;
}

/* Animação hologram-on: vídeo entra como TV sendo ligada */
@keyframes lp-hologram-on {
  0%   { transform: translateX(-50%) scaleY(0.04); filter: brightness(2.5) contrast(1.4); opacity: 0;    }
  40%  { transform: translateX(-50%) scaleY(1.02); filter: brightness(1.4) contrast(1.2); opacity: 0.3;  }
  70%  { transform: translateX(-50%) scaleY(0.99); filter: brightness(1.2) contrast(1.1); opacity: 0.36; }
  100% { transform: translateX(-50%) scaleY(1);    filter: brightness(1.15) contrast(1.1); opacity: 0.4; }
}

.lp-s0-video.hologram-on {
  animation: lp-hologram-on 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Container com vídeo background */
.lp-s0-video-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lp-s0-video {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-width: 100vw;
  object-fit: cover;
  z-index: 2;
  background: transparent !important;
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.1);
  opacity: 0;
}

/* Suprime sobreposição nativa do browser em vídeos sem controles (iOS/Android) */
.lp-s0-video::-webkit-media-controls { display: none !important; }
.lp-s0-video::-webkit-media-controls-enclosure { display: none !important; }
.lp-s0-video::-webkit-media-controls-overlay-play-button { display: none !important; }
.lp-s0-video::-webkit-media-controls-start-playback-button { display: none !important; }
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; }

/* ── Esconde play button overlay em lp-sub-2 (simulação chat) ── */
#lp-sub-2 .lp-s0-video::after {
  display: none !important;
}

#lp-sub-2 .lp-s0-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

/* ── Botão de Som (Circular, Rosa) ── */
/* ── Custom Video Player UI (LP-SUB-0) ── */
/* ── Custom Video Player UI (LP-SUB-0) — Aureolar Capsule ── */
/* Wrapper colapsável */
.lp-s0-player-wrap {
  position: fixed;
  right: 24px;
  top: 72px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lp-s0-player-wrap.is-collapsed {
  transform: translateX(150%);
  pointer-events: none;
}

.lp-s0-player-wrap.is-collapsed .lp-s0-dismiss-hint {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0s !important;
}

/* Dismiss hint ">" */
.lp-s0-dismiss-hint {
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.2s ease;
  animation: s0-dismiss-nudge 2.4s ease-in-out infinite;
}
.lp-s0-dismiss-hint:hover { opacity: 1; animation: none; }
.lp-s0-dismiss-hint svg { width: 20px; height: 20px; }

@keyframes s0-dismiss-nudge {
  0%   { transform: translateY(-50%) translateX(0);   opacity: 0.45; }
  40%  { transform: translateY(-50%) translateX(8px);  opacity: 1;    }
  60%  { transform: translateY(-50%) translateX(8px);  opacity: 1;    }
  100% { transform: translateY(-50%) translateX(0);   opacity: 0.45; }
}

/* Flag minimizado */
.lp-s0-mini-flag {
  position: fixed;
  top: 130px;
  right: 0;
  width: 44px;
  height: 60px;
  background: rgba(10,10,14,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: -4px 4px 24px rgba(0,0,0,0.5);
  display: none;
}
.lp-s0-mini-flag.visible {
  display: flex;
  transform: translateX(0);
}
.lp-s0-mini-flag svg { width: 18px; height: 18px; transform: scaleX(-1); }

.lp-s0-flag-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lp-s0-mini-flag.is-playing .lp-s0-flag-ring {
  animation: pip-audio-ring 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-s0-player-ui {
  position: relative;
  right: auto;
  top: auto;
  z-index: 100;
  width: 64px;
  height: 260px;
  background: rgba(10, 11, 16, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 99px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, top 0.8s ease, right 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.lp-s0-player-ui.visible {
  opacity: 1;
  pointer-events: all;
}

/* SVG Progress Ring em volta da cápsula (Surgical Alignment) */
.p-progress-ring-svg {
  position: absolute;
  top: -2px; /* Offset para compensar stroke-width: 4 */
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.p-progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 4;
}

.p-progress-ring-fill {
  fill: none;
  stroke: url(#p-s0-grad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.1s linear;
}

/* Gradiente próprio para cada player — evita dependência do sub-0 estar visível */
#p-s3-progress-bar { stroke: url(#p-s3-grad); }
#p-s4-progress-bar { stroke: url(#p-s4-grad); }

.p-btn-play {
  all: unset !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  z-index: 5 !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.p-btn-play:hover {
  transform: scale(1.1) !important;
  color: var(--primary-bright) !important;
}

.p-btn-play svg {
  width: 28px !important;
  height: 28px !important;
  pointer-events: none !important;
}

.p-btn-sound {
  all: unset !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  transition: all 0.3s ease !important;
  z-index: 5 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.p-btn-sound:hover {
  color: #fff !important;
}

.p-btn-sound svg {
  width: 22px !important;
  height: 22px !important;
  pointer-events: none !important;
}

.p-btn-speed {
  all: unset !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
  z-index: 5 !important;
  padding: 0 !important;
}

.p-btn-speed:hover {
  background: var(--surface-high) !important;
  border-color: var(--primary-bright) !important;
  color: #fff !important;
}

.p-btn-cc {
  all: unset !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  color: rgba(255,255,255,0.5) !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 50% !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s ease !important;
  z-index: 5 !important;
  padding: 0 !important;
}

.p-btn-cc:hover {
  background: var(--surface-high) !important;
  border-color: var(--primary-bright) !important;
  color: #fff !important;
}

.p-btn-cc.active {
  color: var(--primary-bright) !important;
  border-color: var(--primary-bright) !important;
  background: rgba(139,92,246,0.15) !important;
}

/* Legendas — overlay customizado (acima da unlock box) */
.lp-s0-subtitle {
  position: fixed;
  bottom: 260px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 100%;
  max-width: 480px;
  padding: 0 36px;
  text-align: center;
  pointer-events: none;
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lp-s0-subtitle span {
  display: inline-block;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0 24px rgba(139,92,246,0.35);
  background: rgba(0,0,0,0.35);
  padding: 4px 12px;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .lp-s0-player-wrap {
    right: 20px;
    top: 20px;
  }
  .lp-s0-player-ui {
    width: 64px;
    height: 260px;
    gap: 18px;
    padding: 20px 0;
  }
}

.lp-s0-sound-icon,
.lp-s3-sound-icon,
.lp-s4-sound-icon,
.lp-s5-sound-icon,
.lp-s6-sound-icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--rose-bright);
  flex-shrink: 0;
  stroke: var(--rose-bright);
}

.lp-s0-sound-text {
  display: none;
}

/* Caixa interativa: Barra arrastável */
.lp-s0-unlock-box,
.lp-s3-unlock-box,
.lp-s4-unlock-box,
.lp-s5-unlock-box,
.lp-s6-unlock-box {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 31;
  width: 100%;
  max-width: 360px;
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: visible;
}

.lp-s0-unlock-box.visible,
.lp-s3-unlock-box.visible,
.lp-s4-unlock-box.visible,
.lp-s5-unlock-box.visible,
.lp-s6-unlock-box.visible {
  opacity: 1;
  pointer-events: auto;
  animation: fadeInUp 0.6s ease-out forwards, glow-pulse-violet 2s ease-in-out infinite;
}

.lp-s0-unlock-label,
.lp-s3-unlock-label,
.lp-s4-unlock-label,
.lp-s5-unlock-label,
.lp-s6-unlock-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: lowercase;
}

/* Barra de progresso arrastável */
.lp-s0-unlock-track,
.lp-s3-unlock-track,
.lp-s4-unlock-track,
.lp-s5-unlock-track,
.lp-s6-unlock-track {
  position: relative;
  width: 100%;
  height: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: visible;
  /* thumb precisa transbordar sem ser cortado */
  cursor: grab;
  touch-action: none;
  margin: 10px 0;
  /* espaço vertical para o thumb sobressair */
}

.lp-s0-unlock-track:active,
.lp-s3-unlock-track:active,
.lp-s4-unlock-track:active,
.lp-s5-unlock-track:active,
.lp-s6-unlock-track:active {
  cursor: grabbing;
}

.lp-s0-unlock-fill,
.lp-s3-unlock-fill,
.lp-s4-unlock-fill,
.lp-s5-unlock-fill,
.lp-s6-unlock-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  /* mantém arredondamento sem overflow:hidden no pai */
  z-index: 1;
  pointer-events: none;
}

.lp-s0-unlock-thumb,
.lp-s3-unlock-thumb,
.lp-s4-unlock-thumb,
.lp-s5-unlock-thumb,
.lp-s6-unlock-thumb {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.97);
  border: 2.5px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: grab;
  padding: 0;
  transition: box-shadow 0.28s ease, transform 0.15s ease;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Slider Tooltip (States com Slider: 4.3 / 4.4 / 4.5 / 4.6) */
.lp-s3-tooltip,
.lp-s5-tooltip,
.lp-s6-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #181818;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 105;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lp-s3-tooltip::after,
.lp-s5-tooltip::after,
.lp-s6-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #181818 transparent transparent transparent;
}

.lp-s3-tooltip.active,
.lp-s5-tooltip.active,
.lp-s6-tooltip.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Captions (Legendas do Slider) */
.lp-s3-unlock-captions {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 8px;
}

.lp-s3-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

/* Botão Avançar dentro do Box (Só aparece no Slider após interação) */
.lp-s3-unlock-box {
  padding-bottom: 48px; /* Espaço para o botão que sobrepõe a borda */
}

.lp-s3-next-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 52px;
  height: 52px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 10;
  font-size: 20px;
  padding: 0;
}

.lp-s3-next-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) {
  .lp-s3-next-btn:hover {
    background: var(--rose-dim);
    transform: translate(-50%, 50%) scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  }
}

.lp-s3-next-btn:active {
  transform: translate(-50%, 50%) scale(0.95);
  filter: brightness(0.9);
  transition: transform 0.05s linear;
}

.lp-s0-unlock-thumb:hover,
.lp-s0-unlock-thumb:active {
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.75), 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ── Substate 4.5 — IA Familiarity Digital ── */

.lp-s5-unlock-box,
.lp-s6-unlock-box {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 31;
  width: 100%;
  max-width: 360px;
  padding: 24px 24px 28px;
  /* Otimizado: menos topo, espaço para legendas antes da borda */
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: visible;
  /* Necessário para o botão 'Avançar' sobreposto */
}

.lp-s5-unlock-box.visible,
.lp-s6-unlock-box.visible {
  opacity: 1;
  pointer-events: auto;
  animation: fadeInUp 0.6s ease-out forwards, glow-pulse-violet 2s ease-in-out infinite;
}

.lp-s5-tooltip,
.lp-s6-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  /* Otimizado: mais perto do thumb */
  left: 50%;
  transform: translateX(-50%);
  background: #181818;
  color: #ffffff;
  padding: 4px 10px;
  /* Mais compacto */
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  /* Um pouco menor */
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 105;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lp-s5-tooltip::after,
.lp-s6-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #181818 transparent transparent transparent;
}

.lp-s5-tooltip.active,
.lp-s6-tooltip.active {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.lp-s5-unlock-box.is-dragging .lp-s0-unlock-fill,
.lp-s6-unlock-box.is-dragging .lp-s0-unlock-fill {
  transition: none !important;
}

.lp-s5-unlock-captions,
.lp-s6-unlock-captions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  padding: 0 4px;
}

.lp-s5-caption,
.lp-s6-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-s5-footer,
.lp-s6-footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  /* Centralizado e 50% para fora */
  width: auto;
  z-index: 110;
}

.lp-s5-next-btn,
.lp-s6-next-btn {
  width: 48px;
  /* Um pouco mais compacto para sincronia visual */
  height: 48px;
  border-radius: 50%;
  background: var(--primary-bright);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Borda sutil de destaque */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.5);
}

.lp-s5-next-btn.visible,
.lp-s6-next-btn.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.lp-s5-next-btn:hover,
.lp-s6-next-btn:hover {
  transform: scale(1.1);
  background: var(--rose-bright);
  box-shadow: 0 0 25px rgba(214, 78, 152, 0.6);
}

.step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.25em;
  margin-bottom: 20px;
}

.step-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.5vw, 48px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADO 2 — estilos específicos (espelha State 1)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Centralizar todos os elementos */
#state-2 {
  align-items: center;
}

/* Estados iniciais invisíveis */
.s2-logo,
.s2-headline,
#s2-form-fields,
#s2-lgpd-note {
  opacity: 0;
}

/* #06 — especificidade dupla (0,2,0,0) sobrepõe #submit-btn:disabled (0,1,1,0) */
#state-2 #submit-btn {
  opacity: 0;
}

/* Logo com Float/Drift */
.s2-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 22px;
  animation: float-slow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.50)) drop-shadow(0 0 4px rgba(167, 139, 250, 0.30));
}

/* Badge frequência glass morphism rosa */
@keyframes s2-badge-pulse {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(214, 78, 152, 0.15), 0 0 0 1px rgba(214, 78, 152, 0.1);
  }

  50% {
    box-shadow: 0 0 25px rgba(214, 78, 152, 0.35), 0 0 0 1px rgba(214, 78, 152, 0.2);
  }
}

@keyframes s2-badge-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.s2-freq-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  margin-bottom: 32px;
  width: 100%;
  background: rgba(214, 78, 152, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 78, 152, 0.28);
  border-radius: var(--radius-lg);
  opacity: 0;
  pointer-events: none;
  position: relative;
  /* #24 — para o spotlight border */
}

/* Spotlight Border — Feixe luminoso rotativo */
.s2-freq-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 70%, var(--rose-bright) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 3.5s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.s2-freq-badge.visible {
  animation: s2-badge-in 0.55s ease forwards, s2-badge-pulse 4s ease-in-out infinite 0.6s;
  pointer-events: auto;
}

.s2-freq-badge.visible::before {
  opacity: 1;
}

.s2-freq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s2-freq-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-rose);
  letter-spacing: 0.07em;
  line-height: 1.5;
}

/* Headline — 2 linhas, centrada (#05) */
.s2-headline {
  font-size: clamp(18px, 3.8vw, 34px) !important;
  margin-bottom: 32px;
  text-align: center;
  width: 100%;
  line-height: 1.35;
}

.s2-line1 {
  color: var(--text);
}

/* Linha 2: degradê animado (rotacionando pela letra) */
.s2-line2.gradient-text {
  font-weight: 700;
  background-image: linear-gradient(270deg, var(--primary-bright), var(--rose-bright), var(--primary-bright));
  background-size: 200% auto;
  animation: gradient-shift 6s linear infinite;
}

/* Botão "ABRIR CONVITE" com layout CTA */
#submit-btn {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  border: 1px solid rgba(167, 139, 250, 0.40);
  border-radius: var(--radius-lg);
  animation: glow-pulse-violet 2.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  width: 100%;
  align-self: stretch;
}

#submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  pointer-events: none;
}

#submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.1);
  box-shadow: none;
}

#submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  animation: none;
  filter: none;
}

/* LGPD note centralizada */
#s2-lgpd-note {
  text-align: center;
  align-self: stretch;
  margin-top: 14px;
}

/* Spotlight border igual ao State 0 (#07) */

.textarea-field {
  width: 100%;
  min-height: 168px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  outline: none;
  resize: vertical;
  transition: all 0.3s ease;
}

.textarea-field::placeholder {
  color: var(--text-dim);
}

.input-field {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 15px 20px;
  border-radius: var(--radius);
  outline: none;
  transition: all 0.3s ease;
  min-height: 52px;
}

.input-field::placeholder {
  color: var(--text-dim);
}

.form-fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.field-note,
.lgpd-note {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 14px;
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADO 3 — BOAS-VINDAS / CARREGAMENTO
   ═══════════════════════════════════════════════════════════════════════════ */
#state-3 {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
  /* bg com baixa opacidade para deixar o canvas de estrelas e cadentes visíveis */
  background: rgba(6, 6, 9, 0.55);
}

/* Fundo com estrelas estáticas + cadentes (70% opacidade) para State 3 */
#state-3::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 10% 90%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200% 200%, 150% 150%, 180% 180%, 160% 160%, 170% 170%, 190% 190%, 140% 140%;
  background-position: 0% 0%, 40% 60%, 130% 270%, 70% 100%, 150% 140%, 90% 210%, 130% 80%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

/* #04 — Logo com Float/Drift */
.s3-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin-bottom: 28px;
  opacity: 0;
  animation: float-slow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 5px rgba(167, 139, 250, 0.35));
}

/* #04 — Saudação (#07 +16px) */
.s3-greeting {
  font-family: var(--font-mono);
  font-size: 29px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  opacity: 0;
}

/* #08 — Nome em negrito */
.s3-greeting .gradient-text {
  font-weight: 700;
}

/* #04 — Título principal */
.s3-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.5vw, 44px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
  opacity: 0;
}

/* #04 — Subtítulo */
.s3-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  margin-bottom: 40px;
  opacity: 0;
}

/* #05 — Barra de progresso */
.s3-bar-track {
  width: 100%;
  max-width: 360px;
  height: 3px;
  background: var(--surface-up);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 24px;
  opacity: 0;
}

@keyframes s3-bar-progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@keyframes s3-bar-glow {

  0%,
  100% {
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.45), 0 0 16px rgba(139, 92, 246, 0.18);
  }

  50% {
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.80), 0 0 44px rgba(139, 92, 246, 0.38);
  }
}

.s3-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dim), var(--primary), var(--rose));
  border-radius: 99px;
}

/* #06 — Texto "convite destravado" — surge após barra */
.s3-unlock-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: lowercase;
  opacity: 0;
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--rose-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADO 4 — LANDING PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
#state-4 {
  position: static;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

/* Fundo com estrelas estáticas + cadentes (70% opacidade) */
#state-4::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 10% 90%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200% 200%, 150% 150%, 180% 180%, 160% 160%, 170% 170%, 190% 190%, 140% 140%;
  background-position: 0% 0%, 40% 60%, 130% 270%, 70% 100%, 150% 140%, 90% 210%, 130% 80%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.lp-content {
  position: relative;
  z-index: 2;
}

/* ── Ícones flutuantes de fundo (ornamentais) ── */
.bg-float-icon {
  position: absolute;
  font-size: 64px;
  opacity: 0.06;
  pointer-events: none;
  animation: float-icon 12s ease-in-out infinite;
  user-select: none;
}

.bg-float-icon:nth-child(2) {
  animation-delay: -4s;
}

.bg-float-icon:nth-child(3) {
  animation-delay: -8s;
}

/* ── Section wrapper ── */
.section {
  padding: var(--space-section) 0;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--primary);
  opacity: 0.4;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 46px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.section-headline em {
  color: var(--text-accent);
  font-style: normal;
}

.section-subheadline {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 52px;
}

.section-divider {
  max-width: 880px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* ── Hero ── */
.hero-section {
  padding: 80px 28px 72px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-invite-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 8px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-invite-label::before {
  content: '◉';
  color: var(--primary);
  font-size: 7px;
  animation: urgent-pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 7.5vw, 68px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 52px;
}

/* ── Word cycle — rotação vertical bottom→top (Correção #04) ── */
#word-cycle-container {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: text-bottom;
  height: 1.08em;
  padding-bottom: 0.04em;
  /* pequeno respiro para descenders */
}

/* luz incandescente atrás da palavra */
#word-cycle-container::before {
  content: '';
  position: absolute;
  inset: -12px -28px;
  background: radial-gradient(ellipse at 50% 65%,
      rgba(255, 248, 210, 0.14) 0%,
      rgba(167, 139, 250, 0.12) 35%,
      transparent 72%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  animation: word-glow-pulse 3s ease-in-out infinite;
}

@keyframes word-glow-pulse {

  0%,
  100% {
    opacity: 0.9;
  }

  50% {
    opacity: 1.4;
  }
}

#word-animated {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #a78bfa 0%, #d64e98 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

@keyframes word-enter-bottom {
  from {
    transform: translateY(108%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes word-exit-top {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-108%);
  }
}

#word-animated.word-entering {
  animation: word-enter-bottom 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#word-animated.word-exiting {
  animation: word-exit-top 0.32s cubic-bezier(0.55, 0, 0.55, 1) forwards;
}

/* Video */
.video-container-wrapper {
  position: relative;
  width: 100%;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: opacity 0.4s ease;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
}

.play-btn-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-faint);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn-circle:hover {
  background: rgba(139, 92, 246, 0.25);
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.play-btn-circle svg {
  fill: var(--primary-bright);
  margin-left: 4px;
}

/* PiP */
.pip-video {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 280px;
  height: 158px;
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 90;
  background: var(--surface);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(139, 92, 246, 0.25);
  opacity: 0;
  transform: scale(0.88) translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.pip-video.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.pip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: rgba(6, 6, 9, 0.85);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.pip-close:hover {
  background: rgba(139, 92, 246, 0.4);
  color: var(--text);
}

/* ── Seção Espelho ── */
.mirror-intro {
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 600px;
}

.mirror-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border-subtle);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.mirror-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: rgba(10, 11, 16, 0.80);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(139, 92, 246, 0.04);
}

.mirror-item:last-child {
  border-bottom: none;
}

.mirror-item:hover {
  background: rgba(20, 21, 32, 0.90);
}

.mirror-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  opacity: 0.6;
  flex-shrink: 0;
  padding-top: 4px;
  letter-spacing: 0.15em;
}

.mirror-text {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  line-height: 1.75;
}

.mirror-text strong {
  color: var(--text);
  font-weight: 700;
}

.mirror-closing {
  padding: 32px 36px;
  background: rgba(10, 11, 16, 0.80);
  backdrop-filter: blur(12px);
  border-left: 2px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border: 1px solid var(--border);
  border-left: 2px solid var(--primary);
}

.mirror-closing p {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 20px);
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  font-weight: 300;
}

.mirror-closing p em {
  color: var(--text-accent);
  font-style: normal;
}

/* ── Seção IA — Gráfico de linhas ── */
.ia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 52px;
}

@media (max-width: 767px) {
  .ia-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.ia-copy-side {
  display: flex;
  flex-direction: column;
}

.ia-chart-side {
  position: sticky;
  top: 64px;
}

.chart-container {
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 20px;
  overflow: hidden;
}

.chart-headline {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 6px;
}

.chart-headline span {
  color: var(--primary-bright);
}

.chart-subheadline-italic {
  font-family: var(--font-display);
  font-size: clamp(15px, 2vw, 19px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-accent);
  margin-bottom: 24px;
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-caption {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 16px;
  font-family: var(--font-body);
}

.chart-caption strong {
  color: var(--text-muted);
}

.ia-reason-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Grid 3 colunas — cards de razões abaixo do gráfico (Correção #03) */
.ia-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .ia-reasons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ia-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ia-reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(10, 11, 16, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.ia-reason:hover {
  border-color: var(--border-glow);
  background: rgba(20, 21, 32, 0.85);
}

.ia-reason-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.ia-reason-content {
  flex: 1;
}

.ia-reason-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.ia-reason-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.ia-reason-text strong {
  color: var(--text);
}

.ia-closing-block {
  padding: 28px 32px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
}

.ia-closing-block strong {
  color: var(--text-accent);
  font-style: normal;
}

/* ── Seção O Sistema ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.pillar-card {
  padding: 28px 24px 32px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
}

.pillar-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.2em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.pillar-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

.wip-block {
  padding: 28px 32px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border-left: 2px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wip-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.wip-block p:last-child {
  margin-bottom: 0;
  color: var(--text-accent);
  font-style: italic;
}

/* ── Seção O que Muda ── */
.changes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

.change-card {
  padding: 32px 28px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease;
}

.change-card:hover {
  transform: translateY(-2px);
}

.change-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-faint);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.change-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.change-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.claim-central {
  text-align: center;
  padding: 64px 24px;
  position: relative;
}

.claim-central::before,
.claim-central::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-glow));
}

.claim-central::before {
  top: 0;
}

.claim-central::after {
  bottom: 0;
  background: linear-gradient(to top, transparent, var(--border-glow));
}

.claim-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Sistema condensado ── */
.system-lines {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0 48px;
  padding-left: 0;
}

.system-line {
  font-family: var(--font-mono);
  font-size: clamp(13px, 2vw, 15px);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
  padding: 16px 24px;
  border-left: 2px solid var(--border-glow);
  background: rgba(139, 92, 246, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.system-line:hover {
  border-left-color: var(--primary-bright);
  color: var(--text-accent);
}

/* ── Compromisso / Pricing ── */
.commitment-section {
  padding: 40px 0;
}

.commitment-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 32px 0 20px;
}

.price-value {
  font-family: var(--font-display);
  font-size: clamp(52px, 12vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--rose-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  padding-bottom: 8px;
}

.commitment-reframe {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
  font-style: italic;
}

.commitment-terms {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.commitment-item {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: clamp(14px, 2vw, 15px);
  color: var(--text-muted);
  line-height: 1.75;
  transition: background 0.25s ease;
}

.commitment-item:last-child {
  border-bottom: none;
}

.commitment-item:hover {
  background: rgba(139, 92, 246, 0.04);
}

.commitment-item strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.commitment-dash {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--primary-bright);
  flex-shrink: 0;
  padding-top: 2px;
  opacity: 0.6;
}

.commitment-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.commitment-closing {
  text-align: center;
  padding: 40px 24px;
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-muted);
  line-height: 1.8;
  position: relative;
}

.commitment-closing::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border-glow);
  margin: 0 auto 32px;
}

/* ── Seção Convite ── */
.invite-text-block {
  padding: 36px 40px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}

.invite-paragraph {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 20px);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
}

.invite-paragraph+.invite-paragraph {
  margin-top: 20px;
}

.invite-paragraph strong {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.invite-paragraph em {
  color: var(--text-accent);
  font-style: italic;
}

.ornament-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 36px 0;
  color: var(--text-dim);
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow));
}

.ornament-divider::after {
  background: linear-gradient(90deg, var(--border-glow), transparent);
}

.invite-co-creator {
  font-family: var(--font-display);
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 32px;
}

.invite-co-creator em {
  color: var(--primary-bright);
  font-style: normal;
}

.quote-block {
  padding: 28px 32px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border-left: 2px solid var(--gold);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-muted);
  line-height: 1.85;
  font-style: italic;
  font-weight: 300;
}

.quote-block p em {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

/* ── Bloco de Convites ── */
.invites-section {
  padding: var(--space-block) 28px;
  max-width: 880px;
  margin: 0 auto;
}

.invites-intro {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-top: 10px;
  margin-bottom: 36px;
}

.invite-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.invite-card {
  padding: 28px 24px;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.invite-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.invite-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.invite-card-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: var(--surface-alt);
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
}

.invite-textarea {
  width: 100%;
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  resize: none;
  min-height: 130px;
  margin-bottom: 16px;
  cursor: default;
  transition: border-color 0.3s ease;
}

.invite-textarea:focus {
  border-color: var(--border-glow);
  outline: none;
}

@media (max-width: 767px) {
  .invite-textarea {
    font-size: 16px;
  }
}

.btn-copy {
  width: 100%;
  min-height: 46px;
  background: transparent;
  color: var(--primary-bright);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy:hover:not(:disabled) {
  background: var(--primary-faint);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
}

.btn-copy.sent {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
  cursor: default;
}

.invite-resend {
  display: none;
  text-align: center;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.invite-resend:hover {
  color: var(--text-muted);
}

/* ── Assinatura ── */
.author-section {
  padding: var(--space-block) 28px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background:
    linear-gradient(var(--primary-dim), var(--primary-dim)) padding-box,
    conic-gradient(from var(--angle), transparent 70%, var(--rose) 100%) border-box;
  border: 2px solid transparent;
  animation: spin-border 4s linear infinite;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.author-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.author-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA Final ── */
.cta-section {
  padding: 72px 28px 140px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-section {
    padding-bottom: 100px;
  }
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.5vw, 44px);
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.cta-countdown {
  font-family: var(--font-mono);
  font-size: clamp(13px, 2.5vw, 16px);
  color: var(--text-dim);
  margin-bottom: 36px;
  letter-spacing: 0.06em;
}

.cta-countdown .countdown-display {
  color: var(--text-muted);
}

.cta-note {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-top: 20px;
}

/* ── FAQ ── */
.faq-section {
  padding: 72px 28px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(10, 11, 16, 0.65);
  backdrop-filter: blur(10px);
  margin-top: 36px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.035);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 20px 28px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(20, 21, 32, 0.5);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.35s ease;
  color: var(--primary);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--rose-bright);
}

.faq-item.open .faq-question {
  color: var(--rose-bright);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 12px 64px 40px 64px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

@media (max-width: 767px) {
  .faq-answer-inner {
    padding: 8px 28px 32px 28px;
  }
}

/* ── Footer ── */
.footer {
  padding: 36px 28px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADO ABDUZIDO
   ═══════════════════════════════════════════════════════════════════════════ */
#state-abducted {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.abducted-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin: 28px 0 16px;
}

.abducted-sub {
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.abducted-note {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 440px;
}

/* State abducted: forçar visibilidade dos elementos s3 (normalmente revelados por JS) */
#state-abducted .s3-logo,
#state-abducted .s3-greeting,
#state-abducted .s3-title,
#state-abducted .s3-subtitle,
#state-abducted .s3-bar-track,
#state-abducted .s3-unlock-text {
  opacity: 1;
}

#state-abducted .s3-logo {
  width: 80px;
  height: 80px;
}

/* Degradê animado para texto — usado no state-abducted */
.gradient-text-moving {
  background: linear-gradient(270deg, var(--primary-bright), var(--rose-bright), var(--primary-bright));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE BAR LGPD
   ═══════════════════════════════════════════════════════════════════════════ */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  background: rgba(10, 11, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  padding: 18px 28px;
  align-items: center;
  gap: 20px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-text {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

.cookie-text a {
  color: var(--primary-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  min-height: 40px;
  padding: 0 22px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: var(--primary-bright);
}

.btn-cookie-essential {
  min-height: 40px;
  padding: 0 22px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-essential:hover {
  border-color: var(--border-glow);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --space-section: 64px;
    --space-block: 40px;
  }

  /* ── iOS zoom fix: font-size < 16px em inputs dispara zoom automático ──── */
  .code-input,
  .input-field,
  .textarea-field {
    font-size: 16px !important;
  }

  /* ── iOS scroll lock: body precisa ser fixed para travar bounce ────────── */
  html:not(.lp-unlocked) body {
    overflow: hidden;
    overscroll-behavior: none;
    /* Em alguns browsers, pan-x pode atrapalhar gestos verticais dentro de textarea.
       Como o scroll já está travado via overflow, aqui preferimos não bloquear interações. */
    touch-action: manipulation;
    height: 100%;
  }

  /* ── iOS 100vh fix: usa --vh setado via JS (window.innerHeight) ────────── */
  #state-0,
  #state-1,
  #state-2 {
    height: calc(var(--vh, 1vh) * 100);
    max-height: calc(var(--vh, 1vh) * 100);
  }

  .changes-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .invite-cards {
    grid-template-columns: 1fr;
  }

  .ia-layout {
    grid-template-columns: 1fr;
  }

  .ia-chart-side {
    position: static;
  }

  .invite-text-block {
    padding: 24px 22px;
  }

  .mirror-item {
    padding: 18px 20px;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
  }

  .pip-video {
    width: 160px;
    height: 90px;
    bottom: 80px;
    right: 12px;
  }

  #countdown-bar .bar-label,
  #countdown-bar .bar-tag {
    display: none;
  }

  #countdown-bar {
    padding: 0 16px;
  }

  #cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie-accept,
  .btn-cookie-essential {
    width: 100%;
    text-align: center;
  }

  .prism-ornament {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(28px, 8vw, 40px);
  }

  /* ── State 0 mobile (#10) ─────────────────────────────── */
  #state-0 {
    padding: 24px 20px 0;
    justify-content: center;
  }

  .prism-ornament {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .code-headline {
    font-size: clamp(22px, 7vw, 32px);
    margin-bottom: 14px;
  }

  .code-subheadline {
    font-size: clamp(12px, 3.5vw, 14px);
    margin-bottom: 38px;
    line-height: 1.9;
  }

  .code-form {
    gap: 10px;
  }

  .code-input {
    font-size: 13px;
    padding: 13px 16px;
    min-height: 48px;
  }

  .error-msg {
    font-size: 11px;
    padding: 10px 14px;
    gap: 10px;
  }

  .error-alert-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 11px;
  }

  .code-countdown-wrapper {
    margin-top: 50px;
  }

  .code-countdown-label {
    font-size: 9px;
  }

  .code-countdown-display {
    font-size: clamp(24px, 4vw, 28px);
  }

  .code-fine-print {
    font-size: 10px;
    bottom: 12px;
    padding: 0 20px;
  }

  /* State 0 — padding simétrico + gap para centralizar */
  #state-0 {
    padding: 16px 20px 40px;
    gap: 8px;
  }

  .prism-ornament {
    margin-bottom: 0;
  }

  .code-headline {
    margin-bottom: 0;
  }

  .code-subheadline {
    margin-bottom: 0;
  }

  .code-form {
    margin-bottom: 0;
  }

  /* ── States 0 e 1: position fixed no mobile — imune ao visual viewport
     shift do iOS quando o teclado abre. .state-hidden sobrescreve com
     position: absolute !important quando o state está inativo.          ── */
  #state-0:not(.state-hidden),
  #state-1:not(.state-hidden),
  #state-2:not(.state-hidden) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  /* ── States 1 & 2 — trava scroll + centraliza no viewport ─────────────── */
  #state-1,
  #state-2 {
    height: calc(var(--vh, 1vh) * 100);
    max-height: calc(var(--vh, 1vh) * 100);
    min-height: unset;
    overflow: hidden;
    padding: 16px 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    /* espaçamento uniforme entre filhos diretos */
  }

  /* ── States 0 e 2 — scroll quando teclado está ativo (keyboard mode) ── */
  #state-0.s0-keyboard-active {
    overflow-y: auto !important;
  }

  #state-2.s2-keyboard-active {
    overflow: auto !important;
  }

  /* Logos mobile — sem margin própria (gap cuida do espaço) */
  .s1-logo,
  .s2-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }

  /* Badges menores — sem margin própria */
  .s1-freq-badge,
  .s2-freq-badge {
    padding: 7px 12px;
    margin-bottom: 0;
    gap: 8px;
  }

  .s1-freq-text,
  .s2-freq-text {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  /* Headlines menores — sem margin própria */
  .s1-headline,
  .s2-headline {
    font-size: clamp(18px, 5vw, 25px) !important;
    margin-bottom: 0;
    line-height: 1.25;
  }

  /* Descrição State 1 — sem margin própria */
  .s1-description {
    font-size: 10.5px;
    line-height: 1.7;
    margin-bottom: 0;
  }

  /* Textarea menor */
  .textarea-field {
    min-height: 90px;
    font-size: 16px;
    padding: 12px 14px;
    line-height: 1.6;
  }

  /* Inputs menores */
  .input-field {
    min-height: 46px;
    padding: 11px 14px;
  }

  /* Form gap menor — sem margin própria */
  .form-fields {
    gap: 10px;
    margin-bottom: 0;
  }

  /* Botões menores */
  #question-continue-btn,
  #submit-btn {
    min-height: 46px;
    font-size: 12px;
  }

  /* Field note e LGPD note — sem margin própria */
  #s1-field-note,
  #s2-lgpd-note {
    font-size: 10px;
    margin-top: 0;
  }

  /* step-headline sem margin */
  .step-headline {
    margin-bottom: 0;
  }

  /* ── State 3 mobile ────────────────────────────────────────────────────── */
  .s3-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
  }

  /* #07 mobile — saudação -10px (29px → 19px) */
  .s3-greeting {
    font-size: 19px;
    letter-spacing: 0.05em;
  }

  .s3-title {
    font-size: clamp(20px, 5.5vw, 28px);
    margin-bottom: 8px;
  }

  .s3-subtitle {
    font-size: 11px;
    margin-bottom: 28px;
  }

  .s3-bar-track {
    max-width: 280px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADO 4 — FUNIL GAMIFICADO (LP sub-estados 4.0 → 4.11)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Classe serif (Playfair Display para momentos emocionais) ── */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ── Funil: overlay fixo que cobre a viewport inteira ── */
.lp-funnel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 20;
  background: transparent;
  overflow: hidden;
}

.lp-funnel.exiting {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* ── Barra de progresso linear (topo) ── */
.lp-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  pointer-events: none;
}

.lp-prog-track {
  flex: 1;
  height: 1.3px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.lp-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dim), var(--primary-bright));
  border-radius: 99px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.45);
}

.lp-prog-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.22em;
  white-space: nowrap;
}

/* ── Botão de áudio (só visível no estado 4.7) ── */
.lp-audio-toggle {
  position: fixed;
  top: 12px;
  right: 24px;
  z-index: 35;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
}

.lp-audio-toggle.visible {
  opacity: 1;
  pointer-events: all;
}

.lp-audio-toggle:hover {
  border-color: var(--border-glow);
  color: var(--text-muted);
}

.lp-audio-toggle.active {
  border-color: var(--primary-bright);
  color: var(--primary-bright);
}

/* ── Sub-estados: painéis full-screen empilhados ── */
.lp-sub {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.lp-sub.active {
  opacity: 1;
  pointer-events: all;
}

.lp-sub-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Transição rápida para navegação via botões */
.lp-fast-transition {
  transition: none !important;
  opacity: 1 !important;
}

/* estado inicial para sub-estados que não são o 0 */
.lp-sub-hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
  /* Adicionado para garantir que sub-estados escondidos não bloqueiem cliques */
}

/* ── Vídeo de fundo ── */
.lp-video-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.lp-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lp-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 9, 0.74);
}

.lp-cinematic-overlay {
  background: rgba(6, 6, 9, 0.56);
}

.lp-video-foreground {
  object-position: center 30%;
}

/* ── Wrapper de conteúdo dos sub-estados ── */
.lp-sub-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 56px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Labels mono estilo States 0-3 ── */
.lp-system-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.3em;
  text-transform: lowercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-system-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--primary);
  opacity: 0.4;
}

/* ── Headlines ── */
.lp-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-body {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0;
  transition: opacity 0.65s ease;
  max-width: 460px;
}

/* ── Botão de avanço ── */
.lp-next-btn {
  max-width: 360px;
  width: 100%;
  align-self: flex-start;
}

/* ── Mirror Cards (sub-estados 4.1–4.5) ── */
.lp-card-content {
  text-align: left;
}

.lp-card-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.25em;
  margin-bottom: 28px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-card-text {
  font-size: clamp(22px, 4.5vw, 36px);
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-card-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-card-btn {
  flex: 1;
  min-height: 52px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lp-card-no {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}

.lp-card-no:hover {
  background: var(--surface-alt);
  color: var(--text-muted);
  border-color: var(--border-glow);
}

.lp-card-yes {
  background: linear-gradient(135deg, var(--primary-dim), var(--primary));
  color: #fff;
  border-color: rgba(167, 139, 250, 0.4);
  animation: glow-pulse-violet 3s ease-in-out infinite;
}

.lp-card-yes:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ── Ressonância (sub-estado 4.6) ── */
.lp-resonance-score {
  font-size: clamp(52px, 12vw, 88px);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-resonance-score .rs-num {
  background: linear-gradient(135deg, var(--primary-bright), var(--rose-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-resonance-score .rs-denom {
  font-family: var(--font-mono);
  font-size: 0.4em;
  color: var(--text-dim);
  -webkit-text-fill-color: var(--text-dim);
  letter-spacing: 0.2em;
  vertical-align: middle;
  margin-left: 6px;
}

.lp-resonance-desc {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 400px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

/* ── Constelação SVG ── */
.lp-constellation {
  width: 100%;
  max-width: 320px;
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-star {
  fill: rgba(139, 92, 246, 0.12);
  stroke: rgba(139, 92, 246, 0.28);
  stroke-width: 1;
  transition: fill 0.6s ease, stroke 0.6s ease, filter 0.6s ease;
}

.lp-star.lit {
  fill: var(--primary-bright);
  stroke: var(--primary-bright);
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.90));
}

.lp-star-line {
  stroke: rgba(139, 92, 246, 0.07);
  stroke-width: 1;
  transition: stroke 0.6s ease;
}

.lp-star-line.lit {
  stroke: rgba(139, 92, 246, 0.38);
}

/* ── Cinemático (sub-estado 4.7) ── */
.lp-cinematic-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 72px 28px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  margin: 0 auto;
}

.lp-cinematic-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-cinematic-text {
  font-size: clamp(22px, 4.5vw, 34px);
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-cinematic-text em {
  color: var(--text-accent);
  font-style: italic;
}

.lp-cinematic-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

/* ── IA Quiz (sub-estado 4.8) ── */
.lp-ia-question {
  font-size: clamp(18px, 3.5vw, 26px);
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 32px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-ia-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-ia-opt {
  padding: 18px 24px;
  background: rgba(15, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lp-ia-opt:hover {
  border-color: var(--border-glow);
  color: var(--text);
  background: rgba(20, 21, 32, 0.92);
}

.lp-ia-opt.correct {
  border-color: var(--primary-bright);
  color: var(--primary-bright);
  background: var(--primary-faint);
}

.lp-ia-opt.wrong {
  border-color: rgba(214, 78, 152, 0.2);
  color: var(--text-dim);
  opacity: 0.45;
  pointer-events: none;
}

.lp-ia-reveal {
  font-size: clamp(20px, 4vw, 30px);
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-ia-closing {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 32px;
}

.lp-chart-compact {
  margin-bottom: 20px;
}

/* ── Sistema 3 linhas (sub-estado 4.9) ── */
.lp-system-lines {
  margin: 0 0 28px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lp-claim {
  opacity: 0;
  transition: opacity 0.65s ease;
  padding: 40px 0;
}

.lp-claim::before,
.lp-claim::after {
  display: none;
}


/* ── Estado ponte / bridge (sub-estado 4.11) ── */
.lp-bridge-content {
  text-align: left;
}

.lp-bridge-headline {
  margin-bottom: 20px;
}

.lp-bridge-body {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 0.65s ease;
  white-space: pre-line;
}

/* ── Scroll content (após funil) ── */
.lp-scroll-content {
  position: relative;
  z-index: 2;
  padding-top: 44px;
}

/* ── Cerimônia de abdução (Fase Final) ── */
.lp-ceremony {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 6, 9, 0.6); /* Aumentado para 60% para maior contraste */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease; /* Desacelerado de 1s para 2s para percepção mobile */
  overflow: hidden;
  will-change: opacity;
}

.lp-ceremony.visible {
  opacity: 1;
  pointer-events: auto;
  background: rgba(6, 6, 9, 0.6); /* Aumentado para 60% */
}

/* Overlay de Explosão Branca (Flash Big Bang - Estágio 1: clip-path burst do centro) */
.whiteout-flash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    #ffffff 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.3) 80%,
    transparent 100%
  );
  z-index: 10000;
  clip-path: circle(0% at 50% 50%);
  pointer-events: none;
  transition: clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}

.whiteout-flash.active {
  clip-path: circle(150% at 50% 50%);
}

/* Flash Big Bang - Estágio 2: Preenchimento Sólido Sincronizado */
.whiteout-fill {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  will-change: opacity;
}

.whiteout-fill.active {
  opacity: 1;
}

/* Efeito de Desintegração para o conteúdo da LP */
.disintegrate-out {
  animation: disintegrate-fast 0.6s forwards ease-out;
  pointer-events: none;
  will-change: opacity, transform;
}

@keyframes disintegrate-fast {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05); /* Leve expansão enquanto some rapidamente */
  }
}

/* Painel Holográfico */
.hologram-panel {
  width: 100%;
  max-width: 440px;
  background: rgba(13, 14, 21, 0.55); /* Reduzido (20% menos intenso) */
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 0 50px rgba(139, 92, 246, 0.3),
    inset 0 0 30px rgba(139, 92, 246, 0.1);
  display: flex;
  flex-direction: column;
  color: var(--primary-bright);
  font-family: var(--font-mono);
  /* Entrada unificada Estilo PIP: Escala 0.88 + translateY 8px em 0.4s */
  animation: hologram-entrance-unified 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

@keyframes hologram-entrance-unified {
  0% { 
    opacity: 0; 
    transform: scale(0.88) translateY(8px);
  }
  100% { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
}

/* Efeito de revelação tipo notificação para conteúdo interno */
@keyframes reveal-inner-anim {
  0% { 
    opacity: 0; 
    transform: scale(0.8) translateY(10px);
  }
  70% {
    transform: scale(1.03) translateY(-2px);
  }
  100% { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
}

/* Scanlines (Linhas de varredura CRT) */
.hp-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(139, 92, 246, 0.05) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.04),
    rgba(0, 255, 0, 0.02),
    rgba(0, 0, 255, 0.04)
  );
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.8;
  animation: scroll-scanlines 8s linear infinite, scanline-flicker 0.15s infinite;
}

@keyframes scanline-flicker {
  0% { opacity: 0.7; }
  50% { opacity: 0.85; }
  100% { opacity: 0.7; }
}

@keyframes scroll-scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}

@keyframes hologram-flicker {
  0%, 19%, 21%, 54%, 56%, 79%, 81%, 94%, 96%, 100% {
    opacity: 1;
    transform: none;
    filter: brightness(1);
  }
  20%, 80% {
    opacity: 0.7;
    transform: translate(3px, -2px);
    filter: brightness(1.4);
  }
  55%, 95% {
    opacity: 0.4;
    transform: translate(-2px, 3px);
    filter: brightness(2.2);
  }
}

.hologram-rgb-split {
  animation: rgb-split-anim 3s infinite; /* Mais frequente */
}

@keyframes rgb-split-anim {
  0%, 95%, 100% { text-shadow: none; }
  96% { text-shadow: 3px 0 red, -3px 0 cyan; }
  98% { text-shadow: -3px 0 red, 3px 0 cyan; }
}

.crt-turn-off {
  animation: crt-turn-off-anim 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards !important;
}

@keyframes crt-turn-off-anim {
  0% {
    transform: scale(1);
    filter: brightness(1);
    opacity: 1;
  }
  40% {
    transform: scale(1, 0.01) scaleX(1.5);
    filter: brightness(10);
    opacity: 1;
  }
  100% {
    transform: scale(0, 0);
    filter: brightness(20);
    opacity: 0;
  }
}

.hp-inner {
  padding: 24px 32px; /* Restaurando o respiro lateral para 32px */
  position: relative;
  z-index: 3;
}

@media (max-width: 430px) {
  .hp-inner {
    padding: 20px 16px;
  }
  .hp-message-alert {
    padding: 20px 16px;
  }
}

.hp-logo {
  width: 48px;  /* Reduzido de 80px */
  height: 48px; /* Reduzido de 80px */
  margin: 0 0 16px 0;
  display: block;
}

.hp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
  padding-bottom: 12px;
  margin-bottom: 24px;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--primary-light);
}

.hp-timer {
  color: var(--rose-bright);
  text-shadow: 0 0 12px var(--rose-glow);
  font-weight: bold;
}

.hp-glitch-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  color: #fff;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.hp-glitch-text::before,
.hp-glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.8;
}
.hp-glitch-text::before { color: #ff00ff; z-index: -1; animation: glitch-anim 2.5s infinite linear alternate-reverse; }
.hp-glitch-text::after { color: #00ffff; z-index: -2; animation: glitch-anim2 3.5s infinite linear alternate-reverse; }

.hp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; /* Restaurado */
  margin-bottom: 24px;
}

.hp-data-box {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 14px; /* Restaurado */
  border-radius: 8px;
  text-align: center;
}

.hp-label { font-size: 7px; color: var(--primary-bright); display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.1em; }
.hp-value { font-size: 10px; color: #fff; font-weight: bold; letter-spacing: 0.05em; }

/* Alerta de Mensagem */
.hp-message-alert {
  background: var(--rose-faint); /* Era rgba(239, 68, 68, 0.12) */
  border: 1px solid var(--rose-glow);
  padding: 24px 24px; /* Restaurado o lateral */
  border-radius: 12px;
  text-align: center;
  animation: alert-pulse 2s infinite; 
  box-shadow: 0 0 20px rgba(214, 78, 152, 0.1);
}

@keyframes alert-pulse {
  0%, 100% { border-color: rgba(214, 78, 152, 0.3); transform: scale(1); }
  50% { border-color: rgba(214, 78, 152, 0.7); transform: scale(1.02); }
}

.hp-alert-icon {
  width: 36px;
  height: 36px;
  background: var(--rose);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(214, 78, 152, 0.6);
}

.hp-alert-text {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--rose);
  font-family: var(--font-display);
}

.hp-alert-text strong {
  color: var(--rose);
  font-weight: 800;
}

.hp-btn-open {
  background: var(--rose);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 15px rgba(214, 78, 152, 0.3);
}

.hp-btn-open:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 25px rgba(214, 78, 152, 0.5);
  background: var(--rose-bright);
}

/* Waveform */
.hp-waveform {
  margin-top: 20px;
  text-align: center;
}

.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 60px;
  margin-bottom: 12px;
}

.waveform-bar {
  width: 4px;
  height: 4px;
  background: var(--primary-bright);
  border-radius: 2px;
  transition: height 0.05s ease;
  box-shadow: 0 0 8px var(--primary-glow);
}

.waveform-label {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}

.hp-footer {
  margin-top: 32px;
}

.hp-loading-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.hp-loading-fill {
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  animation: loading-scan 3s infinite linear;
}

@keyframes loading-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(333%); }
}

.hp-foot-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.hidden { display: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   STATE 4 v2 — espelhos swipe · áudio · letramento · PiP
   ═══════════════════════════════════════════════════════════════════════════ */
.lp-hidden {
  display: none !important;
}


.lp-mirror-wrap {
  width: 100%;
  max-width: 520px;
  padding: 76px 28px 48px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ── STATE 4.1 — Título H1 rotativo ─────────────────────────────────── */
@keyframes mirrorGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes mirrorWordEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mirrorWordExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.lp-mirror-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 6.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: left;
}

.lp-mirror-title-line1 {
  display: block;
  white-space: nowrap;
  color: var(--text);
}

.lp-mirror-title-line2 {
  display: block;
  white-space: nowrap;
  color: var(--text);
}

.lp-mirror-word-chromatic {
  background: linear-gradient(90deg,
      var(--rose-bright),
      var(--primary-bright),
      var(--rose-bright));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  animation: mirrorGradientShift 4s linear infinite;
}

.lp-mirror-word-chromatic.lp-word-exit {
  animation: mirrorWordExit 0.28s ease-in forwards;
}

.lp-mirror-word-chromatic.lp-word-enter {
  animation: mirrorGradientShift 4s linear infinite, mirrorWordEnter 0.3s ease-out forwards;
}

/* ── STATE 4.1 — Subtítulo ──────────────────────────────────────────── */
.lp-mirror-subtitle {
  margin-bottom: 14px;
}

.lp-mirror-subtitle-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, calc(2vw - 2px), 1.45rem);
  color: var(--rose-bright);
  margin-bottom: 6px;
}

.lp-mirror-subtitle-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.7rem, 1.8vw, 0.875rem);
  color: var(--text-muted);
}

.lp-mirror-cycle-line {
  font-family: var(--font-display);
  font-size: clamp(16px, 4vw, 20px);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.lp-mirror-intro {
  font-family: var(--font-body);
  font-size: clamp(12px, 3vw, 14px);
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 24px;
  padding: 0 4px;
}

.lp-mirror-intro em {
  font-style: italic;
  color: var(--text-accent);
}

.lp-mirror-intro strong {
  color: var(--text);
  font-weight: 600;
}

.lp-swipe-stage {
  position: relative;
  min-height: 220px;
  touch-action: none;
}

.lp-swipe-stack {
  position: relative;
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.lp-swipe-card {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 32px 28px;
  background: #141414;
  border: 1px solid #939393;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.85);
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform, opacity;
  transition: opacity 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Shimmer effect overlay — linear horizontal */
.lp-swipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      transparent 20%,
      rgba(36, 36, 36, 0.4) 50%,
      transparent 80%,
      transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-linear 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 16px;
}

.lp-swipe-card.is-leaving {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.lp-swipe-card:active {
  cursor: grabbing;
}

.lp-swipe-card-text {
  font-size: clamp(18px, 4.2vw, 24px);
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.lp-swipe-hint {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.lp-swipe-result-block {
  text-align: center;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.lp-swipe-result-text {
  font-size: clamp(16px, 3.8vw, 20px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}


/* ── STATE 4.4 — Chat Imersivo ── */
.lp-chat-header-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  /* Degradê suave de fundo semi-transparente */
  background: linear-gradient(to bottom, 
    rgba(6, 6, 9, 0.98) 0%, 
    rgba(6, 6, 9, 0.70) 50%, 
    transparent 100%);
  /* Efeito de Vidro Fosco (Glassmorphism) */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Máscara para suavizar a borda do blur e não ficar 'cortado' */
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  pointer-events: none;
  z-index: 40; /* Acima das mensagens (z-index 10) e abaixo dos botões (z-index 50) */
}

.lp-chat-container {
  position: absolute;
  inset: 0;
  display: block; /* Alterado de flex para block para evitar conflitos de scroll */
  z-index: 10;
  pointer-events: auto;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

.lp-chat-messages {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100%;
  padding: 100px 24px 60px;
  gap: 16px;
  justify-content: flex-start; /* ALINHAMENTO DINÂMICO: Permite scroll para o topo em mensagens longas */
  pointer-events: auto !important;
}

.lp-chat-spacer {
  flex: 1; /* Puxa o conteúdo para o fundo */
  min-height: 20px;
}

/* Espaçador no final do chat para a mensagem não ficar sob o footer 'Digitando...' */
.lp-chat-messages::after {
  content: '';
  display: block;
  height: calc(100px + env(safe-area-inset-bottom, 0px));
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .lp-chat-messages::after {
    height: calc(154px + env(safe-area-inset-bottom, 0px));
  }
}

.lp-chat-msg {
  max-width: 85%;
  flex-shrink: 0;
  animation: fade-in-up-chat 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.lp-chat-bubble {
  background: linear-gradient(var(--surface-high), var(--surface-high)) padding-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 18px 18px 0 18px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.lp-chat-cta-msg {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  /* Espaçamento extra opcional */
}

.btn-cta-chat {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 0 32px;
  background: linear-gradient(135deg, var(--primary-dim), var(--primary), #9333ea);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 18px 18px 0 18px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
  animation: glow-pulse-violet 2.8s ease-in-out infinite;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  white-space: nowrap;
}

/* Efeito Shimmer igual aos botões principais */
.btn-cta-chat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

.btn-cta-chat.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btn-cta-chat:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.5);
}



.lp-chat-audio-player {
  position: relative; /* Consolidated from line 4698 */
  width: 290px;
  padding: 10px 14px 26px 14px;
  /* O padding bottom acomoda flexivelmente os tempos em absolute abaixo da onda! */
  border-radius: 18px 18px 0 18px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  /* Alinha play, waveform e aceleração exatamente no centro! */
  gap: 12px;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.15);
}

.lp-audio-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  /* garante z-index funcional */
  z-index: 3;
  /* acima do thumb (z-index: 2) — cliques sempre chegam aqui */
}

.lp-audio-play-btn:hover {
  color: var(--primary-bright);
  transform: scale(1.05);
}

.wa-waveform-wrapper {
  flex: 1;
  position: relative;
  /* O absolute child precisará disto */
  height: 24px;
}

.wa-waveform-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: visible;
  pointer-events: none;
  touch-action: none; /* Surgical fix for mobile dragging */
}

.wa-wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wa-wave-track {
  color: rgba(139, 92, 246, 0.35);
  pointer-events: all;
  /* único elemento que captura clicks para seek */
  cursor: pointer;
}



/* .lp-chat-audio-player (Consolidated above) */

.lp-chat-audio-player.is-playing::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 75%, var(--primary-bright) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 3s linear infinite;
  pointer-events: none;
  z-index: 5;
}

.wa-wave-fill-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  overflow: hidden;
  transition: width 0.1s linear; /* Faster, more responsive playback */
  pointer-events: none;
}

.wa-wave-fill {
  color: var(--primary-bright);
  width: calc(290px - 28px - 38px - 44px - 24px);
  /* Calculando espaço interno considerando os 2 botões e gaps */
}

.wa-wave-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 6px var(--primary-bright);
  pointer-events: auto;
  cursor: grab;
  touch-action: none; /* Surgical fix for mobile dragging */
  transition: left 0.1s linear, background 0.2s ease; /* Faster, removed shadow transition */
}

.wa-wave-thumb:hover,
.wa-wave-thumb.dragging {
  background: var(--rose-bright);
  box-shadow: 0 0 6px var(--rose-bright); /* Maintained initial size, only color changes */
  cursor: grabbing;
}

/* Fluid autonomy: remove lag during dragging */
.lp-chat-audio-player.is-dragging .wa-wave-fill-wrap,
.lp-chat-audio-player.is-dragging .wa-wave-thumb {
  transition: none !important;
}

.wa-time-row {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.wa-speed-btn {
  width: 44px;
  height: 26px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.wa-speed-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lp-chat-status-footer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 99px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lp-chat-status-footer.visible {
  opacity: 1;
}

.lp-chat-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 8px var(--primary-bright);
  animation: glow-pulse-chat 1.5s infinite alternate;
}

.lp-chat-status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.lp-chat-cta-wrapper {
  display: flex !important;
  justify-content: flex-end;
  width: 100%;
}

.lp-chat-cta-wrapper.hidden {
  display: none !important;
}

#lp-s4-btn {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, #9333ea 100%);
  border: 1px solid rgba(167, 139, 250, 0.40);
  border-radius: var(--radius-lg);
  animation: glow-pulse-violet 2.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 14px;
  padding: 16px 24px;
  max-width: 85%;
}

#lp-s4-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  pointer-events: none;
}

@keyframes fade-in-up-chat {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-pulse-chat {
  from {
    opacity: 0.5;
    box-shadow: 0 0 4px var(--primary-bright);
  }

  to {
    opacity: 1;
    box-shadow: 0 0 12px var(--primary-bright);
  }
}

.lp-video-pip {
  position: fixed;
  bottom: 100px;
  right: 16px;
  width: 140px;
  height: 79px;
  border-radius: var(--radius);
  object-fit: cover;
  z-index: 25;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.lp-video-pip.visible {
  opacity: 1;
  pointer-events: auto;
}

.lp-pip-mute-btn {
  position: fixed;
  bottom: 100px;
  right: 162px;
  z-index: 26;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(10, 11, 16, 0.85);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lp-pip-mute-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

#lp-sub-5 .lp-sub-content {
  z-index: 2;
}

.lp-literacy-wrap {
  max-width: 520px;
}

.lp-literacy-q {
  font-size: clamp(15px, 2.8vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.lp-literacy-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(139, 92, 246, 0.15);
  outline: none;
}

.lp-literacy-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dim), var(--primary));
  border: 2px solid rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
  cursor: pointer;
}

.lp-literacy-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dim), var(--primary));
  border: 2px solid rgba(167, 139, 250, 0.5);
  cursor: pointer;
}

.lp-literacy-anchors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 18px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.lp-literacy-anchors span {
  opacity: 0.55;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.lp-literacy-anchors span.is-active {
  opacity: 1;
  color: var(--primary-bright);
}

.wa-voice-note {
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box;
}

.wa-voice-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.wa-voice-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.wa-voice-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  color: #060609;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.wa-voice-body {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  padding: 0 8px;
}

.wa-voice-line {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.25);
  animation: wa-voice-pulse 1.2s ease-in-out infinite;
}

.wa-voice-line-short {
  flex: 0.6;
  animation-delay: 0.15s;
}

.wa-voice-line:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes wa-voice-pulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.55;
  }

  50% {
    transform: scaleY(1.8);
    opacity: 1;
  }
}

.wa-voice-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.wa-voice-caption {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TINDER SWIPE STACK — STATE 4.1 (#lp-sub-1) Styling
   ═══════════════════════════════════════════════════════════════════════════ */

.lp-swipe-card h3 {
  /* Tipografia display — Playfair */
  font-family: var(--font-display);
  font-size: clamp(18px, 7vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;

  /* Reset */
  margin: 0;
  padding: 0 16px;
  color: var(--text);
  word-break: break-word;
}

/* Badges dinâmicas — Glass Morphism Depth em cantos superiores */
.lp-swipe-badge {
  position: absolute;
  top: 16px;
  width: auto;
  height: auto;
  transform: none;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(12px, 3vw, 16px);
  font-weight: 600;
  text-align: center;
  color: white;
  line-height: 1.2;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
  border: none;
}

.lp-swipe-badge-left {
  right: 16px;
  background: rgba(139, 92, 246, 0.80);
}

.lp-swipe-badge-right {
  left: 16px;
  background: rgba(214, 78, 152, 0.80);
}

/* Text-only Action Buttons */
.lp-swipe-btn {
  position: absolute;
  bottom: 20px;
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  display: inline-block;
  line-height: 1.3;
  padding: 0;
  overflow: visible;
  white-space: nowrap;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

.lp-swipe-btn:hover {
  transform: scale(1.15);
}

.lp-swipe-btn-left {
  left: 28px;
  color: white;
}

.lp-swipe-btn-left:hover {
  color: var(--primary);
  background: none;
  box-shadow: none;
}

.lp-swipe-btn-right {
  right: 28px;
  color: white;
}

.lp-swipe-btn-right:hover {
  color: var(--rose);
  background: none;
  box-shadow: none;
}

/* Arrow styling inside buttons */
.lp-swipe-arrow {
  font-size: 1.3em;
  font-weight: 700;
  display: inline-block;
  margin: 0 2px;
}

/* ── Modal de conclusão pós-10 cards ───────────────────────────────────── */
@property --modal-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes modal-spin-border-fast {
  0% {
    --modal-angle: 0deg;
  }

  100% {
    --modal-angle: 720deg;
  }
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes modal-bar-fill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@keyframes modal-bar-glow {

  0%,
  100% {
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.45), 0 0 16px rgba(139, 92, 246, 0.18);
  }

  50% {
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.80), 0 0 44px rgba(139, 92, 246, 0.38);
  }
}

@keyframes friction-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.lp-tinder-modal {
  position: absolute;
  /* absolute em vez de fixed — evita clipping por overflow:hidden do lp-funnel */
  inset: 0;
  display: none;
  /* controlado via inline style no JS */
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Garantir que fique acima de tudo no sub-estado */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  margin: 0;
}

.lp-tinder-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.lp-tinder-modal-inner {
  position: relative;
  width: calc(100% - 56px);
  max-width: 320px;
  padding: 36px 28px 32px;
  background: #1c1c1f;
  background-clip: padding-box;
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.90), 0 0 0 0.5px rgba(255, 255, 255, 0.06) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  overflow: visible;
}

/* Spotlight branca contínua — em cima da borda, intensa e rápida */
.lp-tinder-modal-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: conic-gradient(from var(--angle), #939393 0%, #939393 60%, rgba(255, 255, 255, 1) 90%, #939393 100%);
  z-index: -1;
  opacity: 1;
  animation: spin-border 1.5s linear infinite;
}

/* Shimmer idêntico ao dos cards */
.lp-tinder-modal-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      transparent 20%,
      rgba(36, 36, 36, 0.4) 50%,
      transparent 80%,
      transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-linear 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 16px;
}

@keyframes modal-border-off {
  to {
    border-color: rgba(255, 255, 255, 0.06);
  }
}

.lp-tinder-modal-count {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 14vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--rose-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  margin-bottom: 4px;
}

.lp-tinder-modal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lp-tinder-modal-pulse {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  animation: friction-pulse 1.6s ease-in-out infinite;
  margin-top: 4px;
}

.lp-tinder-modal-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 18px;
}

.lp-tinder-modal-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dim), var(--primary), var(--rose));
  border-radius: 99px;
}

.lp-tinder-modal-bar-fill.running {
  animation: modal-bar-fill 8s linear forwards, modal-bar-glow 1.2s ease-in-out infinite;
}

/* Container transparente para revelar background cósmico pai */
#lp-swipe-stack-1 {
  background: transparent !important;
}

#lp-swipe-stage-1 {
  background: transparent !important;
}

@media (max-width: 480px) {
  .lp-progress {
    padding: 12px 16px;
    gap: 12px;
  }

  .lp-sub-content {
    padding: 48px 20px;
  }

  /* ── STATE 4.1 mobile layout ── */
  #lp-sub-1.lp-sub-center {
    justify-content: flex-start !important;
    align-items: stretch !important;
  }

  /* Mirror wrap ocupa toda a altura disponível do sub-state,
     evitando que os cards ultrapassem o rodapé em telas pequenas. */
  #lp-sub-1 .lp-mirror-wrap {
    padding: 90px 20px 16px !important;
    height: 100%;
    overflow: hidden;
  }

  /* Swipe stage cresce para preencher espaço restante (flex: 1)
     e pode encolher abaixo do min-height original (min-height: 0). */
  #lp-sub-1 .lp-swipe-stage {
    flex: 1;
    min-height: 0;
  }

  /* Stack preenche todo o stage e pode encolher conforme necessário. */
  #lp-sub-1 .lp-swipe-stack {
    height: 100%;
    min-height: 0;
  }

  .lp-mirror-title {
    font-size: clamp(22px, calc(5.5vw + 5px), 29px) !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

  .lp-mirror-title-line1 {
    white-space: normal !important;
  }

  .lp-mirror-title-line2 {
    white-space: normal !important;
  }

  /* Ajuste de centralização e largura do modal de conclusão */
  .lp-tinder-modal-inner {
    width: calc(100% - 40px) !important; /* Alinhado com o padding de 20px das laterais */
    max-width: 340px !important;
    padding: 32px 24px !important;
  }

  .lp-mirror-subtitle-label {
    font-size: clamp(0.85rem, 3.8vw, 1rem) !important;
    margin-bottom: 16px !important;
  }

  .lp-mirror-subtitle {
    margin-bottom: 10px !important;
  }

  #lp-swipe-stage-1 {
    margin-top: 75px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  #lp-swipe-stack-1 {
    max-width: min(282px, 76vw) !important;
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .lp-swipe-stage {
    min-height: 0 !important;
  }

  .lp-swipe-card {
    padding: 16px 12px !important;
  }

  .lp-swipe-card h3 {
    font-size: clamp(12px, 3.8vw, 16px) !important;
    padding: 0 8px !important;
  }

  .lp-swipe-btn {
    font-size: 9px !important;
    bottom: 12px !important;
  }

  .lp-swipe-btn-left {
    left: 14px !important;
  }

  .lp-swipe-btn-right {
    right: 14px !important;
  }

  .lp-card-text {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 36px;
  }

  .lp-cinematic-content {
    padding: 56px 20px 48px;
  }

  .lp-cinematic-text {
    font-size: clamp(20px, 6vw, 28px);
  }

  .lp-resonance-score {
    font-size: clamp(44px, 14vw, 68px);
  }

.lp-headline {
    font-size: clamp(22px, 7vw, 32px);
  }

  .lp-pip-mute-btn {
    right: 150px;
    bottom: 96px;
  }

  .lp-literacy-anchors {
    grid-template-columns: 1fr;
  }
}

.lp-chat-sticker {
  max-width: 170px;
  max-height: 170px;
  align-self: flex-end;
  margin-left: 0;
  background: transparent;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  animation: fade-in-up-chat 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  transform-origin: right bottom;
}

.lp-chat-sticker img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════
   ESTADO 1 — REDESIGN REVISADO (Hero Text & Slider Clone)
   ═══════════════════════════════════════════════════════════════════════ */

.s1-content-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* centraliza verticalmente no mobile */
  padding: 24px 0 48px;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Blur & Fade Out programático via JS ao clicar no btn */
.s1-fade-blur {
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}

/* 1. Logo Flutuante */
.s1-logo-container {
  margin-top: 0;
  margin-bottom: 18px;
}

.s1-top-logo {
  width: 48px;
  height: 48px;
  /* Float + Glow combinados num único animation para não conflitarem */
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
  animation: s1-float-glow 5s ease-in-out infinite;
}

@keyframes s1-float-glow {

  0%,
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
  }

  50% {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.9));
  }
}

/* 2. Citação HERO TEXT — estrutura exata conforme especificação */
.quote-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-quote {
  /* clamp original × 1.12 para +12% */
  font-size: clamp(1.344rem, 4.032vw, 2.688rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: calc(1rem - 5px);
  /* gap título→autor */
}

/* Mobile-first: +15px só em telas pequenas, desktop inalterado */
@media (max-width: 767px) {
  .hero-quote {
    font-size: calc(1.344rem + 15px);
  }
}

.hero-quote .gradient-shift {
  display: inline;
  background: linear-gradient(270deg, #a78bfa, #f472b6, #7c3aed, #a78bfa);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: s1-bgShift 6s ease infinite;
}

.quote-author {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  align-self: center;
  text-align: center;
  margin-top: 0;
  /* gap já controlado pelo hero-quote margin-bottom */
  margin-bottom: calc(1rem - 5px + 8px);
  /* gap autor→info-box: mesmo base + 8px */
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  opacity: 0;
}

@keyframes s1-bgShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* 3. Info Box Fundida — largura ampliada para acomodar o slider */


.s1-info-box {
  position: relative;
  width: calc(100% - 48px);
  max-width: 360px;
  /* same as slider box */
  margin: 0 auto 40px auto;
  padding: 24px 20px 28px;

  background:
    linear-gradient(#1c1c1f, #1c1c1f) padding-box,
    conic-gradient(from var(--angle), #939393 0%, #939393 60%, rgba(255, 255, 255, 1) 90%, #939393 100%) border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.90), 0 0 0 0.5px rgba(255, 255, 255, 0.06) inset;
  animation: spin-border 1.5s linear infinite;

  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
}

/* Shimmer */
.s1-info-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 20%, rgba(255, 255, 255, 0.04) 50%, transparent 80%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-linear 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 16px;
}

.s1-info-box p {
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

/* Título de ativação dentro da box */
.s1-activate-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  margin: 0 0 18px 0;
  position: relative;
  z-index: 1;

  /* Estabilização para evitar "travamentos" no layout vertical */
  min-height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* Track do slider embutido na box */
.s1-infobox-track {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Transição suave APENAS na cor; largura deve ser INSTANTÂNEA */
#s1-slider-fill {
  transition: background 0.6s ease;
}


/* Input range invisível — sobrepõe toda a track para capturar interação */
.s1-slider-input-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 110;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Thumb visual ✨ — cinza sólido + anel spotlight via mask-composite */
.s1-slider-thumb-cloned {
  pointer-events: none;
  z-index: 105 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  font-size: 20px;

  background: rgb(30, 30, 34) !important;
  border: none !important;
  box-shadow: none !important;
  /* position: relative já vem do pai lp-s0-unlock-thumb */
}

/* Anel giratório SOMENTE na borda — técnica mask-composite */
.s1-slider-thumb-cloned::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  /* espessura do anel */
  background: conic-gradient(from var(--angle), #939393 0%, #939393 60%, rgba(255, 255, 255, 1) 90%, #939393 100%);
  /* Clippa apenas a área de padding, deixando o interior vazio */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spin-border 1.5s linear infinite;
  pointer-events: none;
}

/* ── Animação de conclusão do thumb ao completar o slider ──────────────────── */
@keyframes s1-thumb-unlock-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.85);
  }

  60% {
    box-shadow: 0 0 0 20px rgba(167, 139, 250, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
  }
}

.s1-thumb-done {
  animation: s1-thumb-unlock-pulse 0.55s ease-out forwards !important;
}

.s3-bar-fill.start-s1-loading {
  animation: s3-bar-progress 2.5s linear forwards;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RECONSTRUÇÃO #LP-SCROLL (PÓS-FUNIL)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Container & Layout Base ────────────────────────────────────────── */
.lp-scroll-content {
  background: transparent; /* Alterado de var(--void) para mostrar as estrelas fixas */
  min-height: 100vh;
  padding-top: 44px;
  /* Compensar countdown bar */
  padding-bottom: 120px;
  /* Espaço para o CTA fixo */
}

.lp-section {
  padding: 60px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 40px;
  height: 1px;
  background: var(--border-glow);
  margin: 0 auto;
  opacity: 0.5;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--primary-bright);
  text-transform: lowercase;
  margin-bottom: 32px;
}

/* ── BLOCO 1: Manifesto ───────────────────────────────────────────── */
.lp-manifesto {
  text-align: left;
  padding-top: 120px;
  padding-bottom: 120px;
}

.manifesto-logo-wrap {
  text-align: left;
  margin-bottom: 32px;
}

.manifesto-logo {
  width: 104px; /* 2x do original 52px */
  height: 104px;
  flex-shrink: 0;
  animation: float-slow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 5px rgba(167, 139, 250, 0.35));
}

/* ── Manifesto Badge ── */
.manifesto-badge-wrap {
  margin-bottom: 20px;
  text-align: left;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 8px 18px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  animation: glow-pulse-violet 3.5s ease-in-out infinite;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary-bright);
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.badge-text strong {
  font-weight: 700;
  color: var(--primary-bright);
}

.manifesto-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 30px); /* Aumentado para 30px no mobile */
  font-weight: 700;
  color: var(--rose-bright); /* Rosa base */
  line-height: 1.4;
  margin-bottom: 60px;
  max-width: 900px; /* Aumentado drasticamente para permitir o nowrap sem quebra de caixa */
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.manifesto-line {
  white-space: nowrap;
  display: block;
}

/* ── Typing Animation ── */
.typing-container {
  display: inline-flex;
  align-items: center;
  min-height: 1.4em;
  color: #fde2f3; /* Rosa bem clarinho para contraste */
}

.typing-text {
  display: inline-block;
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--rose-bright);
  width: 0;
  animation: 
    typewriter 15s steps(12) infinite,
    cursor-blink 0.8s step-end infinite;
  vertical-align: bottom;
}

@keyframes typewriter {
  0% { width: 0; }
  10%, 90% { width: 12ch; } /* Digita em 1.5s, segura 12s, apaga em 1.5s */
  95%, 100% { width: 0; }
}

@keyframes cursor-blink {
  from, to { border-color: transparent; }
  50% { border-color: var(--rose-bright); }
}

.manifesto-h3 {
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 68px); /* Aumentado para 46px no mobile */
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 64px;
  letter-spacing: -0.03em;
}

.lp-manifesto-word {
  display: inline-block;
  min-width: 2.5em; /* Previne layout shift em palavras curtas/longas */
  text-align: left;
}

.manifesto-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: 0;
  margin-right: auto;
}

.manifesto-text strong {
  color: var(--rose-bright);
  font-weight: 700;
}

.text-rose-light {
  color: #fbdaed; /* Rosa ainda mais claro */
  font-weight: 700;
}

.lp-section-badge-wrap {
  padding: 0 24px;
  max-width: 600px;
  margin: 0 auto 12px auto; /* Reduzido de 40px */
  text-align: left;
}

.lp-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 11, 16, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lp-badge-text {
  font-family: var(--font-mono);
  font-size: 12px; /* Reduzido de 16px para teste */
  letter-spacing: 0.05em;
  color: var(--text-accent);
  text-transform: lowercase;
}

.lp-status-indicator {
  width: 10px;
  height: 10px;
  background: var(--primary-bright);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--primary-bright);
}

/* ── Card Hint Badge (Front) ─────────────────────────────────── */
.lp-section-badge.badge-card-hint {
  background: transparent !important;
  border: 1px solid var(--primary) !important;
  padding: 6px 14px !important;
  gap: 10px;
}

.lp-section-badge.badge-card-hint .lp-badge-text {
  font-size: 10px !important;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

/* ── Spotlight Card Active (Front) ───────────────────────────── */
.memory-card-front.spotlight-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 70%, var(--primary-bright) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spin-border 4s linear infinite;
  pointer-events: none;
  z-index: 5;
}

/* ── Surface Animation (Front) ───────────────────────────────── */
.memory-card-front.animated-surface {
  background: linear-gradient(-45deg, 
    rgba(20, 20, 25, 0.98), 
    rgba(30, 30, 45, 0.98), 
    rgba(42, 27, 77, 0.6), 
    rgba(20, 20, 25, 0.98)
  ) !important;
  background-size: 400% 400% !important;
  animation: surface-drift 15s ease infinite !important;
}

@keyframes surface-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}






.lp-status-indicator::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--primary-bright);
  animation: s0-pulse-ring 2s infinite;
}

@keyframes s0-pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ── BLOCO 2: Ecossistema ─────────────────────────────────────────── */
.ecosystem-grid {
  display: flex;
  flex-direction: column;
  gap: 60px; /* Aumentado para dar mais ar entre os blocos */
}

.ecosystem-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch; /* Unifica a largura dos filhos (boxes) */
  width: 100%;
}

.ecosystem-text-wrap {
  flex: 1;
  width: 100%;
}

.ecosystem-icon {
  font-family: var(--font-display);
  font-size: 32px;
  min-width: 48px;
  height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  margin-right: auto !important;
  color: var(--primary-bright);
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
  flex-shrink: 0;
}

.ecosystem-icon.text-rose {
  color: var(--rose-bright) !important;
  filter: drop-shadow(0 0 10px rgba(214, 78, 152, 0.4)) !important;
}

.eco-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.eco-title-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.eco-title-main {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-bright);
  letter-spacing: -0.01em;
}

.eco-title-main.text-rose {
  color: var(--rose-bright);
}

.ecosystem-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 16px;
}

.ecosystem-text strong {
  color: var(--text-accent);
}

.eco-subtext {
  font-size: 13px;
  line-height: 1.5;
  color: var(--rose-bright) !important;
  font-style: italic;
  position: relative;
  padding-left: 0;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block !important;
}

/* ── Ecosystem Decrypt Interaction ── */
.ecosystem-decrypt-trigger {
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
  display: block;
  margin-top: 12px;
  width: 100%; /* Forçar largura total para unificação */
}

.decrypt-instruction {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: lowercase;
  color: #999; /* Cinza mais claro para legibilidade */
  opacity: 0.7;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.ecosystem-decrypt-trigger:hover .decrypt-instruction {
  opacity: 1;
  color: #fff; /* Transição para branco no hover */
  transform: translateX(4px);
}

.decrypt-badge {
  padding: 16px 20px;
  background: rgba(214, 78, 152, 0.06);
  border: 1px solid rgba(214, 78, 152, 0.2);
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  height: auto;
  width: 100%; /* Garantir que o box preencha o trigger */
  box-sizing: border-box;
}

.ecosystem-decrypt-trigger:hover .decrypt-badge {
  background: rgba(214, 78, 152, 0.1);
  border-color: rgba(214, 78, 152, 0.5);
  box-shadow: 0 8px 32px rgba(214, 78, 152, 0.15);
}

.ecosystem-decrypt-trigger.decrypted .decrypt-instruction {
  opacity: 0.3;
  color: var(--text-dim);
  transform: none;
}

.ecosystem-decrypt-trigger.decrypted .decrypt-badge {
  background: rgba(214, 78, 152, 0.04); 
  border-color: var(--rose-bright); /* Intensidade igual ao texto */
  opacity: 0.95;
}

/* Typewriter Cursor */
.is-typing::after,
.is-decrypted::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--rose-bright);
  font-style: normal;
  animation: cursor-blink-vertical 0.8s step-end infinite;
}

@keyframes cursor-blink-vertical {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.lock-icon-flat {
  width: 12px;
  opacity: 0.8;
}

.hp-status {
  font-weight: bold;
  opacity: 0.9;
}

.hp-timer {
  font-weight: bold;
  opacity: 0.8;
}

/* Removido seletor genérico que estava causando conflito de cor */
.ecosystem-text-wrap p:not(.ecosystem-text):not(.eco-subtext) {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Utilidades de Texto ────────────────────────────────────────── */
.text-gradient-moving {
  background: linear-gradient(-45deg, var(--rose), var(--primary), var(--rose-bright), var(--primary-bright));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 8s ease infinite;
  font-weight: 700;
}

/* ── BLOCO 4: Rede ──────────────────────────────────────────────── */
.network-main-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 400px; /* Para forçar quebra e dar ritmo */
}

.network-highlight {
  color: var(--rose);
  font-weight: 700;
  font-size: 22px;
  margin: 12px 0;
  display: block;
}

.network-caption {
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  display: block;
}

/* ── BLOCO 3: Compromisso ─────────────────────────────────────────── */

.commitment-main-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.price-big {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.commitment-mirror-sub {
  color: #fff;
  font-size: 18px;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.commitment-cta-line {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

.lp-dynamic-strike {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-weight: 700;
}

.lp-dynamic-strike::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--rose-bright);
  box-shadow: 0 0 8px var(--rose-glow);
  transform: scaleX(0);
  animation: lp-strike-io 10s ease-in-out infinite;
}

@keyframes lp-strike-io {
  0% { transform: scaleX(0); transform-origin: left; }
  10% { transform: scaleX(1); transform-origin: left; }
  90% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

.commitment-intro-list {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.commitment-rules {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  position: relative;
}

.commitment-rules h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--rose-bright);
  margin-bottom: 24px;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rules-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.rules-list li strong {
  display: block;
  color: var(--primary-bright);
  margin-bottom: 4px;
}

/* ── BLOCO 4: Dinâmica da Rede ────────────────────────────────────── */
.network-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.lp-network p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.codes-display {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.code-box {
  padding: 20px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.code-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.code-value {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--rose-bright);
  font-weight: 700;
  animation: urgent-pulse 2.5s ease-in-out infinite;
}

/* ── Bloco 5: FAQ Adjustment ──────────────────────────────────────── */
.lp-faq .lp-section-badge-wrap,
.lp-ecosystem .lp-section-badge-wrap,
.lp-commitment .lp-section-badge-wrap,
.lp-network .lp-section-badge-wrap {
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: left !important;
}



.lp-faq .faq-list {
  margin-top: 0;
}

/* ── Footer ───────────────────────────────────────────────────────── */
/* Rodapé clássico removido — migrado para o CTA fixo */
.lp-footer-fixed {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  text-align: center;
  transition: opacity 0.3s ease;
  margin-bottom: 4px;
}

.lp-fixed-cta-container:hover .lp-footer-fixed {
  opacity: 0.8;
}

/* ── CTA FIXO BOTTOM ──────────────────────────────────────────────── */
.lp-fixed-cta-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px 12px 24px; /* Padding ajustado para o novo conjunto */
  background: linear-gradient(to top, rgba(10, 10, 14, 0.98) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
}

/* Estilo para esconder quando estiver no funil ou estados iniciais */
html:not(.lp-scroll-ready) .lp-fixed-cta-container {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

#lp-fixed-cta {
  width: 100% !important;
  max-width: 440px !important;
}

/* ── VÍDEO PIP (WhatsApp Style) ──────────────────────────────────── */
.lp-pip-wrapper {
  position: fixed;
  right: 24px;
  top: 68px;
  /* Altura sincronizada com botão voltar */
  z-index: 150;
  pointer-events: none;
}

.lp-pip-container {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  position: relative;
  overflow: visible;
  /* Para o anel progresso aparecer */
  background: var(--surface-alt);
  border: 1px solid var(--border);
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
  pointer-events: auto;
  /* 3 Níveis de Profundidade:
     1. Drop puro curto para descolar fisicamente;
     2. Drop preto profundo espalhado para "apagar" os fundos;
     3. Brilho Roxo de Dispersão (Ambient Light) que vaza sutil para amarrar o 3D.
  */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 16px 48px rgba(0, 0, 0, 0.9),
    0 -4px 60px rgba(139, 92, 246, 0.2);
  will-change: transform, box-shadow;
}

.lp-pip-wrapper.is-collapsed {
  transform: translateX(150%);
  pointer-events: none;
}

/* Seta Hint de Arrastar (e Clicar) */
.pip-dismiss-hint {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 10px;
  opacity: 0.6;
  pointer-events: auto;
  cursor: pointer;
  z-index: 100;
  animation: pip-hint-pulse 2s infinite ease-in-out;
  /* Garante touch isolation */
  touch-action: manipulation;
}

@keyframes pip-hint-pulse {
  0%, 100% { transform: translate(0, -50%); opacity: 0.3; }
  50% { transform: translate(4px, -50%); opacity: 0.8; }
}

/* ── Flag Lateral (Modo Podcast / Minimizado) ── */
.pip-minimized-flag {
  position: fixed;
  top: 130px;
  right: 0;
  width: 44px;
  height: 60px;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 30px 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: -4px 4px 24px rgba(0,0,0,0.5);
}

.pip-minimized-flag.visible {
  transform: translateX(0);
}

.pip-minimized-flag svg {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  transition: color 0.3s ease;
  z-index: 2;
}

.pip-minimized-flag:hover svg {
  color: #fff;
}

/* Animação de Anel Pulsante (Áudio Rolando) */
.pip-flag-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  opacity: 0;
  left: 2px;
  transition: opacity 0.3s ease;
}

.pip-minimized-flag.is-playing-audio .pip-flag-ring {
  animation: pip-audio-ring 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes pip-audio-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.lp-pip-container.visible {
  transform: scale(1);
}

#lp-pip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: filter 0.4s ease, transform 0.4s ease;
}

#lp-pip-video.video-blurred {
  filter: blur(4px) brightness(0.65);
  transform: scale(1.02); /* Evita artefatos nas bordas após o blur */
}

/* ── Botão Central de Ação PIP ───────────────────────────────────── */
.pip-center-action {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
  pointer-events: none; /* Deixa o clique passar para o container */
  transition: opacity 0.5s ease, transform 0.3s ease;
  opacity: 1; /* Padrão (pausado/iniciando) = visível */
}

/* Hide complete fade-out */
.pip-center-action.hidden-action {
  opacity: 0;
  pointer-events: none;
}

.center-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  transition: transform 0.2s ease;
}

.icon-play { padding-left: 2px; } /* Ajuste óptico pro play */

/* Gerenciamento de Estados via display */
.pip-center-action .icon-play,
.pip-center-action .icon-pause,
.pip-center-action .icon-replay {
  display: none;
}

.pip-center-action.state-play .icon-play { display: block; }
.pip-center-action.state-pause .icon-pause { display: block; }
.pip-center-action.state-replay .icon-replay { display: block; }

/* Botão Mute do PIP */
.scroll-pip-mute-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  pointer-events: auto; /* Garante clickabilidade */
  opacity: 1; /* Garante visibilidade */
}

.scroll-pip-mute-btn svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

/* Estado Mudo (OFF) */
.scroll-pip-mute-btn.muted .icon-mute-on {
  display: none;
}
.scroll-pip-mute-btn.muted .icon-mute-off {
  display: block;
  opacity: 0.6;
}

/* Estado com Som (ON) */
.scroll-pip-mute-btn:not(.muted) .icon-mute-off {
  display: none;
}
.scroll-pip-mute-btn:not(.muted) .icon-mute-on {
  display: block;
  opacity: 0.9;
}

.scroll-pip-mute-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* Anel de Progresso SVG */
.lp-pip-progress-svg {
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 20; /* Garante que o círculo de progresso fique ESTRITAMENTE acima do vídeo, mesmo quando houver blur/scale no vídeo */
}

.lp-pip-progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 3;
}

.lp-pip-progress-bar {
  fill: none;
  /* stroke: var(--primary-bright); -> Removido para usar o url(#pip-gradient) do HTML diretamente */
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 301.59;
  /* 2 * PI * 48 */
  stroke-dashoffset: 301.59;
  /* O timeupdate dispara ~4x por segundo (0.25s). Se mantermos a transition curta, ela freia no gap. 0.3s linear assegura fluidez sem engasgar */
  transition: stroke-dashoffset 0.3s linear;
}

/* ── Responsivo Desktop ──────────────────────────────────────────── */
@media (min-width: 768px) {
  .lp-section {
    padding: 100px 40px;
  }

  .ecosystem-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Mais espaço no desktop */
  }

  .lp-manifesto {
    padding-top: 160px;
  }

  .codes-display {
    flex-direction: row;
  }

  .code-box {
    flex: 1;
  }

  .lp-pip-wrapper {
    right: 80px; /* afasta graciosamente da borda no desktop */
  }

  .lp-pip-container {
    width: 360px;
    height: 360px;
  }

  .pip-dismiss-hint {
    width: 64px;
    height: 64px;
    right: -48px;
    padding: 16px;
  }

  .badge-text {
    font-size: 13px;
  }

  .ecosystem-item {
    flex-direction: row;
    gap: 20px;
  }
}

/* ── Animação Float/Drift (Surgical) ────────────────────── */
@keyframes float-drift {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-15px) rotate(2deg);
  }

  66% {
    transform: translateY(-5px) rotate(-2deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.floating-eco-item {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  margin-right: auto !important;
  font-size: 52px;
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
  animation: float-drift 6s ease-in-out infinite;
}

.floating-eco-item[data-delay="1"] {
  animation-delay: 1.5s;
}

.floating-eco-item[data-delay="2"] {
  animation-delay: 3s;
}

.floating-eco-item[data-delay="3"] {
  animation-delay: 4.5s;
}

/* ── Memory Flip Card ─────────────────────────────────────────── */
.memory-card-container {
  perspective: 1000px;
  width: 100%;
  max-width: 440px;
  margin: 60px auto;
  cursor: pointer;
}

.memory-card-inner {
  position: relative;
  width: 100%;
  min-height: 540px;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.memory-card-inner.is-flipped {
  transform: rotateY(180deg);
}

.memory-card-front, .memory-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.memory-card-front {
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(40, 40, 60, 0.95));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  overflow: hidden; /* Contém o efeito shimmer */
}

.memory-card-front p {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
}

.memory-card-front .click-hint {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary-bright);
  letter-spacing: 0.15em;
  opacity: 0.8;
  animation: s0-pulse-glow 2s infinite;
}

.memory-card-back {
  background: linear-gradient(135deg, rgba(25, 10, 20, 0.98), rgba(10, 10, 15, 0.98));
  transform: rotateY(180deg);
  justify-content: flex-start;
  overflow-y: auto;
  border: 1px solid rgba(214, 78, 152, 0.3);
  box-shadow: 0 0 40px rgba(214, 78, 152, 0.15); /* Glow base */
  animation: card-back-glow 4s ease-in-out infinite alternate;
}

@keyframes card-back-glow {
  from { box-shadow: 0 0 30px rgba(214, 78, 152, 0.15); }
  to { box-shadow: 0 0 60px rgba(214, 78, 152, 0.35); }
}


/* ── Decrypt Card (Replacement for Flip Card) ─────────────────── */
.lp-decrypt-card-container {
  width: 100%;
  max-width: 440px;
  margin: 60px auto;
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(40, 40, 60, 0.95));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  position: relative;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  height: auto; /* Permite expansão vertical */
}

.lp-decrypt-card-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lp-decrypt-card-teaser p.teaser-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
}

.lp-decrypt-card-teaser.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  position: absolute;
  width: calc(100% - 56px);
}

.lp-decrypt-card-full {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: none;
}

.lp-decrypt-card-full.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.reveal-cascading {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-cascading.is-typed {
  opacity: 1;
  transform: translateY(0);
}

.sub-detail {
  display: block; 
  color: var(--rose-bright); 
  font-size: 13px; 
  margin-top: 4px;
  opacity: 0.8;
}

/* Scrollbar para o verso do card (se necessário) */
.lp-decrypt-card-full::-webkit-scrollbar { width: 4px; }
.lp-decrypt-card-full::-webkit-scrollbar-track { background: transparent; }
.lp-decrypt-card-full::-webkit-scrollbar-thumb { background: rgba(214, 78, 152, 0.3); border-radius: 10px; }

/* Estilos de Pagamento Simplificados (v411) */
.payment-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  opacity: 0.9;
}

.payment-checkout-img {
  width: 100%;
  max-width: 300px; /* Aumentado de 240px para 300px */
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.08));
}

.card-back-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--rose-bright);
  margin-bottom: 16px;
  text-transform: lowercase;
}

.card-back-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.back-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

.card-back-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: left;
}

.card-attention-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: left;
  width: 100%;
}

.card-attention-list li {
  font-size: 14px;
  color: var(--rose-bright);
  margin-bottom: 20px;
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}

.card-attention-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--rose-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--rose-bright);
}

.card-attention-list li::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--rose-bright);
  animation: s0-pulse-ring 2s infinite;
  pointer-events: none;
}

.card-back-highlight {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary-bright);
  background: rgba(139, 92, 246, 0.1);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 32px;
  width: 100%;
  text-align: center;
}

/* Tickets Section */
.ticket-section {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-bottom: 32px;
}

.ticket-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.ticket-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: lowercase;
  letter-spacing: 0.1em;
}

.ticket-badge {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid rgba(214, 78, 152, 0.5);
  border-radius: 16px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(214, 78, 152, 0.15);
}

.ticket-badge .lock-icon-svg {
  margin-bottom: 4px;
  color: var(--rose-bright);
  filter: drop-shadow(0 0 8px var(--rose));
}

.cipher-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--rose-bright);
  opacity: 0.8;
  white-space: normal; /* Permitir que o texto longo preencha o box */
  letter-spacing: 1px;
  position: relative;
  display: block; /* Garantir que use a largura total do box */
  line-height: 1.5;
}

.glitch-effect {
  animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch-effect::before, .glitch-effect::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-effect::before {
  left: 2px;
  text-shadow: -2px 0 var(--primary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-effect::after {
  left: -2px;
  text-shadow: -2px 0 var(--rose);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(31px, 9999px, 94px, 0); }
  5% { clip: rect(70px, 9999px, 71px, 0); }
  10% { clip: rect(29px, 9999px, 83px, 0); }
  15% { clip: rect(16px, 9999px, 91px, 0); }
  20% { clip: rect(2px, 9999px, 23px, 0); }
  25% { clip: rect(33px, 9999px, 1px, 0); }
  30% { clip: rect(81px, 9999px, 63px, 0); }
  35% { clip: rect(73px, 9999px, 71px, 0); }
  40% { clip: rect(69px, 9999px, 44px, 0); }
  45% { clip: rect(61px, 9999px, 17px, 0); }
  50% { clip: rect(47px, 9999px, 80px, 0); }
  55% { clip: rect(25px, 9999px, 34px, 0); }
  60% { clip: rect(96px, 9999px, 84px, 0); }
  65% { clip: rect(47px, 9999px, 49px, 0); }
  70% { clip: rect(30px, 9999px, 42px, 0); }
  75% { clip: rect(11px, 9999px, 16px, 0); }
  80% { clip: rect(23px, 9999px, 23px, 0); }
  85% { clip: rect(13px, 9999px, 94px, 0); }
  90% { clip: rect(13px, 9999px, 60px, 0); }
  95% { clip: rect(73px, 9999px, 25px, 0); }
  100% { clip: rect(51px, 9999px, 78px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  /* similar frames with different rects */
  10% { clip: rect(15px, 9999px, 13px, 0); }
  20% { clip: rect(80px, 9999px, 75px, 0); }
  30% { clip: rect(40px, 9999px, 50px, 0); }
  40% { clip: rect(10px, 9999px, 20px, 0); }
  50% { clip: rect(90px, 9999px, 85px, 0); }
  60% { clip: rect(30px, 9999px, 40px, 0); }
  70% { clip: rect(70px, 9999px, 60px, 0); }
  80% { clip: rect(5px, 9999px, 15px, 0); }
  90% { clip: rect(95px, 9999px, 98px, 0); }
  100% { clip: rect(50px, 9999px, 60px, 0); }
}

@keyframes glitch-skew {
  0% { transform: skew(3deg); }
  10% { transform: skew(-2deg); }
  20% { transform: skew(1deg); }
  30% { transform: skew(-3deg); }
  40% { transform: skew(4deg); }
  50% { transform: skew(-4deg); }
  60% { transform: skew(2deg); }
  70% { transform: skew(-1deg); }
  80% { transform: skew(0deg); }
  90% { transform: skew(3deg); }
  100% { transform: skew(-3deg); }
}

.card-back-footer {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* FORÇANDO CENTRALIZAÇÃO DA BADGE NOS CARDS */
.lp-section-badge-wrap.lp-badge-wrap-centered {
  display: flex !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  width: 100% !important;
}

/* ─── FAQ Final Footer ────────────────────────────────────────────────────── */
.faq-final-cta {
  text-align: center;
  margin-top: 60px;
  padding: 0 20px;
}

.faq-final-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
  text-align: center;
}

.faq-final-subtitle {
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-top: 8px;
}

.faq-final-title br {
  display: block;
  margin-bottom: 4px;
}

.lp-user-name {
  text-transform: lowercase;
}

/* ─── Ticket Shake Animation ────────────────────────────────────────────────── */
@keyframes shake-ticket {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px) rotate(-1deg); }
  40%, 80% { transform: translateX(4px) rotate(1deg); }
}

.ticket-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ticket-shake {
  animation: shake-ticket 0.4s ease-in-out;
}

.ticket-locked-msg {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--rose-bright);
  margin-top: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: center;
  letter-spacing: 0.05em;
}

.ticket-item.show-msg .ticket-locked-msg {
  opacity: 1;
  transform: translateY(0);
}
/* ─── Access Link (Invite Pop-up) ──────────────────────────────────────── */
.s0-access-link {
  text-decoration: none;
  background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: s0-gradient-shift 3s ease-in-out infinite;
  display: inline;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.s0-access-link:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.s0-access-link:active {
  transform: scale(0.96);
}

@keyframes s0-gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* ─── Invite Popup Modal ────────────────────────────────────────────────── */
/* ─── Invite Popup Modal ────────────────────────────────────────────────── */
.invite-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 9, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}

.invite-popup-modal.active {
  opacity: 1;
}

.invite-popup-content {
  background: linear-gradient(135deg, rgba(15, 16, 24, 0.92) 0%, rgba(26, 27, 46, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 48px 32px 40px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ornamento de fundo sutil */
.invite-popup-bg-ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.invite-popup-scrollable {
  position: relative;
  z-index: 1;
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom scrollbar para o popup */
.invite-popup-scrollable::-webkit-scrollbar {
  width: 3px;
}
.invite-popup-scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.invite-popup-scrollable::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.2);
  border-radius: 10px;
}

.invite-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
}

.invite-popup-close:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  color: white;
  transform: rotate(90deg);
}

@keyframes invite-popup-enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─── Invite Popup Content Refinement ───────────────────────────────────── */
.invite-popup-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  color: white;
  text-transform: lowercase;
  opacity: 0; /* JS handle */
}

.invite-popup-intro {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 24px;
  opacity: 0; /* JS handle */
}

.invite-popup-intro-gradient {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--rose-bright) 50%, var(--primary-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: prysma-gradient-shift-alt 3s ease-in-out infinite;
}

.invite-popup-subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 16px 0;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.invite-popup-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  align-items: flex-start;
}

.invite-popup-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  text-align: left;
  opacity: 0; /* JS handle */
  width: 100%;
}

.invite-popup-option-icon {
  font-size: 32px;
  color: var(--primary-bright);
  line-height: 1;
  margin-top: 0;
  animation: prysma-icon-float 3s ease-in-out infinite;
  text-shadow: 0 0 10px var(--primary-glow);
}

.invite-popup-option-icon.icon-diamond {
  font-size: 36px;
}

.invite-popup-option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.invite-popup-label {
  font-family: var(--font-display);
  font-size: 16px;
  color: white;
  font-weight: 500;
}

.invite-popup-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
}

.invite-popup-closing-question {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  font-weight: 400;
  opacity: 0; /* JS handle */
}

.invite-popup-subtext {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.7;
  font-size: 12px;
  margin-top: 4px;
}

.invite-popup-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0; /* JS handle */
}

.invite-popup-cta-text {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 0 !important;
}

.invite-popup-insta-link {
  color: var(--primary-bright);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--primary-bright);
  box-shadow: 0 0 15px var(--primary-glow);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.invite-popup-insta-link:hover {
  background: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 30px var(--primary-glow);
  transform: translateY(-3px) scale(1.05);
  color: white;
}

@keyframes prysma-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes prysma-gradient-shift-alt {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Randomized Glitch Logic */
.prysma-glitch {
  position: relative;
  display: inline-block;
}

.prysma-glitch::before,
.prysma-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

.prysma-glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--primary-bright);
  clip: rect(44px, 450px, 56px, 0);
  opacity: 0.7;
}

.prysma-glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--rose-bright);
  clip: rect(44px, 450px, 56px, 0);
  opacity: 0.7;
}

/* v1 - Title (Slow) */
.glitch-v1::before { animation: glitch-anim 4.3s infinite linear alternate-reverse; }
.glitch-v1::after { animation: glitch-anim2 3.7s infinite linear alternate-reverse; }

/* v2 - Option 1 (Medium) */
.glitch-v2::before { animation: glitch-anim 5.7s infinite linear alternate-reverse; }
.glitch-v2::after { animation: glitch-anim2 4.1s infinite linear alternate-reverse; }

/* v3 - Option 2 (Fast) */
.glitch-v3::before { animation: glitch-anim 3.9s infinite linear alternate-reverse; }
.glitch-v3::after { animation: glitch-anim2 2.9s infinite linear alternate-reverse; }

/* v4 - Closing Q (Delayed) */
.glitch-v4::before { animation: glitch-anim 6.1s infinite linear alternate-reverse; }
.glitch-v4::after { animation: glitch-anim2 5.3s infinite linear alternate-reverse; }

@media (max-width: 480px) {
  .invite-popup-content {
    padding: 40px 24px 32px;
    max-width: 420px;
  }
  .invite-popup-title {
    margin-bottom: 24px;
  }
  .invite-popup-intro {
    font-size: 19px;
    margin-bottom: 32px;
  }
  .invite-popup-options {
    gap: 24px;
    padding: 32px 0;
    margin-bottom: 40px;
  }
  .invite-popup-closing-question {
    margin-bottom: 24px;
  }
  .invite-popup-close {
    padding-bottom: 1px;
    top: 16px;
    right: 16px;
  }
}
