/* app/static/css/site.css — estilo premium do site público MXGestão.
   Isolado do ERP: nada aqui afeta base.html/templates internos. */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* dark é o default (sem data-theme = dark, evita flash no 1º paint) */
  --ink: #04091F;
  --surface: #0A1330;
  --surface-2: #0E1A44;
  --brand: #1764F5;
  --brand-sky: #5BA9FF;
  --text: #EAF0FF;
  --muted: #8A97B8;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --good: #34D399;
  --glow: rgba(23, 100, 245, .45);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --ink: #F6F8FF;
  --surface: #FFFFFF;
  --surface-2: #EEF3FF;
  --brand: #1764F5;
  --brand-sky: #2D7DFF;
  --text: #0A1330;
  --muted: #5A688C;
  --line: rgba(6, 17, 63, .10);
  --line-strong: rgba(6, 17, 63, .16);
  --good: #059669;
  --glow: rgba(23, 100, 245, .20);
  color-scheme: light;
}

:root[data-theme="dark"] { color-scheme: dark; }

/* ── Reset enxuto ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

/* ── Tipografia ─────────────────────────────────────────────────────────── */
h1, h2, h3 { text-wrap: balance; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.eyebrow {
  text-transform: uppercase; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; color: var(--brand-sky);
}
.lead { font-size: 1.0625rem; color: var(--muted); max-width: 60ch; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 100px) 0; }

/* ── Botões ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; padding: .9rem 1.5rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:focus-visible { outline: 2px solid var(--brand-sky); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 30px -8px var(--glow); }
.btn-primary:hover { background: var(--brand-sky); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand-sky); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; }
.brand__name { font-size: 1.2rem; letter-spacing: -.02em; }
.brand__x { color: var(--brand); }
.site-nav { display: none; gap: 1.5rem; font-size: .92rem; color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-nav__login { font-size: .9rem; font-weight: 600; color: var(--muted); }
.site-nav__login:hover { color: var(--text); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 9px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }
@media (min-width: 860px) { .site-nav { display: flex; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.site-footer__grid { display: grid; gap: 1.5rem; padding: 40px 20px; }
.site-footer__tagline { color: var(--muted); margin-top: .5rem; font-size: .9rem; max-width: 42ch; }
.site-footer__title { font-weight: 700; margin-bottom: .5rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand-sky); }
.site-footer__bar { border-top: 1px solid var(--line); text-align: center; padding: 16px; font-size: .78rem; color: var(--muted); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ── Mockups (telas do produto em CSS) ──────────────────────────────────── */
.mock {
  border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: 0 30px 80px -30px var(--glow);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__title { margin-left: 8px; font-size: .78rem; color: var(--muted); }
.mock__body { padding: 16px; }
.mock-dash { display: grid; grid-template-columns: 56px 1fr; gap: 14px; }
.mock-dash__side { display: flex; flex-direction: column; gap: 10px; }
.mock-dash__logo { height: 22px; border-radius: 6px; background: var(--brand); }
.mock-dash__nav { height: 10px; border-radius: 5px; background: var(--line); }
.mock-dash__nav.is-active { background: var(--brand-sky); opacity: .5; }
.mock-dash__main { display: flex; flex-direction: column; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--ink); }
.mock-kpi__label { display: block; font-size: .62rem; color: var(--muted); }
.mock-kpi__val { display: block; font-weight: 800; font-size: .95rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mock-chart { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--ink); }
.mock-chart svg { width: 100%; height: 72px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--ink); }
.mock-row__doc { font-size: .8rem; color: var(--muted); }
.mock-badge { font-size: .68rem; font-weight: 700; color: var(--good); background: color-mix(in srgb, var(--good) 16%, transparent); padding: 3px 8px; border-radius: 999px; }
.mock-mini { display: flex; flex-direction: column; gap: 8px; }
.mock-mini__line { height: 12px; border-radius: 6px; background: var(--line); }
.mock-mini__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.mock-mini__grid span { height: 44px; border-radius: 8px; background: var(--line); }
.mock-mini__grid .is-brand { background: color-mix(in srgb, var(--brand) 22%, transparent); }
/* mock de transporte (reaproveita kpis/row/badge) */
.mock-tms { display: flex; flex-direction: column; gap: 12px; }
.mock-route { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--ink); }
.mock-route svg { width: 100%; height: 48px; display: block; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0; }
.hero__glow {
  position: absolute; inset: -20% 30% auto -10%; height: 520px;
  background: radial-gradient(60% 60% at 50% 40%, var(--glow), transparent 70%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { margin-top: 16px; font-size: .85rem; color: var(--muted); }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

/* ── Fluxo ──────────────────────────────────────────────────────────────── */
.flow__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.flow__step { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; background: var(--surface); }
.flow__num { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; }
.flow__label { font-weight: 700; font-size: .9rem; }
.flow__arrow { color: var(--brand-sky); font-weight: 700; }
.flow__caption { text-align: center; color: var(--muted); margin-top: 18px; }

/* ── Seções genéricas ───────────────────────────────────────────────────── */
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section__head .lead { margin-inline: auto; }

/* ── Cards de módulo ────────────────────────────────────────────────────── */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); box-shadow: 0 16px 50px -24px var(--glow); transform: translateY(-2px); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .92rem; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3,1fr); } }

/* ── Feature blocks ─────────────────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 80px); }
.feature { display: grid; gap: 28px; align-items: center; }
.feature__copy .checklist { margin-top: 18px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--rev .feature__copy { order: 2; }
}
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: var(--text); font-size: .95rem; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand-sky); font-weight: 800; }

/* ── Logística / Transporte ─────────────────────────────────────────────── */
/* Grid de quadros, um ao lado do outro — 3 colunas no desktop, 2 no tablet,
   1 no mobile. Cada quadro tem ícone, título e descrição, no mesmo idioma
   visual dos cards de plano/feature. */
#logistica .feature { margin-bottom: clamp(8px, 2vw, 20px); }
.logi-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  margin-top: clamp(32px, 5vw, 56px);
}
@media (min-width: 600px) { .logi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .logi-grid { grid-template-columns: repeat(3,1fr); } }
.logi-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.logi-card:hover {
  border-color: var(--brand); transform: translateY(-3px);
  box-shadow: 0 24px 60px -34px var(--glow);
}
.logi-card__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; margin-bottom: 14px;
  color: var(--brand-sky);
  background: color-mix(in srgb, var(--brand) 15%, transparent);
}
.logi-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.logi-card__head h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.logi-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.logi-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin-top: clamp(28px, 4vw, 40px); justify-content: center; text-align: center;
}
.logi-cta span { color: var(--muted); font-size: .88rem; }

/* ── Credibilidade ──────────────────────────────────────────────────────── */
.credibility { text-align: center; max-width: 780px; margin: 0 auto; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.metric__val { display: block; font-size: 1.5rem; font-weight: 800; }
.metric__label { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
@media (min-width: 780px) { .metrics { grid-template-columns: repeat(4,1fr); } }

/* ── Planos ─────────────────────────────────────────────────────────────── */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--surface); }
.plan--featured { border-color: var(--brand); box-shadow: 0 30px 80px -30px var(--glow); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan__name { font-size: 1.25rem; }
.plan__price { margin-top: 16px; }
.plan__amount { font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--muted); }
.plan__seats { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.plan .checklist { margin: 22px 0; }
.plan__cta { width: 100%; }
/* Escala embutida no card — igual em todos os planos, discreta */
.plan__scale {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px;
  padding-top: 16px; border-top: 1px dashed var(--line-strong);
}
.plan__scale span { color: var(--muted); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan__scale span::before { content: ""; }
.plans__note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .9rem; max-width: 60ch; margin-inline: auto; line-height: 1.7; }
.plans__note strong { color: var(--text); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3,1fr); } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq__item > button { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: transparent; color: var(--text); border: 0; font-size: 1rem; font-weight: 600; cursor: pointer; }
.faq__icon { color: var(--brand-sky); font-size: 1.3rem; transition: transform .2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__item.is-open .faq__answer { max-height: 320px; }
.faq__answer p { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }

/* ── CTA final ──────────────────────────────────────────────────────────── */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final__glow { position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, var(--glow), transparent 60%); pointer-events: none; }
.cta-final__inner { position: relative; z-index: 1; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; margin-top: 24px; }

/* ── Formulários ────────────────────────────────────────────────────────── */
.form-card { max-width: 460px; margin: clamp(40px,8vw,80px) auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,4vw,36px); }
.form-card h1 { font-size: 1.9rem; }
.form-card__sub { color: var(--muted); margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input { width: 100%; background: var(--ink); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius-sm); padding: .75rem .9rem; font-size: .95rem; font-family: inherit; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.field__hint { font-size: .78rem; color: var(--muted); }
.field__hint--faint { font-weight: 400; color: var(--muted); }
.alert-error { margin-top: 18px; background: color-mix(in srgb, #ef4444 14%, transparent); border: 1px solid color-mix(in srgb, #ef4444 40%, transparent); color: #fecaca; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; }
:root[data-theme="light"] .alert-error { color: #b91c1c; }
.form-legal { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 8px; }
.form-legal a { color: var(--brand-sky); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }

/* ── Prosa (páginas legais) ─────────────────────────────────────────────── */
.prose { max-width: 720px; margin: clamp(40px,8vw,72px) auto; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 32px; }
.prose p, .prose li { color: var(--muted); margin-top: 12px; line-height: 1.7; }
.prose__date { color: var(--muted); font-size: .85rem; margin-top: 6px; }

/* ── Quadro comparativo ─────────────────────────────────────────────────── */
/* Layout premium: cabeçalho de planos como colunas-card (a Profissional com
   glow, igual aos cards de preço), grupos com respiro, linhas alternadas.
   No mobile a tabela colapsa em blocos empilhados (nada de scroll espremido). */
.compare-wrap { margin-top: 8px; }
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  table-layout: fixed;
}
.compare col.compare__col-feat { width: 34%; }

/* Cabeçalho — cada plano vira um card flutuante */
.compare thead th { vertical-align: bottom; padding: 0 8px 18px; }
.compare__feat-head { border: 0; }
.compare__plan { text-align: center; }
.compare__plancard {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px 16px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.compare__plan.is-featured .compare__plancard {
  border-color: var(--brand); box-shadow: 0 30px 80px -34px var(--glow);
}
.compare__planname { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.compare__planprice { font-weight: 800; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.compare__planper { font-size: .78rem; font-weight: 600; color: var(--muted); }
.compare__plancard .btn { width: 100%; margin-top: 2px; }
.compare__poptag {
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand-sky);
}

/* Grupos de categoria */
.compare__group td {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 800; color: var(--brand-sky);
  padding: 26px 8px 10px;
}
.compare__group td::after {
  content: ""; display: block; height: 1px; margin-top: 8px;
  background: var(--line-strong);
}

/* Linhas de recurso */
.compare tbody tr.compare__row td { padding: 13px 8px; border-bottom: 1px solid var(--line); }
.compare tbody tr.compare__row:hover td { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.compare__feat { color: var(--text); font-size: .92rem; font-weight: 500; text-align: left; }
.compare__cell { text-align: center; vertical-align: middle; }
.compare__cell.is-featured {
  background: color-mix(in srgb, var(--brand) 5%, transparent);
  box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line);
}
.compare__row:hover .compare__cell.is-featured { background: color-mix(in srgb, var(--brand) 9%, transparent); }

/* Marcadores de incluído / não incluído — "pill" verde vs traço apagado */
.compare__yes {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  border-radius: 999px; background: color-mix(in srgb, var(--good) 18%, transparent);
  color: var(--good); font-weight: 900; font-size: .82rem;
}
.compare__no { color: var(--muted); opacity: .4; font-size: 1.1rem; }
.compare__txt { font-size: .86rem; color: var(--text); font-weight: 600; }

/* Rodapé de escala */
.compare__scale td { padding: 13px 8px; border-bottom: 1px solid var(--line); }
.compare__scale .compare__feat { font-weight: 600; }
.compare__scale .compare__txt { color: var(--muted); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: 0; }

/* ── Mobile: scroll horizontal suave num card, com 1ª coluna fixa ────────── */
@media (max-width: 720px) {
  .compare-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); padding: 0 4px 4px;
  }
  .compare { min-width: 560px; }
  .compare col.compare__col-feat { width: 200px; }

  .compare thead th { padding: 12px 6px; }
  .compare__plancard { padding: 12px 8px; gap: 5px; background: transparent; border: 0; box-shadow: none; }
  .compare__plan.is-featured .compare__plancard {
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    border-radius: var(--radius-sm); box-shadow: none;
  }
  .compare__planname { font-size: .95rem; }
  .compare__planprice { font-size: 1.15rem; }
  .compare__plancard .btn { display: none; }
  .compare__poptag { font-size: .56rem; }

  /* 1ª coluna (nome do recurso) fica fixa ao rolar na horizontal */
  .compare__feat, .compare__feat-head, .compare__group td {
    position: sticky; left: 0; z-index: 1;
    background: var(--surface);
  }
  .compare__group td { padding: 22px 8px 8px; }
  .compare__group td::after { margin-right: -100vw; }
  .compare tbody tr.compare__row td { padding: 12px 10px; }
  .compare__feat { font-size: .86rem; }
}
