/* Página de revenda: 3 modelos (usa tokens de styles.css e peças de home-v2.css) */
html { scroll-padding-top: 84px; }
.rv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* topo + escolha do modelo */
.rv-hero { padding: 150px 0 80px; background: radial-gradient(1200px 500px at 50% -10%, rgba(0,120,248,.16), transparent 70%), #04060a; border-bottom: 1px solid rgba(255,255,255,.08); }
.rv-kicker { margin: 0 0 12px; font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; font-size: 15px; color: var(--brand-cyan, #00e8f8); }
.rv-hero h1 { margin: 0 0 16px; font-family: 'Outfit', system-ui, sans-serif; font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: #fff; }
.rv-lead { margin: 0; max-width: 58ch; color: var(--text-secondary, #cbd5e1); font-size: 18px; line-height: 1.6; }

.rv-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.rv-opt {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 22px; border-radius: 18px; text-decoration: none; color: inherit;
  background: var(--bg-surface-elevated, #0a0f1d); border: 1px solid rgba(255,255,255,.09); transition: border-color .15s, transform .15s, background .15s;
}
.rv-opt:hover { border-color: rgba(0,232,248,.5); background: #0c1326; transform: translateY(-2px); }
.rv-opt-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--brand-cyan, #00e8f8); background: rgba(0,232,248,.1); }
.rv-opt-name { margin-top: 10px; font-family: 'Outfit', system-ui, sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.rv-opt-what { color: var(--text-secondary, #cbd5e1); font-size: 15.5px; line-height: 1.5; min-height: 3em; }
.rv-opt-price { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); color: var(--text-secondary, #cbd5e1); font-size: 15px; }
.rv-opt-price b { font-family: 'Outfit', system-ui, sans-serif; font-size: 24px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.rv-opt-for { color: var(--text-muted, #94a3b8); font-size: 14px; }
.rv-opt-go { margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--brand-cyan, #00e8f8); }
.rv-opt-go::after { content: ' ↓'; }

/* comparação */
.rv-compare-sec { background: #060810; }
.rv-table-wrap { max-width: 960px; margin: 0 auto; overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: var(--bg-surface-elevated, #0a0f1d); }
.rv-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rv-table th, .rv-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.06); line-height: 1.45; }
.rv-table tbody tr:last-child th, .rv-table tbody tr:last-child td { border-bottom: 0; }
.rv-table thead th { font-family: 'Outfit', system-ui, sans-serif; font-size: 17px; font-weight: 700; color: #fff; background: #070b15; }
.rv-table tbody th { font-weight: 600; color: var(--text-muted, #94a3b8); width: 26%; }
.rv-table td { color: #e2e8f0; }
.rv-yes { color: #4ade80 !important; font-weight: 700; }
.rv-no { color: var(--text-muted, #94a3b8) !important; }

/* cada modelo */
.rv-step { margin: 0 0 10px; font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; font-size: 15px; color: var(--brand-cyan, #00e8f8); }
.rv-side { display: grid; gap: 16px; }
.rv-model .tf-ledger dt small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-muted, #94a3b8); }
.rv-math { margin: 0; padding: 0 6px; color: var(--text-secondary, #cbd5e1); font-size: 15.5px; line-height: 1.55; }
.rv-math strong { color: #fff; }
.rv-example { padding: 20px 24px; border-radius: 16px; background: rgba(0,232,248,.05); border: 1px dashed rgba(0,232,248,.28); }
.rv-example-t { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--brand-cyan, #00e8f8); }
.rv-example p:last-child { margin: 0; color: #e2e8f0; font-size: 15.5px; line-height: 1.65; }
.rv-example strong { color: #fff; }

@media (max-width: 960px) {
  .rv-pick { grid-template-columns: 1fr; gap: 12px; }
  .rv-opt { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 20px; }
  .rv-opt > * { grid-column: 1; }
  .rv-opt-tag { grid-column: 1 / -1; justify-self: start; }
  .rv-opt-what { min-height: 0; }
  .rv-opt-price { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rv-hero { padding: 116px 0 56px; }
  .rv-lead { font-size: 16.5px; }
  .rv-pick { margin-top: 32px; }
  .rv-opt-name { font-size: 23px; margin-top: 6px; }
  /* tabela vira blocos: cada linha mostra os 3 modelos lado a lado */
  .rv-table-wrap { overflow: visible; }
  .rv-table, .rv-table tbody { display: block; }
  .rv-table thead { display: none; }
  .rv-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; padding: 14px 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .rv-table tbody tr:last-child { border-bottom: 0; }
  .rv-table th, .rv-table td { display: block; padding: 0; border: 0; font-size: 14px; }
  .rv-table tbody th { grid-column: 1 / -1; width: auto; margin-bottom: 6px; color: #fff; font-size: 15px; }
  .rv-table td::before { content: attr(data-m); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--text-muted, #94a3b8); }
}
@media (prefers-reduced-motion: reduce) {
  .rv-opt { transition: none; }
  .rv-opt:hover { transform: none; }
}
.rv-tiers dd small { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-muted, #94a3b8); }
.rv-tiers .tf-ledger-total dd small { color: inherit; opacity: .8; }
