/* Páginas de produto (2026-11): /como-funciona/, /compra-economica/, /rotabus/,
   /calculadora/, /vale-transporte-para-empresas/. Reaproveita os .vt-* da Home
   (overrides.css); aqui só o que essas páginas acrescentam. */

.vt-eyebrow {
  margin-bottom: 0.9rem;
  color: var(--blue-on-navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vt-page-h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Calculadora: hero curto para o formulário aparecer cedo. */
.vt-hero--compact { padding-bottom: clamp(2rem, 4vw, 3rem); }
.vt-head--hero { margin-bottom: 0; }
.vt-link--on-dark { color: var(--blue-on-navy); }

/* Laranja só em número-chave: escuro usa a cor da marca; claro, a versão AA. */
.vt-figs dt.is-key { color: var(--number-ink); }
.vt-dark .vt-figs dt.is-key { color: var(--brand-orange); }
.vt-figs dt { overflow-wrap: anywhere; }

@media (min-width: 768px) {
  .vt-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Cidades: links compactos com alvo de toque de 44px. */
.vt-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.vt-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: hsl(var(--foreground));
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease-out;
}
.vt-chips a span { color: hsl(var(--muted-foreground)); font-size: 0.8rem; font-weight: 500; }
.vt-chips a:active { transform: scale(0.97); }
.vt-chips a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .vt-chips a:hover { border-color: var(--navy-950); background: hsl(var(--section-alt)); }
}
@media (prefers-reduced-motion: reduce) {
  .vt-chips a { transition: none; }
  .vt-chips a:active { transform: none; }
}

/* Mídia nunca força rolagem lateral em 320–360px. */
.vt-hero-media, .vt-how-media, .vt-bento-card { min-width: 0; }

/* Fluxo em 5 etapas (/como-funciona/): uma linha contínua que o .vt-beam preenche. */
.vt-pipe { display: grid; gap: 1.25rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.vt-pipe li { min-width: 0; padding-top: 0.9rem; border-top: 2px solid var(--rule); }
.vt-pipe-n { display: block; margin-bottom: 0.35rem; color: var(--blue-accent); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; }
.vt-pipe h3 { margin-bottom: 0.3rem; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.vt-pipe p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; line-height: 1.5; }
.vt-pipe .is-key .vt-pipe-n, .vt-pipe .is-key h3 { color: var(--number-ink); }
.vt-beam.shown li:nth-child(5)::after { transition-delay: 0.6s; }
@media (min-width: 640px) { .vt-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vt-pipe { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 0.25rem; } .vt-pipe li { padding-right: 1rem; } }

/* Cards curtos com prova visual (/vale-transporte-para-empresas/). */
.vt-cards { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.vt-cards > li { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 0.75rem; background: hsl(var(--card)); }
.vt-cards img, .vt-cards video { display: block; box-shadow: none; border-radius: 0; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--rule); background: hsl(var(--section-alt)); }
.vt-cards-body { padding: 1.25rem; }
.vt-cards h3 { margin-bottom: 0.4rem; font-size: 1.15rem; font-weight: 600; }
.vt-cards p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; line-height: 1.5; }
.vt-cards .vt-small { margin-top: 0.5rem; }
@media (min-width: 900px) { .vt-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Link de download do guia em PDF. */
.vt-dl { display: inline-flex; align-items: center; gap: 0.85rem; max-width: 100%; min-height: 2.75rem; padding: 0.85rem 1.15rem; border: 1px solid var(--rule); border-radius: 0.75rem; color: hsl(var(--foreground)); transition: border-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.vt-dl > svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--blue-accent); }
.vt-dl strong { display: block; font-weight: 600; }
.vt-dl span span { display: block; color: hsl(var(--muted-foreground)); font-size: 0.85rem; }
.vt-dl:active { transform: scale(0.97); }
.vt-dl:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .vt-dl:hover { border-color: var(--navy-950); } }
@media (prefers-reduced-motion: reduce) { .vt-dl { transition: none; } .vt-dl:active { transform: none; } }

/* Números ao lado de mídia: uma coluna, para "R$ 153.408,52" não quebrar no meio. */
.vt-how .vt-figs { grid-template-columns: minmax(0, 1fr); align-self: center; }
.vt-how .vt-figs > div { padding-left: 0; padding-right: 0; }
.vt-how .vt-figs > div + div { border-left: 0; border-top: 1px solid var(--rule); }

/* VT Empresa: comparativo planilha x plataforma. */
.vx-compare { display: grid; gap: 1rem; }
.vx-col { padding: 1.75rem; border-radius: 14px; }
.vx-col ul { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.vx-col li { display: flex; gap: 0.7rem; align-items: baseline; font-weight: 600; line-height: 1.45; }
.vx-k { margin-bottom: 1.1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.vx-col--before { border: 1px solid var(--rule); background: hsl(var(--section-alt)); color: hsl(var(--muted-foreground)); }
.vx-col--before li::before { content: "✕"; color: hsl(0 60% 50%); font-weight: 700; }
.vx-col--after { background: var(--navy-950); color: #fff; }
.vx-col--after .vx-k { color: var(--brand-orange); }
.vx-col--after li::before { content: "✓"; color: var(--brand-orange); font-weight: 700; }
@media (min-width: 768px) { .vx-compare { grid-template-columns: 1fr 1fr; } }

/* VT Empresa: imagem + respostas diretas. */
.vx-hub { background: var(--ink-deep, var(--navy-950)); color: #fff; }
.vx-hub .vt-lead { color: hsl(220 20% 78%); }
.vx-img { margin: 0 0 2rem; }
.vx-img img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid hsl(0 0% 100% / 0.1); }
.vx-qa { display: grid; gap: 1rem; margin: 0; }
.vx-qa > div { padding: 1.4rem; border: 1px solid hsl(0 0% 100% / 0.12); border-radius: 12px; background: hsl(0 0% 100% / 0.04); }
.vx-qa dt { margin-bottom: 0.5rem; font-weight: 700; color: #fff; }
.vx-qa dd { margin: 0; color: hsl(220 20% 80%); line-height: 1.55; }
.vx-qa .vt-link { color: var(--blue-on-navy); }
@media (min-width: 768px) { .vx-qa { grid-template-columns: 1fr 1fr; } }

/* Cidades em cards (mesmo componente da home). */
.vx-cities { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.vx-cities em { margin-left: 0.25rem; color: hsl(var(--muted-foreground)); font-size: 0.75rem; font-style: normal; font-weight: 600; }
.vx-qa > article { padding: 1.4rem; border: 1px solid hsl(0 0% 100% / 0.12); border-radius: 12px; background: hsl(0 0% 100% / 0.04); }
.vx-qa h3 { margin-bottom: 0.5rem; font-size: 1rem; font-weight: 700; color: #fff; }
.vx-qa p, .vx-qa li { color: hsl(220 20% 80%); line-height: 1.55; }
.vx-qa ul { margin: 0 0 0.6rem; padding-left: 1.1rem; list-style: disc; }

/* Compra Econômica: passos em cards, imagem e leituras relacionadas. */
.ce-page .vt-steps { gap: 0.9rem; }
.ce-page .vt-steps li { padding: 1.35rem 1.5rem; border: 1px solid var(--rule); border-radius: 14px; background: hsl(var(--card)); box-shadow: 0 12px 30px -22px hsl(220 50% 20% / 0.35); }
.ce-page .vt-steps li::before { color: var(--brand-orange-ink, #1d4ed8); }
.ce-img { margin-top: 2.5rem; }
.ce-related { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.ce-related a { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.4rem; border: 1px solid var(--rule); border-radius: 14px; color: var(--navy-950); font-weight: 700; line-height: 1.35; transition: border-color 150ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.ce-related small { color: var(--brand-orange-ink, #1d4ed8); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 768px) { .ce-related { grid-template-columns: repeat(3, 1fr); } }
@media (hover: hover) and (pointer: fine) { .ce-related a:hover { border-color: var(--navy-950); transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .ce-related a { transition: none; } .ce-related a:hover { transform: none; } }
.ce-img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 70px -35px hsl(220 60% 10% / 0.4); }
.ce-def { color: var(--navy-950); }
.ce-ex { display: grid; gap: 1rem; margin-top: 1.5rem; padding: 1.75rem; border-radius: 16px; background: hsl(var(--section-alt)); }
.ce-ex-nums { display: grid; gap: 0.75rem; margin: 0; }
.ce-ex-nums > div { padding: 1rem 1.2rem; border-radius: 12px; background: hsl(var(--card)); border: 1px solid var(--rule); }
.ce-ex-nums dt { color: hsl(var(--muted-foreground)); font-size: 0.85rem; }
.ce-ex-nums dd { margin: 0.2rem 0 0; color: var(--navy-950); font: 700 1.5rem/1.2 var(--font-heading); font-variant-numeric: tabular-nums; }
.ce-ex-nums .is-out { background: var(--navy-950); border-color: var(--navy-950); }
.ce-ex-nums .is-out dt { color: hsl(220 20% 78%); }
.ce-ex-nums .is-out dd { color: #fff; }
.ce-ex-note { font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.ce-ex-model { color: var(--navy-950); font-weight: 600; line-height: 1.55; }
.ce-ex .vt-btn { justify-self: start; }
@media (min-width: 768px) { .ce-ex-nums { grid-template-columns: repeat(3, 1fr); } }
.ce-aud-grid { display: grid; gap: 1rem; }
.ce-aud-grid article { padding: 1.5rem; border: 1px solid var(--rule); border-radius: 14px; background: hsl(var(--card)); }
.ce-aud-grid h3 { margin-bottom: 0.4rem; font-size: 1.05rem; font-weight: 700; color: var(--navy-950); }
.ce-aud-grid p { color: hsl(var(--muted-foreground)); line-height: 1.6; }
@media (min-width: 768px) { .ce-aud-grid { grid-template-columns: repeat(3, 1fr); } }

/* RotaBus */
.rb-eco { display: grid; gap: 2rem; }
.rb-eco .vt-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-eco .vt-figs dt { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); white-space: nowrap; }
@media (max-width: 639px) { .rb-eco .vt-figs { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .rb-eco { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 3rem; } }
.rb-page .vt-steps li { padding: 1.35rem 1.5rem; border: 1px solid var(--rule); border-radius: 14px; background: hsl(var(--card)); box-shadow: 0 12px 30px -22px hsl(220 50% 20% / 0.35); }
.rb-img { margin: 0 0 1.5rem; }
.rb-img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 70px -35px hsl(220 60% 10% / 0.45); }
.rb-sol { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rb-sol > li > a, .rb-sol > li.is-here { display: block; height: 100%; padding: 1.5rem; border: 1px solid var(--rule); border-radius: 14px; background: hsl(var(--card)); color: inherit; transition: border-color 150ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.rb-sol > li.is-here { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.rb-sol-k { margin-bottom: 0.5rem; color: var(--brand-orange-ink, #1d4ed8); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.is-here .rb-sol-k { color: var(--brand-orange); }
.rb-sol h3 { margin-bottom: 0.4rem; font-size: 1.15rem; font-weight: 700; }
.rb-sol p:not(.rb-sol-k) { color: hsl(var(--muted-foreground)); line-height: 1.55; }
.is-here p:not(.rb-sol-k) { color: hsl(220 20% 80%); }
.rb-read { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 1rem; padding: 1.25rem 1.5rem; border-radius: 14px; background: hsl(var(--card)); border: 1px solid var(--rule); color: var(--navy-950); font-weight: 700; }
.rb-read small { color: var(--brand-orange-ink, #1d4ed8); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 768px) { .rb-sol { grid-template-columns: repeat(3, 1fr); } }
@media (hover: hover) and (pointer: fine) { .rb-sol a:hover, .rb-read:hover { border-color: var(--navy-950); transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .rb-sol a, .rb-read { transition: none; } .rb-sol a:hover, .rb-read:hover { transform: none; } }
/* RotaBus: números em linha própria, extrato abaixo (sem sobreposição). */
@media (min-width: 1024px) { .rb-eco { grid-template-columns: 1fr; } .rb-eco .vt-ledger { max-width: 40rem; } }
.rb-eco > * { min-width: 0; }
@media (max-width: 639px) { .rb-eco .vt-figs dt { white-space: normal; } }

/* RotaBus v2 — hero e economia (Modo Vitrine, 1 momento por dobra). */
.rb-page { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.rb-kicker { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; border: 1px solid hsl(0 0% 100% / 0.16); border-radius: 999px; background: hsl(0 0% 100% / 0.06); color: var(--blue-on-navy); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.rb-kicker::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brand-orange); }
.rb-page .vt-hero h1 { margin-top: 1rem; }
.rb-proof { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.rb-proof li { display: flex; flex-direction: column; padding: 0.75rem 1rem; border-radius: 12px; background: hsl(0 0% 100% / 0.05); box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.1); }
.rb-proof strong { color: #fff; font: 700 1.25rem/1.2 var(--font-heading); font-variant-numeric: tabular-nums; }
.rb-proof span { color: hsl(220 20% 75%); font-size: 0.8rem; }
.rb-page .vt-hero .vt-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.rb-page .vt-hero-media video { border-radius: 14px; box-shadow: 0 40px 90px -40px hsl(220 80% 4% / 0.9), 0 0 0 1px hsl(0 0% 100% / 0.12); }
.rb-page .vt-btn { transition: transform 140ms var(--ease-out), background-color 150ms ease; }
.rb-page .vt-btn:active { transform: scale(0.97); }

.rb-board { display: grid; gap: 1.25rem; }
.rb-hero-num { display: flex; flex-direction: column; justify-content: center; padding: 2rem; border-radius: 18px; background: linear-gradient(160deg, hsl(220 60% 22%) 0%, var(--navy-950) 70%); box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.1); }
.rb-label { color: var(--blue-on-navy); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.rb-big { margin: 0.4rem 0 1.5rem; color: #fff; font: 800 clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem)/1 var(--font-heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rb-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid hsl(0 0% 100% / 0.12); }
.rb-mini dt { color: hsl(220 20% 72%); font-size: 0.8rem; }
.rb-mini dd { margin: 0.2rem 0 0; color: #fff; font: 700 1.25rem/1.25 var(--font-heading); font-variant-numeric: tabular-nums; }
.rb-mini small { display: block; color: hsl(220 20% 72%); font: 400 0.78rem/1.4 var(--font-body, inherit); }

.rb-receipt { padding: 1.5rem; border-radius: 18px; background: #fff; color: var(--navy-950); box-shadow: 0 30px 70px -35px hsl(220 80% 4% / 0.9); }
.rb-receipt header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-bottom: 1.25rem; color: hsl(220 15% 45%); font-size: 0.8rem; }
.rb-route { padding: 0.2rem 0.6rem; border-radius: 999px; background: hsl(220 60% 95%); color: var(--navy-950); font-weight: 700; }
.rb-cmp { display: grid; gap: 0.9rem; }
.rb-bar { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; font-size: 0.9rem; }
.rb-bar strong { font-variant-numeric: tabular-nums; }
.rb-bar i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: hsl(220 20% 90%); position: relative; overflow: hidden; }
.rb-bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: hsl(220 30% 70%); transform-origin: left; transform: scaleX(var(--w)); width: 100%; transition: transform 700ms var(--ease-out) 150ms; }
.rb-bar i { --s: 1; }
.rb-bar.is-aud i::after { background: var(--blue-accent); }
.rb-res { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px dashed hsl(220 15% 85%); }
.rb-res dt { color: hsl(220 15% 45%); font-size: 0.8rem; }
.rb-res dd { margin: 0.2rem 0 0; font: 700 1.2rem/1.2 var(--font-heading); font-variant-numeric: tabular-nums; }
.rb-res .is-total dd { color: var(--brand-orange-ink, #c2410c); color: #d9560a; }
.rb-foot { margin-top: 1rem; color: hsl(220 15% 50%); font-size: 0.75rem; }
@media (min-width: 1024px) { .rb-board { grid-template-columns: 1.1fr 1fr; align-items: stretch; } }
@media (max-width: 479px) { .rb-mini, .rb-res { grid-template-columns: 1fr; } .rb-hero-num, .rb-receipt { padding: 1.4rem; } }
.js .rb-receipt.reveal:not(.shown) .rb-bar i::after { transform: scaleX(0); }
.rb-bar.is-aud i::after { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) { .rb-bar i::after { transition: none; } .js .rb-receipt.reveal:not(.shown) .rb-bar i::after { transform: scaleX(var(--w)); } }
.rb-receipt header { position: static; background: none; border: 0; box-shadow: none; height: auto; padding: 0; align-items: center; }
.rb-mini dd small { margin-top: 0.15rem; font-family: inherit; font-size: 0.78rem; font-weight: 400; line-height: 1.4; }
.rb-board > * { min-width: 0; }
.rb-page article.rb-receipt > header { position: static; background: transparent !important; box-shadow: none !important; border: 0 !important; }

/* VT Empresa v2 — mesmo acabamento do RotaBus. */
.vx-page .vt-hero h1 { margin-top: 1rem; }
.vx-page .vt-hero .vt-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.vx-page .vt-hero-media video { border-radius: 14px; box-shadow: 0 40px 90px -40px hsl(220 80% 4% / 0.9), 0 0 0 1px hsl(0 0% 100% / 0.12); }
.vx-page .vt-btn { transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease; }
.vx-page .vt-btn:active { transform: scale(0.97); }
.vx-skip { display: inline-flex; gap: 0.35rem; margin-top: 1.25rem; color: var(--blue-on-navy); font-size: 0.9rem; font-weight: 600; }
.vx-skip span { transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.vx-page .vt-bento-card { border-radius: 16px; box-shadow: 0 18px 40px -28px hsl(220 50% 20% / 0.45); transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease, opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
.vx-col { box-shadow: 0 18px 40px -30px hsl(220 50% 20% / 0.45); }
@media (hover: hover) and (pointer: fine) {
  .vx-skip:hover span { transform: translateY(2px); }
  .vx-page .vt-bento-card.shown:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -28px hsl(220 50% 20% / 0.55); }
}
/* VT Empresa: centraliza em 3 colunas iguais (cabe numa tela), botões do hero lado a lado. */
@media (min-width: 1024px) {
  .vx-page .vt-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vx-page .vt-bento-card.is-wide { grid-column: auto; grid-template-columns: 1fr; align-items: start; }
  .vx-page .vt-hero .vt-actions { display: flex; }
  .vx-page .vt-hero .vt-actions > .vt-btn { width: auto; }
}
.vx-page .vt-bento-card { align-content: start; }
.vx-page .vt-bento-card .vt-loop { border-radius: 10px; }

/* Calculadora: o formulário sobe para a primeira dobra, sobreposto ao fim do topo (só CSS; DOM e GA4 intactos) */
main > .vt-hero.vt-hero--compact:has(+ section #step-inputs) { min-height: 0; padding-top: clamp(6.5rem, 5rem + 4vw, 8.5rem); padding-bottom: clamp(7rem, 5rem + 8vw, 10rem); }
.vt-hero--compact + section:has(#step-inputs) { padding-top: 0; margin-top: calc(-1 * clamp(5rem, 3.5rem + 6vw, 8rem)); position: relative; z-index: 1; }
#step-inputs, #step-success { box-shadow: 0 30px 60px -30px hsl(218 45% 12% / 0.45), 0 2px 6px hsl(218 45% 12% / 0.06); border-color: var(--rule); }
#step-inputs input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
#result-block:not(.hidden) { animation: kc-in 350ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@media (prefers-reduced-motion: no-preference) {
  .vt-hero--compact:has(+ section #step-inputs) .vt-head > * { animation: kc-up 500ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .vt-hero--compact:has(+ section #step-inputs) .vt-hero-sub { animation-delay: 60ms; }
  #step-inputs { animation: kc-in 600ms cubic-bezier(0.23, 1, 0.32, 1) 120ms both; }
}
@media (prefers-reduced-motion: reduce) { #result-block:not(.hidden) { animation: none; } }
@keyframes kc-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes kc-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }

/* Calculadora v2 (digo-front + Emil): vitrine no topo, produto no cartão */
.kc-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.kc-trust li { display: inline-flex; align-items: center; gap: 0.5rem; color: hsl(0 0% 100% / 0.86); font-size: 0.95rem; }
.kc-trust svg { width: 1.1rem; height: 1.1rem; padding: 0.15rem; border-radius: 50%; background: hsl(var(--brand-orange-hsl) / 0.18); color: var(--brand-orange); flex: none; }

.kc-card { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); border-radius: 20px !important; }
.kc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.kc-badge { padding: 0.3rem 0.7rem; border-radius: 999px; background: hsl(221 83% 53% / 0.08); color: var(--brand-orange-ink); font-size: 0.8rem; font-weight: 600; }
.kc-step { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: 0.55rem; border-radius: 50%; background: var(--ink-deep); color: #fff; font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.kc-card input { font-size: 1.125rem; transition: border-color 150ms ease, box-shadow 150ms ease; }
.kc-card #num-funcionarios:focus, .kc-card div:focus-within:has(> #gasto-mensal) { border-color: var(--blue-accent) !important; box-shadow: 0 0 0 4px hsl(221 83% 53% / 0.14) !important; }

/* Prévia antes do resultado: mostra onde o número vai aparecer */
.kc-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.75rem; padding: 1.25rem 1.5rem; border: 1px dashed hsl(220 14% 78%); border-radius: 16px; background: hsl(var(--section-alt)); }
.kc-preview-l { font-size: 0.8rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.kc-preview-n { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: hsl(220 14% 70%); line-height: 1.1; }
.kc-preview-t { max-width: 22ch; font-size: 0.9rem; color: hsl(var(--muted-foreground)); line-height: 1.45; }
#step-inputs:has(#result-block:not(.hidden)) .kc-preview { display: none; }

/* Resultado: painel escuro, números grandes e um CTA claro */
.kc-result { position: relative; overflow: hidden; background: var(--ink-deep) !important; color: #fff; border-radius: 18px !important; padding: clamp(1.5rem, 4vw, 2rem) !important; }
.kc-result::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(hsl(var(--brand-orange-hsl) / 0.22), transparent 65%); pointer-events: none; }
.kc-result > * { position: relative; }
.kc-result #economy-month, .kc-result #economy-year { color: var(--brand-orange) !important; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kc-result #economy-year { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem) !important; }
.kc-result p.text-muted-foreground, .kc-result .text-xs { color: hsl(0 0% 100% / 0.72) !important; }
.kc-result a[href="/resultados/"] { color: var(--blue-on-navy) !important; }
.kc-wa { display: grid; gap: 0.9rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsl(0 0% 100% / 0.12); }
.kc-wa p { color: hsl(0 0% 100% / 0.86); line-height: 1.5; }
.kc-wa .kc-wa-btn { justify-content: center; width: 100%; min-height: 3rem; font-size: 1rem; color: hsl(var(--primary-foreground)) !important; transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease; }
.kc-wa .kc-wa-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .kc-wa .kc-wa-btn:hover svg { transform: translateX(3px); } }
.kc-wa .kc-wa-btn svg { transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
#submit-btn { transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease; }
#submit-btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: no-preference) {
  .kc-trust li { animation: kc-up 400ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .kc-trust li:nth-child(1) { animation-delay: 140ms; }
  .kc-trust li:nth-child(2) { animation-delay: 190ms; }
  .kc-trust li:nth-child(3) { animation-delay: 230ms; }
}
.kc-wa .kc-wa-btn, .kc-wa .kc-wa-btn:hover { text-decoration: none !important; }
.kc-result .grid > div p:not([id]) { white-space: nowrap; }
@media (max-width: 639px) { .kc-result #economy-month { font-size: 1.5rem !important; } .kc-result #economy-year { font-size: 1.85rem !important; } }
@media (max-width: 639px) { .kc-result .grid > div { display: flex !important; flex-direction: column-reverse !important; align-items: flex-start !important; gap: 0.2rem; } }
.kc-wa .kc-wa-btn { white-space: nowrap; }
