/* Páginas de prova (resultados, casos, sobre, blog) no padrão da Home azul 2026.
   Só tokens de tokens.css; laranja apenas em botão e número-chave. */

/* Hero interno: mesmo escuro da Home, mais baixo. */
.vp-hero { padding: clamp(6rem, 4.5rem + 5vw, 8.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.vp-hero h1 { margin: 0.6rem 0 0.9rem; font-family: var(--font-heading); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.08; color: #fff; text-wrap: balance; }
.vp-hero .vt-hero-sub { margin-bottom: 1.75rem; }
.vp-kicker { color: var(--blue-on-navy); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.vp-crumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: 0.82rem; color: hsl(0 0% 100% / 0.66); }
.vp-crumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.vp-crumb a { color: hsl(0 0% 100% / 0.85); text-decoration: underline; text-underline-offset: 0.2em; }
.vp-crumb a:hover { color: #fff; }

/* Número-chave: laranja da marca (texto grande em fundo escuro passa AA). */
.vp-key { color: var(--brand-orange); font-family: var(--font-heading); font-variant-numeric: tabular-nums; }
.bg-section-alt .vp-key, .vp-light .vp-key { color: var(--number-ink); }
.vt-dark .vt-figs, .hero-gradient .vt-figs { border-color: var(--rule-dark); }
.vt-dark .vt-figs > div + div, .hero-gradient .vt-figs > div + div { border-color: var(--rule-dark); }
.vt-dark .vt-figs dt { color: var(--brand-orange); }
@media (min-width: 768px) {
  .vt-figs > div + div { padding-left: 1.5rem; }
  .vt-figs.vp-figs-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Mídia: vídeo/poster com moldura fina. */
.vp-media { margin: 0; }
.vp-media video, .vp-media img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--navy-900); }
.vp-media figcaption { margin-top: 0.7rem; color: hsl(var(--muted-foreground)); font-size: 0.85rem; line-height: 1.5; }
.vt-dark .vp-media video { border-color: var(--rule-dark); }
.vt-dark .vp-media figcaption { color: hsl(0 0% 100% / 0.7); }

/* Lista de cartões (casos, blog, soluções): link inteiro clicável. */
.vp-cards { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .vp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vp-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vp-card { position: relative; display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.4rem; border: 1px solid var(--rule); border-radius: 12px; background: #fff; transition: border-color 0.15s ease, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1); }
.vp-card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.vp-card p { color: hsl(var(--muted-foreground)); line-height: 1.55; }
.vp-card .vp-tag { color: var(--brand-orange-ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.vp-card .vp-meta { margin-top: auto; padding-top: 0.5rem; color: hsl(var(--muted-foreground)); font-size: 0.85rem; }
.vp-card a.vp-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.vp-card a.vp-stretch { color: var(--ink-deep); }
.vp-card a.vp-stretch:focus-visible { outline: none; }
.vp-card:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.vp-card .vp-key { font-size: 2rem; font-weight: 700; line-height: 1; color: var(--number-ink); }
.vp-card video, .vp-card img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--rule); }
@media (hover: hover) and (pointer: fine) {
  .vp-card:hover { border-color: hsl(var(--foreground) / 0.45); transform: translateY(-2px); }
}

/* Texto institucional curto. */
.vp-prose { max-width: 44rem; }
.vp-prose p + p { margin-top: 1rem; }
.vp-prose p, .vp-prose li { color: hsl(var(--muted-foreground)); line-height: 1.7; }
.vp-prose strong { color: hsl(var(--foreground)); }
.vp-formula { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-left: 3px solid var(--navy-950); background: hsl(var(--section-alt)); font-family: var(--font-heading); font-weight: 600; line-height: 1.6; }
.vp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.vp-chips li { padding: 0.35rem 0.75rem; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.85rem; }
.vt-dark .vp-chips li { border-color: var(--rule-dark); color: hsl(0 0% 100% / 0.85); }

/* Gráfico mês a mês (SVG inline). */
.vp-chart { margin: 0; padding: 1.25rem; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.vp-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.vp-chart text { fill: hsl(var(--muted-foreground)); font-family: var(--font-sans); font-size: 12px; }
.vp-chart .vp-ax { stroke: var(--rule); stroke-width: 1; }
.vp-chart .vp-base { stroke: hsl(var(--foreground) / 0.5); }
.vp-chart .s-aud { fill: #4f7cc9; }
.vp-chart .s-eco { fill: #E5600A; }
.vp-chart .vp-mark { stroke: hsl(var(--foreground)); stroke-dasharray: 3 3; }
.vp-chart .vp-mark-t { fill: hsl(var(--foreground)); font-weight: 600; }
.vp-chart .vp-lbl { fill: hsl(var(--foreground)); font-weight: 600; font-size: 11px; }
.vp-chart g.m { cursor: default; }
.vp-chart g.m rect.hit { fill: transparent; }
.vp-chart g.m:hover rect.hit, .vp-chart g.m:focus rect.hit { fill: hsl(var(--foreground) / 0.05); }
.vp-chart g.m:focus { outline: none; }
.vp-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0 0 0.75rem; padding: 0; list-style: none; font-size: 0.85rem; }
.vp-legend li { display: flex; align-items: center; gap: 0.45rem; }
.vp-legend i { width: 0.8rem; height: 0.8rem; border-radius: 3px; }
.vp-tip { position: absolute; z-index: 5; min-width: 11rem; padding: 0.6rem 0.75rem; border-radius: 8px; background: var(--navy-950); color: #fff; font-size: 0.8rem; line-height: 1.5; font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0; transition: opacity 0.12s ease; }
.vp-tip.on { opacity: 1; }
.vp-tip strong { display: block; margin-bottom: 0.15rem; }
.vp-chart-wrap { position: relative; }
.vp-chart details { margin-top: 1rem; font-size: 0.9rem; }
.vp-chart summary { cursor: pointer; color: var(--brand-orange-ink); font-weight: 600; }
.vp-chart summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vp-chart .vt-table-wrap { padding: 0.75rem 0 0; }

/* Antes / depois. */
.vp-ba { display: grid; gap: 1rem; }
@media (min-width: 768px) { .vp-ba { grid-template-columns: 1fr 1fr; } }
.vp-ba > div { padding: 1.4rem; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.vp-ba > div.is-after { border-color: var(--navy-950); box-shadow: inset 0 3px 0 var(--navy-950); }
.vp-ba h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.vp-ba .vp-key { display: block; margin: 0.5rem 0 0.4rem; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 700; line-height: 1; color: var(--number-ink); }
.vp-ba .is-before .vp-key { color: hsl(var(--foreground) / 0.55); }

/* FAQ herdada dentro do novo layout. */
.vp-faq .max-w-3xl { max-width: 54rem; margin-left: 0; }

/* ---------- Template visual dos posts do blog (texto intocado) ---------- */
.vp-post > section:first-child { padding: clamp(6rem, 4.5rem + 5vw, 8.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: var(--ink-deep); color: #fff; }
.vp-post > section:first-child h1 { color: #fff; text-wrap: balance; }
.vp-post > section:first-child .text-muted-foreground,
.vp-post > section:first-child .text-xl { color: hsl(0 0% 100% / 0.76); }
.vp-post > section:first-child .text-secondary { color: var(--blue-on-navy); }
.vp-post > section:first-child a.text-primary { color: var(--blue-on-navy); }
.vp-post > section:first-child a.text-primary:hover { color: #fff; }
.vp-post > section:first-child .text-sm.text-muted-foreground span + span::before { content: "·"; margin-right: 1rem; opacity: 0.6; }
.vp-post > section:nth-child(2) { background: #fff; }
.vp-post article { max-width: 44rem; }
.vp-post article h2 { font-family: var(--font-heading); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); line-height: 1.2; text-wrap: balance; }
.vp-post article h3 { font-family: var(--font-heading); }
.vp-post article p.text-lg:first-child { padding-left: 1rem; border-left: 3px solid var(--navy-950); color: hsl(var(--foreground)); }
.vp-post article .text-muted-foreground { color: hsl(220 14% 30%); }
.vp-post article .bg-primary { background: var(--navy-950); }
.vp-post article .rounded-2xl, .vp-post article .rounded-xl { border-color: var(--rule); box-shadow: none; }
.vp-post article a.text-primary { color: var(--brand-orange-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.vp-post > section:last-of-type a.vt-btn, .vp-post a.vt-btn { color: hsl(var(--primary-foreground)); }

@media (prefers-reduced-motion: reduce) {
  .vp-card, .vp-tip { transition: none; }
  .vp-card:hover { transform: none; }
}

/* Guia CLT: listas viram etapas numeradas lado a lado; vídeo do painel no fim do guia. */
.vp-steps { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: vp-step; }
.vp-steps li { min-width: 0; padding-top: 0.85rem; border-top: 2px solid var(--rule); color: hsl(var(--foreground)); font-weight: 600; line-height: 1.45; counter-increment: vp-step; }
.vp-steps li::before { content: counter(vp-step, decimal-leading-zero); display: block; margin-bottom: 0.35rem; color: var(--blue-accent); font-size: 0.8rem; letter-spacing: 0.08em; }
.vp-media--step { margin-top: 1.75rem; }
@media (min-width: 768px) { .vp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* Resultados: métrica + tipo + como ler no mesmo card. */
.vr-figs { display: grid; gap: 1rem; margin: 0; }
.vr-fig { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid hsl(0 0% 100% / 0.12); border-radius: 14px; background: hsl(0 0% 100% / 0.04); }
.vr-type { margin-bottom: 1rem; color: var(--blue-on-navy); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.vr-fig dt { color: var(--brand-orange); font-family: var(--font-heading); font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.5rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.vr-fig dd { margin: 0.6rem 0 1.25rem; color: #fff; font-weight: 600; line-height: 1.45; }
.vr-how { margin-top: auto; padding-top: 1rem; border-top: 1px solid hsl(0 0% 100% / 0.12); color: hsl(220 20% 78%); font-size: 0.9rem; line-height: 1.5; }
.vr-also { display: grid; gap: 0.5rem 2rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: hsl(220 20% 78%); font-size: 0.92rem; }
.vr-also strong { color: #fff; }
@media (min-width: 768px) { .vr-figs { grid-template-columns: repeat(3, 1fr); } .vr-also { grid-template-columns: repeat(2, 1fr); } }

/* Cálculo: fórmula como fluxo. */
.vr-flow { display: grid; gap: 0.75rem; align-items: center; }
.vr-box { padding: 1.25rem 1.5rem; border: 1px solid var(--rule); border-radius: 12px; background: hsl(var(--card)); }
.vr-box small { display: block; margin-bottom: 0.3rem; color: hsl(var(--muted-foreground)); font-size: 0.8rem; }
.vr-box strong { color: var(--navy-950); font-family: var(--font-heading); font-size: 1.3rem; }
.vr-box--out { border-color: var(--navy-950); background: var(--navy-950); }
.vr-box--out small { color: hsl(220 20% 78%); }
.vr-box--out strong { color: var(--brand-orange); }
.vr-op { justify-self: center; color: var(--navy-950); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.vr-pct { margin-top: 1rem; color: hsl(var(--muted-foreground)); font-size: 0.95rem; font-weight: 600; }
.vr-sub { margin: 2.5rem 0 1rem; font-size: 1.15rem; font-weight: 700; }
.vr-steps { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; counter-reset: vr; }
.vr-steps li { counter-increment: vr; display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-radius: 10px; background: hsl(var(--card)); color: var(--navy-950); font-weight: 600; }
.vr-steps li::before { content: counter(vr, decimal-leading-zero); color: var(--brand-orange-ink, var(--brand-orange)); font-size: 0.8rem; font-weight: 700; }
@media (min-width: 768px) { .vr-flow { grid-template-columns: 1fr auto 1fr auto 1fr; } .vr-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vr-steps { grid-template-columns: repeat(4, 1fr); } }
.vr-note { margin: 0.25rem 0 0.75rem; color: hsl(var(--muted-foreground)); font-size: 0.8rem; font-style: italic; }

/* Hero de prova: breadcrumb alinhado, selo de destaque, mídia maior. */
.vp-crumb ol { align-items: baseline; }
.vp-crumb a { text-decoration: none; }
.vp-crumb a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.vp-kicker { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border: 1px solid hsl(0 0% 100% / 0.16); border-radius: 999px; background: hsl(0 0% 100% / 0.06); }
.vp-kicker::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brand-orange); }
.vp-hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); }
.vp-hero .vp-media video { border-color: hsl(0 0% 100% / 0.14); box-shadow: 0 30px 80px -30px hsl(220 80% 4% / 0.8); }
@media (min-width: 1024px) { .vp-hero .vt-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 3.5rem; } }
.vr-hero-img { margin: 0 0 2rem; }
.vr-hero-img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 70px -35px hsl(220 60% 10% / 0.55); }

/* Casos: números sem quebra/sobreposição, CTA no meio e card com chamada clara */
.vp-figs-4 { column-gap: 1.5rem; }
.vp-figs-4 dt { font-size: clamp(1.4rem, 0.9rem + 1.1vw, 2rem); white-space: nowrap; }
.cs-figs-2 { column-gap: 1.5rem; }
.cs-figs-2 dt { font-size: clamp(1.4rem, 0.9rem + 1vw, 1.75rem); white-space: nowrap; }
@media (max-width: 639px) { .vp-figs-4 dt, .cs-figs-2 dt { white-space: normal; } }
.vt-ledger .vt-table { font-size: 0.875rem; }
.vt-ledger .vt-table th, .vt-ledger .vt-table td { padding-inline: 0.5rem; white-space: nowrap; }
.cs-mid { padding: 0 0 var(--space-section-y); }
.cs-mid-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius-lg); background: var(--ink-deep); color: #fff; }
.cs-mid-t { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 0.4rem; text-wrap: balance; }
.cs-mid-in p:not(.cs-mid-t) { color: hsl(0 0% 100% / 0.78); line-height: 1.55; max-width: 56ch; }
.vp-card .vp-more { margin-top: auto; font-weight: 600; color: var(--brand-orange-ink); }
.vp-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 639px) { .cs-mid-in .vt-btn, .cs-compare .vt-btn { width: 100%; justify-content: center; } }
@media (min-width: 1024px) { .vp-page .vt-split:has(> .vt-ledger), main .vt-split:has(> .vt-ledger) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; } }
.vt-figs.cs-figs-2 { grid-template-columns: 1fr !important; } .vt-figs.cs-figs-2 > div + div { border-left: 0; }

/* /casos/: topo compacto, prova em números e vídeo da plataforma */
main > .vp-hero.cs-hero { min-height: 0; padding-top: clamp(6.5rem, 5rem + 4vw, 8.5rem); padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 1024px) { .cs-hero .vt-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 3.5rem; } }
.cs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.75rem 0 2rem; padding: 1.25rem 0; border-block: 1px solid hsl(0 0% 100% / 0.14); }
.cs-stats dt { font-family: var(--font-heading); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 700; line-height: 1; color: var(--brand-orange); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-stats dd { margin-top: 0.5rem; color: hsl(0 0% 100% / 0.76); font-size: 0.95rem; line-height: 1.45; }
.cs-video { margin: 0; }
.cs-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); border: 1px solid hsl(0 0% 100% / 0.16); background: #0b1a36; box-shadow: 0 30px 60px -30px hsl(220 60% 4% / 0.9); }
.cs-video figcaption { margin-top: 0.75rem; font-size: 0.85rem; color: hsl(0 0% 100% / 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .cs-hero h1, .cs-hero .vt-hero-sub, .cs-hero .cs-stats, .cs-hero .vt-actions { animation: cs-up 500ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .cs-hero .vt-hero-sub { animation-delay: 60ms; }
  .cs-hero .cs-stats { animation-delay: 120ms; }
  .cs-hero .vt-actions { animation-delay: 170ms; }
  .cs-video { animation: cs-in 650ms cubic-bezier(0.23, 1, 0.32, 1) 150ms both; }
}
@keyframes cs-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes cs-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

/* Resultados: CTA do meio sobre fundo alternado e cards com resposta ao mouse */
.vr-mid { padding-top: var(--space-section-y); background: hsl(var(--section-alt)); }
.vr-fig { transition: border-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) { .vr-fig:hover { border-color: hsl(0 0% 100% / 0.28); transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .vr-fig:hover { transform: none; } }
