/* ═══════════════════════════════════════════════════════════════════
   POLIGUS · Cinematic Tech UI
   Inspired by Linear · Vercel · Stripe · Raycast · Tesla
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* — palette — */
  --bg-0: #050810;
  --bg-1: #07091a;
  --bg-2: #0a0e24;
  --bg-3: #0f1530;
  --ink-0: #F5F7FA;
  --ink-1: rgba(245, 247, 250, 0.85);
  --ink-2: rgba(245, 247, 250, 0.72);
  --ink-3: rgba(245, 247, 250, 0.55);
  --line: rgba(125, 211, 255, 0.10);
  --line-strong: rgba(125, 211, 255, 0.22);
  --cyan: #7DD3FF;
  --cyan-2: #A8E4FF;
  --cyan-soft: rgba(125, 211, 255, 0.6);
  --blue: #2B7BFF;
  --blue-deep: #0E4FCC;
  --violet: #8C5BFF;
  --accent-glow: rgba(125, 211, 255, 0.45);

  /* — type — */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* — base size (a11y bump for readability) — */
  --fs-base: 18px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--fs-base); }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink-0);
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  font-size: 18px;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  /* persistent subtle grain (gradient-based, no SVG fragment to confuse the bundler) */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.025;
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.5) 0, transparent 1px),
    repeating-radial-gradient(circle at 80% 70%, rgba(255,255,255,0.4) 0, transparent 1px),
    repeating-radial-gradient(circle at 50% 50%, rgba(125,211,255,0.3) 0, transparent 1.2px);
  background-size: 3px 3px, 2px 2px, 4px 4px;
  mix-blend-mode: overlay;
}

/* ── headings use display font ───────────────────────────────── */
h1, h2, h3, h4, .display { font-family: var(--font-display); letter-spacing: -0.025em; }
h1 { font-weight: 600; }
h2 { font-weight: 600; }
strong, b { font-weight: 600; }

/* ── scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue) 0%, var(--violet) 100%); border-radius: 3px; }

/* ── selection ────────────────────────────────────────────────── */
::selection { background: var(--cyan); color: var(--bg-0); }

/* ═══ scroll progress bar (top of page) ═══════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: transparent; z-index: 200; pointer-events: none;
}
.scroll-progress::after {
  content: ""; display: block; height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--cyan-2), var(--cyan), var(--blue));
  box-shadow: 0 0 14px var(--cyan), 0 0 30px var(--accent-glow);
  transition: width 0.06s linear;
}

/* ═══ cursor glow (follows mouse) ═════════════════════════════ */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,211,255,0.08) 0%, rgba(125,211,255,0.03) 32%, transparent 68%);
  pointer-events: none; z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  mix-blend-mode: screen;
  will-change: transform;
}
@media (max-width: 900px) {
  .cursor-glow { width: 280px; height: 280px; opacity: 0; z-index: 2; }
}

/* ═══ keyframes ═══════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  33% { transform: translateY(-14px) rotate(1.5deg); }
  66% { transform: translateY(-6px) rotate(-0.8deg); }
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(43, 123, 255, 0.45)) drop-shadow(0 0 60px rgba(125, 211, 255, 0.22)); }
  50% { filter: drop-shadow(0 0 48px rgba(43, 123, 255, 0.75)) drop-shadow(0 0 100px rgba(140, 91, 255, 0.35)); }
}
@keyframes rotate-ring { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes rotate-ring-rev { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes scan {
  0% { transform: translateY(0); opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes shimmer-text {
  0% { background-position: -400% center; }
  100% { background-position: 400% center; }
}
@keyframes shimmer-btn {
  0% { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(300%) skewX(-20deg); }
}
@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-340px) translateX(40px); opacity: 0; }
}
@keyframes data-pulse {
  0% { stroke-dashoffset: 1000; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes blink-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}
@keyframes glitch-clip {
  0%, 100% { clip-path: inset(0 0 0 0); }
  20% { clip-path: inset(40% 0 28% 0); transform: translate(-2px, 0); }
  40% { clip-path: inset(15% 0 60% 0); transform: translate(2px, 0); }
  60% { clip-path: inset(70% 0 12% 0); transform: translate(-1px, 0); }
  80% { clip-path: inset(35% 0 45% 0); transform: translate(1px, 0); }
}

/* ═══ reveal-on-scroll utilities ══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .85s cubic-bezier(.16,.84,.44,1), transform .85s cubic-bezier(.16,.84,.44,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.68,0,1.2); }
.reveal-scale.visible { opacity: 1; transform: none; }
.reveal-blur { opacity: 0; filter: blur(20px); transform: translateY(20px); transition: opacity 1s ease, filter 1.2s ease, transform 1s ease; }
.reveal-blur.visible { opacity: 1; filter: blur(0); transform: none; }

/* ── Hero above-the-fold: reliable instant entrance, decoupled from the
      scroll observer + heavy 3D init (the headline must never wait) ── */
#top .reveal, #top .reveal-left, #top .reveal-scale, #top .reveal-blur {
  animation: hero-enter .9s cubic-bezier(.16,.84,.44,1) both;
}
#top .tag-pill.reveal { animation-delay: .04s; }
#top h1.reveal { animation-delay: .12s; }
#top p.reveal { animation-delay: .22s; }
#top .reveal:nth-of-type(n+4) { animation-delay: .32s; }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.19s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.26s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.33s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.47s; }

/* ═══ glass surfaces ═══════════════════════════════════════════ */
.glass {
  background: linear-gradient(135deg, rgba(125,211,255,0.04) 0%, rgba(43,123,255,0.02) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(.22,.68,0,1.2);
  position: relative;
}
.glass::before {
  /* inner top-edge highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(125,211,255,0.4) 0%, transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.glass:hover, .glass:active {
  border-color: rgba(125,211,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(43,123,255,0.18), 0 0 0 1px rgba(125,211,255,0.08);
}

/* ═══ buttons ══════════════════════════════════════════════════ */
.btn-primary, .btn-outline, .btn-whatsapp {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(.16,.84,.44,1);
  isolation: isolate;
}
.btn-primary {
  padding: 17px 34px;
  border: 1px solid rgba(125,211,255,0.4);
  background: linear-gradient(135deg, rgba(43,123,255,0.95) 0%, rgba(14,79,204,0.9) 100%);
  color: #fff;
  font-size: 15.5px; letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(43,123,255,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary::before {
  /* shimmer sweep on hover */
  content: ""; position: absolute; top: 0; left: 0; width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-150%) skewX(-20deg);
  transition: transform 0.7s;
}
.btn-primary:hover, .btn-primary:active { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(43,123,255,0.45), 0 0 0 1px rgba(125,211,255,0.6); }
.btn-primary:hover::before, .btn-primary:active::before { transform: translateX(200%) skewX(-20deg); }

.btn-outline {
  padding: 16px 32px;
  background: rgba(125,211,255,0.04);
  border: 1px solid rgba(125,211,255,0.28);
  color: var(--cyan-2);
  font-size: 15.5px;
}
.btn-outline:hover, .btn-outline:active { background: rgba(125,211,255,0.10); border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(125,211,255,0.15); }

.btn-whatsapp {
  padding: 19px 38px;
  border: 1px solid rgba(37,211,102,0.5);
  background: linear-gradient(135deg, #25D366 0%, #1da856 100%);
  color: #fff; font-size: 16.5px; font-weight: 700;
  box-shadow: 0 12px 32px rgba(37,211,102,0.32), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-whatsapp::before {
  content: ""; position: absolute; top: 0; left: 0; width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-150%) skewX(-20deg);
  transition: transform 0.8s;
}
.btn-whatsapp:hover, .btn-whatsapp:active { transform: translateY(-3px) scale(1.015); box-shadow: 0 18px 44px rgba(37,211,102,0.5), 0 0 0 1px rgba(125,211,255,0.3); }
.btn-whatsapp:hover::before, .btn-whatsapp:active::before { transform: translateX(200%) skewX(-20deg); }

/* ═══ plan cards ═══════════════════════════════════════════════ */
.plan-card {
  position: relative;
  background: linear-gradient(180deg, rgba(125,211,255,0.04) 0%, rgba(8,12,30,0.6) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 40px 30px 36px;
  transition: all 0.5s cubic-bezier(.22,.68,0,1.2);
  overflow: hidden;
  isolation: isolate;
}
.plan-card::before {
  /* top inner highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(125,211,255,0.5) 0%, transparent 25%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan-card.featured {
  border-color: rgba(125,211,255,0.55);
  background: linear-gradient(180deg, rgba(43,123,255,0.12) 0%, rgba(8,12,30,0.7) 70%);
  box-shadow: 0 0 0 1px rgba(125,211,255,0.3), 0 36px 80px rgba(43,123,255,0.22);
}
.plan-card.featured::after {
  /* radial glow inside featured card */
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 80%;
  background: radial-gradient(ellipse at center top, rgba(125,211,255,0.15) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}
.plan-card:hover, .plan-card:active { transform: translateY(-8px); border-color: rgba(125,211,255,0.45); box-shadow: 0 36px 80px rgba(43,123,255,0.18); }

/* ═══ faq ═════════════════════════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--line); transition: all 0.3s; }
.faq-question {
  width: 100%; background: transparent; border: 0; text-align: left; cursor: pointer;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  color: var(--ink-0); font-family: var(--font-display); font-weight: 500; font-size: 19px;
  transition: color 0.2s; letter-spacing: -0.01em;
}
.faq-question:hover, .faq-question:active { color: var(--cyan); }
.faq-answer {
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease, padding 0.3s ease;
  color: var(--ink-1); font-size: 16.5px; line-height: 1.8;
}

/* ═══ metric cards ════════════════════════════════════════════ */
.metric-card { text-align: center; padding: 36px 22px; border-right: 1px solid var(--line); position: relative; }
.metric-card:last-child { border-right: none; }
.metric-card::before {
  content: ""; position: absolute; top: 50%; left: 0; width: 1px; height: 0; background: var(--cyan); transition: height 0.5s, top 0.5s; transform: translateY(-50%);
}
.metric-card:hover::before, .metric-card:active::before { height: 70%; }

/* ═══ tag pill ═════════════════════════════════════════════════ */
.tag-pill {
  display: inline-flex; gap: 8px;
  padding: 8px 18px 8px 14px; border-radius: 50px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(125,211,255,0.06), rgba(43,123,255,0.04));
  color: var(--cyan); font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; align-items: center;
  position: relative; overflow: hidden;
}
.tag-pill::before {
  /* pulsing dot */
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: glow-pulse 2.4s ease-in-out infinite;
}
.tag-pill > span:first-child { display: none; } /* hide bullet chars passed in JSX */

/* ═══ neon line ═══════════════════════════════════════════════ */
.neon-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 20%, var(--cyan-2) 50%, var(--cyan) 80%, transparent 100%);
  opacity: 0.45;
}

/* ═══ social pills ════════════════════════════════════════════ */
.social-pill {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(125,211,255,0.04); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  cursor: pointer; transition: all 0.25s; font-family: var(--font-mono);
  text-decoration: none;
}
.social-pill:hover, .social-pill:active { background: rgba(125,211,255,0.12); color: var(--cyan); transform: translateY(-2px); border-color: var(--line-strong); }

/* ═══ footer link ═════════════════════════════════════════════ */
.footer-link {
  font-size: 14.5px; color: var(--ink-3); margin-bottom: 13px;
  cursor: pointer; transition: all 0.2s; display: inline-block;
  text-decoration: none; position: relative;
}
.footer-link::before {
  content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 0; height: 1px; background: var(--cyan); transition: width 0.25s;
}
.footer-link:hover, .footer-link:active { color: var(--cyan); transform: translateX(8px); }
.footer-link:hover::before, .footer-link:active::before { width: 8px; }

/* ═══ hero specific ═══════════════════════════════════════════ */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(125,211,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,211,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: orb-drift 18s ease-in-out infinite;
}

.glitch-text {
  position: relative; display: inline-block;
}
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
}
.glitch-text::before { color: var(--cyan); transform: translateX(-2px); mix-blend-mode: screen; opacity: 0.7; animation: glitch-clip 4s infinite linear; }
.glitch-text::after { color: var(--violet); transform: translateX(2px); mix-blend-mode: screen; opacity: 0.5; animation: glitch-clip 5.5s infinite linear reverse; }

/* ═══ typing caret for hero ═══════════════════════════════════ */
.caret { display: inline-block; width: 3px; height: 0.9em; background: var(--cyan); margin-left: 6px; vertical-align: text-bottom; animation: blink-cursor 0.9s infinite; box-shadow: 0 0 12px var(--cyan); }

/* ═══ section heading helper ═════════════════════════════════ */
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; }

/* ═══ 3D Poligus sphere ═══════════════════════════════════════ */
.poligus-sphere-3d { pointer-events: auto; }
.poligus-sphere-3d canvas { outline: none; display: block; }
.hero-sphere-desktop { will-change: transform; }
h1, h2, h3, h4, .display { text-rendering: optimizeLegibility; }

/* ═══ mobile ═════════════════════════════════════════════════ */
.mobile-only { display: none !important; }
@media (max-width: 900px) { .hero-sphere-desktop { display: none !important; } }
@media (max-width: 768px) {
  .mobile-only { display: flex !important; }
  .desktop-only { display: none !important; }
  body { font-size: 17.5px; }
  section { padding: 80px 22px !important; }
  section#top { padding: 100px 22px 60px !important; min-height: auto !important; }
  .grid-responsive { grid-template-columns: 1fr !important; gap: 36px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .metric-card { border-right: none; border-bottom: 1px solid var(--line); padding: 26px 16px !important; }
  .metric-card:nth-last-child(-n+2) { border-bottom: none; }
  .nav-cta-text { display: none; }
  .nav-mobile { height: 64px !important; padding: 0 18px !important; }
  .nav-mobile .logo-mobile { transform: scale(0.85); transform-origin: left center; }
  .btn-primary, .btn-outline, .btn-whatsapp { width: 100%; justify-content: center; padding: 18px 24px !important; min-height: 56px; font-size: 17px !important; }
  .btn-whatsapp { font-size: 17.5px !important; }
  .glass, .plan-card { border-radius: 16px !important; }
  .plan-card { padding: 32px 24px !important; }
  .faq-question { font-size: 18px; padding: 24px 0; }
  .faq-answer { font-size: 16.5px; }
  .floating-wa { bottom: 16px !important; right: 16px !important; width: 60px !important; height: 60px !important; }
  h1, h2, h3 { text-wrap: balance; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .nav-mobile { height: 60px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ═══ Poligus — GLASS CARDS (claro · transparente · uniforme) ═══════
   Um único tratamento de vidro fosco translúcido em TODO card do site.
   Fundo claro transparente, texto claro, ícones mantêm a cor (stroke). */
.card-light, .plan-light, .seg-chip, .faq-light, .panel-light {
  background: linear-gradient(158deg, rgba(255,255,255,0.10) 0%, rgba(168,212,255,0.05) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: var(--ink-1);
  border: 1px solid rgba(168,228,255,0.18);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(2,7,20,0.42), inset 0 1px 0 rgba(255,255,255,0.16);
  transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease, border-color .4s ease, background .4s ease;
  position: relative;
}
/* realce de borda no topo (vidro) */
.card-light::before, .plan-light::before, .faq-light::before, .panel-light::before, .seg-chip::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(168,228,255,0.45) 0%, transparent 38%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card-light:hover, .card-light:active,
.plan-light:hover, .plan-light:active,
.faq-light:hover, .faq-light:active,
.panel-light:hover {
  transform: translateY(-6px);
  background: linear-gradient(158deg, rgba(255,255,255,0.16) 0%, rgba(168,212,255,0.08) 100%);
  border-color: rgba(168,228,255,0.42);
  box-shadow: 0 28px 62px rgba(2,7,20,0.5), 0 0 0 1px rgba(125,211,255,0.25), inset 0 1px 0 rgba(255,255,255,0.22);
}
/* texto claro em todo card (ícones usam stroke/fill → mantêm a cor) */
.card-light, .card-light *, .plan-light, .plan-light *, .seg-chip, .seg-chip *,
.faq-light, .faq-light *, .panel-light, .panel-light * { color: var(--ink-1) !important; }
.card-light .cl-title, .plan-light .cl-title { color: var(--ink-0) !important; }
.card-light .cl-desc { color: var(--ink-2) !important; }
.card-light .cl-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
/* acentos preservados sobre o vidro (depois do override p/ vencer no source-order) */
.acc-red    { color: #FF8C8C !important; }
.acc-cyan   { color: var(--cyan-2) !important; }
.acc-strong { color: var(--ink-0) !important; }
.cl-icon {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #2B7BFF, #1454C6);
  color: #EAF4FF;
  box-shadow: 0 6px 16px rgba(20,84,198,0.45);
  transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease;
}
/* motion: ícone reage ao hover do card */
.card-light:hover .cl-icon { transform: translateY(-3px) scale(1.08) rotate(-4deg); box-shadow: 0 12px 24px rgba(20,84,198,0.55); }

/* warn = vidro com realce vermelho (sem preenchimento rosa) */
.card-warn { border-color: rgba(255,130,130,0.34);
  background: linear-gradient(158deg, rgba(255,140,140,0.11) 0%, rgba(255,90,90,0.045) 100%); }
.card-warn::before { background: linear-gradient(180deg, rgba(255,150,150,0.5) 0%, transparent 38%); }
.card-warn .cl-icon, .card-warn .warn-badge {
  background: linear-gradient(135deg, #FF6B6B, #E23B3B); color: #fff !important;
  box-shadow: 0 6px 16px rgba(226,59,59,0.4);
  display: flex; align-items: center; justify-content: center;
}

/* plano em destaque — vidro azul translúcido */
.plan-light { border-radius: 20px; }
.plan-light.featured {
  background: linear-gradient(158deg, rgba(125,211,255,0.18) 0%, rgba(43,123,255,0.08) 100%);
  border: 1px solid rgba(125,211,255,0.5);
}

/* segment chip + faq usam a mesma superfície de vidro */
.seg-chip { border-radius: 13px; }
.seg-chip:hover, .seg-chip:active { transform: translateY(-4px); border-color: rgba(125,211,255,0.42);
  box-shadow: 0 18px 40px rgba(2,7,20,0.5), 0 0 0 1px rgba(43,123,255,0.28); }

/* ═══ Poligus — responsive nav + new grids ═══ */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
}
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-enter { display: none !important; }
  .nav-burger { display: flex !important; }
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr !important; }
  .results-grid { grid-template-columns: 1fr !important; }
  .feature-grid { grid-template-columns: 1fr !important; }
  .plans-grid { grid-template-columns: 1fr !important; gap: 26px !important; }
  .compare-row { font-size: 15px; }
}
@media (max-width: 480px) {
  .pain-grid { grid-template-columns: 1fr !important; }
  .seg-grid { grid-template-columns: 1fr 1fr !important; }
  .cred-row { gap: 10px 18px !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   POLIGUS · v2 motion + premium polish
   aurora · marquee · spotlight planos · choreografia · chat mockup
   ═══════════════════════════════════════════════════════════════════ */

/* ── AURORA / GRADIENT MESH (substitui partículas+grid+scan) ──────── */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.55; will-change: transform;
  mix-blend-mode: screen;
}
.aurora__blob.b1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 30% 30%, rgba(43,123,255,0.55), transparent 62%);
  top: -16%; left: -10%; animation: aurora-drift-1 26s ease-in-out infinite; }
.aurora__blob.b2 { width: 52vw; height: 52vw; max-width: 660px; max-height: 660px;
  background: radial-gradient(circle at 60% 40%, rgba(125,211,255,0.5), transparent 60%);
  bottom: -20%; right: -8%; animation: aurora-drift-2 32s ease-in-out infinite; }
.aurora__blob.b3 { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(140,91,255,0.34), transparent 62%);
  top: 30%; left: 45%; animation: aurora-drift-3 38s ease-in-out infinite; }
@keyframes aurora-drift-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,6vh) scale(1.12); } }
@keyframes aurora-drift-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-7vw,-5vh) scale(1.08); } }
@keyframes aurora-drift-3 { 0%,100% { transform: translate(-50%,0) scale(1); } 50% { transform: translate(-42%,-7vh) scale(1.16); } }

/* ── reveal-right (choreografia direcional) ───────────────────────── */
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); }
.reveal-right.visible { opacity: 1; transform: none; }
/* stagger estendido p/ grids maiores */
.stagger > .reveal:nth-child(8),  .stagger > .reveal-left:nth-child(8),  .stagger > .reveal-right:nth-child(8)  { transition-delay: 0.54s; }
.stagger > .reveal:nth-child(9),  .stagger > .reveal-left:nth-child(9),  .stagger > .reveal-right:nth-child(9)  { transition-delay: 0.61s; }
.stagger > .reveal:nth-child(10), .stagger > .reveal-left:nth-child(10), .stagger > .reveal-right:nth-child(10) { transition-delay: 0.68s; }
.stagger > .reveal-left:nth-child(1)  { transition-delay: 0.05s; }
.stagger > .reveal-left:nth-child(2)  { transition-delay: 0.12s; }
.stagger > .reveal-left:nth-child(3)  { transition-delay: 0.19s; }
.stagger > .reveal-left:nth-child(4)  { transition-delay: 0.26s; }
.stagger > .reveal-right:nth-child(1) { transition-delay: 0.05s; }
.stagger > .reveal-right:nth-child(2) { transition-delay: 0.12s; }
.stagger > .reveal-right:nth-child(3) { transition-delay: 0.19s; }
.stagger > .reveal-right:nth-child(4) { transition-delay: 0.26s; }
/* stagger universal (cobre reveal-scale e qualquer variante) */
.stagger > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger > *:nth-child(7)  { transition-delay: 0.47s; }
.stagger > *:nth-child(8)  { transition-delay: 0.54s; }
.stagger > *:nth-child(9)  { transition-delay: 0.61s; }
.stagger > *:nth-child(10) { transition-delay: 0.68s; }

/* ── PLANOS · spotlight + tilt seguindo o cursor ──────────────────── */
.plan-light {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .25s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease, border-color .4s ease;
}
.plan-light::after {
  /* luz que segue o ponteiro */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.55), transparent 46%);
  opacity: 0; transition: opacity .35s ease; mix-blend-mode: soft-light; z-index: 3;
}
.plan-light:hover::after { opacity: 1; }
.plan-light:hover { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(-6px); }
/* destaque "Mais vendido" com brilho vivo pulsante */
.plan-light.featured { animation: featured-glow 3.4s ease-in-out infinite; }
@keyframes featured-glow {
  0%, 100% { box-shadow: 0 22px 54px rgba(2,7,20,0.6), 0 0 0 5px rgba(43,123,255,0.14), inset 0 1px 0 rgba(255,255,255,1); }
  50%      { box-shadow: 0 26px 64px rgba(2,7,20,0.62), 0 0 0 5px rgba(43,123,255,0.30), 0 0 38px rgba(43,123,255,0.42), inset 0 1px 0 rgba(255,255,255,1); }
}

/* ── SEGMENTOS · marquee deslizante ───────────────────────────────── */
.marquee { position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.marquee__track.ltr { animation: marquee-ltr 38s linear infinite; }
.marquee__track.rtl { animation: marquee-rtl 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-ltr { from { transform: translateX(0); }        to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(-50%); }     to { transform: translateX(0); } }
.marquee .seg-chip { flex: 0 0 auto; }

/* ── CHAT MOCKUP (WhatsApp ao vivo) ───────────────────────────────── */
.phone {
  width: 100%; max-width: 380px; margin: 0 auto;
  background: #0b141a; border-radius: 38px; padding: 12px;
  border: 1px solid rgba(125,211,255,0.18);
  box-shadow: 0 40px 100px rgba(2,7,20,0.7), 0 0 0 2px rgba(255,255,255,0.04), 0 0 60px rgba(43,123,255,0.18);
  position: relative;
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #05080f; border-radius: 0 0 16px 16px; z-index: 5; }
.phone__screen { border-radius: 28px; overflow: hidden; background: #0b141a; }
.wa__header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px;
  background: linear-gradient(180deg, #1f2c34, #1b272e); }
.wa__avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #2B7BFF, #0E4FCC); display: flex; align-items: center; justify-content: center;
  color: #EAF4FF; box-shadow: 0 4px 12px rgba(43,123,255,0.4); }
.wa__name { color: #e9edef; font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1.1; }
.wa__status { color: #8aa0ad; font-size: 12.5px; font-family: var(--font-body); margin-top: 2px; }
.wa__status .dot { color: #25D366; }
.wa__body {
  height: 430px; overflow: hidden; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px;
  background-color: #0b141a;
  background-image: linear-gradient(rgba(6,12,18,0.92), rgba(6,12,18,0.92)),
    repeating-linear-gradient(45deg, rgba(125,211,255,0.04) 0 2px, transparent 2px 22px);
  scroll-behavior: smooth;
}
.wa__msg { max-width: 80%; padding: 8px 11px 6px; border-radius: 12px; font-family: var(--font-body);
  font-size: 14.5px; line-height: 1.42; position: relative; word-wrap: break-word;
  animation: msg-pop .32s cubic-bezier(.16,.84,.44,1) both; box-shadow: 0 1px 1px rgba(0,0,0,0.18); }
@keyframes msg-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.wa__msg.in  { align-self: flex-start; background: #202c33; color: #e9edef; border-top-left-radius: 4px; }
.wa__msg.out { align-self: flex-end;   background: #005c4b; color: #e9edef; border-top-right-radius: 4px; }
.wa__time { display: block; text-align: right; font-size: 10.5px; color: rgba(233,237,239,0.55); margin-top: 3px; }
.wa__msg.out .wa__time::after { content: " ✓✓"; color: #53bdeb; }
.wa__typing { align-self: flex-start; background: #202c33; border-top-left-radius: 4px;
  padding: 12px 14px; border-radius: 12px; display: inline-flex; gap: 4px; align-items: center;
  animation: msg-pop .25s ease both; }
.wa__typing span { width: 7px; height: 7px; border-radius: 50%; background: #8aa0ad; display: inline-block;
  animation: typing-dot 1.2s infinite ease-in-out; }
.wa__typing span:nth-child(2) { animation-delay: .2s; }
.wa__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-dot { 0%,60%,100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.wa__footer { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #1b272e; }
.wa__inputbar { flex: 1; height: 38px; border-radius: 20px; background: #2a3942; }
.wa__send { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: #00a884; display: flex; align-items: center; justify-content: center; color: #0b141a; }

@media (max-width: 920px) {
  .demo-wrap { grid-template-columns: 1fr !important; gap: 40px !important; }
  .demo-copy { text-align: center; }
  .demo-copy .tag-pill, .demo-copy > div:last-child { justify-content: center; }
  .demo-copy p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .wa__body { height: 380px; }
  .phone { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora__blob, .marquee__track, .plan-light.featured { animation: none !important; }
  .plan-light { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   POLIGUS · v3 motion — CTA respiração · nav underline · heading shine · online dot
   ═══════════════════════════════════════════════════════════════════ */
@keyframes cta-breathe {
  0%,100% { box-shadow: 0 12px 32px rgba(37,211,102,0.32), inset 0 1px 0 rgba(255,255,255,0.25); transform: scale(1); }
  50%     { box-shadow: 0 18px 46px rgba(37,211,102,0.5), 0 0 0 6px rgba(37,211,102,0.10), inset 0 1px 0 rgba(255,255,255,0.25); transform: scale(1.015); }
}
@keyframes cta-breathe-blue {
  0%,100% { box-shadow: 0 8px 24px rgba(43,123,255,0.32), inset 0 1px 0 rgba(255,255,255,0.18); transform: scale(1); }
  50%     { box-shadow: 0 14px 42px rgba(43,123,255,0.55), 0 0 0 6px rgba(43,123,255,0.12), inset 0 1px 0 rgba(255,255,255,0.18); transform: scale(1.015); }
}
.btn-pulse { animation: cta-breathe-blue 3.2s ease-in-out infinite; } /* CTAs principais são azuis */
.btn-pulse:hover { animation-play-state: paused; }

/* underline animado no nav (não no botão "Entrar" que tem borda) */
.nav-link { position: relative; }
.nav-link:not(.nav-enter)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16,.84,.44,1);
  border-radius: 2px;
}
.nav-link:not(.nav-enter):hover::after, .nav-link:not(.nav-enter):focus-visible::after { transform: scaleX(1); }

/* shine deslizante em headings com gradiente */
.h-shine { background-size: 220% auto !important; animation: shimmer-text 7s linear infinite; }

/* dot "online" pulsando no chat */
.wa__status .dot { display: inline-block; animation: online-pulse 1.8s ease-in-out infinite; }
@keyframes online-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(0.8); } }

@media (prefers-reduced-motion: reduce) {
  .btn-pulse, .h-shine, .wa__status .dot { animation: none !important; }
  .nav-link:not(.nav-enter)::after { transition: none !important; }
}
