/* Resolvo — site de vendas. Mundo visual: "fogo e água" (gás e água, o cliente de origem)
   sobre a tinta azul-marinho da marca. Sem framework: tokens, poucos componentes, tudo aqui. */

:root {
  --ink: #0d1a2b;
  --ink-2: #24354d;
  --muted: #5a6779;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --card: #ffffff;
  --line: #e0dbcf;
  --line-strong: #c9c2b2;
  --navy: #1e3a5f;
  --navy-deep: #0f2238;
  --flame: #ff5a1f;
  --flame-hover: #f04a0e;
  --flame-ink: #a8380b;
  --flame-soft: #ffe7dc;
  --water: #2b6bf3;
  --water-soft: #e3ecff;
  --mint: #138a5c;
  --mint-soft: #dcf3e8;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(13, 26, 43, 0.06), 0 4px 14px rgba(13, 26, 43, 0.06);
  --shadow-2: 0 2px 6px rgba(13, 26, 43, 0.08), 0 24px 60px -18px rgba(13, 26, 43, 0.28);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--water); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
code, .mono { font-family: var(--font-mono); font-size: 0.86em; }
code { background: var(--paper-2); padding: 0.1em 0.4em; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--night { background: var(--navy-deep); color: #dfe7f2; }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .lead, .section--night .muted { color: #a9b8cc; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.78rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--flame-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--night .eyebrow { color: #ff9a6e; }
.h-xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 750; letter-spacing: -0.03em; }
.h-md { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.12; }
.h-sm { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.flame { color: var(--flame); }
.stack > * + * { margin-top: var(--s, 1rem); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.center.section-head { margin-inline: auto; justify-items: center; }

/* Botões */
.btn {
  --bg: var(--card); --fg: var(--ink); --bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--fg); border-color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--flame); --fg: #fff; --bd: var(--flame); box-shadow: 0 10px 24px -10px rgba(255, 90, 31, 0.7); }
.btn--primary:hover { --bg: var(--flame-hover); --bd: var(--flame-hover); color: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--dark:hover { --bg: var(--navy); color: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { --bd: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.94rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.35rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.98rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .login { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 8px 12px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--card); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
@media (max-width: 1240px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav[data-open="true"] {
    display: grid; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
    padding: 20px var(--gutter) 40px; align-content: start; gap: 4px; overflow-y: auto;
  }
  .mobile-nav a { font: 700 1.5rem/1.2 var(--font-display); color: var(--ink); text-decoration: none; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { color: #fff; margin-top: 20px; font-family: var(--font-body); font-size: 1.05rem; border-bottom: 1.5px solid var(--flame); padding: 0 22px; }
}

/* Hero */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -38% 40%; height: 80%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.18), transparent 70%), radial-gradient(closest-side at 30% 60%, rgba(43, 107, 243, 0.16), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .flame { display: inline; background: linear-gradient(transparent 62%, var(--flame-soft) 62%); color: var(--ink); padding: 0 0.06em; }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* A cena do hero: celular + painel + o "fio" do pedido */
.scene { position: relative; min-height: 560px; }
.scene .browser { position: absolute; right: 0; top: 30px; width: 92%; }
.scene .phone { position: absolute; left: 0; bottom: 0; width: 44%; max-width: 250px; z-index: 2; }
.scene .tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px;
  background: var(--card); box-shadow: var(--shadow-2); font: 600 0.85rem/1.2 var(--font-body); color: var(--ink); white-space: nowrap;
}
.scene .tag b { font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem; color: var(--mint); }
.scene .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); flex: none; }
.scene .tag--a { right: 6%; top: 0; }
.scene .tag--b { right: -2%; bottom: 22%; }
.scene .tag--b i { background: var(--flame); box-shadow: 0 0 0 4px var(--flame-soft); }
@media (max-width: 900px) { .scene { min-height: 0; aspect-ratio: 1 / 0.95; max-width: 620px; } }
@media (max-width: 520px) { .scene .tag--b { display: none; } .scene .tag { font-size: 0.78rem; } }

.browser { background: var(--card); border-radius: 14px; box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1eee8; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d1c4; }
.browser__bar span { margin-left: 10px; font: 500 0.72rem/1 var(--font-mono); color: var(--muted); background: #fff; padding: 5px 10px; border-radius: 6px; flex: 1; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone { background: #0d1a2b; padding: 9px; border-radius: 34px; box-shadow: var(--shadow-2); }
.phone img { border-radius: 26px; }

/* O fio do pedido (como funciona) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: passo; position: relative; }
.flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.flow li { position: relative; padding: 0 12px; text-align: center; }
.flow .dot {
  position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 2px solid var(--ink); color: var(--ink);
}
.flow .dot svg { width: 24px; height: 24px; }
.flow li:last-child .dot { background: var(--flame); border-color: var(--flame); color: #fff; }
.flow h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.2; }
.flow p { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }
.flow .stamp { display: inline-block; margin-top: 10px; font: 500 0.74rem/1 var(--font-mono); color: var(--ink-2); background: var(--paper-2); padding: 5px 8px; border-radius: 6px; }
.flow-anim .dot { animation: pulso 6s infinite; animation-delay: calc(var(--i) * 1.1s); }
@keyframes pulso { 0%, 14%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } 6% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0.18); } }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .flow .dot { grid-row: span 3; margin: 0; }
}

/* Dores que somem */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pain { background: var(--card); padding: 26px 24px 28px; }
.pain s { display: block; font: 600 0.82rem/1.3 var(--font-mono); color: var(--muted); text-decoration-color: var(--flame); text-decoration-thickness: 2px; }
.pain h3 { margin-top: 14px; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.pain p { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 960px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

/* Blocos de funcionalidade (texto + print) */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 140px); }
.feature--flip .feature__text { order: 2; }
.feature__text .h-md { margin-top: 14px; }
.feature__text .lead { margin-top: 16px; font-size: 1.1rem; }
.feature__media { position: relative; }
.feature__media .phone { width: min(300px, 70%); margin-inline: auto; }
.feature__media--duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: end; }
.feature__media--duo .phone { width: 100%; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__text { order: 0; }
}
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks li b { color: var(--ink); }
.section--night .checks li { color: #c6d2e2; }
.section--night .checks li b { color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 0.78rem/1.4 var(--font-body); background: var(--water-soft); color: var(--navy); }
.chip--flame { background: var(--flame-soft); color: var(--flame-ink); }
.chip--mint { background: var(--mint-soft); color: var(--mint); }
.chip--line { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Grade de módulos */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.card h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--navy); margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
a.card { text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; display: block; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); color: inherit; }
.card .more { display: inline-flex; margin-top: 16px; font-weight: 600; color: var(--water); font-size: 0.95rem; }
.section--night .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.section--night .card h3 { color: #fff; }
.section--night .card p { color: #a9b8cc; }
.section--night .card .icon { background: rgba(255, 255, 255, 0.08); color: #ffb08c; }

/* Gás e água: cartão-ticket */
.ticket { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.ticket__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px dashed var(--line-strong); font: 600 0.8rem/1 var(--font-mono); color: var(--muted); }
.ticket__body { padding: 18px 20px; display: grid; gap: 10px; }
.ticket__row { display: flex; justify-content: space-between; gap: 12px; }
.ticket__row b { font-family: var(--font-mono); font-weight: 600; }
.ticket__total { display: flex; justify-content: space-between; padding: 16px 20px; background: var(--paper-2); font-weight: 700; }

/* Mapa ilustrado */
.mapcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); background: #eef0ea; }
.mapcard svg { display: block; width: 100%; height: auto; }
.mapcard__legend { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.mapcard__legend span { background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 0.8rem/1 var(--font-body); box-shadow: var(--shadow-1); display: inline-flex; align-items: center; gap: 6px; }
.mapcard__legend i { width: 9px; height: 9px; border-radius: 50%; }
.mapcard__caption { position: absolute; right: 12px; bottom: 10px; font: 500 0.7rem/1 var(--font-mono); color: #7b8388; background: rgba(255, 255, 255, 0.8); padding: 4px 8px; border-radius: 6px; }
.route { stroke-dasharray: 6 8; animation: rota 2.4s linear infinite; }
@keyframes rota { to { stroke-dashoffset: -28; } }

/* Integrações */
.erp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.erp__box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: 26px; }
.erp__box h3 { font-size: 1.3rem; }
.erp__arrow { color: #ff9a6e; }
.erp__arrow svg { width: 56px; height: 56px; }
@media (max-width: 860px) { .erp { grid-template-columns: 1fr; } .erp__arrow { justify-self: center; transform: rotate(90deg); } }

/* Números (fatos do produto, não promessas) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fact b { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.fact span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.95rem; max-width: 26ch; }
.section--night .fact b { color: #fff; }
.section--night .fact span { color: #a9b8cc; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Preços */
.billing { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 4px; }
.billing button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 0.95rem/1 var(--font-body); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing .save { font-size: 0.75rem; background: var(--flame-soft); color: var(--flame-ink); padding: 3px 7px; border-radius: 999px; }
.billing button[aria-pressed="true"] .save { background: var(--flame); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 36px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.plan--featured { background: var(--navy-deep); color: #dfe7f2; border-color: var(--navy-deep); box-shadow: var(--shadow-2); }
.plan--featured h3, .plan--featured .price b { color: #fff; }
.plan__flag { position: absolute; top: -13px; left: 28px; background: var(--flame); color: #fff; font: 700 0.75rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.plan .for { margin-top: 8px; color: var(--muted); font-size: 0.97rem; min-height: 3em; }
.plan--featured .for { color: #a9b8cc; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price b { font: 800 3rem/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); }
.price .per { color: var(--muted); font-weight: 500; }
.plan--featured .price small, .plan--featured .price .per { color: #a9b8cc; }
.price-note { margin-top: 8px; font-size: 0.86rem; color: var(--muted); min-height: 1.4em; }
.plan--featured .price-note { color: #a9b8cc; }
.plan .btn { margin-top: 24px; }
.plan .checks { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.97rem; }
.plan--featured .checks { border-top-color: rgba(255, 255, 255, 0.14); }
.plan--featured .checks li { color: #c6d2e2; }
.plan--featured .checks li b { color: #fff; }
.plan .includes { margin-top: 22px; font: 600 0.78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.plan--featured .includes { color: #8fa3bd; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 0.97rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 1.05rem/1.2 var(--font-display); background: var(--paper); position: sticky; top: 0; }
.compare tbody th { font-weight: 550; color: var(--ink-2); }
.compare td { text-align: center; color: var(--ink-2); }
.compare thead th:not(:first-child) { text-align: center; }
.compare tr.group th { background: var(--paper-2); font: 700 0.78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding-top: 18px; }
.yes { color: var(--mint); font-weight: 700; }
.no { color: #b9b2a3; }
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .addons { grid-template-columns: 1fr; } }
.addon { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.addon b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.addon .val { display: block; margin-top: 6px; font: 600 0.95rem/1.2 var(--font-mono); color: var(--flame-ink); }
.addon p { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color 0.15s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 650 1.08rem/1.35 var(--font-body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); display: grid; gap: 10px; max-width: 72ch; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { margin-bottom: 18px; }

/* Formulários */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: 0.95rem; }
.field small { color: var(--muted); font-size: 0.85rem; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--card); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 4px var(--water-soft); }
.input:user-invalid, .select:user-invalid { border-color: #d0452a; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--card); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.choice:has(input:checked) { border-color: var(--ink); background: #fffdf9; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { margin-top: 4px; accent-color: var(--flame); width: 18px; height: 18px; flex: none; }
.choice b { display: block; }
.choice span { color: var(--muted); font-size: 0.92rem; }
.choice .val { margin-left: auto; font: 600 0.95rem/1.3 var(--font-mono); color: var(--ink); white-space: nowrap; text-align: right; }
.choices { display: grid; gap: 10px; }
.stepper { justify-self: start; display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--card); }
.stepper button { width: 46px; height: 48px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 48px; text-align: center; font: 700 1.1rem/1 var(--font-mono); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.fieldset legend { font: 700 1.25rem/1.2 var(--font-display); margin-bottom: 4px; padding: 0; letter-spacing: -0.01em; }
.fieldset legend .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 0.85rem/1 var(--font-mono); margin-right: 10px; vertical-align: 2px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--navy-deep); color: #dfe7f2; border-radius: var(--radius-lg); padding: 28px; }
.summary h2 { color: #fff; font-size: 1.4rem; }
.summary dl { margin: 20px 0 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.97rem; }
.summary dt { color: #a9b8cc; }
.summary dd { margin: 0; font-family: var(--font-mono); font-size: 0.92rem; color: #fff; text-align: right; }
.summary .total { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font: 800 2.2rem/1 var(--font-display); color: #fff; letter-spacing: -0.03em; }
.summary .fine { margin-top: 14px; font-size: 0.85rem; color: #8fa3bd; }
@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--water-soft); color: var(--navy); font-size: 0.95rem; }
.notice--warm { background: var(--flame-soft); color: var(--flame-ink); }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.done { text-align: center; padding: 48px 24px; }
.done .badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--mint-soft); color: var(--mint); }
.done .badge svg { width: 34px; height: 34px; }

/* Página interna: cabeçalho */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-hero .lead { margin-top: 20px; }
.anchor-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.anchor-nav a { text-decoration: none; color: var(--ink-2); border: 1px solid var(--line-strong); padding: 8px 14px; border-radius: 999px; font-weight: 550; font-size: 0.93rem; background: var(--card); }
.anchor-nav a:hover { border-color: var(--ink); color: var(--ink); }

/* CTA final */
.cta-band { background: var(--flame); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, 0.12); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff3ec; margin-top: 14px; font-size: 1.12rem; max-width: 52ch; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn--dark:hover { --bg: #000; }
.cta-band .btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Rodapé */
.site-footer { background: var(--navy-deep); color: #a9b8cc; padding-block: 72px 36px; margin-top: clamp(64px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h3 { color: #fff; font: 700 0.8rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c6d2e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .about { margin-top: 16px; max-width: 34ch; font-size: 0.95rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Documentação (modo leitura) */
.docs { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; padding-block: 40px 20px; align-items: start; }
.docs-nav { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 8px; }
.docs-nav h2 { font: 700 0.78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 22px 0 10px; }
.docs-nav h2:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.docs-nav a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 0.96rem; }
.docs-nav a:hover { background: var(--paper-2); color: var(--ink); }
.docs-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.docs-search { width: 100%; margin-bottom: 16px; }
.doc { max-width: 760px; }
.doc .crumbs { font: 500 0.82rem/1 var(--font-mono); color: var(--muted); margin-bottom: 18px; }
.doc .crumbs a { color: var(--muted); }
.doc h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
.doc .doc-lead { margin-top: 14px; font-size: 1.18rem; color: var(--ink-2); }
.doc .who { margin-top: 18px; display: inline-flex; gap: 8px; align-items: baseline; font-size: 0.92rem; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.doc .who b { color: var(--ink); }
.doc h2 { font-size: 1.55rem; margin: 46px 0 14px; letter-spacing: -0.02em; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc p, .doc li { line-height: 1.7; color: var(--ink-2); }
.doc p + p, .doc p + ul, .doc p + ol, .doc ul + p, .doc ol + p { margin-top: 14px; }
.doc ol, .doc ul { padding-left: 1.3em; margin: 14px 0; display: grid; gap: 8px; }
.doc ol { counter-reset: n; list-style: none; padding-left: 0; }
.doc ol > li { counter-increment: n; position: relative; padding-left: 44px; }
.doc ol > li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 0.8rem/1 var(--font-mono); }
.doc b, .doc strong { color: var(--ink); font-weight: 650; }
.doc .callout { margin: 18px 0; padding: 16px 18px; border-radius: 14px; border-left: 4px solid var(--water); background: var(--water-soft); color: var(--navy); }
.doc .callout--warn { border-left-color: var(--flame); background: var(--flame-soft); color: var(--flame-ink); }
.doc .callout b { color: inherit; }
.doc .callout .k { display: block; font: 700 0.74rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.96rem; background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.doc th, .doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--paper-2); font-weight: 650; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.doc-pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none; color: var(--ink); }
.doc-pager a:hover { border-color: var(--ink); }
.doc-pager small { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }
.doc-pager .next { text-align: right; grid-column: 2; }
.docs-toggle { display: none; }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 20px; }
  .docs-nav { position: static; max-height: none; display: none; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--card); }
  .docs-nav[data-open="true"] { display: block; }
  .docs-toggle { display: inline-flex; }
}
.docs-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .docs-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .docs-index { grid-template-columns: 1fr; } }

/* Aparecer ao rolar (só com JS, respeitando movimento reduzido) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flow-anim .dot, .route { animation: none; }
}

.total-mini { display: none; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-radius: 14px; background: var(--navy-deep); color: #fff; }
.total-mini b { font: 800 1.5rem/1 var(--font-display); }
@media (max-width: 980px) { .total-mini { display: flex; } }

/* ===== Seções de venda (nov/2026): diferencial, vídeo, limites da IA, quem fez, barra fixa ===== */
.mark { background: linear-gradient(transparent 62%, var(--flame-soft) 62%); padding: 0 0.06em; }
.versus { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 18px; align-items: stretch; }
.versus__col { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.versus__col h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.versus__col--old { background: transparent; border: 1.5px dashed var(--line-strong); }
.versus__col--old h3 { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--flame); text-decoration-thickness: 3px; }
.versus__col--old ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; color: var(--muted); }
.versus__col--old li { position: relative; padding-left: 26px; }
.versus__col--old li::before { content: "×"; position: absolute; left: 2px; top: -0.08em; font: 700 1.2rem/1.4 var(--font-mono); color: var(--line-strong); }
.versus__col--new { background: var(--card); border: 1.5px solid var(--ink); box-shadow: var(--shadow-2); }
.versus__col--new h3 { margin-top: 12px; }
@media (max-width: 820px) { .versus { grid-template-columns: 1fr; } }

.videobox { margin: 0 auto; max-width: 980px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.videobox video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-deep); }

.limits { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.limits__head h3 { margin-top: 14px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.12; }
.limits__head p { margin-top: 14px; color: #a9b8cc; }
.limits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.limits__list li { color: #c6d2e2; font-size: 0.98rem; padding-top: 14px; border-top: 2px solid rgba(255, 154, 110, 0.55); }
.limits__list b { display: block; color: #fff; font: 700 1.08rem/1.25 var(--font-display); margin-bottom: 4px; }
@media (max-width: 900px) { .limits { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .limits__list { grid-template-columns: 1fr; } }

.maker { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--flame); }
.maker h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.maker p { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }

.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--navy-deep) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #dfe7f2; font-size: 0.9rem; line-height: 1.25; transform: translateY(110%); transition: transform 0.25s ease; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { flex: none; }
  body.has-sticky .site-footer { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
