/* ============================================================
   EduStore 2026 — Showcase premium
   Dark tech, scroll-driven, cinematográfico.
   ============================================================ */

:root {
  --bg: #0d0313;
  --bg-2: #150621;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0ff;
  --text-2: rgba(238, 240, 255, 0.64);
  --text-3: rgba(238, 240, 255, 0.4);
  --brand: #6b21d8;
  --brand-2: #e879f9;
  --brand-3: #d8b4fe;
  --hot: #ff4d8d;
  --ok: #34d399;
  --warn: #fbbf24;
  --grad: linear-gradient(96deg, #6b21d8 0%, #b903e5 60%, #e935d8 100%);
  --grad-soft: linear-gradient(96deg, rgba(146, 16, 222, .22), rgba(232, 121, 249, .18));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(146, 16, 222, .55); color: #fff; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
input { font: inherit; }

/* Grain global — textura de filme ESTÁTICA e sutil.
   (Animar o ruído lia como "TV falhando" — não animar.) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: .02;
  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='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--brand-2);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-head { max-width: 780px; }
.section-head h2 { font-size: clamp(34px, 5vw, 58px); margin: 22px 0 18px; }
.section-head p { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Palavra a palavra (split) */
.split-lines .line { display: block; overflow: hidden; }
.split-lines .line > span { display: inline-block; will-change: transform; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 16px 30px;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  white-space: nowrap;
  will-change: transform;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 32px rgba(146, 16, 222, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 12px 44px rgba(146, 16, 222, .55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.32); background: var(--surface-2); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 26px;
}
#preloader .pl-logo {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  overflow: hidden;
}
#preloader .pl-logo span { display: inline-block; transform: translateY(110%); }
#preloader .pl-bar {
  width: min(280px, 60vw);
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
#preloader .pl-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad);
  box-shadow: 0 0 16px var(--brand-2);
}
#preloader .pl-count {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--text-3);
}

/* ---------- Progresso de scroll ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 9980;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  box-shadow: 0 0 12px rgba(232, 121, 249, .6);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 3, 19, .72);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 14px var(--brand-2);
  transform: rotate(45deg);
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 12px 24px; font-size: 14px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-burger i {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-burger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open i:nth-child(2) { opacity: 0; }
.nav-burger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9890;
  background: rgba(13, 3, 19, .96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  padding: 10px;
  color: var(--text-2);
}
.mobile-menu a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video, .cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-video.on { opacity: .5; }
.cta-video.on { opacity: .5; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 110%, rgba(5,6,15,0) 0%, rgba(5,6,15,.85) 75%),
    linear-gradient(180deg, rgba(5,6,15,.5) 0%, rgba(5,6,15,0) 30%, rgba(5,6,15,.9) 100%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}

.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  margin: 26px 0 22px;
}
.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  padding: 8px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  background: rgba(19, 6, 32, .65);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  position: relative;
}
.hero-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 100px;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, rgba(106,53,255,.9) 75%, rgba(34,211,238,.9) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: spin-border 5s linear infinite;
  pointer-events: none;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }
.hero-form input[type="text"], .hero-form input[type="tel"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  padding: 12px 18px;
  font-size: 15px;
}
.hero-form input::placeholder { color: var(--text-3); }
.hero-form .btn { padding: 14px 26px; font-size: 14px; }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-2);
}
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks svg { color: var(--ok); flex: none; }

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.02em;
}
.hero-stats span { font-size: 13px; color: var(--text-3); }

/* Painel flutuante do hero (mini-dash) */
.hero-visual { position: relative; perspective: 1200px; }
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(31, 12, 52, .9), rgba(15, 4, 26, .92));
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255,255,255,.08);
  padding: 22px;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.hero-panel .hp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hp-dots { display: flex; gap: 6px; }
.hp-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.hp-dots i:first-child { background: #ff5f57; }
.hp-dots i:nth-child(2) { background: #febc2e; }
.hp-dots i:nth-child(3) { background: #28c840; }
.hp-title { font-size: 12px; color: var(--text-3); letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-display); }
.hp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.hp-kpi {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 14px;
}
.hp-kpi span { font-size: 11px; color: var(--text-3); display: block; margin-bottom: 4px; }
.hp-kpi b { font-family: var(--font-display); font-size: 18px; letter-spacing: -.01em; }
.hp-kpi .up { color: var(--ok); font-size: 11px; margin-left: 6px; }
.hp-chart {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
}
.hp-chart svg { width: 100%; height: auto; }
.hp-float {
  position: absolute;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(24, 8, 40, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  will-change: transform;
}
.hp-float .ic {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-float b { display: block; font-size: 13.5px; }
.hp-float span { color: var(--text-3); font-size: 11.5px; }
.hp-float.f-sale { top: -26px; right: -18px; }
.hp-float.f-sale .ic { background: rgba(52, 211, 153, .15); color: var(--ok); }
.hp-float.f-ia { bottom: 40px; left: -40px; }
.hp-float.f-ia .ic { background: rgba(146, 16, 222, .2); color: var(--brand-3); }
.hp-float.f-wpp { bottom: -26px; right: 40px; }
.hp-float.f-wpp .ic { background: rgba(37, 211, 102, .14); color: #25d366; }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-hint .wheel {
  width: 22px; height: 34px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .wheel::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--brand-2);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee (clientes) ---------- */
.clients {
  padding: 40px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.clients p {
  text-align: center;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 70px;
  padding-right: 70px;
  animation: marquee 32s linear infinite;
}
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  transition: color .3s;
}
.marquee-track span:hover { color: var(--text); }

/* ---------- Seção base ---------- */
.section { position: relative; padding: 130px 0; }

/* ---------- Dores (deck empilhado: cada card cobre o anterior) ---------- */
.pains { background: var(--bg); }
.pains-head { margin-bottom: 70px; }
.pains-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 840px;
  margin-inline: auto;
}
.pains-stack .pain-card {
  position: sticky;
  top: calc(var(--nav-h) + 50px); /* offset por card ajustado no JS */
  will-change: transform;
}
.pain-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 77, 141, .16);
  /* Base OPACA — no deck, o card de cima precisa ocultar o de baixo */
  background:
    linear-gradient(165deg, rgba(255, 77, 141, .07), transparent 55%),
    linear-gradient(170deg, #1a0b28, #10051c);
  padding: 44px 42px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .45);
}
.pain-card .num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--hot);
  margin-bottom: 26px;
  display: block;
}
.pain-card h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; }
.pain-card p { color: var(--text-2); font-size: 15px; }
.pain-card .ghost-ic {
  position: absolute;
  right: -14px;
  bottom: -18px;
  font-size: 120px;
  line-height: 1;
  opacity: .05;
  font-family: var(--font-display);
  font-weight: 700;
  pointer-events: none;
}
.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.pain-tags i {
  font-style: normal;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 77, 141, .25);
  color: rgba(255, 148, 184, .85);
  background: rgba(255, 77, 141, .06);
}

/* ---------- A virada ---------- */
.turn {
  position: relative;
  padding: 170px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(146, 16, 222, .16), transparent 70%),
    var(--bg-2);
}
.turn h2 {
  font-size: clamp(38px, 6.4vw, 84px);
  max-width: 1000px;
  margin: 26px auto 24px;
}
.turn p { max-width: 620px; margin: 0 auto; color: var(--text-2); font-size: clamp(16px, 1.7vw, 19px); }
.turn-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
}
.turn-orbit i {
  position: absolute;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--text-3);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(19, 6, 32, .8);
  white-space: nowrap;
  will-change: transform;
}

/* ---------- Tour do produto ---------- */
.tour { background: var(--bg); }
.tour-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.tour-steps { position: relative; }
.tour-step {
  position: relative;
  padding: 30px 0 30px 34px;
  border-left: 1px solid var(--line);
  cursor: pointer;
  transition: opacity .4s;
  opacity: .38;
}
.tour-step::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: 0;
  width: 2px;
  height: 0%;
  background: var(--grad);
  transition: height .5s var(--ease);
}
.tour-step.active { opacity: 1; }
.tour-step.active::before { height: 100%; box-shadow: 0 0 14px rgba(232, 121, 249, .6); }
.tour-step .ts-tag {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-2);
  display: block;
  margin-bottom: 10px;
}
.tour-step h3 { font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 26px); letter-spacing: -.02em; margin-bottom: 10px; }
.tour-step p { color: var(--text-2); font-size: 15px; max-width: 420px; }

.tour-stage { position: sticky; top: calc(var(--nav-h) + 30px); }
.device {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, #1d1030, #0e051a);
  box-shadow: 0 50px 120px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.device-url {
  flex: 1;
  font-size: 12px;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 100px;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: .04em;
}
.device-screens { position: relative; min-height: 480px; }
.screen {
  position: absolute;
  inset: 0;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.screen.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* — Screen: CRM — */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 100%; }
.kb-col {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
}
.kb-col h5 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--font-display);
  display: flex;
  justify-content: space-between;
  padding: 2px 4px 8px;
}
.kb-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  padding: 12px;
  font-size: 12.5px;
}
.kb-card b { display: block; font-size: 13px; margin-bottom: 3px; }
.kb-card span { color: var(--text-3); font-size: 11.5px; }
.kb-card .kb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 100px;
}
.kb-badge.wpp { background: rgba(37, 211, 102, .12); color: #4ade80; }
.kb-badge.hot { background: rgba(251, 191, 36, .12); color: var(--warn); }
.kb-badge.won { background: rgba(52, 211, 153, .14); color: var(--ok); }
.kb-card.moving { border-color: rgba(232, 121, 249, .5); box-shadow: 0 8px 30px rgba(232, 121, 249, .18); }
.crm-chat {
  position: absolute;
  right: 30px;
  bottom: 26px;
  width: 246px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(17, 5, 29, .96);
  box-shadow: 0 26px 60px rgba(0,0,0,.6);
  padding: 14px;
}
.crm-chat .cc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.crm-chat .cc-head .av {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.crm-chat .cc-head span { color: #4ade80; font-size: 10px; margin-left: auto; }
.bubble {
  max-width: 88%;
  font-size: 11.5px;
  line-height: 1.45;
  padding: 8px 11px;
  border-radius: 12px;
  margin-bottom: 7px;
  opacity: 0;
  transform: translateY(8px);
}
.bubble.in { background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; }
.bubble.out {
  background: rgba(37, 211, 102, .16);
  border: 1px solid rgba(37, 211, 102, .2);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}
.bubble .tag-auto {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 3px;
}

/* — Screen: financeiro — */
.fin-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.fin-kpi {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
}
.fin-kpi span { font-size: 11px; color: var(--text-3); display: block; margin-bottom: 6px; }
.fin-kpi b { font-family: var(--font-display); font-size: 21px; letter-spacing: -.01em; }
.fin-kpi small { display: block; margin-top: 5px; font-size: 11px; }
.fin-kpi small.up { color: var(--ok); }
.fin-kpi small.down { color: var(--ok); }
.fin-chart {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
}
.fin-chart h6 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-family: var(--font-display); }
.fin-bars { display: flex; align-items: flex-end; gap: 9px; height: 150px; }
.fin-bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  opacity: .85;
  transform-origin: bottom;
  min-height: 6px;
}
.fin-pay {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.fin-pay i {
  font-style: normal;
  font-size: 11px;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
}

/* — Screen: sala do aluno — */
.class-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 14px; height: 100%; }
.class-side {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 14px;
  font-size: 12px;
}
.class-side h6 { font-size: 10.5px; letter-spacing: .15em; color: var(--text-3); text-transform: uppercase; margin-bottom: 12px; font-family: var(--font-display); }
.class-side li {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.class-side li.done { color: var(--text-3); text-decoration: line-through; }
.class-side li.now { background: rgba(146, 16, 222, .16); color: var(--text); border: 1px solid rgba(146, 16, 222, .3); }
.class-main { display: flex; flex-direction: column; gap: 12px; }
.class-player {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 100% at 30% 0%, rgba(146, 16, 222, .25), transparent 60%),
    linear-gradient(160deg, #241242, #120724);
  flex: 1;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.class-player .play {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: pulse-play 2.4s ease-in-out infinite;
}
@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.14); }
  50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}
.class-player .xp {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(251, 191, 36, .14);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, .25);
}
.class-progress {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 14px 16px;
  font-size: 12px;
}
.class-progress .track {
  height: 7px;
  border-radius: 7px;
  background: var(--line);
  margin-top: 9px;
  overflow: hidden;
}
.class-progress .track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 7px;
  background: var(--grad);
}

/* — Screen: IA — */
.ia-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; height: 100%; }
.ia-chat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.ia-chat .ia-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}
.ia-chat .ia-head .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
}
.ia-msg { font-size: 12.5px; line-height: 1.55; color: var(--text-2); }
.ia-msg .typed-caret {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--brand-2);
  vertical-align: -2px;
  margin-left: 2px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.ia-plan { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.ia-plan li {
  font-size: 11.5px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(146, 16, 222, .25);
  background: rgba(146, 16, 222, .08);
  opacity: 0;
  transform: translateX(-8px);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ia-plan li span { color: var(--text-3); flex: none; }
.ia-cards { display: flex; flex-direction: column; gap: 12px; }
.ia-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
  font-size: 12.5px;
  flex: 1;
}
.ia-card h6 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-family: var(--font-display); margin-bottom: 10px; }
.ia-card .score {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(96deg, var(--warn), var(--hot));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ia-card p { color: var(--text-2); font-size: 11.5px; margin-top: 6px; }

/* — Screen: app — */
.app-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  height: 100%;
  position: relative;
}
.phone {
  width: 208px;
  border-radius: 30px;
  border: 1px solid var(--line-2);
  background: linear-gradient(170deg, #1a0e2b, #0c0415);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  padding: 12px;
}
.phone .ph-notch {
  width: 74px; height: 17px;
  border-radius: 100px;
  background: #000;
  margin: 0 auto 12px;
}
.phone .ph-screen {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 300px;
  padding: 12px;
  font-size: 11px;
}
.ph-kpi {
  border-radius: 11px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.ph-kpi span { color: var(--text-3); font-size: 10px; display: block; }
.ph-kpi b { font-family: var(--font-display); font-size: 15px; }
.push-stack { display: flex; flex-direction: column; gap: 10px; width: 250px; }
.push {
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(24, 8, 40, .95);
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
  padding: 12px 14px;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(20px);
}
.push .ic {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52, 211, 153, .14);
  color: var(--ok);
}
.push b { display: block; font-size: 12px; }
.push span { color: var(--text-3); font-size: 11px; }

/* ---------- Números ---------- */
.numbers {
  background:
    radial-gradient(50% 80% at 80% 0%, rgba(232, 121, 249, .08), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}
.number-cell {
  background: var(--bg-2);
  padding: 46px 34px;
  transition: background .4s;
}
.number-cell:hover { background: #180b28; }
.number-cell b {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  display: block;
  margin-bottom: 8px;
}
.number-cell span { color: var(--text-2); font-size: 14.5px; }

/* ---------- Depoimentos (marquee automático, pausa no hover) ---------- */
.testimonials { overflow: hidden; }
.testi-marquee { margin-top: 64px; }
.testi-marquee .marquee-track {
  gap: 24px;
  padding-right: 24px;
  align-items: stretch;
  animation-duration: 55s;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.testi-card {
  flex: none;
  width: min(400px, 84vw);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(146, 16, 222, .07), rgba(19, 6, 32, .85) 60%);
  padding: 34px;
  transition: transform .4s var(--ease), border-color .4s;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(146, 16, 222, .4); }
.testi-card .stars { color: var(--warn); letter-spacing: 3px; font-size: 14px; margin-bottom: 18px; }
.testi-card p { font-size: 16.5px; line-height: 1.55; margin-bottom: 26px; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-who .av {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.testi-who b { display: block; font-size: 14.5px; }
.testi-who span { color: var(--text-3); font-size: 12.5px; }

/* ---------- Integrações ---------- */
.integrations {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.integ-rows { margin-top: 60px; display: flex; flex-direction: column; gap: 18px; }
.integ-rows .marquee-track { animation-duration: 46s; gap: 14px; padding-right: 14px; }
.integ-rows .rev .marquee-track { animation-direction: reverse; }
.integ-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.integ-chip:hover { border-color: var(--brand-3); color: var(--text); }
.integ-chip i {
  font-style: normal;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.integ-cta { text-align: center; margin-top: 46px; }

/* ---------- Planos ---------- */
.pricing { background: var(--bg); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
  align-items: stretch;
}
.plan {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.plan:hover { transform: translateY(-8px); border-color: var(--line-2); }
.plan.featured {
  border-color: rgba(146, 16, 222, .55);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(146, 16, 222, .16), transparent 55%),
    linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 30px 90px rgba(146, 16, 222, .18);
}
.plan.featured:hover { box-shadow: 0 40px 110px rgba(146, 16, 222, .28); }
.plan .flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--grad);
  white-space: nowrap;
  box-shadow: 0 8px 26px rgba(146, 16, 222, .45);
}
.plan .p-tag { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.plan h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.plan .p-target {
  font-size: 13px;
  color: var(--text-2);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 24px;
}
.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  align-items: flex-start;
}
.plan ul li svg { flex: none; color: var(--brand-2); margin-top: 3px; }
.plan .btn { width: 100%; }

.members-plan {
  margin-top: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(232, 121, 249, .06), rgba(19, 6, 32, .8) 50%);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.members-plan h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; margin-bottom: 10px; }
.members-plan > div > p { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.members-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; font-size: 13.5px; color: var(--text-2); }
.members-feats li { display: flex; gap: 8px; align-items: center; }
.members-feats li svg { color: var(--brand-2); flex: none; }
.members-price {
  text-align: center;
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.members-price .val {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.members-price .val small { font-size: 16px; font-weight: 500; color: var(--text-3); }
.members-price p { font-size: 12.5px; color: var(--text-3); margin: 8px 0 20px; }

/* ---------- Setup ---------- */
.setup { background: var(--bg-2); border-block: 1px solid var(--line); }
.setup-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 64px;
  position: relative;
}
.setup-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.setup-step { position: relative; text-align: center; padding-top: 4px; }
.setup-step .ss-dot {
  width: 48px; height: 48px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.setup-step.lit .ss-dot {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(146, 16, 222, .5);
}
.setup-step h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.setup-step p { font-size: 13.5px; color: var(--text-2); }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  padding: 180px 0;
  text-align: center;
  overflow: hidden;
}
.final-cta .cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 70% at 50% 100%, rgba(146, 16, 222, .22), transparent 70%),
    radial-gradient(40% 50% at 80% 20%, rgba(232, 121, 249, .09), transparent 60%);
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(38px, 6vw, 78px); max-width: 900px; margin: 24px auto; }
.final-cta > .container > p { color: var(--text-2); max-width: 560px; margin: 0 auto 44px; font-size: clamp(16px, 1.7vw, 19px); }
.final-cta .hero-form { margin-inline: auto; }
.final-cta .hero-checks { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 60px;
}
.footer h5 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer-brand p { color: var(--text-2); font-size: 14.5px; max-width: 300px; margin-top: 16px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--text-2); font-size: 14.5px; transition: color .3s; }
.footer ul a:hover { color: var(--text); }
.footer-contact li {
  display: flex;
  gap: 10px;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact svg { flex: none; margin-top: 3px; color: var(--brand-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9950;
  background: rgba(8, 2, 12, .8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  width: min(460px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(170deg, #1b0e2e, #0e0518);
  box-shadow: 0 50px 130px rgba(0,0,0,.7);
  padding: 40px;
  transform: translateY(24px) scale(.97);
  transition: transform .45s var(--ease);
}
.modal-overlay.open .modal-box { transform: none; }
.modal-box h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
.modal-box > p { color: var(--text-2); font-size: 14.5px; margin-bottom: 26px; }
.modal-box .field { margin-bottom: 14px; }
.modal-box label { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 7px; }
.modal-box input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  color: var(--text);
  padding: 14px 16px;
  outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.modal-box input:focus { border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(146, 16, 222, .18); }
.modal-box .btn { width: 100%; margin-top: 10px; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s;
}
.modal-close:hover { color: var(--text); border-color: var(--line-2); }
.modal-box { position: relative; }

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  z-index: 9970;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  background: rgba(24, 8, 40, .95);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  padding: 15px 26px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
  max-width: min(480px, calc(100vw - 40px));
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }
#toast .t-ic { color: var(--ok); flex: none; }
#toast.err .t-ic { color: var(--hot); }

/* ---------- Reveal helpers ---------- */
.reveal { opacity: 0; transform: translateY(36px); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .tour-wrap { grid-template-columns: 1fr; gap: 40px; }
  .tour-stage { position: relative; top: 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .members-plan { grid-template-columns: 1fr; }
  .members-price { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 30px; }
  .setup-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 22px; }
  .setup-steps::before { display: none; }
}

@media (max-width: 760px) {
  .nav-links, .nav .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 90px 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-form { flex-direction: column; border-radius: 24px; padding: 12px; }
  .hero-form::before { border-radius: 24px; }
  .hero-form .btn { width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-panel { transform: none; }
  .hp-float.f-ia { left: -8px; }
  .hp-float.f-sale { right: -6px; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .kb-col:nth-child(3) { display: none; }
  .kb-col { min-height: 150px; }
  .crm-chat { position: static; width: 100%; margin-top: 10px; padding: 10px; }
  .bubble { font-size: 11px; padding: 7px 10px; }
  .device-screens { min-height: 470px; }
  .screen { padding: 14px; }
  .class-wrap { grid-template-columns: 1fr; }
  .class-side { display: none; }
  .ia-wrap { grid-template-columns: 1fr; }
  .ia-cards { flex-direction: row; }
  .ia-card { padding: 12px; }
  .ia-card .score { font-size: 26px; }
  .fin-kpi { padding: 10px; }
  .fin-kpi b { font-size: 15px; }
  .fin-bars { height: 100px; }
  .phone { width: 190px; padding: 10px; }
  .phone .ph-screen { min-height: 240px; padding: 10px; }
  .push-stack { position: absolute; bottom: 6px; left: 14px; right: 14px; width: auto; }
  /* Tour mobile: some a coluna de steps — o pin + dots assumem a navegação */
  .tour-steps { display: none; }
  .tour-wrap { gap: 0; }
  .kanban { height: auto; }
  .kb-card { padding: 9px; }
  .pain-card { padding: 30px 24px; }
  /* No mobile o chat do CRM mostra só a 1ª troca (senão estoura o device) */
  .crm-chat .bubble:nth-child(n+4) { display: none; }
  .numbers-grid { grid-template-columns: 1fr; }
  .members-plan { padding: 28px; }
  .members-feats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .final-cta { padding: 120px 0; }
  .app-scene { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  body::after { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Polimento ---------- */
em { font-style: normal; }
.hp-kpi b { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.hp-kpi .up { margin-left: 0; white-space: nowrap; }

/* ---------- Números com mais destaque ---------- */
.number-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 34px;
}
.number-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 34px;
  width: 46px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(185, 3, 229, .5);
}
.number-cell b {
  font-size: clamp(34px, 3.4vw, 52px);
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.number-cell > span { font-size: 15px; margin-top: 4px; }

/* ---------- Tour mobile (info sob o device pinado) ---------- */
.tour-mobile-info { display: none; }
@media (max-width: 760px) {
  .tour-mobile-info { display: block; padding: 18px 4px 6px; }
  .tmi-dots { display: flex; gap: 8px; margin-bottom: 14px; }
  .tmi-dots i {
    width: 22px; height: 4px;
    border-radius: 4px;
    background: var(--line-2);
    cursor: pointer;
    transition: background .35s, width .35s;
  }
  .tmi-dots i.on { background: var(--grad); width: 38px; box-shadow: 0 0 10px rgba(185, 3, 229, .5); }
  .tour-mobile-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -.02em;
    margin: 8px 0 8px;
  }
  .tour-mobile-info p { color: var(--text-2); font-size: 14px; min-height: 84px; }
}

/* Fix: os spans de contador DENTRO do <b> herdam o tamanho do número,
   não o tamanho do rótulo (.number-cell span / .hero-stats span). */
.number-cell b span, .hero-stats b span {
  font-size: inherit;
  color: inherit;
}

/* ---------- Screen: app do aluno (LMS) ---------- */
.ph-lesson {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  padding: 12px;
  margin-bottom: 8px;
}
.ph-lesson .ph-thumb {
  height: 74px;
  border-radius: 9px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(70% 100% at 30% 0%, rgba(146, 16, 222, .35), transparent 60%),
    linear-gradient(160deg, #241242, #120724);
}
.ph-lesson b { display: block; font-size: 12px; }
.ph-lesson > span { color: var(--text-3); font-size: 10px; display: block; margin-bottom: 8px; }
.ph-track {
  height: 5px;
  border-radius: 5px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 8px;
}
.ph-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: var(--grad);
}
.ph-off {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(52, 211, 153, .13);
  border: 1px solid rgba(52, 211, 153, .28);
  color: var(--ok);
  opacity: 0;
  transform: scale(.8);
}

/* ---------- Área de Membros: plano de entrada, deliberadamente limitado ---------- */
.mp-list-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 24px 0 10px;
}
.members-feats i.tick, .members-feats i.cross {
  font-style: normal;
  font-weight: 700;
  flex: none;
  width: 16px;
}
.members-feats i.tick { color: var(--brand-2); }
.members-not li { color: var(--text-3); }
.members-not i.cross { color: var(--hot); opacity: .75; }
.mp-upgrade {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
}

/* ---------- Faixa de faturamento em destaque nos planos ---------- */
.plan .p-target {
  text-align: center;
  padding: 16px 14px;
  border: 1px solid rgba(146, 16, 222, .3);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(146, 16, 222, .12), transparent 70%),
    var(--surface);
}
.plan .p-target span {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}
.plan .p-target b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.plan.featured .p-target {
  border-color: rgba(185, 3, 229, .5);
  box-shadow: 0 0 30px rgba(185, 3, 229, .12) inset;
}

/* ---------- Blog ---------- */
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: none;
  margin-bottom: 56px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  padding: 18px 18px 24px;
  transition: transform .4s var(--ease), border-color .4s;
}
.blog-card:hover { transform: translateY(-8px); border-color: rgba(146, 16, 222, .45); }
.bc-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.bc-img img, .bc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-ph {
  background:
    radial-gradient(80% 100% at 20% 0%, rgba(146, 16, 222, .35), transparent 60%),
    radial-gradient(70% 90% at 90% 100%, rgba(232, 121, 249, .18), transparent 60%),
    linear-gradient(165deg, #241242, #120724);
}
.blog-card:hover .bc-img img { transform: scale(1.04); }
.bc-img img { transition: transform .6s var(--ease); }
.blog-card time {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin: 10px 0 8px;
}
.blog-card p { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.bc-link {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 1080px) { .blog-grid { grid-template-columns: 1fr 1fr; } .blog-grid .blog-card:nth-child(3) { display: none; } }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } .blog-grid .blog-card:nth-child(3) { display: block; } }

/* ---------- Filme da plataforma (takeover no scroll) ---------- */
.film {
  position: relative;
  padding: 130px 0 70px;
  overflow: clip;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(146, 16, 222, .10), transparent 70%),
    var(--bg);
}
.film-head { text-align: center; margin-bottom: 54px; }
.film-head h2 { font-size: clamp(34px, 5vw, 58px); margin-top: 22px; }
.film-stage { display: flex; justify-content: center; padding: 0 20px; }
.film-frame {
  position: relative;
  width: min(1160px, 100%);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(146, 16, 222, .4);
  box-shadow:
    0 40px 140px rgba(146, 16, 222, .28),
    0 20px 60px rgba(0, 0, 0, .65);
  will-change: transform;
  transform-origin: center center;
}
.film-frame video { width: 100%; display: block; }
.film-glow {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 90px rgba(146, 16, 222, .16);
}
.film-caption {
  text-align: center;
  color: var(--text-2);
  font-size: 14.5px;
  margin: 30px auto 0;
  max-width: 640px;
  padding: 0 24px;
}
.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-2);
}
.hero-watch .pl {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(232, 121, 249, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(146, 16, 222, .12);
  animation: pulse-play 2.4s ease-in-out infinite;
}

/* ---------- Plano BLACK (equipe dedicada, 800 mil+) ---------- */
.black-plan {
  display: grid;
  grid-template-columns: 1fr 1.35fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 26px;
  padding: 42px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 178, 106, .35);
  background:
    radial-gradient(90% 140% at 8% 0%, rgba(214, 178, 106, .09), transparent 55%),
    linear-gradient(170deg, #0b0710, #030204);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.black-plan .p-tag { color: rgba(230, 200, 138, .8); margin-bottom: 6px; font-size: 13px; }
.black-plan h3 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: .14em;
  background: linear-gradient(96deg, #f0d9a4, #c9a44a 60%, #f5e3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.bp-target {
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(214, 178, 106, .35);
  background: rgba(214, 178, 106, .05);
}
.bp-target span {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}
.bp-target b {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(96deg, #f0d9a4, #c9a44a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bp-feats { display: flex; flex-direction: column; gap: 13px; }
.bp-feats li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); align-items: baseline; }
.bp-feats li b { color: var(--text); }
.bp-feats i { font-style: normal; font-weight: 700; color: #d9b96f; flex: none; }
.bp-cta { text-align: center; }
.bp-cta p { font-size: 12px; color: var(--text-3); margin-top: 12px; }

@media (max-width: 1080px) {
  .black-plan { grid-template-columns: 1fr; gap: 26px; padding: 32px 26px; text-align: left; }
  .bp-cta { text-align: left; }
}

/* ---------- Mobile: filme + BLACK ---------- */
@media (max-width: 760px) {
  .film { padding: 80px 0 46px; }
  .film-head { margin-bottom: 28px; padding: 0 24px; }
  .film-stage { padding: 0 16px; }
  .film-frame { border-radius: 16px; }
  .film-caption { font-size: 13px; margin-top: 22px; }
  .hero-watch { font-size: 13px; }

  .black-plan { margin-inline: 0; padding: 30px 22px; gap: 22px; }
  .black-plan h3 { font-size: 28px; letter-spacing: .1em; margin-bottom: 12px; }
  .bp-target { max-width: 320px; }
  .bp-target b { font-size: 20px; }
  .bp-feats li { font-size: 14px; }
  .bp-cta .btn { width: 100%; }
  .bp-cta p { text-align: center; }
}
