/* ═══════════════ TOKENS — NEON VELOCITY ═══════════════ */
:root {
  --bg: #050505;                       /* nunca #000 puro — o ruído precisa de aparecer */
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.1);

  /* ACENTO — trocar estas 2 linhas reestiliza a página inteira */
  --accent: #BFFF00;                   /* NEON (padrão) */
  --accent-rgb: 191, 255, 0;
  /* --accent: #4ADE80;  --accent-rgb: 74, 222, 128;    VARIANTE QUENTE A — verde-relvado */
  /* --accent: #FFC53D;  --accent-rgb: 255, 197, 61;    VARIANTE QUENTE B — dourado */

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
}
header, main, footer, section {
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  header, main, footer, section {
    overflow-x: hidden;
  }
}

::selection { background: var(--accent); color: #000; }

section { scroll-margin-top: 2rem; }

/* ═══════════════ NOISE OVERLAY (3%, fixo) ═══════════════ */
.noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════ REFRACTION GLOW ═══════════════ */
.glow {
  position: absolute; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15), transparent 70%);
  filter: blur(100px);
  max-width: none;
}
.glow-soft { background: radial-gradient(circle, rgba(var(--accent-rgb), 0.07), transparent 70%); }

/* ═══════════════ TIPOGRAFIA ═══════════════ */
.headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.headline-hero { font-size: clamp(1.75rem, 6.2vw, 6.5rem); }
.headline-xl   { font-size: clamp(2.2rem, 7vw, 5.5rem); }
.headline-lg   { font-size: clamp(1.8rem, 5vw, 3.5rem); }

.mono-label {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--text-muted);
}
.mono-label-tight { letter-spacing: 0.2em; font-size: 10px; }

.tnum { font-variant-numeric: tabular-nums; }

/* ═══════════════ GLASS ═══════════════ */
.glass {
  background: rgba(255,255,255,0.02);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ═══════════════ LASER BUTTON ═══════════════ */
.laser-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  min-height: 48px;
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.laser-btn:hover {
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.5);
  transform: translateY(-2px);
}
.laser-btn::after {
  content: '';
  position: absolute;
  top: -60%; bottom: -60%; left: -30%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.95) 40%, transparent);
  transform: translateX(-220%) skewX(-20deg);
  pointer-events: none;
}
.laser-btn:hover::after { animation: laser-sweep 0.6s var(--ease); }
@keyframes laser-sweep { to { transform: translateX(420%) skewX(-20deg); } }

.laser-btn-sm { padding: 0.7rem 1.5rem; font-size: 0.75rem; min-height: 44px; }
.laser-btn-lg { padding: 1.25rem 3rem; font-size: 1.05rem; }

.laser-btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ═══════════════ LUMINOSITY CARD ═══════════════ */
.lumo-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.03), transparent);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 2rem;
  min-height: 450px;
  transition: border-color 0.5s ease, background 0.5s ease, transform 0.5s var(--ease);
}
.lumo-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.05), transparent),
    radial-gradient(circle at top left, rgba(255,255,255,0.03), transparent);
}
.phones-row {
  flex-wrap: wrap;
  overflow: visible;
}
@media (min-width: 1280px) {
  .phones-row {
    flex-wrap: nowrap;
    gap: 1rem;
  }
}
.phones-row > div {
  max-width: 100%;
}
@media (max-width: 1023px) {
  .phones-row {
    flex-direction: column;
    align-items: center;
  }
  .phones-row > div {
    width: min(16rem, 100%);
  }
}

/* ═══════════════ HERO — caixa-borda gigante (cantos RETOS) ═══════════════ */
.hero-tilt { perspective: 1000px; }
.hero-glass { transform: rotateX(10deg); transform-style: preserve-3d; }
@media (min-width: 1024px) { .hero-glass { transform: rotateX(15deg); } }

.hero-border-box {
  border: 12px solid #FFFFFF;
  border-radius: 0;                    /* regra inviolável: cantos retos */
  padding: clamp(0.85rem, 3vw, 3rem);
}
@media (max-width: 640px) { .hero-border-box { border-width: 4px; } }

@media (max-width: 767px) {
  #hero .hero-glass { transform: none; }
  .hero-video {
    aspect-ratio: auto !important;
    height: 150px;
  }
}

/* ═══════════════ SCROLL-REVEAL ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════════ FAQ ACCORDION ═══════════════ */
.faq-item { transition: border-color 0.4s var(--ease); }
.faq-item[data-open="true"] { border-color: rgba(var(--accent-rgb), 0.3); }
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.faq-item[data-open="true"] .faq-icon,
.faq-trigger:hover .faq-icon { color: var(--accent); }
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }

/* ═══════════════ LISTAS COM LINHAS PONTILHADAS ═══════════════ */
.dot-row { display: flex; align-items: baseline; gap: 0.75rem; }
.dot-row .dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,0.15); transform: translateY(-4px); }

/* ═══════════════ AVATAR STACK ═══════════════ */
.avatar {
  width: 56px; height: 56px; border-radius: 9999px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.35);
  background: #111;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-left: -14px;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar:first-child { margin-left: 0; }

/* ═══════════════ BARRA FIXA MOBILE ═══════════════ */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(10,10,10,0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 8px 8px 8px 20px;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.mobile-cta.show { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) {
  body.cta-docked { padding-bottom: 84px; }
}

/* ═══════════════ NAV LINKS ═══════════════ */
.nav-link {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.nav-link:hover { color: var(--accent); }

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-glass { transform: none; }
}


/* ═══════════════ LANGUAGE SWITCHER ═══════════════ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-switch a {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  min-height: 44px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current="page"] { color: var(--accent); }
.lang-switch .sep {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  .lang-switch { gap: 0.15rem; }
  .lang-switch a { min-width: 28px; letter-spacing: 0.15em; font-size: 9px; }
  header .headline { font-size: 0.95rem; }
  header .laser-btn-sm { display: none; }
  .mono-label { letter-spacing: 0.16em; font-size: 10px; }
  .laser-btn-lg { padding: 0.85rem 1.5rem; font-size: 0.85rem; }
  .headline, .laser-btn, .plan-ghost-btn {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .laser-btn, .plan-ghost-btn {
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
  }
  .plan-card { padding: 1.25rem; }
  .hero-tilt { perspective: none; overflow: hidden; }
}

/* ═══════════════ PLAN CARDS ═══════════════ */
.plan-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.plan-card-featured {
  border-color: rgba(var(--accent-rgb), 0.45);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.1), transparent 62%),
    rgba(255,255,255,0.02);
  box-shadow: 0 0 48px rgba(var(--accent-rgb), 0.1);
}
.plan-period {
  font-size: 0.32em;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-left: 0.2em;
  text-transform: uppercase;
}
.plan-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.plan-ghost-btn:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
}

/* ═══════════════ DISCOUNT MODAL ═══════════════ */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.plan-modal.is-open { display: flex; }
.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.plan-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.1), transparent 55%),
    #0c0c0c;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 2rem;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.12);
}
@media (min-width: 640px) {
  .plan-modal-panel { padding: 2.5rem; }
}
.plan-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease);
}
.plan-modal-close:hover { color: var(--accent); }
body.modal-open { overflow: hidden; }
body.modal-open .mobile-cta { display: none; }

