/* ============================================================
   ERP Comercial IA365 — Landing
   Paleta ancorada no índigo da marca (#4f46e5 → oklch ~277).
   Tinted neutrals toward indigo. OKLCH em toda a paleta.
   ============================================================ */

:root {
  /* Brand */
  --brand: oklch(53.3% 0.214 277);
  --brand-strong: oklch(47% 0.205 277);
  --brand-deep: oklch(34% 0.14 277);
  --brand-night: oklch(24% 0.072 277);
  --brand-wash: oklch(96.4% 0.018 277);
  --brand-wash-2: oklch(93.5% 0.03 277);

  /* Accent — verde fiscal (nota autorizada / dinheiro). Significado, não enfeite. */
  --ok: oklch(63% 0.14 158);
  --ok-deep: oklch(52% 0.12 158);
  --ok-wash: oklch(95% 0.04 158);

  /* Amber — destaque pontual */
  --amber: oklch(78% 0.135 73);

  /* Neutros (levemente puxados pro índigo) */
  --bg: oklch(98.6% 0.005 277);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(96.8% 0.007 277);
  --ink: oklch(23% 0.03 277);
  --ink-soft: oklch(38% 0.022 277);
  --ink-muted: oklch(45% 0.02 277);
  --line: oklch(90% 0.012 277);
  --line-soft: oklch(94% 0.008 277);

  /* Sombras (tom índigo, não preto puro) */
  --shadow-sm: 0 1px 2px oklch(30% 0.05 277 / 0.07);
  --shadow: 0 4px 16px oklch(30% 0.05 277 / 0.08), 0 1px 3px oklch(30% 0.05 277 / 0.06);
  --shadow-lg: 0 24px 60px oklch(30% 0.08 277 / 0.16), 0 8px 24px oklch(30% 0.06 277 / 0.1);
  --shadow-brand: 0 16px 40px oklch(53% 0.2 277 / 0.28);

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Raios */
  --r-sm: 0.5rem;
  --r: 0.75rem;
  --r-lg: 1.1rem;
  --r-xl: 1.6rem;

  /* Ritmo */
  --maxw: 1140px;
  --pad: clamp(1.15rem, 5vw, 2rem);

  /* z-scale semântica */
  --z-nav: 100;
  --z-overlay: 200;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Tipografia ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink);
}
h2 { font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem); letter-spacing: -0.025em; }
p { text-wrap: pretty; }
.mono { font-family: var(--font-mono); font-feature-settings: "ss01"; }

/* ── Layout helpers ──────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 2rem + 8vw, 7rem); }
.lede { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--brand-strong);
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: var(--brand-wash); border: 1px solid var(--brand-wash-2);
}
.eyebrow.ok { color: var(--ok-deep); background: var(--ok-wash); border-color: oklch(88% 0.06 158); }

/* ── Botões ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 0.9rem 1.4rem; border-radius: var(--r);
  border: 1px solid transparent; min-height: 48px;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .18s, color .18s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--brand); color: oklch(99% 0.01 277); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-2px); }
.btn-light { background: oklch(99% 0.01 277); color: var(--brand-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(98.6% 0.005 277 / 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display);
  font-weight: 800; font-size: 1.12rem; letter-spacing: -0.03em; color: var(--ink);
}
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; box-shadow: var(--shadow-brand);
}
.brand__mark span { transform: translateY(-0.5px); }
.brand small { font-weight: 500; color: var(--ink-muted); font-family: var(--font-body); font-size: .82rem; letter-spacing: 0; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--brand-strong); }
.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle { display: none; }
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__cta .btn-ghost { display: none; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(2.5rem, 1rem + 5vw, 4.5rem); padding-bottom: clamp(3rem, 2rem + 5vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%; z-index: -1;
  background: radial-gradient(60% 80% at 75% 10%, var(--brand-wash) 0%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.hero h1 {
  font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4rem);
  letter-spacing: -0.04em; margin-bottom: 1.25rem;
}
.hero h1 .hl { color: var(--brand-strong); }
.hero__sub { font-size: clamp(1.08rem, 1rem + 0.55vw, 1.3rem); color: var(--ink-soft); max-width: 36ch; margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.6rem; }
.hero__note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-muted); }
.hero__note svg { width: 1.05rem; height: 1.05rem; color: var(--ok-deep); flex: none; }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sub, .hero h1 { max-width: 22ch; }
  .hero__sub { max-width: 40ch; }
}

/* ── Mock UI (imagery do produto) ───────────────────────── */
.app {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  font-size: 0.82rem; --sb: oklch(20.5% 0.04 277);
}
.app__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.app__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app__dot:nth-child(1){ background: oklch(72% 0.16 25); }
.app__dot:nth-child(2){ background: var(--amber); }
.app__dot:nth-child(3){ background: var(--ok); }
.app__url { margin-left: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-muted); }
.app__body { display: grid; grid-template-columns: 132px 1fr; min-height: 320px; }
.app__side { background: var(--sb); padding: 0.9rem 0.7rem; color: oklch(80% 0.02 277); }
.app__side .brand { color: #fff; font-size: 0.82rem; margin-bottom: 1rem; }
.app__side .brand__mark { width: 22px; height: 22px; font-size: 0.65rem; border-radius: 6px; box-shadow: none; }
.app__nav { display: flex; flex-direction: column; gap: 0.15rem; }
.app__nav span { display: flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.55rem; border-radius: 7px; font-size: 0.76rem; color: oklch(78% 0.02 277); }
.app__nav span.on { background: oklch(60% 0.18 277 / 0.22); color: #fff; font-weight: 600; }
.app__nav i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .6; flex: none; }
.app__main { padding: 1rem; background: oklch(98% 0.006 277); }
.app__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; }
.app__h b { font-family: var(--font-display); font-size: 0.98rem; letter-spacing: -0.02em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.85rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 0.6rem 0.65rem; }
.kpi small { color: var(--ink-muted); font-size: 0.68rem; display: block; margin-bottom: 0.25rem; }
.kpi b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.02em; }
.kpi .up { color: var(--ok-deep); font-size: 0.66rem; font-weight: 600; }
.chart { display: flex; align-items: flex-end; gap: 5px; height: 70px; padding: 0.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.chart i { flex: 1; background: var(--brand-wash-2); border-radius: 3px 3px 0 0; min-height: 8px; }
.chart i.hi { background: var(--brand); }

/* Toast de nota autorizada flutuando sobre o mock */
.toast-fiscal {
  position: absolute; right: -14px; bottom: 26px; width: min(80%, 250px);
  background: var(--surface); border: 1px solid oklch(86% 0.07 158);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 0.75rem 0.85rem; display: flex; gap: 0.65rem; align-items: flex-start;
}
.toast-fiscal .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--ok-wash); color: var(--ok-deep); display: grid; place-items: center; flex: none; }
.toast-fiscal .ic svg { width: 18px; height: 18px; }
.toast-fiscal b { font-size: 0.86rem; display: block; }
.toast-fiscal small { font-size: 0.74rem; color: var(--ink-muted); }
.toast-fiscal .chave { font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-muted); letter-spacing: -0.02em; }
.mock-stage { position: relative; }
@media (max-width: 880px) { .toast-fiscal { right: 4px; } }
@media (max-width: 520px) { .app__body { grid-template-columns: 1fr; } .app__side { display: none; } }

/* ── Trust strip ─────────────────────────────────────────── */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.5rem; }
.trust__label { font-size: 0.82rem; color: var(--ink-muted); font-weight: 600; }
.trust__items { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.86rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.5rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
}
.pill svg { width: 1rem; height: 1rem; color: var(--brand); }

/* ── Section head ────────────────────────────────────────── */
.head { max-width: 56ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.head h2 { margin-bottom: 1rem; }
.head.center { margin-inline: auto; text-align: center; }

/* ── Feature rows (alternadas, sem grade de cards) ───────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 4vw, 4.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 2rem + 5vw, 6rem); }
.feature.flip .feature__media { order: -1; }
.feature__copy h3 { margin-bottom: 0.9rem; }
.feature__copy p { color: var(--ink-soft); margin-bottom: 1.25rem; max-width: 46ch; }
.checks { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.97rem; }
.checks svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--ok-deep); margin-top: 1px; }
.checks b { font-weight: 600; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 1.75rem; }
  .feature.flip .feature__media { order: 0; }
}

/* PDV mock */
.pdv { background: var(--brand-night); border-radius: var(--r-lg); padding: 1.1rem; color: oklch(92% 0.01 277); box-shadow: var(--shadow-lg); border: 1px solid oklch(40% 0.08 277); }
.pdv__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; font-size: 0.82rem; }
.pdv__top .badge { font-family: var(--font-mono); font-size: 0.7rem; padding: 0.25rem 0.55rem; border-radius: 6px; background: oklch(60% 0.18 277 / 0.25); color: oklch(88% 0.08 277); }
.pdv__items { display: grid; gap: 0.5rem; margin-bottom: 0.85rem; }
.pdv__row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; padding: 0.6rem 0.75rem; background: oklch(30% 0.05 277 / 0.6); border-radius: 9px; font-size: 0.84rem; }
.pdv__row small { display: block; color: oklch(72% 0.03 277); font-size: 0.72rem; }
.pdv__row b { font-variant-numeric: tabular-nums; }
.pdv__total { display: flex; justify-content: space-between; align-items: baseline; padding: 0.75rem; border-radius: 9px; background: oklch(34% 0.07 277); margin-bottom: 0.75rem; }
.pdv__total span { font-size: 0.8rem; color: oklch(80% 0.03 277); }
.pdv__total b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.03em; color: #fff; }
.pdv__pay { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.45rem; }
.pdv__key { text-align: center; padding: 0.6rem 0.3rem; border-radius: 8px; background: oklch(28% 0.04 277 / 0.7); font-size: 0.72rem; font-family: var(--font-mono); }
.pdv__key.go { background: var(--ok-deep); color: #fff; font-family: var(--font-body); font-weight: 700; }

/* Mock genérico de tela (financeiro / multiloja) */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.panel__head { padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.panel__head b { font-family: var(--font-display); letter-spacing: -0.02em; }
.panel__head .tag { font-size: 0.72rem; color: var(--ink-muted); font-family: var(--font-mono); }
.rows { display: grid; }
.rows__r { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 0.75rem; align-items: center; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.rows__r:last-child { border-bottom: 0; }
.rows__r .u { color: var(--ink-muted); font-size: 0.78rem; }
.bar { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.bar i.ok { background: var(--ok); }
.bar i.low { background: var(--amber); }
.tagk { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }
.tagk.ok { background: var(--ok-wash); color: var(--ok-deep); }
.tagk.low { background: oklch(95% 0.06 73); color: oklch(48% 0.12 73); }

/* ── Fiscal band (escura, índigo noturno) ───────────────── */
.fiscal { background: var(--brand-night); color: oklch(94% 0.01 277); position: relative; overflow: hidden; }
.fiscal::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 90%; z-index: 0;
  background: radial-gradient(50% 60% at 50% 50%, oklch(45% 0.18 277 / 0.55) 0%, transparent 70%);
  pointer-events: none;
}
.fiscal .wrap { position: relative; z-index: 1; }
.fiscal h2 { color: #fff; }
.fiscal .lede { color: oklch(82% 0.025 277); }
.fiscal .head { margin-bottom: clamp(2.25rem, 1rem + 4vw, 3.5rem); }
.fcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1rem; }
.fcard {
  background: oklch(28% 0.045 277 / 0.7); border: 1px solid oklch(42% 0.07 277);
  border-radius: var(--r-lg); padding: 1.4rem; backdrop-filter: blur(2px);
}
.fcard .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 1rem; background: oklch(60% 0.18 277 / 0.25); color: oklch(86% 0.1 277); }
.fcard .ic svg { width: 22px; height: 22px; }
.fcard.green .ic { background: var(--ok-deep); color: #fff; }
.fcard h3 { color: #fff; font-size: 1.18rem; margin-bottom: 0.5rem; }
.fcard p { color: oklch(80% 0.025 277); font-size: 0.92rem; }
.fcard .types { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.ftag { font-family: var(--font-mono); font-size: 0.72rem; padding: 0.22rem 0.55rem; border-radius: 6px; background: oklch(38% 0.06 277); color: oklch(88% 0.05 277); }
.fiscal__foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid oklch(40% 0.06 277); }
.fiscal__foot p { color: oklch(80% 0.025 277); max-width: 48ch; font-size: 0.95rem; }

/* ── Módulos ─────────────────────────────────────────────── */
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.mod { padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; }
.mod:hover { border-color: var(--brand-wash-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.mod__h { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.mod__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand-strong); flex: none; }
.mod__ic svg { width: 21px; height: 21px; }
.mod h3 { font-size: 1.12rem; }
.mod p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.9rem; }
.mod ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mod li { font-size: 0.78rem; color: var(--ink-muted); background: var(--surface-2); border: 1px solid var(--line-soft); padding: 0.28rem 0.55rem; border-radius: 7px; }
@media (prefers-reduced-motion: reduce) { .mod:hover { transform: none; } }

/* ── Multi-loja ──────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ── Planos ──────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.plan.feat { border-color: var(--brand); box-shadow: var(--shadow-brand); position: relative; }
.plan.feat::after { content: "Mais escolhido"; position: absolute; top: -0.7rem; left: 1.75rem; font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--brand); padding: 0.3rem 0.7rem; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.plan__desc { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 1.1rem; min-height: 2.4em; }
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1.25rem; }
.plan__price b { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -0.04em; }
.plan__price .quote { font-size: 1.5rem; color: var(--brand-strong); letter-spacing: -0.03em; }
.plan__price .cur { font-size: 1.1rem; font-weight: 700; color: var(--ink-soft); }
.plan__price .per { font-size: 0.85rem; color: var(--ink-muted); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.plan li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; }
.plan li svg { width: 1.1rem; height: 1.1rem; color: var(--ok-deep); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ── Segurança ───────────────────────────────────────────── */
.sec { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.sec__item { display: flex; gap: 0.85rem; padding: 1.25rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.sec__item .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-wash); color: var(--brand-strong); display: grid; place-items: center; flex: none; }
.sec__item .ic svg { width: 20px; height: 20px; }
.sec__item b { display: block; margin-bottom: 0.2rem; font-size: 0.98rem; }
.sec__item p { font-size: 0.86rem; color: var(--ink-soft); }

/* ── CTA / Demo form ─────────────────────────────────────── */
.cta { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -30% 40% auto -10%; height: 120%; background: radial-gradient(50% 60% at 30% 30%, oklch(70% 0.16 277 / 0.5), transparent 70%); }
.cta .wrap { position: relative; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: center; }
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta__lede { color: oklch(92% 0.04 277); font-size: 1.1rem; max-width: 42ch; margin-bottom: 1.5rem; }
.cta__list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.cta__list li { display: flex; gap: 0.6rem; align-items: center; color: oklch(95% 0.02 277); font-size: 0.96rem; }
.cta__list svg { width: 1.2rem; height: 1.2rem; flex: none; color: oklch(88% 0.1 158); }
.form { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-lg); color: var(--ink); }
.form h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.form > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 0.8rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink);
  min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form__fine { font-size: 0.78rem; color: var(--ink-muted); margin-top: 0.9rem; text-align: center; }
.form__alt { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; font-size: 0.88rem; color: var(--ink-soft); }
.form__alt a { color: var(--ok-deep); font-weight: 600; }
.form__feedback { font-size: 0.9rem; padding: 0.75rem 0.85rem; border-radius: var(--r-sm); margin-top: 1rem; }
.form__feedback.is-ok { background: var(--ok-wash); color: var(--ok-deep); border: 1px solid oklch(86% 0.06 158); }
.form__feedback.is-err { background: oklch(96% 0.04 25); color: oklch(48% 0.16 25); border: 1px solid oklch(86% 0.08 25); }
.cta__eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: oklch(90% 0.1 158); background: oklch(100% 0 0 / 0.12); border: 1px solid oklch(100% 0 0 / 0.22); padding: 0.32rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.form__head { margin-bottom: 1.2rem; }
.form__head h3 { margin: 0 0 0.3rem; }
.form__head p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.form__badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 700; color: var(--ok-deep); background: var(--ok-wash); border: 1px solid oklch(86% 0.06 158); padding: 0.3rem 0.65rem; border-radius: 999px; margin-bottom: 0.8rem; }
.form__badge svg { width: 0.95rem; height: 0.95rem; }
.form .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.form .btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.form__fine { display: flex; align-items: center; justify-content: center; gap: 0.45rem; }
.form__fine svg { width: 0.95rem; height: 0.95rem; flex: none; opacity: 0.7; }
.cta__map { margin-top: 1.7rem; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid oklch(100% 0 0 / 0.18); }
.cta__map iframe { width: 100%; height: 210px; border: 0; display: block; }
.cta__map-bar { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: space-between; align-items: center; padding: 0.7rem 0.95rem; font-size: 0.82rem; color: var(--ink-soft); background: var(--surface); }
.cta__map-bar span { display: inline-flex; align-items: center; gap: 0.45rem; }
.cta__map-bar svg { width: 1rem; height: 1rem; flex: none; color: var(--brand); }
.cta__map-bar strong { color: var(--ink); font-weight: 700; }
.cta__map-bar a { color: var(--ok-deep); font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } .field--row { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────── */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3rem 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.foot__brand p { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.85rem; max-width: 30ch; }
.foot h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin-bottom: 0.9rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.foot a { color: var(--ink-soft); font-size: 0.92rem; }
.foot a:hover { color: var(--brand-strong); }
.foot__bar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-muted); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot__grid { grid-template-columns: 1fr; } }

/* ── Reveal (realça, nunca esconde por padrão) ──────────── */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.d1 { transition-delay: .08s; }
  .js .reveal.d2 { transition-delay: .16s; }
  .js .reveal.d3 { transition-delay: .24s; }
}

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: var(--z-overlay); background: var(--brand); color: #fff; padding: 0.7rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }
