/* ============================================================
   PriceMoon — Design System (Cósmico · base clara)
   Paleta oficial: Void · Astral · Plasma · Cosmic · Nimbus · Mist
   Tipografia: Urbanist (display) + Inter (texto/UI)
   ============================================================ */

:root {
  /* ---- Paleta de marca (Final Deliverables) ---- */
  --void: #111827;
  --astral: #4338ca;
  --plasma: #7c7ff0;
  --cosmic: #a855f7;
  --nimbus: #93c5fd;
  --mist: #f8fafc;

  /* ---- Tinta / texto sobre base clara ---- */
  --ink: #0e1120;
  --ink-2: #363b52;
  --muted: #6a7089;
  --line: #e7e8f2;
  --line-2: #eef0f8;

  /* ---- Superfícies ---- */
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --bg-tint: #f2f1fe; /* plasma tint */
  --surface: #ffffff;

  /* ---- Gradientes assinatura ---- */
  --grad-brand: linear-gradient(120deg, #4338ca 0%, #7c7ff0 46%, #a855f7 100%);
  --grad-brand-soft: linear-gradient(120deg, #4f46e5 0%, #7c7ff0 55%, #a855f7 100%);
  --grad-night: radial-gradient(1200px 600px at 15% -10%, #1e1b4b 0%, transparent 60%),
                radial-gradient(900px 500px at 90% 0%, #3b1d6b 0%, transparent 55%),
                linear-gradient(180deg, #0d1122 0%, #111827 100%);
  --grad-halo: radial-gradient(60% 60% at 50% 0%, rgba(124,127,240,.20), transparent 70%);

  /* ---- Cores de sistema ---- */
  --success: #2fa36b;
  --success-bg: #e6f6ee;
  --warning: #f2b705;
  --warning-bg: #fff5d6;
  --danger: #d64545;
  --danger-bg: #fdeaea;

  /* ---- Forma & profundidade ---- */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-1: 0 1px 2px rgba(17,24,39,.05), 0 4px 14px rgba(17,24,39,.05);
  --shadow-2: 0 10px 30px rgba(30,27,75,.10), 0 2px 8px rgba(17,24,39,.05);
  --shadow-glow: 0 20px 60px rgba(76,70,229,.22);
  --ring: 0 0 0 4px rgba(124,127,240,.28);

  --container: 1160px;
  --nav-h: 68px;
}

/* ---------------- Reset ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(168,85,247,.22); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, .display {
  font-family: "Urbanist", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* ---------------- Layout helpers ---------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%); }
.section--dark { background: var(--grad-night); color: rgba(255,255,255,.82); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--astral);
}
.section--dark .eyebrow { color: var(--nimbus); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-brand); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 16px 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); }
.section--dark .section-head p { color: rgba(255,255,255,.62); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  font-family: "Inter", sans-serif; font-size: 15px; font-weight: 650; letter-spacing: .01em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.4,.5,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(76,70,229,.30); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(124,127,240,.42); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--plasma); color: var(--astral); background: rgba(124,127,240,.06); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--astral); box-shadow: var(--shadow-1); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn--on-dark:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--lg { --pad-y: 16px; --pad-x: 30px; font-size: 16.5px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--astral); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--nimbus); }

/* ---------------- Pills / badges ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: rgba(124,127,240,.10); color: var(--astral);
  border: 1px solid rgba(124,127,240,.20);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(47,163,107,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,163,107,.45);} 70%{ box-shadow:0 0 0 8px rgba(47,163,107,0);} 100%{box-shadow:0 0 0 0 rgba(47,163,107,0);} }
.section--dark .pill { background: rgba(147,197,253,.12); color: var(--nimbus); border-color: rgba(147,197,253,.22); }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header.is-scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(17,24,39,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-family: "Urbanist", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1; }
.brand__word .p { color: var(--ink); }
.brand__word .m { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.on-dark .brand__word .p, .site-footer .brand__word .p { color: #fff; }

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--astral); background: rgba(124,127,240,.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-cta { display: none; } /* CTAs só aparecem dentro do menu mobile */

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -1;
  background: var(--grad-halo);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; top: -140px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(168,85,247,.16), transparent 62%);
  filter: blur(6px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); margin: 20px 0 20px; }
.hero .lede { font-size: 19px; color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.hero .lede strong { color: var(--ink); font-weight: 650; }

/* Waitlist inline (hero) */
.waitlist {
  display: flex; gap: 10px; max-width: 500px; margin-bottom: 16px; flex-wrap: wrap;
}
.waitlist__field { flex: 1 1 240px; position: relative; }
.waitlist__field input {
  width: 100%; height: 54px; padding: 0 18px; font-size: 15.5px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.waitlist__field input::placeholder { color: #9aa0b6; }
.waitlist__field input:focus { border-color: var(--plasma); box-shadow: var(--ring); }
.waitlist .btn { height: 54px; }
.waitlist__status { flex-basis: 100%; width: 100%; font-size: 13.5px; margin-top: 4px; min-height: 18px; }
.waitlist__status:empty { min-height: 0; margin-top: 0; } /* colapsa quando não há mensagem (evita desalinhar o form) */
.waitlist__status.is-err { color: var(--danger); }
.waitlist__status.is-ok { color: var(--success); }
.waitlist__note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.waitlist__note svg { width: 15px; height: 15px; color: var(--success); }

.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.trust-row .item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.trust-row .item svg { width: 17px; height: 17px; color: var(--astral); }

/* ---------------- Product visual (hero right) ---------------- */
.showcase {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-glow); padding: 18px;
}
.showcase::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(124,127,240,.5), rgba(168,85,247,.2) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.win-dots { display: flex; gap: 7px; padding: 4px 6px 14px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.win-dots i:nth-child(1){ background:#ef6a6a;} .win-dots i:nth-child(2){ background:#f2b705;} .win-dots i:nth-child(3){ background:#2fa36b;}

.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 12px; }
.kpi { border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; background: var(--bg-soft); }
.kpi .lab { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.kpi .val { font-family: "Urbanist"; font-weight: 800; font-size: 19px; color: var(--ink); margin-top: 3px; }
.kpi .val.up { color: var(--success); }
.kpi .ico { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; }

.mock-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; background: #fff; margin-bottom: 12px; }
.mock-card .tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--astral); background: rgba(124,127,240,.10); padding: 4px 9px; border-radius: 8px; }
.mock-card h5 { font-family: "Urbanist"; font-size: 15px; color: var(--ink); margin: 9px 0 6px; }
.mock-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.mock-metrics { display: flex; gap: 22px; margin-bottom: 12px; }
.mock-metrics .n { font-family: "Urbanist"; font-weight: 800; font-size: 18px; }
.mock-metrics .n.g { color: var(--success); }
.mock-metrics small { display: block; font-size: 10.5px; color: var(--muted); font-family: "Inter"; font-weight: 500; }
.mock-btn { font-size: 12px; font-weight: 650; color: #fff; background: var(--grad-brand); border: none; padding: 9px 16px; border-radius: 999px; }
.bar { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; width: 66%; background: var(--grad-brand); border-radius: 4px; }
.mock-roi { border: 1px solid rgba(124,127,240,.28); border-radius: 16px; padding: 16px; background: var(--grad-night); color: #fff; }
.mock-roi .lab { font-size: 11px; color: rgba(255,255,255,.66); }
.mock-roi .big { font-family: "Urbanist"; font-weight: 800; font-size: 26px; margin: 4px 0 2px; }
.mock-roi .delta { font-size: 12px; color: #86efac; }

/* Floating chips on showcase */
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-2); padding: 10px 13px; display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.float-chip--a { top: 30px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.float-chip--b { bottom: 40px; right: -22px; animation: floaty 7s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ---------------- Logos / integrações strip ---------------- */
.logostrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg-soft); }
.logostrip p { text-align: center; font-size: 12.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.logo-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--ink-2);
  transition: transform .18s, border-color .2s, color .2s;
}
.logo-chip:hover { transform: translateY(-2px); border-color: var(--plasma); color: var(--astral); }
.logo-chip .g { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); }

/* ---------------- Feature grid ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .22s, box-shadow .28s, border-color .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(124,127,240,.35); }
.card__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  color: #fff; background: var(--grad-brand);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon.alt { background: linear-gradient(135deg, var(--cosmic), var(--plasma)); }
.card__icon.blue { background: linear-gradient(135deg, var(--astral), var(--nimbus)); }
.card h3 { font-size: 20px; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--muted); }
.card__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--astral); margin-bottom: 12px; }

/* ---- Bento: varied sizes so cards don't all look the same ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { position: relative; overflow: hidden; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }

/* Corner glow per accent */
.card--accent::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, var(--acc, rgba(124,127,240,.20)), transparent 70%); pointer-events: none; opacity: .8;
}
.card--astral { --acc: rgba(67,56,202,.20); }
.card--astral .card__icon { background: linear-gradient(135deg, #4338ca, #6d5ef0); }
.card--astral:hover { border-color: rgba(67,56,202,.4); } .card--astral .card__tag { color: var(--astral); }
.card--cosmic { --acc: rgba(168,85,247,.20); }
.card--cosmic .card__icon { background: linear-gradient(135deg, #a855f7, #c084fc); }
.card--cosmic:hover { border-color: rgba(168,85,247,.4); } .card--cosmic .card__tag { color: var(--cosmic); }
.card--plasma { --acc: rgba(124,127,240,.22); }
.card--plasma .card__icon { background: linear-gradient(135deg, #7c7ff0, #a5b4fc); }
.card--plasma:hover { border-color: rgba(124,127,240,.45); } .card--plasma .card__tag { color: var(--plasma); }
.card--nimbus { --acc: rgba(59,130,246,.20); }
.card--nimbus .card__icon { background: linear-gradient(135deg, #3b82f6, #93c5fd); }
.card--nimbus:hover { border-color: rgba(59,130,246,.4); } .card--nimbus .card__tag { color: #2563eb; }

/* Featured dark card (stands out in the grid) */
.card--feature { background: var(--grad-night); border-color: transparent; color: rgba(255,255,255,.72); }
.card--feature::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad-halo); opacity: .55; pointer-events: none; }
.card--feature > * { position: relative; z-index: 1; }
.card--feature h3 { color: #fff; font-size: 24px; }
.card--feature p { color: rgba(255,255,255,.66); font-size: 15.5px; }
.card--feature .card__tag { color: var(--nimbus); }
.card--feature .card__icon { background: linear-gradient(135deg, var(--cosmic), var(--plasma)); box-shadow: 0 10px 30px rgba(168,85,247,.35); }
.card--feature .mini { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.card--feature .mini span { font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; }

/* Wide card with a horizontal layout */
.card--row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.card--row .card__icon { margin-bottom: 0; }

/* ---------------- How it works (steps) ---------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step__n { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); color: #fff; font-family: "Urbanist"; font-weight: 800; font-size: 19px; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------------- Split (image/text) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.split > div > p.lede { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list .fl { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fl .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(124,127,240,.12); color: var(--astral); }
.feature-list .fl .ic svg { width: 20px; height: 20px; }
.section--dark .feature-list .fl .ic { background: rgba(147,197,253,.14); color: var(--nimbus); }
.feature-list .fl h4 { font-size: 16px; margin-bottom: 2px; }
.feature-list .fl p { font-size: 14px; color: var(--muted); }
.section--dark .feature-list .fl p { color: rgba(255,255,255,.6); }

/* Clustering visual */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-2); }
.panel__title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.cluster-bar { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin-bottom: 22px; font-size: 11px; font-weight: 700; color: #fff; }
.cluster-bar span { display: grid; place-items: center; }
.cluster-bar .s1 { background: var(--astral); width: 15%; }
.cluster-bar .s2 { background: var(--plasma); width: 25%; }
.cluster-bar .s3 { background: var(--cosmic); width: 30%; }
.cluster-bar .s4 { background: #b8bdd6; width: 30%; color: var(--ink); }
.cluster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.cluster-cell { padding: 15px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.cluster-cell .lab { font-size: 12px; font-weight: 650; }
.cluster-cell .n { font-family: "Urbanist"; font-weight: 800; font-size: 24px; color: var(--ink); }
.cluster-cell.c1 .lab { color: var(--astral); } .cluster-cell.c2 .lab { color: var(--plasma); }
.cluster-cell.c3 .lab { color: var(--cosmic); } .cluster-cell.c4 .lab { color: var(--muted); }
.insight { background: var(--success-bg); border: 1px solid rgba(47,163,107,.2); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #1e7d52; }
.insight strong { font-weight: 700; }

/* ---------------- Comparison table ---------------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
.cmp thead th { background: var(--grad-night); color: #fff; padding: 18px 18px; font-family: "Urbanist"; font-weight: 700; font-size: 15px; text-align: center; }
.cmp thead th:first-child { text-align: left; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.75); }
.cmp thead th.hl { position: relative; }
.cmp thead th.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-brand); }
.cmp tbody td { padding: 15px 18px; text-align: center; font-size: 14px; border-top: 1px solid var(--line); }
.cmp tbody td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.cmp tbody tr:hover { background: var(--bg-soft); }
.cmp col.hl, .cmp td.hl { background: rgba(124,127,240,.06); }
.cmp .yes { color: var(--success); } .cmp .no { color: #c7ccdd; } .cmp .warn { color: var(--warning); }
.cmp .yes svg, .cmp .no svg { width: 20px; height: 20px; display: inline; }
.cmp .txt { font-size: 12.5px; font-weight: 600; }
.cmp .txt.mut { color: var(--muted); } .cmp .txt.good { color: var(--success); } .cmp .txt.bad { color: var(--danger); }

/* ---------------- Metrics band ---------------- */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.metrics .m .n { font-family: "Urbanist"; font-weight: 800; font-size: clamp(34px,5vw,52px); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section--dark .metrics .m .n { background: linear-gradient(120deg,#93c5fd,#a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metrics .m p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.section--dark .metrics .m p { color: rgba(255,255,255,.6); }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad-halo); opacity: .5; }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(30px,4.4vw,48px); margin-bottom: 16px; }
.cta-inner p { font-size: 19px; color: rgba(255,255,255,.7); margin-bottom: 30px; }
.cta-inner .waitlist { margin: 0 auto 14px; justify-content: center; }
.cta-inner .waitlist__field input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.cta-inner .waitlist__field input::placeholder { color: rgba(255,255,255,.55); }
.cta-inner .waitlist__note { color: rgba(255,255,255,.55); justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--grad-night); color: rgba(255,255,255,.6); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .brand__word .m { -webkit-text-fill-color: transparent; }
.footer-about { font-size: 14px; max-width: 300px; margin-bottom: 18px; }
.footer-loc { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; background: rgba(255,255,255,.07); padding: 6px 12px; border-radius: 999px; }
.site-footer h5 { color: #fff; font-family: "Urbanist"; font-size: 14px; letter-spacing: .02em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------------- Page hero (interior pages) ---------------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(34px,5vw,52px); margin: 14px 0 16px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--astral); }
.breadcrumb span { opacity: .5; margin: 0 6px; }

/* ---------------- Article (programmatic SEO pages) ---------------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 28px; margin: 40px 0 14px; }
.article h3 { font-size: 21px; margin: 28px 0 10px; }
.article p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; color: var(--ink-2); }
.article strong { color: var(--ink); }
.prose-cta { margin: 36px 0; padding: 28px; border-radius: var(--r-lg); background: var(--bg-tint); border: 1px solid rgba(124,127,240,.2); text-align: center; }
.prose-cta h3 { margin: 0 0 8px; }
.prose-cta p { color: var(--muted); margin-bottom: 18px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; margin-bottom: 12px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: rgba(124,127,240,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: "Urbanist"; font-weight: 700; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--astral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* Cards list (index of programmatic pages) */
.tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tile { display: block; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .25s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(124,127,240,.35); }
.tile .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--astral); }
.tile h3 { font-size: 19px; margin: 8px 0 8px; }
.tile p { font-size: 14.5px; color: var(--muted); }

/* ---------------- Pain cards (agitação) ---------------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 26px 30px; }
.pain-card::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: linear-gradient(var(--danger), var(--warning)); }
.pain-card h4 { font-family: "Urbanist"; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.pain-card p { font-size: 14.5px; color: var(--muted); }
.section--dark .pain-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .pain-card h4 { color: #fff; }
.section--dark .pain-card p { color: rgba(255,255,255,.6); }
.pain-bridge { text-align: center; margin-top: 40px; }
.pain-bridge p { font-family: "Urbanist"; font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); color: var(--ink); max-width: 720px; margin: 0 auto 22px; letter-spacing: -.01em; }
.pain-bridge .gradient-text { display: inline; }

/* ---------------- Audience path cards ---------------- */
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path-card { display: block; position: relative; overflow: hidden; padding: 34px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .28s, border-color .2s; }
.path-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, var(--acc, rgba(124,127,240,.16)), transparent 70%); pointer-events: none; }
.path-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(124,127,240,.35); }
.path-card > * { position: relative; z-index: 1; }
.path-card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 26px; margin-bottom: 18px; }
.path-card .k { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.path-card h3 { font-size: 25px; margin: 6px 0 10px; }
.path-card > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.path-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.path-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.path-card li svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.path-card--ecom { --acc: rgba(67,56,202,.18); } .path-card--ecom .ic { background: linear-gradient(135deg, #4338ca, #6d5ef0); }
.path-card--mkt { --acc: rgba(168,85,247,.18); } .path-card--mkt .ic { background: linear-gradient(135deg, #a855f7, #c084fc); }

/* ---------------- Two-track page (e-commerce / marketplace) ---------------- */
.track-chips { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.track-chip { display: inline-flex; align-items: center; gap: 11px; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .18s, box-shadow .25s, border-color .2s; }
.track-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--plasma); }
.track-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px; }

/* Price composition (e-commerce) */
.pc { display: flex; flex-direction: column; }
.pc__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.pc__row b { font-family: "Urbanist"; font-weight: 700; color: var(--ink); }
.pc__row--m b { color: var(--success); }
.pc__row--total { border-bottom: none; border-top: 2px solid var(--line); margin-top: 4px; padding-top: 14px; }
.pc__row--total span { font-weight: 700; color: var(--ink); font-size: 16px; }
.pc__row--total b { font-size: 24px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pc__band { display: flex; justify-content: space-between; margin-top: 14px; padding: 12px 15px; background: var(--bg-soft); border-radius: 12px; font-size: 13px; font-weight: 650; color: var(--muted); }

/* Marketplace take-home */
.mkt-take { display: flex; flex-direction: column; }
.mkt-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.mkt-row b { font-family: "Urbanist"; font-weight: 700; color: var(--ink); }
.mkt-row.sub { color: var(--muted); font-size: 13.5px; }
.mkt-row.sub b { color: var(--danger); font-weight: 600; }
.mkt-row.total { border-bottom: none; border-top: 2px solid var(--line); margin-top: 4px; padding-top: 14px; }
.mkt-row.total span { font-weight: 700; color: var(--ink); font-size: 16px; }
.mkt-row.total b.g { font-size: 24px; color: var(--success); }
.mkt-flags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.flag { font-size: 12.5px; font-weight: 650; padding: 7px 12px; border-radius: 999px; }
.flag.win { background: var(--success-bg); color: #1e7d52; }
.flag.hot { background: rgba(168,85,247,.12); color: var(--cosmic); }

/* Wizard stepper */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stp { padding: 24px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .25s; }
.stp:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.stp__n { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-brand); color: #fff; font-family: "Urbanist"; font-weight: 800; font-size: 17px; display: grid; place-items: center; margin-bottom: 14px; }
.stp h4 { font-size: 16px; margin-bottom: 6px; }
.stp p { font-size: 13.5px; color: var(--muted); }
.stp--hot { border-color: rgba(168,85,247,.4); box-shadow: 0 12px 30px rgba(168,85,247,.14); }
.stp--hot .stp__n { background: linear-gradient(135deg, var(--cosmic), var(--plasma)); }

/* Daily alerts list (on dark) */
.alert-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.al { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border-left: 3px solid rgba(255,255,255,.3); font-size: 13.5px; color: #fff; }
.al em { font-style: normal; color: rgba(255,255,255,.6); font-size: 12.5px; text-align: right; }
.al--danger { border-left-color: #ff8a8a; }
.al--warn { border-left-color: #ffd76a; }
.al--ok { border-left-color: #86efac; }

/* ---------------- Reveal animation (progressive enhancement) ----------------
   Sem JS (.js ausente), o conteúdo aparece normalmente — nada fica escondido. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .06s; } [data-reveal].d2 { transition-delay: .12s; } [data-reveal].d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { [data-reveal]{ opacity:1 !important; transform:none !important; transition:none !important; } * { scroll-behavior: auto; } .float-chip{ animation:none; } .pill .dot{ animation:none; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .hero-grid, .split, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 2; }
  .bento .span-2 { grid-column: span 1; }
  .stepper { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .split--rev > .panel { order: 2; } /* texto primeiro no mobile */
  .hero .showcase { max-width: 460px; margin: 8px auto 0; }
  .float-chip--a { left: 8px; } .float-chip--b { right: 8px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .metrics { grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
  .tiles { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px); padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 12px; font-size: 16px; }
  .nav .nav-cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 8px; }
  .nav .nav-cta.btn--ghost { margin-top: 12px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
  .header-actions .btn { display: none; } /* CTAs migram para o menu */
  .metrics, .tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .waitlist { flex-direction: column; }
  .waitlist__field { flex: 0 0 auto; width: 100%; } /* evita basis 240px virar altura no eixo vertical */
  .waitlist .btn { width: 100%; }
  .steps, .stepper, .pain-grid, .path-cards { grid-template-columns: 1fr; }
  .al { flex-direction: column; align-items: flex-start; gap: 4px; }
  .al em { text-align: left; }
}
