/* =========================================================================
   DIVULGA.IA — Página de vendas
   Usa os MESMOS tokens do painel (Site_Socio_Local/src/app/globals.css):
   tema claro, acento índigo, Plus Jakarta Sans, cards brancos e sombras suaves.
   ========================================================================= */

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bg-page: #f5f6fb;
  --bg-card: #ffffff;
  --bg-subtle: #f8f9fc;
  --bg-surface: #f1f3f9;
  --bg-glass: rgba(255, 255, 255, 0.82);

  --border-default: #e6e8f0;
  --border-card: #e4e7f0;
  --border-strong: #cdd3e1;

  --text-main: #0f172a;
  --text-label: #334155;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --brand: #4f46e5;
  --brand-500: #6366f1;
  --brand-ink: #4338ca;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --grad-brand: linear-gradient(135deg, #6366f1 0%, #4f46e5 55%, #7c3aed 100%);
  --grad-brand-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);

  --success: #16a34a;
  --success-ink: #15803d;
  --success-bg: #ecfdf3;
  --success-border: #bbf7d0;
  --warning: #d97706;
  --warning-ink: #92400e;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --danger: #dc2626;
  --danger-ink: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --violet: #9333ea;

  --color-amazon: #c2410c;
  --border-amazon: #fcd9b6;
  --bg-amazon-badge: rgba(245, 158, 11, 0.12);
  --color-ml: #a16207;
  --border-ml: #fde68a;
  --bg-ml-badge: rgba(234, 179, 8, 0.14);
  --color-shopee: #ea580c;
  --border-shopee: #fdc8a6;
  --bg-shopee-badge: rgba(249, 115, 22, 0.12);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px -18px rgba(15, 23, 42, 0.16);
  --shadow-pop: 0 28px 70px -24px rgba(15, 23, 42, 0.42);
  --glow-brand: 0 10px 28px -10px rgba(79, 70, 229, 0.5);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; scroll-padding-top: 90px; }

html, body {
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
::selection { background: var(--brand-100); color: var(--brand-ink); }

svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 2.2; flex-shrink: 0; }

/* Fundo igual ao painel: luzes de marca + grade de pontos */
.bg-mesh {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60rem 28rem at 8% -8%, rgba(99, 102, 241, 0.13), transparent 60%),
    radial-gradient(48rem 24rem at 96% -6%, rgba(14, 165, 233, 0.10), transparent 60%),
    radial-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px);
  background-size: auto, auto, 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 85%);
}

/* Luz que segue o cursor (desktop) */
.cursor-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  left: 0; top: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.10), transparent 65%);
  transform: translate(var(--cx, -999px), var(--cy, -999px)) translate(-50%, -50%);
  transition: opacity .3s;
}

main, footer, .nav-wrap { position: relative; z-index: 1; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 1.25rem 0; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ Navbar */
.nav-wrap { position: sticky; top: 0.75rem; z-index: 50; max-width: 1160px; margin: 0.75rem auto 0; padding: 0 1.25rem; }

.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.7rem 0.6rem 1.05rem;
  background: var(--bg-glass);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  box-shadow: var(--shadow-xs), 0 12px 30px -20px rgba(15, 23, 42, 0.25);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-xs), 0 18px 40px -18px rgba(15, 23, 42, 0.3); }

.brand-logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.025em; }
.brand-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--glow-brand);
}
.brand-icon svg.lucide { width: 19px; height: 19px; }
.brand-dot { color: var(--brand); }
.brand-badge {
  background: var(--brand-50); color: var(--brand-ink); border: 1px solid var(--brand-100);
  font-size: 0.6rem; font-weight: 800; padding: 0.15rem 0.48rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
  padding: 0.45rem 0.8rem; border-radius: 10px; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--brand-50); color: var(--brand-ink); }
.nav-actions { display: flex; gap: 0.5rem; }

/* ------------------------------------------------------------------ Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.92rem; border-radius: 12px; border: 1px solid transparent;
  padding: 0.7rem 1.15rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, border-color .2s;
  will-change: transform;
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; border-radius: 10px; }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow-brand); }
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(79, 70, 229, 0.6); }
.btn-ghost { background: #fff; color: var(--text-main); border-color: var(--border-default); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--brand-200); color: var(--brand-ink); }
.btn-white { background: #fff; color: var(--brand-ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
.btn-outline-white:hover { background: rgba(255,255,255,.16); }
.btn:active { transform: scale(.97); }

/* ------------------------------------------------------------------ Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
  padding-top: 4.5rem; padding-bottom: 2rem; min-height: calc(100vh - 80px);
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 700; color: var(--brand-ink);
  background: #fff; border: 1px solid var(--brand-100);
  padding: 0.4rem 0.85rem 0.4rem 0.7rem; border-radius: 999px; box-shadow: var(--shadow-xs);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--success); animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -0.045em;
  font-weight: 800; margin: 1.3rem 0 1.2rem;
}
.lead { font-size: 1.12rem; color: var(--text-secondary); max-width: 34rem; }
.lead b { color: var(--text-main); }

.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-ctas.center { justify-content: center; }

.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.trust-sep { width: 1px; height: 18px; background: var(--border-strong); margin: 0 0.4rem; }
.trust-note { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.trust-note svg { color: var(--success); }

.mk {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.76rem; font-weight: 700; padding: 0.28rem 0.65rem; border-radius: 999px; border: 1px solid;
}
.mk-amazon { color: var(--color-amazon); border-color: var(--border-amazon); background: var(--bg-amazon-badge); }
.mk-ml { color: var(--color-ml); border-color: var(--border-ml); background: var(--bg-ml-badge); }
.mk-shopee { color: var(--color-shopee); border-color: var(--border-shopee); background: var(--bg-shopee-badge); }

/* Visual do hero */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; perspective: 1200px; }

.orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--brand-200); }
.orbit-1 { width: 470px; height: 470px; animation: spin 40s linear infinite; }
.orbit-2 { width: 620px; height: 620px; border-color: var(--border-default); animation: spin 60s linear infinite reverse; }
.orbit-1::before, .orbit-2::before {
  content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand-500); box-shadow: 0 0 14px var(--brand-500);
}
.orbit-2::before { background: var(--success); box-shadow: 0 0 14px var(--success); left: auto; right: -5px; }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative; z-index: 2;
  width: 310px; height: 590px; border-radius: 44px; padding: 12px;
  background: #0f172a;
  box-shadow: var(--shadow-pop), inset 0 0 0 2px #1e293b, 0 0 0 1px rgba(15,23,42,.1);
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform .5s var(--ease-out);
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px; border-radius: 20px; background: #0f172a; z-index: 3;
}
.chat-head {
  display: flex; align-items: center; gap: 0.6rem;
  background: #075e54; color: #fff; padding: 2.4rem 0.9rem 0.75rem;
  border-radius: 34px 34px 0 0;
}
.chat-head strong { display: block; font-size: 0.88rem; }
.chat-head small { font-size: 0.7rem; opacity: .8; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; }
.chat-more { margin-left: auto; opacity: .8; }

.chat-body {
  height: calc(100% - 92px); overflow: hidden;
  background: #efeae2 radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px) 0 0 / 14px 14px;
  border-radius: 0 0 34px 34px; padding: 0.8rem 0.65rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem;
}

.msg {
  background: #fff; border-radius: 4px 12px 12px 12px; padding: 0.45rem;
  box-shadow: 0 1px 1px rgba(0,0,0,.08); max-width: 92%;
  font-size: 0.74rem; color: #111b21;
  animation: msgIn .5s var(--ease-out) both;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.msg-img {
  height: 92px; border-radius: 8px; display: grid; place-items: center; font-size: 2.6rem;
  margin-bottom: 0.4rem;
}
.msg-title { font-weight: 700; line-height: 1.3; }
.msg-price { margin: 0.2rem 0; }
.msg-price s { color: #667781; margin-right: 0.3rem; }
.msg-price b { color: var(--success-ink); font-size: 0.9rem; }
.msg-link { color: #027eb5; word-break: break-all; }
.msg-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.25rem; }
.msg-foot .mk { font-size: 0.6rem; padding: 0.1rem 0.4rem; }
.msg-time { font-size: 0.62rem; color: #667781; }

.typing { background: #fff; border-radius: 4px 12px 12px 12px; padding: 0.6rem 0.8rem; width: fit-content; display: flex; gap: 4px; animation: msgIn .3s both; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 0.65rem;
  background: var(--bg-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border-default); border-radius: 16px; padding: 0.7rem 0.95rem 0.7rem 0.7rem;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.float-card strong { font-size: 1rem; letter-spacing: -0.02em; }
.fc-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.fc-green { background: var(--success-bg); color: var(--success); }
.fc-brand { background: var(--brand-50); color: var(--brand); }
.fc-amber { background: var(--warning-bg); color: var(--warning); }
.fc-1 { top: 30%; left: -6%; }
.fc-2 { bottom: 18%; right: -6%; animation-delay: -2s; }
.fc-3 { top: 8%; right: 2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ------------------------------------------------------------------ Marquee */
.marquee-section { position: relative; z-index: 1; padding: 3rem 0 0; }
.marquee-title { text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.marquee {
  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; gap: 0.7rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.cat-chip {
  background: #fff; border: 1px solid var(--border-default); border-radius: 999px;
  padding: 0.6rem 1.1rem; font-weight: 600; font-size: 0.9rem; color: var(--text-label);
  box-shadow: var(--shadow-xs); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ Seções */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; margin-top: 0.9rem; }

.card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step-line { position: absolute; top: 58px; left: 16%; right: 16%; height: 2px; background: var(--border-default); z-index: 0; }
.step-line span { display: block; height: 100%; width: 0; background: var(--grad-brand); transition: width 1.6s var(--ease-out); }
.step { position: relative; z-index: 1; padding: 1.6rem; transition: transform .35s var(--ease-out), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.step-num { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 2.6rem; font-weight: 800; color: var(--bg-surface); letter-spacing: -0.05em; }
.step-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; box-shadow: var(--glow-brand); margin-bottom: 1.2rem;
}
.step-icon svg.lucide { width: 24px; height: 24px; }
.step h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.step p { color: var(--text-secondary); font-size: 0.92rem; }
.step-demo {
  margin-top: 1.3rem; padding: 0.9rem; border-radius: var(--radius-md);
  background: var(--bg-subtle); border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-height: 72px;
}
.tags-demo { flex-wrap: wrap; justify-content: flex-start; }
.mini-qr { display: grid; grid-template-columns: repeat(3, 12px); gap: 3px; }
.mini-qr span { width: 12px; height: 12px; border-radius: 3px; background: var(--text-main); }
.mini-qr span:nth-child(2), .mini-qr span:nth-child(4), .mini-qr span:nth-child(8) { background: transparent; border: 2px solid var(--text-main); }
.status-chip { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 999px; }
.status-chip.ok { color: var(--success-ink); background: var(--success-bg); border: 1px solid var(--success-border); }
.rate { display: flex; align-items: center; gap: 0.7rem; width: 100%; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.rate-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--border-default); overflow: hidden; }
.rate-bar span { display: block; height: 100%; width: var(--w); background: var(--grad-brand); border-radius: 99px; animation: rate 3s ease-in-out infinite alternate; }
@keyframes rate { from { width: 20%; } to { width: 75%; } }
.rate b { color: var(--brand-ink); font-size: 1rem; min-width: 1.2em; text-align: right; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; grid-auto-flow: dense; }
.bento-item { position: relative; overflow: hidden; padding: 1.6rem; transition: transform .35s var(--ease-out), border-color .3s; }
.bento-item:hover { transform: translateY(-4px); border-color: var(--brand-200); }
.b-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.b-tall { grid-row: span 2; }
.bento-item h3 { font-size: 1.12rem; letter-spacing: -0.02em; margin: 0.9rem 0 0.4rem; }
.bento-item p { color: var(--text-secondary); font-size: 0.92rem; }
.b-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.b-icon svg.lucide { width: 22px; height: 22px; }
.b-icon.green { background: var(--success-bg); color: var(--success); }
.b-icon.amber { background: var(--warning-bg); color: var(--warning); }
.b-icon.violet { background: #f5f3ff; color: var(--violet); }
.b-icon.danger { background: var(--danger-bg); color: var(--danger); }

/* Spotlight que segue o mouse nos cards */
.spot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, 0.09), transparent 60%);
}
.spot:hover::before { opacity: 1; }

.radar-viz {
  position: relative; aspect-ratio: 1; max-width: 230px; width: 100%; margin: 0 auto; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 32%, var(--brand-100) 32.5%, transparent 33.5%),
    radial-gradient(circle, transparent 62%, var(--brand-100) 62.5%, transparent 63.5%),
    radial-gradient(circle, var(--brand-50), #fff 70%);
  border: 1px solid var(--brand-100); overflow: hidden;
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(99, 102, 241, .38), transparent 70deg);
  animation: spin 3.5s linear infinite;
}
.blip {
  position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
  animation: blip 3.5s var(--d, 0s) infinite;
}
@keyframes blip { 0%, 100% { opacity: .15; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.2); } 50% { opacity: .7; transform: scale(1); } }

.link-swap { margin-top: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.link-swap code { font-size: 0.78rem; padding: 0.35rem 0.6rem; border-radius: 8px; }
.ls-from { background: var(--bg-surface); color: var(--text-muted); text-decoration: line-through; }
.ls-to { background: var(--success-bg); color: var(--success-ink); border: 1px solid var(--success-border); }
.link-swap svg { color: var(--text-faint); margin-left: 0.6rem; }

.mini-chat { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem; border-radius: var(--radius-md); background: #efeae2; }
.mc { font-size: 0.78rem; padding: 0.5rem 0.7rem; border-radius: 10px; max-width: 90%; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.mc.in { background: #fff; align-self: flex-start; }
.mc.out { background: #d9fdd3; align-self: flex-end; }
.mc u { color: #027eb5; }

.times { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.times span { font-size: 0.74rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: 8px; background: var(--brand-50); color: var(--brand-ink); }

.fake-toggle { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--text-label); cursor: pointer; }
.fake-toggle input { display: none; }
.fake-toggle span { width: 44px; height: 24px; border-radius: 99px; background: var(--border-strong); position: relative; transition: background .25s; }
.fake-toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease-out); }
.fake-toggle input:checked + span { background: var(--success); }
.fake-toggle input:checked + span::after { transform: translateX(20px); }

.dash-mock { display: flex; flex-direction: column; gap: 0.5rem; }
.dm-row {
  display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem; font-weight: 600; color: var(--text-label);
  background: var(--bg-subtle); border: 1px solid var(--border-default); border-radius: 12px; padding: 0.6rem 0.75rem;
}
.dm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.dm-dot.ok { background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.dm-badge { margin-left: auto; font-size: 0.72rem; padding: 0.2rem 0.55rem; border-radius: 99px; background: var(--brand-50); color: var(--brand-ink); }
.dm-badge.ok { background: var(--success-bg); color: var(--success-ink); }

/* Simulador */
.sim { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; padding: 2.5rem; overflow: hidden; }
.sim-copy p { color: var(--text-secondary); margin: 0.8rem 0 1.8rem; }
.slider-group { margin-bottom: 1.4rem; }
.slider-group label { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; color: var(--text-label); margin-bottom: 0.6rem; }
.slider-group output { color: var(--brand-ink); background: var(--brand-50); padding: 0.1rem 0.55rem; border-radius: 8px; font-variant-numeric: tabular-nums; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--brand-500) var(--fill, 50%), var(--border-default) var(--fill, 50%));
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 3px solid var(--brand); box-shadow: var(--glow-brand); transition: transform .2s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
input[type=range]:focus-visible { box-shadow: 0 0 0 4px var(--brand-100); }

.sim-result {
  position: relative; border-radius: var(--radius-lg); padding: 2rem; color: #fff;
  background: var(--grad-brand); box-shadow: var(--glow-brand); overflow: hidden;
  display: flex; flex-direction: column;
}
.sim-result::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.sim-result > * { position: relative; }
.sr-label { font-size: 0.82rem; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.sr-value { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; margin: 0.3rem 0 1rem; font-variant-numeric: tabular-nums; }
.sr-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-bottom: 1.2rem; }
.sr-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(255,255,255,.28); transition: height .6s var(--ease-out); }
.sr-bars span:last-child { background: #fff; }
.sr-meta { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.sr-meta li { display: flex; justify-content: space-between; font-size: 0.9rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.sr-meta li span { opacity: .85; }
.sr-note { margin-top: auto; padding-top: 1rem; font-size: 0.72rem; opacity: .75; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { position: relative; padding: 2rem 1.4rem; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.plan h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.plan header p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.25rem; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 0.25rem; margin: 1.4rem 0 0.3rem; }
.price small { font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.price .cents { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; align-self: flex-start; margin-top: 0.15rem; }
.price .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.4rem; min-height: 1.3em; }
.price-note b { color: var(--success-ink); }
.plan-list { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.plan-list li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--text-label); }
.plan-list li svg { color: var(--success); margin-top: 0.15rem; }

.plan-featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  box-shadow: 0 30px 60px -28px rgba(79, 70, 229, .45);
  transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--grad-brand); color: #fff; font-size: 0.74rem; font-weight: 800;
  padding: 0.35rem 0.85rem; border-radius: 999px; box-shadow: var(--glow-brand); white-space: nowrap;
}
.ribbon-soft { background: var(--success-bg); color: var(--success-ink); border: 1px solid var(--success-border); box-shadow: none; }

.guarantee {
  display: flex; align-items: center; gap: 1rem; margin: 2rem auto 0; max-width: 720px;
  background: var(--grad-brand-soft); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 1.1rem 1.4rem;
}
.g-icon { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--brand); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-xs); }
.g-icon svg.lucide { width: 24px; height: 24px; }
.guarantee p { font-size: 0.88rem; color: var(--text-secondary); }

/* Versus */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.vs-col { padding: 1.8rem; }
.vs-col h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; margin-bottom: 1.1rem; }
.vs-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.vs-col li { position: relative; padding-left: 1.6rem; font-size: 0.93rem; color: var(--text-secondary); }
.vs-col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.vs-bad { background: var(--bg-subtle); }
.vs-bad h3 { color: var(--danger-ink); }
.vs-bad li::before { content: '✕'; color: var(--danger); }
.vs-bad li { text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .35); }
.vs-good { border-color: var(--success-border); background: linear-gradient(180deg, var(--success-bg), #fff 60%); }
.vs-good h3 { color: var(--success-ink); }
.vs-good li::before { content: '✓'; color: var(--success); }
.vs-good li { color: var(--text-label); font-weight: 600; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.7rem; }
.faq details { padding: 0; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--brand-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; font-weight: 700; font-size: 0.98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--brand); transition: transform .3s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 1.35rem 1.2rem; color: var(--text-secondary); font-size: 0.93rem; }

/* CTA final */
.final-cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: #1e1b4b; border-radius: 28px; padding: 4.5rem 1.5rem;
  box-shadow: var(--shadow-pop);
}
.final-cta h2 { position: relative; color: #fff; }
.final-cta p { position: relative; color: rgba(255,255,255,.75); margin-top: 0.9rem; font-size: 1.05rem; }
.final-cta .hero-ctas { position: relative; }
.fcta-glow {
  position: absolute; inset: -40%;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(99,102,241,.7), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(124,58,237,.6), transparent),
    radial-gradient(closest-side at 50% 100%, rgba(14,165,233,.35), transparent);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: rotate(25deg) scale(1.1); } }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 3.5rem 1.25rem 3rem; color: var(--text-muted); font-size: 0.86rem; }
.footer-link { font-weight: 700; color: var(--brand-ink); }

.mobile-cta { display: none; }

/* ------------------------------------------------------------------ Modal de checkout */
/* Cabeçalho e botão ficam fixos; só os campos rolam. Funciona em qualquer altura de tela. */
.checkout { border: 0; padding: 0; background: transparent; margin: auto; max-width: 440px; width: calc(100% - 1.5rem); max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow: visible; }
.checkout::backdrop { background: rgba(15, 23, 42, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.checkout[open] .co-card { animation: msgIn .4s var(--ease-out) both; }
body:has(dialog[open]) { overflow: hidden; }
.co-card { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); background: #fff; border-radius: 24px; box-shadow: var(--shadow-pop); border: 1px solid var(--border-card); color: var(--text-main); overflow: hidden; }
.co-head { flex-shrink: 0; padding: 1.5rem 4rem 0.9rem 1.7rem; }
.co-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0.3rem 1.7rem 0.4rem; -webkit-overflow-scrolling: touch; }
.co-foot { flex-shrink: 0; padding: 0.8rem 1.7rem 1.3rem; border-top: 1px solid var(--border-default); background: #fff; }
.co-card h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.co-price { color: var(--text-muted); font-size: 0.88rem; margin: 0.2rem 0 0; }
.co-price b { color: var(--brand-ink); font-size: 1.1rem; }
.co-close { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-default); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--text-muted); }
.co-close:hover { color: var(--text-main); border-color: var(--border-strong); }
.co-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.84rem; font-weight: 700; color: var(--text-label); margin-bottom: 0.85rem; }
.co-field input { font: inherit; font-weight: 500; font-size: 16px; padding: 0.7rem 0.9rem; border-radius: 12px; border: 1px solid var(--border-strong); background: #fff; color: var(--text-main); outline: none; transition: border-color .2s, box-shadow .2s; }
.co-field input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.co-field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-bg); }
.co-field small { font-weight: 500; font-size: 0.74rem; color: var(--text-muted); line-height: 1.35; }
.co-error { min-height: 1.1em; color: var(--danger-ink); font-size: 0.84rem; font-weight: 600; margin-bottom: 0.5rem; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 0.35rem; margin-top: 0.7rem; font-size: 0.76rem; color: var(--text-muted); font-weight: 600; text-align: center; }
.co-secure svg { color: var(--success); }

/* Telas pequenas ou baixas: compacta o formulário */
@media (max-width: 480px), (max-height: 720px) {
  .co-head { padding: 1.1rem 3.4rem 0.6rem 1.2rem; }
  .co-card h3 { font-size: 1.15rem; }
  .co-head .eyebrow { margin-bottom: 0.5rem; font-size: 0.66rem; }
  .co-body { padding: 0.2rem 1.2rem 0.2rem; }
  .co-foot { padding: 0.65rem 1.2rem 0.9rem; }
  .co-field { margin-bottom: 0.65rem; }
  .co-field input { padding: 0.6rem 0.8rem; }
  .co-field small { font-size: 0.7rem; }
  .co-foot .btn-lg { padding: 0.8rem 1.2rem; }
  .co-secure { margin-top: 0.5rem; font-size: 0.7rem; }
}
.btn[disabled] { opacity: .7; cursor: wait; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }

/* ------------------------------------------------------------------ Animações de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Responsivo */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; row-gap: 1.8rem; }
}

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 3rem; min-height: 0; }
  .lead { margin: 0 auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 560px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-tall { grid-row: auto; }
  .sim { grid-template-columns: 1fr; }
  .plan-featured, .plan-featured:hover { transform: none; }
}

@media (max-width: 680px) {
  html { font-size: 14.5px; }
  .section { padding-top: 4rem; }
  .nav-actions .btn-ghost { display: none; }
  .brand-badge { display: none; }
  .steps, .versus, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 440px; }
  .step-line { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; grid-template-columns: 1fr; }
  .orbit-2 { display: none; }
  .orbit-1 { width: 380px; height: 380px; }
  .phone { width: 270px; height: 520px; }
  .fc-1 { left: 0; top: 36%; }
  .fc-2 { right: 0; bottom: 6%; }
  .fc-3 { display: none; }
  .sim { padding: 1.4rem; }
  .trust-sep { display: none; }
  .guarantee { flex-direction: column; text-align: center; }
  .footer { justify-content: center; text-align: center; padding-bottom: 6rem; }
  .cursor-glow { display: none; }

  .mobile-cta {
    position: fixed; z-index: 60; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--border-default); border-radius: 16px; padding: 0.6rem 0.6rem 0.6rem 1rem;
    box-shadow: var(--shadow-pop);
    transform: translateY(150%); transition: transform .4s var(--ease-out);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta small { display: block; font-size: 0.7rem; color: var(--text-muted); }
  .mobile-cta strong { font-size: 1.05rem; }
}

/* ------------------------------------------------------------------ Rodape */
.site-foot { position: relative; z-index: 1; margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--border-default); background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.9)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.foot-brand p { color: var(--text-muted); font-size: 0.88rem; margin: 0.9rem 0 1.1rem; max-width: 360px; line-height: 1.55; }
.foot-social { display: flex; gap: 0.55rem; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text-secondary);
  background: #fff; border: 1px solid var(--border-default); box-shadow: var(--shadow-xs); transition: color .2s, border-color .2s, transform .25s var(--ease-out);
}
.foot-social a:hover { color: var(--brand); border-color: var(--brand-200); transform: translateY(-3px); }
.foot-social a[hidden], .foot-col a[hidden] { display: none; }
.foot-col { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-col h4 { font-size: 0.76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-main); margin-bottom: 0.25rem; }
.foot-col a { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; transition: color .2s; }
.foot-col a:hover { color: var(--brand-ink); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-top: 1.2rem; padding-bottom: 2.4rem; border-top: 1px solid var(--border-default); font-size: 0.82rem; color: var(--text-muted);
}
.foot-secure { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.foot-secure svg { color: var(--success); }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { justify-content: center; text-align: center; padding-bottom: 6rem; }
}
