/* Navko — landing premium.
   Identidade do briefing: azul royal sobre navy, Geist. O serif itálico (Instrument Serif)
   entra só como acento em palavras-chave dos títulos. */

:root {
  --navy-950: #060A14;
  --navy-900: #0B1220;
  --navy-850: #0F172A;
  --navy-800: #131D33;
  --navy-line: rgba(148, 163, 184, .14);
  --royal: #1E40AF;
  --royal-700: #1E3A8A;
  --blue: #2563EB;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-50: #EFF6FF;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --muted: #475569;
  --muted-2: #64748B;
  --line: #E2E8F0;
  --surface: #F5F7FB;
  --white: #FFFFFF;
  --on-dark: #E2E8F0;
  --on-dark-muted: #94A3B8;

  --f-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;
  --f-serif: 'Instrument Serif', Georgia, serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-float: 0 30px 80px -20px rgba(2, 6, 23, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--royal); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 11vw, 136px) 0; position: relative; }
.section-tight { padding: clamp(64px, 8vw, 96px) 0; }
.bg-surface { background: var(--surface); }
.dark { background: var(--navy-900); color: var(--white); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--royal);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.dark .eyebrow, .glow-bg .eyebrow { color: var(--blue-300); }
.h1 {
  font-size: clamp(40px, 5.2vw, 70px); line-height: 1; letter-spacing: -.045em; font-weight: 700;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
}
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.dark .serif, .glow-bg .serif { color: var(--blue-200); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); }
.dark .lead, .glow-bg .lead { color: #B6C2D4; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.55; color: var(--muted-2); }
.section-head { max-width: 780px; display: grid; gap: 20px; }
.section-head.center { margin: 0 auto; text-align: center; justify-items: center; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 30px -8px rgba(37, 99, 235, .7);
}
.btn-primary:hover { background: #1D4ED8; color: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 14px 40px -8px rgba(37, 99, 235, .85); }
.btn-ghost { border-color: rgba(148, 163, 184, .35); color: var(--on-dark); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #94A3B8; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.magnetic { display: inline-flex; transition: transform .45s var(--ease); will-change: transform; }

/* ---------- Nav flutuante (pílula) ---------- */
.nav-wrap { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 14px; pointer-events: none; }
.nav {
  pointer-events: auto; max-width: 1120px; margin: 0 auto; height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(11, 18, 32, .55); border: 1px solid rgba(148, 163, 184, .16);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled { background: rgba(11, 18, 32, .86); box-shadow: 0 16px 40px -12px rgba(2, 6, 23, .55); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand-word { font-weight: 800; font-size: 23px; letter-spacing: -.05em; line-height: 1; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--on-dark-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-login { padding: 8px 12px; color: var(--on-dark); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav-login:hover { color: var(--white); }
@media (max-width: 920px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav-login { display: none; } .nav { padding-left: 14px; } }

/* ---------- Fundos escuros ---------- */
.glow-bg { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--white); }
.glow-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 45% at 78% 8%, rgba(37, 99, 235, .32), transparent 70%),
    radial-gradient(45% 40% at 8% 92%, rgba(30, 64, 175, .28), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.glow-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
}

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .22); background: rgba(255,255,255,.03);
  font-size: 13.5px; font-weight: 500; color: var(--on-dark);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #34D399; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.hero .lead { max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--on-dark-muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--blue-400); flex: none; }

/* Composição do produto no hero */
.stage { position: relative; min-height: 560px; perspective: 1600px; }
.window {
  position: relative; width: min(100%, 500px); margin-left: auto; border-radius: 18px; overflow: hidden;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-float);
  transform: rotateY(-8deg) rotateX(4deg); transform-origin: 70% 50%;
}
.window-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.url {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: #334155;
  white-space: nowrap; overflow: hidden;
}
.url strong { color: var(--royal); font-weight: 600; }
.school { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.school-side { background: var(--navy-850); color: var(--on-dark-muted); padding: 18px 14px; display: grid; align-content: start; gap: 6px; font-size: 12.5px; }
.school-logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.school-logo span { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #F59E0B, #EF4444); }
.school-side a { padding: 7px 9px; border-radius: 8px; color: inherit; text-decoration: none; }
.school-side a.on { background: rgba(255,255,255,.08); color: var(--white); }
.school-main { padding: 20px 22px; }
.mono-label { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--royal); }
.progress { margin-top: 12px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--royal), var(--blue)); transition: width 1.6s var(--ease) .4s; }
.is-in .progress i, .no-js .progress i { width: var(--p, 62%); }
.lessons { margin-top: 18px; display: grid; gap: 12px; font-size: 13.5px; }
.lessons li { display: flex; align-items: center; gap: 12px; }
.lessons .st { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.st.done { background: var(--royal); color: var(--white); }
.st.now { border: 3px solid var(--royal); background: var(--white); }
.st.now::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--royal); }
.st.lock { background: #F1F5F9; border: 2px solid #CBD5E1; color: var(--muted-2); }
.lessons .row { flex: 1; display: flex; justify-content: space-between; gap: 8px; }
.lessons .meta { color: var(--muted-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: var(--blue-50); color: var(--royal); font-size: 11.5px; font-weight: 600; }

.float-card { position: absolute; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); }
.chat-card { left: 0; bottom: 6px; width: min(88%, 360px); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ai-badge { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--royal)); color: var(--white); }
.chat-title { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.chat-sub { font-size: 11.5px; color: var(--muted-2); }
.chat-body { padding: 14px; display: grid; gap: 10px; background: #F8FAFC; font-size: 13px; line-height: 1.5; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; }
.msg.me { justify-self: end; background: var(--royal); color: var(--white); border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.msg .tag { margin-top: 8px; }
.typing { justify-self: start; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #94A3B8; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.js [data-seq] > * { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-seq] > .shown { opacity: 1; transform: none; }
.js [data-seq] > .gone { display: none; }

.sale-chip { left: -14px; top: -30px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.sale-chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #DCFCE7; color: #15803D; }
.sale-chip b { display: block; font-size: 13.5px; }
.sale-chip small { display: block; font-size: 12px; color: var(--muted-2); }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; padding-bottom: 210px; max-width: 560px; }
  .window { transform: none; margin: 0; }
  .sale-chip { left: auto; right: 0; top: -26px; }
}
@media (max-width: 560px) {
  .school { grid-template-columns: 1fr; }
  .school-side { display: none; }
  .stage { padding-bottom: 240px; }
  .chat-card { width: 100%; }
}

/* Ticker de segmentos */
.ticker { margin-top: 96px; border-top: 1px solid var(--navy-line); padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.ticker-group span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #64748B; }
.ticker-group span::after { content: "✦"; color: var(--royal); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-33.3333%); } }

/* ---------- Faixa de pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); gap: 1px; }
.pillar { background: var(--white); padding: 30px 28px; display: grid; gap: 6px; }
.pillar .big { font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.pillar .big em { font-style: normal; color: var(--royal); }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Problema ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-sticky { position: sticky; top: 120px; display: grid; gap: 22px; }
.pains { border-top: 1px solid var(--line); }
.pain { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.pain-n { font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--royal); padding-top: 6px; }
.pain h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; font-weight: 600; line-height: 1.25; }
.pain p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }
@media (max-width: 480px) { .pain { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Professor de IA ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature-list { display: grid; gap: 4px; margin-top: 12px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--navy-line); }
.feature-list li:last-child { border-bottom: 1px solid var(--navy-line); }
.f-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(37, 99, 235, .16); color: var(--blue-200); border: 1px solid rgba(96, 165, 250, .25); }
.feature-list b { display: block; font-size: 17px; font-weight: 600; }
.feature-list span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }
.chat-big { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); }
.chat-big .chat-body { padding: 22px; gap: 12px; font-size: 14.5px; min-height: 380px; align-content: start; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 14px; }
.chat-input span { flex: 1; }
.chat-input i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--royal); color: var(--white); }
.ex { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); background: #F1F5F9; padding: 4px 8px; border-radius: 6px; margin-left: auto; }
.halo { position: absolute; inset: -40px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, .35), transparent 70%); filter: blur(10px); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* ---------- Como funciona ---------- */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { position: relative; padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: grid; gap: 14px; align-content: start; }
.step-n { font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--royal); display: flex; align-items: center; gap: 12px; }
.step-n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--blue-200), transparent); }
.step p { color: var(--muted); font-size: 15.5px; }
.code { font-family: var(--f-mono); font-size: 13.5px; color: var(--ink); background: var(--surface); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; grid-column: span 2; padding: 30px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(37, 99, 235, .09), transparent 60%);
}
.tile:hover { border-color: #BFD3F8; transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; }
.tile.dark-tile { background: var(--navy-850); color: var(--white); border-color: var(--navy-850); }
.tile.dark-tile p { color: var(--on-dark-muted); }
.tile.dark-tile::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(96, 165, 250, .16), transparent 60%); }
.t-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--royal); margin-bottom: 8px; }
.dark-tile .t-ico { background: rgba(37, 99, 235, .2); color: var(--blue-200); }
.tile p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.tile-visual { margin-top: 14px; }
.domain { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-family: var(--f-mono); font-size: 13px; color: #334155; overflow: hidden; white-space: nowrap; }
.domain strong { color: var(--royal); }
.domain .ok { margin-left: auto; color: #15803D; font-family: var(--f-sans); font-size: 12px; font-weight: 600; background: #DCFCE7; padding: 3px 8px; border-radius: 999px; }
.receipt { display: grid; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid rgba(148,163,184,.2); background: rgba(255,255,255,.03); font-size: 13.5px; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; color: var(--on-dark-muted); }
.receipt div b { color: var(--white); font-weight: 600; }
.receipt .sum { padding-top: 8px; border-top: 1px dashed rgba(148,163,184,.3); }
.receipt .sum b { color: #6EE7B7; }
@media (max-width: 1000px) { .tile, .tile.wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide { grid-column: auto; } }

/* ---------- Comparação ---------- */
.compare { margin-top: 56px; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; background: var(--white); }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.compare-row > * { padding: 20px 26px; border-top: 1px solid var(--line); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.compare-row:first-child > * { border-top: 0; }
.compare-head > * { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding-top: 22px; padding-bottom: 22px; }
.compare-row .k { font-weight: 600; color: var(--ink); }
.compare-row .them { color: var(--muted); }
.compare-row .us { background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(37,99,235,.06)); color: var(--ink); font-weight: 500; }
.compare-head .us { color: var(--royal); }
.x { color: #94A3B8; flex: none; }
.v { color: var(--royal); flex: none; }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row .k { grid-column: 1 / -1; padding-bottom: 4px; border-top: 1px solid var(--line); }
  .compare-row .them, .compare-row .us { border-top: 0; padding-top: 8px; }
  .compare-head .k { display: none; }
  .compare-head > * { border-top: 0 !important; }
}

/* ---------- Calculadora ---------- */
.calc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.calc { border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); display: grid; gap: 30px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.range-head label { font-weight: 600; font-size: 15px; }
.range-head output { font-family: var(--f-mono); font-weight: 600; font-size: 19px; color: var(--royal); }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin-top: 10px; background: transparent; cursor: pointer;
  --fill: 13%;
}
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--royal) var(--fill), var(--line) var(--fill)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--royal); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 6px solid var(--royal); box-shadow: 0 2px 8px rgba(30,64,175,.35); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 6px solid var(--royal); box-shadow: 0 2px 8px rgba(30,64,175,.35); }
.calc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-card { background: var(--surface); border-radius: var(--r-md); padding: 18px 20px; }
.calc-card small { display: block; font-size: 13px; color: var(--muted); }
.calc-card b { display: block; margin-top: 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.calc-card.strike b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .55); text-decoration-thickness: 2px; }
.saving { border-radius: var(--r-md); padding: 24px; background: linear-gradient(135deg, var(--royal), var(--blue)); color: var(--white); }
.saving small { font-size: 14px; color: var(--blue-200); }
.saving .amt { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.saving .amt b { font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.saving .amt span { font-size: 15px; color: var(--blue-200); }
.no-saving { border-radius: var(--r-md); padding: 22px 24px; background: var(--surface); border: 1px dashed #94A3B8; font-size: 15px; color: #334155; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .calc-cards { grid-template-columns: 1fr; } }

/* ---------- Jornada (implantação) ---------- */
.journey { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--blue-200), var(--line)); }
.j-step { position: relative; padding-right: 28px; display: grid; gap: 12px; align-content: start; }
.j-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--blue-200); color: var(--royal); font-family: var(--f-mono); font-size: 13px; font-weight: 600; box-shadow: 0 0 0 6px var(--white); }
.j-step:first-child .j-dot { background: var(--royal); color: var(--white); border-color: var(--royal); }
.j-step h3 { margin-top: 10px; }
.j-step p { color: var(--muted); font-size: 15px; }
.j-step .when { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--blue-200), var(--line)); }
  .j-step { grid-template-columns: 46px 1fr; column-gap: 20px; padding-right: 0; }
  .j-step > :not(.j-dot) { grid-column: 2; }
  .j-step .j-dot { grid-row: 1 / span 4; }
  .j-step h3 { margin-top: 0; }
}

/* ---------- Planos ---------- */
.plans { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 34px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); }
.plan-top { display: grid; gap: 6px; }
.plan-name { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-name h3 { font-size: 21px; font-weight: 600; }
.plan-desc { font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: clamp(40px, 3.8vw, 50px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.price span, .price small { font-size: 15px; color: var(--muted); }
.price small { flex-basis: 100%; margin-bottom: 2px; }
.setup { font-size: 14px; color: var(--muted); margin-top: 6px; }
.plan ul { display: grid; gap: 12px; font-size: 15px; flex-grow: 1; padding-top: 24px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 3px; color: var(--royal); }
.plan.featured { background: var(--navy-900); color: var(--white); border-color: transparent; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .6); }
.plan.featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--blue-400), rgba(37,99,235,.15) 40%, rgba(37,99,235,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan.featured .plan-desc, .plan.featured .price span, .plan.featured .price small, .plan.featured .setup { color: var(--on-dark-muted); }
.plan.featured ul { border-color: var(--navy-line); color: var(--on-dark); }
.plan.featured li svg { color: var(--blue-400); }
.badge { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: var(--white); white-space: nowrap; }
.free-bar { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 34px; border-radius: var(--r-xl); border: 1px dashed #CBD5E1; background: var(--white); }
.free-bar b { font-size: 17px; }
.free-bar p { margin-top: 4px; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--royal); }
.plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--royal); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--blue-50); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy { display: grid; gap: 24px; }
.contact-list { display: grid; gap: 14px; font-size: 16px; color: var(--on-dark); margin-top: 8px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { color: var(--blue-400); flex: none; }
.form-card { border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); }
.form-card h3 { font-size: 22px; letter-spacing: -.02em; }
.form-card .sub { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.form { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.nk-field {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #CBD5E1; background: #F8FAFC;
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
select.nk-field { padding-right: 36px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.nk-field:hover { border-color: #94A3B8; }
.nk-field:focus { outline: none; border-color: var(--royal); background: var(--white); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.nk-field[aria-invalid=true] { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.form-error { color: #B91C1C; font-size: 14px; }
.form .btn { min-height: 56px; font-size: 16px; }
button[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: grid; justify-items: start; gap: 14px; padding: 12px 0; }
.sent .ok-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #DBEAFE; color: var(--royal); }
.sent h3 { font-size: 26px; }
.sent p { color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 56px 0 40px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-line); }
.footer-top p { margin-top: 14px; max-width: 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-links div { display: grid; gap: 10px; }
.footer-links b { color: var(--white); font-size: 13px; font-weight: 600; }
.footer a { color: var(--on-dark-muted); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-scale { opacity: 0; transform: scale(.96) translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-scale.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-scale { opacity: 1; transform: none; }
}
