/* =========================================================
   STYLE.CSS — Cyber-Clean / Dark Futurista
   Mobile-first, CSS puro, sem dependências, sem fontes externas.
   Animações só com transform/opacity (GPU, sem layout shift → bom CLS).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #05060f;
  --bg-2: #0a0c1c;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --green: #00ff88;
  --green-2: #25d366;
  --cyan: #22e6ff;
  --violet: #8b5cf6;
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: min(100% - 2.5rem, 1040px); margin-inline: auto; }

/* ---------- Fundo ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
.bg-glow {
  position: fixed; z-index: -2; pointer-events: none;
  width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.22;
}
.bg-glow--green  { top: -35vmax; left: -25vmax; background: radial-gradient(circle, var(--green), transparent 65%); }
.bg-glow--violet { bottom: -40vmax; right: -30vmax; background: radial-gradient(circle, var(--violet), transparent 65%); }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; max-width: 1040px; margin-inline: auto;
}
.brand { font-weight: 700; letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.5rem; }
.brand strong { color: var(--green); margin-left: 0.2rem; }
.brand__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--green);
  padding: 0.35rem 0.8rem; border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 999px; background: rgba(0, 255, 136, 0.06);
}
.badge__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.6s ease-in-out infinite; }

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 3rem; text-align: center; position: relative; z-index: 1; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
h1 {
  font-size: clamp(1.9rem, 7vw, 3.6rem);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; max-width: 18ch;
  max-width: 22ch;
}
.grad {
  background: linear-gradient(90deg, var(--green), var(--cyan) 60%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(1.05rem, 3.6vw, 1.4rem); font-weight: 600; color: var(--cyan); max-width: 34ch; }
.hero__benefit { color: var(--muted); max-width: 46ch; font-size: clamp(0.95rem, 3vw, 1.1rem); }

/* ---------- CTA gigante com glow/pulso ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  width: min(100%, 460px); min-height: 68px; padding: 1rem 1.6rem;
  font-size: clamp(1.05rem, 4vw, 1.3rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  color: #02150b; text-decoration: none;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55), 0 10px 40px rgba(0, 255, 136, 0.35);
  animation: pulse 2.2s ease-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta:hover { transform: translateY(-3px) scale(1.02); }
.cta:active { transform: scale(0.98); }
.cta:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.cta__icon { width: 28px; height: 28px; flex: none; }
.cta__shine {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.4s ease-in-out infinite;
}

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- Seções ---------- */
.section { padding: 3rem 0; position: relative; z-index: 1; }
.section__title { font-size: clamp(1.4rem, 5vw, 2.2rem); line-height: 1.2; text-align: center; letter-spacing: -0.01em; }
.section__lead { text-align: center; color: var(--muted); max-width: 56ch; margin: 0.8rem auto 2rem; }

/* Lojas */
.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.store {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.2rem 0.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-weight: 600; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.store svg { width: 40px; height: 40px; color: var(--cyan); }
.store:hover { transform: translateY(-4px); border-color: rgba(0, 255, 136, 0.5); box-shadow: 0 0 24px rgba(0, 255, 136, 0.15); }
.disclaimer { margin-top: 1.4rem; text-align: center; font-size: 0.75rem; color: var(--muted); opacity: 0.8; }

/* Cards */
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.card {
  padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.10), rgba(34, 230, 255, 0.03));
  border: 1px solid var(--border);
}
.card__icon { width: 44px; height: 44px; color: var(--green); margin-bottom: 0.9rem; filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5)); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); }

/* CTA final */
.final__box {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  padding: 2.2rem 1.4rem; border-radius: 26px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.14), transparent 60%), var(--bg-2);
  border: 1px solid rgba(0, 255, 136, 0.3);
}
.final h2 { font-size: clamp(1.4rem, 5vw, 2.2rem); line-height: 1.2; max-width: 24ch; }
.final p { color: var(--muted); max-width: 44ch; }

/* Footer */
.site-footer { padding: 2rem 0 3rem; text-align: center; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.site-footer .small { font-size: 0.72rem; opacity: 0.75; margin-top: 0.5rem; max-width: 70ch; margin-inline: auto; }

/* ---------- Ícones flutuantes ---------- */
.floaters { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.floater {
  position: absolute; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  box-shadow: 0 0 22px rgba(34, 230, 255, 0.15);
  opacity: 0.55;
  animation: float var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.floater svg { width: 28px; height: 28px; }
.f1 { top: 14%; left: 4%;  --dur: 9s;  --delay: 0s;   color: var(--green); }
.f2 { top: 30%; right: 5%; --dur: 11s; --delay: -3s; }
.f3 { top: 52%; left: 3%;  --dur: 10s; --delay: -5s;  color: var(--violet); }
.f4 { top: 68%; right: 4%; --dur: 12s; --delay: -2s;  color: var(--green); }
.f5 { top: 84%; left: 8%;  --dur: 8.500s; --delay: -6s; }
.f6 { top: 8%;  right: 10%; --dur: 13s; --delay: -4s; color: var(--violet); }
/* Mobile: só 4 ícones, mais discretos (menos distração e menos GPU) */
@media (max-width: 599px) { .f5, .f6 { display: none; } .floater { width: 44px; height: 44px; opacity: 0.35; } .floater svg { width: 22px; height: 22px; } }

/* ---------- Reveal on scroll (classe aplicada pelo JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%      { transform: translate3d(10px, -18px, 0) rotate(4deg); }
  50%      { transform: translate3d(-8px, -30px, 0) rotate(-3deg); }
  75%      { transform: translate3d(-14px, -12px, 0) rotate(3deg); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55), 0 10px 40px rgba(0, 255, 136, 0.35); }
  70%  { box-shadow: 0 0 0 22px rgba(0, 255, 136, 0), 0 10px 40px rgba(0, 255, 136, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0), 0 10px 40px rgba(0, 255, 136, 0.35); }
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 600px) {
  .stores { grid-template-columns: repeat(3, 1fr); }
  .cards  { grid-template-columns: repeat(3, 1fr); }
  .floater { width: 64px; height: 64px; opacity: 0.6; }
  .floater svg { width: 32px; height: 32px; }
}
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .section { padding: 4.5rem 0; }
  .stores { grid-template-columns: repeat(6, 1fr); }
  .final__box { padding: 3.5rem 2rem; }
}

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