/* ══════════════════════════════════════════════════════════════════════════
   MODULE · RECONHECIMENTO · v0.4.0
   ──────────────────────────────────────────────────────────────────────────
   Layout espelhado do módulo Fontes (Intérprete de Dados). Namespace .recon
   pra não colidir com .fontes/.diesel. Consome tokens.css.

   v0.4.0 · refactor pós-revisão da apresentação:
     • slide 4 Behaviors: nova grade ocorrência × peso × qualificação (pills coloridos)
     • slide 5 Scoring: coluna inline de % qualificação
     • slide 8 Pre-Accident: timeline forense (heat trail, accident pulse, chips, finding)
     • slide 12 Podium: bloco .apres-semestre com bottoms datados


   Blocos:
     • Header (crumb + h1 + sub + actions)        →  .recon__head
     • KPIs pill horizontal                       →  .recon__kpis
     • Drop zone                                  →  .recon__upload
     • Progresso por arquivo                      →  .recon__prog-item
     • Lista de imports                           →  .recon__list-head + card
     • CTA da Apresentação                        →  .recon__apres-cta
     • Stage fullscreen da Apresentação           →  .rec-apres-*
   ══════════════════════════════════════════════════════════════════════════ */

.recon {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

/* ═════════════════════ HEAD ═════════════════════ */
.recon__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.recon__head > div:first-child { flex: 1; min-width: 0; }
.recon__head-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.recon__crumb {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.recon__crumb-projeto { color: var(--sub); font-weight: 400; }
.recon__head h1 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--txt);
  font-weight: 700;
  margin: 0;
}
.recon__sub {
  color: var(--sub);
  font-size: 13px;
  margin-top: 6px;
  max-width: 760px;
  line-height: 1.55;
}
.recon__sub--warn { color: var(--warn); font-style: italic; }
.recon__sub kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg);
  border: 1px solid var(--borda);
  border-radius: 3px;
  color: var(--txt);
  margin: 0 1px;
}

/* ═════════════════════ KPIs (pílulas horizontais) ═════════════════════ */
.recon__kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 960px) { .recon__kpis { grid-template-columns: repeat(2, 1fr); } }

.recon__kpi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  transition: border-color .15s var(--ease-soft), transform .12s var(--ease-out);
}
.recon__kpi:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}
.recon__kpi-ico {
  font-size: 22px;
  flex-shrink: 0;
}
.recon__kpi-body { min-width: 0; }
.recon__kpi-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.recon__kpi-valor {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.1;
  margin-top: 2px;
}
.recon__kpi--skel {
  background: linear-gradient(90deg, var(--borda-soft) 0%, var(--bg-soft) 50%, var(--borda-soft) 100%);
  background-size: 200% 100%;
  animation: recon-skel 1.4s linear infinite;
}
.recon__kpi--skel .recon__kpi-valor,
.recon__kpi--skel .recon__kpi-label { color: transparent; }
@keyframes recon-skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.recon__kpi-err {
  grid-column: 1 / -1;
  padding: 14px;
  background: var(--err-bg);
  border-left: 3px solid var(--err);
  border-radius: var(--radius);
  color: var(--err);
  font-size: 13px;
}

/* ═════════════════════ DROP ZONE ═════════════════════ */
.recon__upload {
  background: var(--card);
  border: 2px dashed var(--borda);
  border-radius: var(--radius-lg);
  padding: 48px 20px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color .18s var(--ease-soft),
    background   .18s var(--ease-soft),
    transform    .12s var(--ease-out);
}
.recon__upload:hover,
.recon__upload.is-drag {
  border-color: var(--accent);
  background: var(--ok-bg);
}
.recon__upload.is-drag { transform: scale(1.005); }
.recon__upload-ico { font-size: 40px; margin-bottom: 12px; }
.recon__upload h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--txt);
  margin: 0 0 6px;
  font-weight: 700;
}
.recon__upload-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ═════════════════════ PROGRESS ═════════════════════ */
.recon__progress {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recon__progress:empty { display: none; }
.recon__prog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--borda);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  animation: reconFadeUp .25s var(--ease-out);
}
.recon__prog-item.is-ok    { border-left-color: var(--ok); }
.recon__prog-item.is-erro  { border-left-color: var(--err); background: var(--err-bg); }
.recon__prog-ico {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.recon__prog-body { min-width: 0; }
.recon__prog-nome {
  font-weight: 600;
  font-size: 13px;
  color: var(--txt);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recon__prog-status { font-size: 12px; color: var(--sub); }
.recon__prog-bar {
  margin-top: 6px;
  height: 4px;
  background: var(--borda);
  border-radius: 2px;
  overflow: hidden;
}
.recon__prog-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width .25s var(--ease-out);
}
.recon__prog-item.is-ok .recon__prog-bar-fill { background: var(--ok); }
@keyframes reconFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═════════════════════ LIST ═════════════════════ */
.recon__list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borda);
}
.recon__list-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--txt);
  font-weight: 700;
  margin: 0;
}
.recon__list-head .n {
  font-size: 11px;
  font-weight: 700;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recon__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--borda);
  border-left: 4px solid var(--muted);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: border-color .15s var(--ease-soft), box-shadow .18s var(--ease-soft), transform .15s var(--ease-out);
}
.recon__card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.recon__card.is-ok      { border-left-color: var(--ok); }
.recon__card.is-partial { border-left-color: var(--warn); }
.recon__card.is-error   { border-left-color: var(--err); }
.recon__card-ico {
  font-size: 24px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.recon__card-body { min-width: 0; }
.recon__card-nome {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--txt);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recon__card-meta { font-size: 12px; color: var(--sub); }
.recon__card-meta strong { color: var(--primary); font-weight: 600; }
.recon__card-skip { color: var(--warn); font-weight: 500; }
.recon__card-erro { font-size: 12px; color: var(--err); margin-top: 4px; font-family: var(--font-mono); }
.recon__card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.recon__card-badge.is-ok      { background: var(--ok-bg);   color: var(--ok); }
.recon__card-badge.is-partial { background: var(--warn-bg); color: var(--gold-dark); }
.recon__card-badge.is-error   { background: var(--err-bg);  color: var(--err); }

.recon__vazio {
  background: var(--card);
  border: 1px dashed var(--borda);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  color: var(--sub);
  font-size: 13px;
}

@media (max-width: 720px) {
  .recon { padding: 16px; }
  .recon__head { flex-direction: column; }
  .recon__head-actions { width: 100%; justify-content: flex-end; }
  .recon__card { grid-template-columns: 1fr; gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   APRESENTAÇÃO · CTA (landing)
   ══════════════════════════════════════════════════════════════ */
.recon__apres-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-top: 12px;
}
.recon__apres-cta-icon {
  font-size: 44px;
  margin-bottom: 12px;
}
.recon__apres-cta h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -.3px;
}
.recon__apres-cta-client {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  margin: 0 0 20px;
  letter-spacing: .3px;
}
.recon__apres-cta-desc {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.recon__apres-cta .btn--primary {
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: transform .14s var(--ease-back), box-shadow .14s var(--ease-soft);
  box-shadow: 0 4px 14px rgba(209, 169, 80,0.35);
}
.recon__apres-cta .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(209, 169, 80,0.45);
}
.recon__apres-cta-hint {
  margin-top: 22px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: .4px;
}

/* ── Seletor de páginas (landing, abaixo do CTA) ───────────────────────── */
.recon__apres-pick {
  margin-top: 16px;
  background: var(--card, #fff);
  border: 1px solid var(--line, #e6e8ea);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
}
.recon__apres-pick-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.recon__apres-pick-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--primary); letter-spacing: -.2px;
}
.recon__apres-pick-actions { display: flex; align-items: center; gap: 8px; }
.recon__apres-pick-count {
  font-size: 12px; color: var(--muted, #6b7280); font-variant-numeric: tabular-nums; margin-right: 4px;
}
.recon__apres-pick .btn--sm { font-size: 12px; padding: 5px 11px; }
.recon__apres-pick-list { display: flex; flex-direction: column; gap: 3px; }
.recon__apres-pick-loading { padding: 14px 9px; font-size: 13px; color: var(--muted, #6b7280); }
.recon__apres-pick-item {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 9px;
  border-radius: 8px; background: var(--card, #fff); border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.recon__apres-pick-item:hover { background: var(--bg-soft, #f3f5f4); }
.recon__apres-pick-item.is-dragging { opacity: .6; border-color: var(--accent, #58c8dc); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.recon__apres-pick-grip {
  flex: 0 0 auto; cursor: grab; color: var(--muted, #9aa0a6); font-size: 15px;
  line-height: 1; user-select: none; padding: 0 2px;
}
.recon__apres-pick-grip:active { cursor: grabbing; }
.recon__apres-pick-item input {
  width: 16px; height: 16px; flex: 0 0 auto; cursor: pointer;
  accent-color: var(--accent, #58c8dc);
}
.recon__apres-pick-n {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--muted, #6b7280); min-width: 20px; text-align: right; font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.recon__apres-pick-t {
  flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--txt, #1f2937); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.recon__apres-pick-item input:not(:checked) ~ .recon__apres-pick-t {
  color: var(--muted, #9aa0a6); text-decoration: line-through; opacity: .7;
}
.recon__apres-pick-hint {
  margin-top: 12px; font-size: 11px; color: var(--muted, #6b7280); line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════════════
   APRESENTAÇÃO CORPORATIVA · v0.3.0. paleta FB · scroll interno · tooltip
   Prefixo .rec-apres-* (stage fullscreen, fora de .recon)
   Prefixo .apres-*     (componentes dentro do slide)
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Stage + HUD ─────────────────────────────────────────────────────── */
.rec-apres-stage {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Barlow', sans-serif;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.rec-apres-hud {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 22px;
  background: var(--card);
  border-bottom: 1px solid var(--primary-soft);
  height: 56px;
  flex-shrink: 0;
  z-index: 10;
}
.rec-apres-hud__left {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--txt);
  letter-spacing: 0.01em;
}
.rec-apres-hud__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  animation: apres-pulse 2s ease-in-out infinite;
}
@keyframes apres-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.rec-apres-hud__center { text-align: center; }
.rec-apres-hud__progress {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 20px;
  background: var(--bg);
  font-size: 12px; font-weight: 600;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  border: 1px solid var(--primary-soft);
}
.rec-apres-hud__right { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.rec-apres-hud__btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--primary-soft);
  background: var(--card);
  color: var(--sub);
  cursor: pointer;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.rec-apres-hud__btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.rec-apres-lang {
  display: inline-flex;
  border: 1px solid var(--primary-soft);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.rec-apres-lang__btn {
  background: transparent;
  border: none;
  color: var(--sub);
  font: 600 11px/1 'Barlow', sans-serif;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.rec-apres-lang__btn:hover { color: var(--primary); background: var(--bg); }
.rec-apres-lang__btn.is-active {
  background: var(--primary);
  color: var(--card);
}

/* ─── Slide container · scroll interno ────────────────────────────────── */
.rec-apres-slide {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 60px 80px 80px;
  scroll-behavior: smooth;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.rec-apres-slide.is-in { opacity: 1; transform: translateY(0); }
.rec-apres-slide > * {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.rec-apres-slide::-webkit-scrollbar { width: 10px; }
.rec-apres-slide::-webkit-scrollbar-track { background: transparent; }
.rec-apres-slide::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: 5px; }
.rec-apres-slide::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.rec-apres-nav {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.rec-apres-nav__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--primary-soft);
  background: var(--card);
  color: var(--sub);
  cursor: pointer;
  font-size: 22px; font-weight: 300;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 2px 8px rgba(56, 29, 84, 0.06);
}
.rec-apres-nav__btn:hover {
  background: var(--primary);
  color: var(--card);
  border-color: var(--primary);
  transform: scale(1.08);
}

.rec-apres-editable {
  outline: 2px dashed var(--gold);
  outline-offset: 3px;
  background: var(--gold-soft);
  border-radius: 4px;
  cursor: text;
}
.rec-apres-editable:focus { outline-color: var(--accent); background: var(--accent-soft); }
.rec-apres-stage.is-editing .rec-apres-hud__dot { background: var(--accent); }

/* ─── Tipografia comum ────────────────────────────────────────────────── */
.apres-content {
  display: flex; flex-direction: column; gap: 18px;
}
.apres-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0;
}
.apres-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin: -4px 0 0;
}
.apres-h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin: 18px 0 10px;
  letter-spacing: -0.005em;
}
.apres-lead {
  font-size: 16px;
  line-height: 1.62;
  color: var(--sub);
  max-width: 880px;
  margin: 0;
}

/* ─── Tooltip universal · data-tip ────────────────────────────────────── */
[data-tip] { position: relative; cursor: help; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--primary);
  color: var(--card);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 260px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
[data-tip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}
[data-tip]:hover::after, [data-tip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[data-tip-pos="bottom"]::after { bottom: auto; top: calc(100% + 8px); }
[data-tip-pos="bottom"]::before {
  bottom: auto; top: calc(100% + 2px);
  border-top-color: transparent;
  border-bottom-color: var(--primary);
}

/* ─── Cover (slide 1) ─────────────────────────────────────────────────── */
.apres-cover {
  display: flex; flex-direction: column;
  min-height: calc(100vh - 56px - 120px);
  padding: 20px 0;
}
.apres-cover__brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 60px;
}
.apres-cover__brand-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.02em;
}
.apres-cover__brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.005em;
}
.apres-cover__main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.apres-cover__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.apres-cover__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 18px;
  max-width: 920px;
}
.apres-cover__title--big { font-size: 76px; }
.apres-cover__client {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.apres-cover__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sub);
  max-width: 760px;
  margin: 0 0 36px;
}
.apres-cover__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--primary-soft);
}
.apres-cover__kpi { display: flex; flex-direction: column; gap: 6px; }
.apres-cover__kpi-v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}
.apres-cover__kpi-l {
  font-size: 12px;
  font-weight: 500;
  color: var(--sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.apres-cover__foot {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 36px;
  letter-spacing: 0.02em;
}
.apres-cover--closing {
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 50%, var(--gold-soft) 100%);
  border-radius: 16px;
  padding: 70px 80px;
}
.apres-cover--closing::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold-soft), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.apres-cover__cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--primary-soft);
  position: relative;
}
.apres-cover__cta-stats > div { display: flex; flex-direction: column; gap: 4px; }
.apres-cover__cta-stats b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
}
.apres-cover__cta-stats span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
}

/* ─── Cards / stats ───────────────────────────────────────────────────── */
.apres-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apres-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apres-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.apres-stat {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 6px;
  border-left: 3px solid var(--primary);
}
.apres-stat--danger { border-left-color: var(--crit); background: var(--crit-bg); }
.apres-stat--warn { border-left-color: var(--warn); background: var(--warn-bg); }
.apres-stat--accent { border-left-color: var(--accent); background: var(--accent-soft); }
.apres-stat__val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px; font-weight: 700;
  color: var(--primary);
  line-height: 1; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.apres-stat--danger .apres-stat__val { color: var(--crit); }
.apres-stat__lbl {
  font-size: 13px; font-weight: 600;
  color: var(--txt);
  margin-top: 2px;
}
.apres-stat__hint {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.5;
}

.apres-callout {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--txt);
}
.apres-callout b { color: var(--primary); font-weight: 700; }
.apres-callout--soft {
  background: var(--primary-soft);
  border-left-color: var(--primary);
}

/* ─── Charts ──────────────────────────────────────────────────────────── */
.apres-chart-wrap {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 22px 14px;
}
.apres-chart { width: 100%; height: auto; display: block; }
.apres-bar {
  transition: y 0.6s cubic-bezier(.32, .72, .26, .98), height 0.6s cubic-bezier(.32, .72, .26, .98);
  cursor: pointer;
}
.apres-bar:hover { filter: brightness(1.12); }
.apres-bar-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  fill: var(--txt);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.apres-bar-value.is-in { opacity: 1; }
.apres-axis-lbl {
  font-family: 'Barlow', sans-serif;
  font-size: 10.5px;
  fill: var(--muted);
  font-variant-numeric: tabular-nums;
}
.apres-chart-legend {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--sub);
}
.apres-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.apres-legend-sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* ─── Method · Flow (slide 3) ─────────────────────────────────────────── */
.apres-flow {
  display: flex; align-items: stretch; gap: 6px;
  margin: 8px 0 10px;
}
.apres-flow__node {
  flex: 1; min-width: 0;
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 14px 14px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: apres-fade-up 0.5s var(--ease-out) both;
  animation-delay: var(--delay, 0ms);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.apres-flow__node:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(56, 29, 84, 0.08);
}
.apres-flow__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.apres-flow__icon-wrap {
  width: 44px; height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}
.apres-flow__icon-wrap svg { width: 22px; height: 22px; }
.apres-flow__t {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.apres-flow__d {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.45;
}
.apres-flow__arrow {
  font-size: 22px; color: var(--gold);
  display: flex; align-items: center; padding: 0 2px;
  opacity: 0;
  animation: apres-fade-in 0.35s var(--ease-out) both;
  animation-delay: var(--delay, 0ms);
}
.apres-flow-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.apres-flow-principle {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  font-size: 12px;
  line-height: 1.45;
  color: var(--txt);
}
.apres-flow-principle b {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 2px;
}

@keyframes apres-fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes apres-fade-in { to { opacity: 1; } }

/* ─── Behaviors matrix (slide 4) ──────────────────────────────────────── */
.apres-bhv {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  overflow: hidden;
}
.apres-bhv-head {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 130px 100px;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--primary-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-bhv-head > span:nth-child(3),
.apres-bhv-head > span:nth-child(4) { text-align: right; }
.apres-bhv-head__bars { display: inline-flex; align-items: center; gap: 14px; }
.apres-bhv-body {
  max-height: 380px;
  overflow-y: auto;
}
.apres-bhv-row {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 130px 100px;
  gap: 16px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 13.5px;
  transition: background 0.15s ease;
}
.apres-bhv-row:last-child { border-bottom: none; }
.apres-bhv-row:hover { background: var(--bg-soft); }
.apres-bhv-row.is-clickable { cursor: pointer; }
.apres-bhv-row__name { color: var(--txt); font-weight: 500; }
.apres-bhv-row__see { color: var(--accent); font-size: 11px; font-weight: 600; }

/* coluna OCORRÊNCIA: barra + valor numérico ao lado */
.apres-bhv-row__occ {
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 10px;
  align-items: center;
}
.apres-bhv-row__occ-bar {
  height: 10px;
  background: var(--primary-soft);
  border-radius: 5px;
  overflow: hidden;
}
.apres-bhv-row__occ-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 5px;
  transition: width 0.7s cubic-bezier(.32, .72, .26, .98);
}
.apres-bhv-row__occ-val {
  font-variant-numeric: tabular-nums;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  letter-spacing: -0.005em;
}

/* coluna PESO MÉDIO */
.apres-bhv-row__weight {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}

/* coluna % QUALIFICA: pill colorido */
.apres-bhv-row__qual {
  text-align: right;
}
.apres-bhv-row__qual-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
/* cores dos pills consumem os tokens --rec-tone-* (definidos na seção v0.4.0) */

/* legenda dos pills no rodapé da tabela */
.apres-bhv-foot {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 22px;
  background: var(--bg-soft);
  border-top: 1px solid var(--primary-soft);
  font-size: 11px;
  color: var(--sub);
}
.apres-bhv-foot__legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.apres-bhv-foot__sw {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
/* cores dos swatches consomem --rec-tone-*-sw (definidos na seção v0.4.0) */

/* regras antigas (FB suggestion) mantidas como dormentes pra evitar regressão
   em estados intermediários - nenhuma referência viva no JS v0.4.0+ */
.apres-bhv-row__bars { display: flex; flex-direction: column; gap: 5px; }
.apres-bhv-row__bar {
  position: relative;
  height: 14px;
  background: var(--primary-soft);
  border-radius: 7px;
  overflow: hidden;
  display: flex; align-items: center;
}
.apres-bhv-row__bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: 7px;
  transition: width 0.7s cubic-bezier(.32, .72, .26, .98);
}
.apres-bhv-row__bar b {
  position: relative; z-index: 1;
  margin-left: auto; padding-right: 8px;
  font-size: 10.5px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--txt);
}
.apres-bhv-row__bar--client span { background: var(--muted); }
.apres-bhv-row__bar--fb span     { background: var(--gold); }
.apres-bhv-row__sw {
  display: inline-block; width: 10px; height: 10px; border-radius: 2px;
}
.apres-bhv-row__sw--client { background: var(--muted); }
.apres-bhv-row__sw--fb { background: var(--gold); }
.apres-bhv-row__delta {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--sub);
}

/* ─── Scoring engine (slide 5) ────────────────────────────────────────── */
.apres-scor {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.apres-scor__panel,
.apres-scor__ranking {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 16px 20px;
}
.apres-scor__head {
  display: grid;
  grid-template-columns: 1.2fr 70px 1.8fr 40px 40px;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-scor__head > span:nth-child(2) { text-align: center; }
.apres-scor__head > span:nth-child(4),
.apres-scor__head > span:nth-child(5) { text-align: right; }
.apres-scor-row {
  display: grid;
  grid-template-columns: 1.2fr 70px 1.8fr 40px 40px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 13px;
}
.apres-scor-row:last-child { border-bottom: none; }
.apres-scor-row__name { color: var(--txt); font-size: 12.5px; }
.apres-scor-row__qual { text-align: center; }
.apres-scor-row__qual .apres-bhv-row__qual-pill { font-size: 10.5px; padding: 3px 8px; }
.apres-scor-row__slider {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 4px;
  background: var(--primary-soft);
  border-radius: 2px;
  outline: none; cursor: pointer;
}
.apres-scor-row__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: grab; border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--gold-dark), 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.1s ease;
}
.apres-scor-row__slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.apres-scor-row__slider::-moz-range-thumb {
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  cursor: grab; border: 3px solid var(--card);
}
.apres-scor-row__val-client {
  text-align: right;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
}
.apres-scor-row__val-fb {
  text-align: right;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-family: 'Barlow Condensed', sans-serif;
}
.apres-scor__ranking h4 {
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--primary);
  display: flex; justify-content: space-between; align-items: center;
}
.apres-scor__tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Barlow', sans-serif;
}
.apres-scor-rank {
  display: grid;
  grid-template-columns: 22px 1.4fr 1fr 40px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  font-size: 12.5px;
  transition: transform 0.5s var(--ease-out);
}
.apres-scor-rank__pos {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.apres-scor-rank__name {
  color: var(--txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.apres-scor-rank__bar {
  height: 7px;
  background: var(--primary-soft);
  border-radius: 4px;
  overflow: hidden; position: relative;
}
.apres-scor-rank__bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.5s var(--ease-out), background 0.3s ease;
}
.apres-scor-rank.is-mid .apres-scor-rank__bar span { background: var(--gold); }
.apres-scor-rank.is-bad .apres-scor-rank__bar span { background: var(--crit); }
.apres-scor-rank__v {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--sub);
  font-size: 11.5px;
  font-weight: 600;
}

/* ─── Filter pills (usado em vários slides) ───────────────────────────── */
.apres-filters {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 8px;
}
.apres-filter {
  border: none;
  background: transparent;
  color: var(--sub);
  font: 600 12px/1 'Barlow', sans-serif;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.apres-filter:hover { color: var(--primary); }
.apres-filter.is-active {
  background: var(--card);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(56, 29, 84, 0.08);
}

/* ─── Risk tiers · donut (slide 6) ────────────────────────────────────── */
.apres-risk {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
}
.apres-risk__donut { display: flex; justify-content: center; }
.apres-donut { width: 100%; height: auto; max-width: 260px; }
.apres-donut__arc { transition: stroke-dasharray 0.7s cubic-bezier(.32, .72, .26, .98); }
.apres-donut__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 46px;
  font-weight: 700;
  fill: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.apres-donut__lbl {
  font-size: 11px;
  fill: var(--muted);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.apres-risk__legend { display: flex; flex-direction: column; gap: 10px; }
.apres-risk__tier {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 10px;
  padding: 14px 18px;
  border-left: 3px solid var(--muted);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.apres-risk__tier:hover { transform: translateX(3px); }
.apres-risk__tier--g1 { border-left-color: var(--crit); }
.apres-risk__tier--g2 { border-left-color: #E5A41C; }
.apres-risk__tier--g3 { border-left-color: var(--accent); }
.apres-risk__tier-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 4px;
}
.apres-risk__tier-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.apres-risk__tier--g1 .apres-risk__tier-tag { color: var(--crit); }
.apres-risk__tier--g2 .apres-risk__tier-tag { color: #8a5d09; }
.apres-risk__tier--g3 .apres-risk__tier-tag { color: var(--accent); }
.apres-risk__tier-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  letter-spacing: -0.015em;
}
.apres-risk__tier-lbl { font-size: 13.5px; font-weight: 600; color: var(--txt); }
.apres-risk__tier-desc { font-size: 12px; color: var(--sub); margin-top: 2px; }

.apres-suprep {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 14px 20px;
}
.apres-suprep h4 {
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--primary);
  display: flex; align-items: baseline; gap: 12px;
  letter-spacing: -0.005em;
}
.apres-suprep__hint {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
}
.apres-suprep__list { display: flex; flex-direction: column; gap: 7px; }
.apres-suprep__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 60px;
  gap: 12px;
  align-items: center;
  font-size: 12.5px;
}
.apres-suprep__name { color: var(--txt); }
.apres-suprep__bar {
  height: 7px;
  background: var(--primary-soft);
  border-radius: 4px;
  overflow: hidden;
}
.apres-suprep__bar span {
  display: block; height: 100%;
  background: var(--crit);
  border-radius: 4px;
  transition: width 0.7s cubic-bezier(.32, .72, .26, .98);
}
.apres-suprep__v {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--crit);
  font-weight: 700;
  font-size: 13px;
  font-family: 'Barlow Condensed', sans-serif;
}

/* ─── Pre-Accident Window · timeline real (slide 7) ───────────────────── */
.apres-pre-case {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 22px;
}
.apres-pre-case__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--primary-soft);
  margin-bottom: 14px;
}
.apres-pre-case__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
  margin: 0;
}
.apres-pre-case__meta {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
  line-height: 1.4;
}
.apres-pre-case__meta b { color: var(--crit); font-weight: 600; }
.apres-pre-case__badge {
  background: var(--crit-bg);
  color: var(--crit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.apres-pre-timeline {
  position: relative;
  padding: 24px 8px 16px;
}
.apres-pre-timeline__axis {
  position: relative;
  height: 2px;
  background: var(--primary-soft);
  margin: 30px 0;
}
.apres-pre-event {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--muted);
  border: 2px solid var(--card);
  cursor: pointer;
  transition: transform 0.18s ease;
  z-index: 2;
}
.apres-pre-event:hover { transform: translate(-50%, -50%) scale(1.5); z-index: 3; }
.apres-pre-event.has-score { background: var(--warn); width: 14px; height: 14px; }
.apres-pre-event.is-accident {
  background: var(--crit);
  width: 22px; height: 22px;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--crit-soft);
  animation: apres-accident-pulse 2.5s ease-in-out infinite;
}
@keyframes apres-accident-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--crit-soft); }
  50% { box-shadow: 0 0 0 8px var(--crit-soft); }
}
.apres-pre-event__lbl {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.apres-pre-event.is-accident .apres-pre-event__lbl {
  color: var(--crit); font-weight: 700;
}
.apres-pre-timeline__day-marker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.apres-pre-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.apres-pre-stat {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 16px;
}
.apres-pre-stat--hl {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
}
.apres-pre-stat__v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}
.apres-pre-stat--hl .apres-pre-stat__v { color: var(--gold-dark); }
.apres-pre-stat__l {
  font-size: 11px;
  color: var(--sub);
  margin-top: 4px;
  line-height: 1.4;
}

/* ─── Trends + Winners (slide 8) ──────────────────────────────────────── */
.apres-trends { margin-top: 2px; }
.apres-chart--line { width: 100%; height: auto; }

.apres-rank-table {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  overflow: hidden;
}
.apres-rank-table__head {
  display: grid;
  grid-template-columns: 36px 1.8fr 80px 70px 80px 80px;
  gap: 12px;
  padding: 12px 22px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--primary-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-rank-table__head > *:not(:nth-child(2)) { text-align: right; }
.apres-rank-row {
  display: grid;
  grid-template-columns: 36px 1.8fr 80px 70px 80px 80px;
  gap: 12px;
  align-items: center;
  padding: 11px 22px;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 13px;
  transition: background 0.15s ease;
}
.apres-rank-row:last-child { border-bottom: none; }
.apres-rank-row:hover { background: var(--bg-soft); }
.apres-rank-row.is-top { background: var(--accent-soft); }
.apres-rank-row.is-top:hover { background: rgba(88, 200, 220, .12); }
.apres-rank-row.is-bottom { background: var(--crit-bg); }
.apres-rank-row > *:not(.apres-rank-row__name) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.apres-rank-row__pos {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  text-align: center !important;
}
.apres-rank-row.is-top .apres-rank-row__pos { color: var(--accent); }
.apres-rank-row.is-bottom .apres-rank-row__pos { color: var(--crit); }
.apres-rank-row__name {
  color: var(--txt);
  font-weight: 500;
}
.apres-rank-row__rate {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--sub);
}
.apres-rank-row.is-top .apres-rank-row__rate { color: var(--accent); }
.apres-rank-row.is-bottom .apres-rank-row__rate { color: var(--crit); }

/* ─── Reward Architecture (slide 9) ───────────────────────────────────── */
.apres-reward { display: flex; flex-direction: column; gap: 16px; }
.apres-reward__rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.apres-reward__rule {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.18s ease;
}
.apres-reward__rule:hover { transform: translateY(-2px); }
.apres-reward__rule-v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  letter-spacing: -0.015em;
}
.apres-reward__rule-l {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.35;
}
.apres-reward__rule-d {
  font-size: 11.5px;
  color: var(--sub);
  line-height: 1.45;
}

.apres-reward__split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}
.apres-reward__calc {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 22px;
}
.apres-reward__calc h4 {
  margin: 0 0 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--primary);
  display: flex; align-items: baseline; justify-content: space-between;
}
.apres-reward__calc-hint {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.04em;
}
.apres-reward__calc-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 56px;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
  font-size: 12.5px;
}
.apres-reward__calc-row label { color: var(--txt); font-size: 12.5px; }
.apres-reward__calc-row input[type=range] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 4px;
  background: var(--primary-soft);
  border-radius: 2px;
  outline: none;
}
.apres-reward__calc-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: var(--gold); border-radius: 50%;
  cursor: grab; border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--gold-dark);
}
.apres-reward__calc-row input[type=range]::-moz-range-thumb {
  width: 14px; height: 14px;
  background: var(--gold); border-radius: 50%;
  cursor: grab; border: 3px solid var(--card);
}
.apres-reward__calc-row > span {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
  font-family: 'Barlow Condensed', sans-serif;
}
.apres-reward__calc-out {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--primary-soft);
}
.apres-reward__calc-out-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--sub);
}
.apres-reward__calc-out-row b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.apres-reward__calc-out-row--hl {
  background: var(--gold-soft);
  padding: 10px 12px;
  margin: 8px -12px 0;
  border-radius: 8px;
}
.apres-reward__calc-out-row--hl b { color: var(--gold-dark); font-size: 22px; }

.apres-reward__card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--card);
  border-radius: 14px;
  padding: 24px 24px 22px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 220px;
}
.apres-reward__card::before {
  content: '';
  position: absolute;
  top: -40%; right: -25%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  border-radius: 50%;
}
.apres-reward__card-head {
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
}
.apres-reward__card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.apres-reward__card-chip {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
}
.apres-reward__card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 6px;
  letter-spacing: -0.01em;
  position: relative;
}
.apres-reward__card-holder {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: auto;
  position: relative;
}
.apres-reward__card-foot {
  display: flex; justify-content: space-between;
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
  letter-spacing: 0.04em;
  position: relative;
}

.apres-reward__gates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.apres-reward__gate {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  display: flex; flex-direction: column; gap: 3px;
}
.apres-reward__gate b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.015em;
}
.apres-reward__gate span {
  font-size: 11.5px;
  color: var(--sub);
  line-height: 1.35;
}
.apres-reward__gate--block { border-left-color: var(--crit); }
.apres-reward__gate--block b { color: var(--crit); }

/* ─── Roadmap timeline (slide 10). animado ───────────────────────────── */
.apres-tl {
  display: flex; gap: 6px;
  margin-top: 18px;
  padding: 28px 12px 14px;
  position: relative;
  align-items: flex-start;
}
.apres-tl__rail {
  position: absolute;
  top: 42px;
  left: 42px; right: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 100%);
  border-radius: 1px;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: apres-rail-grow 1.2s 0.3s var(--ease-out) forwards;
}
@keyframes apres-rail-grow { to { transform: scaleX(1); } }
.apres-tl__step {
  flex: 1; min-width: 0;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0;
  transform: translateY(10px);
  animation: apres-fade-up 0.5s var(--ease-out) both;
  animation-delay: var(--delay, 0ms);
}
.apres-tl__dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-soft);
  margin-bottom: 16px;
  position: relative;
}
.apres-tl__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: apres-dot-ring 2s var(--delay) ease-out infinite;
}
@keyframes apres-dot-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.apres-tl__card {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  text-align: left;
}
.apres-tl__when {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.apres-tl__what {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.apres-tl__desc {
  font-size: 11.5px;
  color: var(--sub);
  line-height: 1.5;
}

/* ─── Animações stagger comuns ────────────────────────────────────────── */
.rec-apres-slide.is-in .apres-eyebrow  { animation: apres-fade-up 0.4s 60ms  var(--ease-out) both; }
.rec-apres-slide.is-in .apres-h2       { animation: apres-fade-up 0.45s 130ms var(--ease-out) both; }
.rec-apres-slide.is-in .apres-lead     { animation: apres-fade-up 0.45s 210ms var(--ease-out) both; }
.rec-apres-slide.is-in .apres-grid-2,
.rec-apres-slide.is-in .apres-grid-3,
.rec-apres-slide.is-in .apres-grid-4,
.rec-apres-slide.is-in .apres-chart-wrap,
.rec-apres-slide.is-in .apres-bhv,
.rec-apres-slide.is-in .apres-scor,
.rec-apres-slide.is-in .apres-risk,
.rec-apres-slide.is-in .apres-suprep,
.rec-apres-slide.is-in .apres-pre-case,
.rec-apres-slide.is-in .apres-rank-table,
.rec-apres-slide.is-in .apres-reward,
.rec-apres-slide.is-in .apres-ritmo,
.rec-apres-slide.is-in .apres-callout { animation: apres-fade-up 0.5s 300ms var(--ease-out) both; }
.rec-apres-slide.is-in .apres-cover__kpis { animation: apres-fade-up 0.6s 450ms var(--ease-out) both; }

/* ─── Responsivo · stages menores ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .rec-apres-slide { padding: 40px 50px 70px; }
  .apres-cover__title { font-size: 48px; }
  .apres-cover__title--big { font-size: 56px; }
  .apres-h2 { font-size: 30px; }
  .apres-flow { flex-wrap: wrap; }
  .apres-flow__arrow { display: none; }
  .apres-flow-principles { grid-template-columns: repeat(2, 1fr); }
  .apres-cover__kpis { grid-template-columns: repeat(2, 1fr); }
  .apres-reward__rules { grid-template-columns: repeat(2, 1fr); }
  .apres-reward__gates { grid-template-columns: repeat(2, 1fr); }
  .apres-reward__split { grid-template-columns: 1fr; }
  .apres-scor { grid-template-columns: 1fr; }
  .apres-risk { grid-template-columns: 1fr; }
  .apres-rank-table__head,
  .apres-rank-row {
    grid-template-columns: 30px 1.2fr 60px 60px;
    font-size: 11.5px;
  }
  .apres-rank-table__head > *:nth-child(n+5),
  .apres-rank-row > *:nth-child(n+5) { display: none; }
  .apres-tl { flex-wrap: wrap; }
  .apres-tl__rail { display: none; }
  .apres-tl__step { flex: 1 1 calc(50% - 6px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.4.0 · Componentes adicionais
   Estudo FB · Pre-Accident V2 · Line chart V2 · Reward components ·
   Designer · Podium · Tier cards · Quote do Closing
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Slide 7 · Estudo FB · tabela piores vs melhores ─────────────────── */
.apres-estudo {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 16px 22px 12px;
}
.apres-estudo__legend {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 12px; color: var(--sub);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--primary-soft);
}
.apres-estudo__legend .apres-legend-item--last {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}
.apres-estudo__head {
  display: grid;
  grid-template-columns: 110px 1fr 130px;
  gap: 16px;
  padding-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  border-bottom: 1px solid var(--primary-soft);
  margin-bottom: 4px;
}
.apres-estudo__head > span:nth-child(3) { text-align: right; }
.apres-estudo-row {
  display: grid;
  grid-template-columns: 110px 1fr 130px;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--primary-soft);
  transition: background 0.15s ease;
}
.apres-estudo-row:last-child { border-bottom: none; }
.apres-estudo-row:hover { background: var(--bg-soft); }
.apres-estudo-row__faixa {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.apres-estudo-row__pair {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 8px;
  align-items: center;
}
.apres-estudo-row__bar {
  position: relative;
  height: 26px;
  border-radius: 6px;
  background: var(--primary-soft);
  overflow: hidden;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
}
.apres-estudo-row__bar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  transition: width 0.7s cubic-bezier(.32,.72,.26,.98);
  border-radius: 6px;
}
.apres-estudo-row__bar.is-loaded::before { width: var(--w); }
.apres-estudo-row__bar--p::before { background: var(--crit); }
.apres-estudo-row__bar--m::before { background: var(--accent); }
.apres-estudo-row__bar span {
  position: relative;
  z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--card);
  text-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.apres-estudo-row__sep {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}
.apres-estudo-row__score {
  text-align: right;
  font-size: 14px;
  color: var(--crit);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.apres-estudo-row__score small { font-size: 13.5px; font-weight: 700; }

/* ─── Slide 8 · Pre-Accident V2 · clusters por dia + accident marker ─── */
.apres-pre-toolbar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 4px 0;
}
.apres-pre-toolbar__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-pre-toolbar .apres-filter small { display: block; font-size: 10px; opacity: 0.7; }
.apres-pre-timeline {
  position: relative;
  padding: 60px 16px 50px;
  min-height: 140px;
}
.apres-pre-timeline__axis {
  position: absolute;
  top: 50%; left: 16px; right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-soft) 0%, var(--gold-soft) 60%, var(--crit-soft) 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: apres-rail-grow 1.1s 0.2s var(--ease-out) forwards;
}
.apres-pre-day {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  z-index: 2;
}
.apres-pre-day__lbl {
  position: absolute;
  bottom: 100%;
  margin-bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.apres-pre-event {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--muted);
  border: 2px solid var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  opacity: 0;
  animation: apres-fade-in 0.4s var(--ease-out) forwards;
  animation-delay: calc(0.4s + var(--d, 0) * 25ms);
}
.apres-pre-event:hover {
  transform: translate(-50%, -50%) scale(1.6);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.apres-pre-event.has-score {
  background: var(--warn);
  width: 13px; height: 13px;
}
.apres-pre-accident-marker {
  position: absolute;
  top: 50%; right: 12px;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
  z-index: 3;
}
.apres-pre-accident-marker__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--crit);
  color: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 0 4px var(--crit-soft);
  animation: apres-accident-pulse 2s ease-in-out infinite;
}
@keyframes apres-accident-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--crit-soft); }
  50%      { box-shadow: 0 0 0 12px var(--crit-soft); }
}
.apres-pre-accident-marker__lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--crit);
}

/* ─── Slide 9 · Line chart V2 (com path-draw e rótulos) ───────────────── */
.apres-chart--linev2 { width: 100%; height: auto; }
.apres-line-path { transition: stroke-dashoffset 1.4s cubic-bezier(.32,.72,.26,.98); }
.apres-line-area { opacity: 0; animation: apres-fade-in 0.6s 1.1s var(--ease-out) forwards; }
.apres-line-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: var(--txt);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  animation: apres-fade-in 0.4s 1.3s var(--ease-out) forwards;
}
.apres-line-point { cursor: pointer; }
.apres-line-point:hover circle:nth-child(2) { r: 6; transition: r 0.15s ease; }

/* ─── Slide 10 · Reward · components com escala temporal ──────────────── */
.apres-reward-comp {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
  border-left: 3px solid var(--accent);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.apres-reward-comp:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 29, 84,0.06); }
.apres-reward-comp--pos { border-left-color: var(--accent); }
.apres-reward-comp--star { border-left-color: var(--gold); background: linear-gradient(135deg, var(--card) 0%, var(--gold-soft) 100%); }
.apres-reward-comp--neg { border-left-color: var(--crit); background: var(--crit-bg); }
.apres-reward-comp__hd {
  display: flex; align-items: baseline; justify-content: space-between;
}
.apres-reward-comp__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.apres-reward-comp--star .apres-reward-comp__num { color: var(--gold-dark); }
.apres-reward-comp--neg .apres-reward-comp__num { color: var(--crit); }
.apres-reward-comp__tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.apres-reward-comp__t {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
}
.apres-reward-comp__rule {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.5;
}
.apres-reward-comp__bar {
  height: 6px;
  background: var(--primary-soft);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2px;
}
.apres-reward-comp__bar-fill {
  display: block; height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0;
  animation: apres-bar-grow 0.9s 0.4s cubic-bezier(.32,.72,.26,.98) forwards;
}
@keyframes apres-bar-grow { to { width: var(--w); } }
.apres-reward-comp__meta {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.apres-reward-comp__scale { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.apres-reward-comp__scale-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-soft);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.apres-reward-comp__scale-row b {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--gold-dark);
}
.apres-reward-comp__scale-row span { color: var(--sub); }
.apres-reward-comp__scale-row--more b { color: var(--muted); }
.apres-reward-comp__scale-row--more span { font-style: italic; color: var(--muted); }

/* ─── Slide 11 · Designer · configuração dinâmica ─────────────────────── */
.apres-designer {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}
.apres-designer__main, .apres-designer__side {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 22px;
}
.apres-designer__head {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 40px 32px;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-designer__row {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 40px 32px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 13px;
  transition: background 0.15s ease;
}
.apres-designer__row:hover { background: var(--bg-soft); }
.apres-designer__var-name {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--txt);
  font-size: 12.5px;
}
.apres-designer__var-sw {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.apres-designer__slider {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 4px;
  background: var(--primary-soft);
  border-radius: 2px;
  outline: none; cursor: pointer;
}
.apres-designer__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%; cursor: grab;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--gold-dark);
}
.apres-designer__slider::-moz-range-thumb {
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%; cursor: grab;
  border: 3px solid var(--card);
}
.apres-designer__weight {
  text-align: right;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.apres-designer__btn-rem {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--primary-soft);
  background: transparent;
  color: var(--muted);
  font-size: 16px; line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.apres-designer__btn-rem:hover {
  background: var(--crit-bg);
  color: var(--crit);
  border-color: var(--crit);
}
.apres-designer__add {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--primary-soft);
}
.apres-designer__add input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--primary-soft);
  border-radius: 6px;
  font: 13px 'Barlow', sans-serif;
  color: var(--txt);
  background: var(--bg-soft);
  outline: none;
  transition: border-color 0.15s ease;
}
.apres-designer__add input:focus { border-color: var(--accent); background: var(--card); }
.apres-designer__btn-add {
  border: none;
  background: var(--primary);
  color: var(--card);
  font: 600 12px/1 'Barlow', sans-serif;
  letter-spacing: 0.04em;
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 12px;
  transition: background 0.15s ease;
}
.apres-designer__btn-add:hover { background: var(--primary-dark); }
.apres-designer__sum-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--sub);
}
.apres-designer__sum-row b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  transition: color 0.3s ease;
}
.apres-designer__side h4 {
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.apres-designer__chart {
  display: flex; justify-content: center;
  margin-bottom: 14px;
}
.apres-designer__budget {
  padding-top: 14px;
  border-top: 1px solid var(--primary-soft);
}
.apres-designer__budget label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 6px;
}
.apres-designer__budget-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
}
.apres-designer__budget-sym {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--sub);
  font-size: 14px;
}
.apres-designer__budget-row input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--primary-soft);
  border-radius: 6px;
  font: 700 16px 'Barlow Condensed', sans-serif;
  color: var(--primary);
  background: var(--bg-soft);
  outline: none;
  font-variant-numeric: tabular-nums;
}
.apres-designer__budget-unit {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.apres-designer__budget-out {
  display: grid;
  gap: 6px;
}
.apres-designer__budget-out > div {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px;
  color: var(--sub);
  padding: 6px 0;
}
.apres-designer__budget-out > div b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

/* ─── Slide 12 · Pódio + Tier cards ───────────────────────────────────── */
.apres-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: end;
  padding: 30px 60px 0;
  margin: 12px 0 18px;
  min-height: 240px;
}
.apres-podium__bar {
  position: relative;
  height: var(--h, 120px);
  border-radius: 12px 12px 0 0;
  padding: 16px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  transform-origin: bottom;
  animation: apres-podium-rise 0.7s var(--ease-out) both;
  animation-delay: var(--d, 200ms);
}
.apres-podium__bar--gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary);
  --d: 600ms;
}
.apres-podium__bar--silver {
  background: linear-gradient(180deg, #d0d5db 0%, #a0a8b0 100%);
  color: var(--primary);
  --d: 400ms;
}
.apres-podium__bar--bronze {
  background: linear-gradient(180deg, #c89265 0%, #a4724a 100%);
  color: var(--card);
  --d: 200ms;
}
@keyframes apres-podium-rise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.apres-medal {
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  font-size: 36px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}
.apres-podium__rank {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-top: 12px;
}
.apres-podium__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.apres-podium__rate {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}
.apres-podium__crown {
  position: absolute;
  top: -56px; left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  animation: apres-crown-bob 2s ease-in-out infinite;
}
@keyframes apres-crown-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}

.apres-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.apres-tier-card {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  padding: 18px 16px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  border-top: 3px solid var(--muted);
}
.apres-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(56, 29, 84, 0.10);
}
.apres-tier-card--bronze  { border-top-color: #c89265; }
.apres-tier-card--silver  { border-top-color: #a0a8b0; }
.apres-tier-card--gold    { border-top-color: var(--gold); }
.apres-tier-card--diamond { border-top-color: var(--accent); }
.apres-tier-card__shield {
  font-size: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}
.apres-tier-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
}
.apres-tier-card__cycle {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 4px 0 8px;
}
.apres-tier-card__desc {
  font-size: 11.5px;
  color: var(--sub);
  line-height: 1.5;
}

/* ─── Slide 14 · Closing · blockquote do Danilo ───────────────────────── */
.apres-quote {
  position: relative;
  margin: 20px 0;
  padding: 28px 36px 24px;
  background: var(--card);
  border-radius: 14px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 8px 28px rgba(56, 29, 84, 0.06);
  max-width: 800px;
}
.apres-quote__mark {
  position: absolute;
  top: -8px; left: 18px;
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 1;
  color: var(--gold);
  font-weight: 700;
}
.apres-quote__text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary);
  font-style: italic;
  letter-spacing: -0.005em;
}
.apres-quote__attr {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-style: normal;
}

/* ─── Responsivo adicional para v0.4.0 ────────────────────────────────── */
@media (max-width: 1100px) {
  .apres-designer { grid-template-columns: 1fr; }
  .apres-podium   { padding: 30px 20px 0; }
  .apres-tier-grid { grid-template-columns: repeat(2, 1fr); }
  .apres-estudo__head,
  .apres-estudo-row { grid-template-columns: 80px 1fr 100px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.5.0 · Logo real, paleta pastel, manifesto, filtro motorista, rewards
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Cover · logo FB real ────────────────────────────────────────────── */
.apres-cover__brand-logo {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.apres-cover__brand {
  display: flex; align-items: center;
  margin-bottom: 56px;
}

/* ─── Risk Tiers · paleta pastel ──────────────────────────────────────── */
.apres-risk__tier--g1-pastel { border-left-color: #c46a6a; }
.apres-risk__tier--g2-pastel { border-left-color: #b8923f; }
.apres-risk__tier--g3-pastel { border-left-color: #6dab87; }
.apres-risk__tier--g1-pastel .apres-risk__tier-tag { color: #c46a6a; }
.apres-risk__tier--g2-pastel .apres-risk__tier-tag { color: #b08e2a; }
.apres-risk__tier--g3-pastel .apres-risk__tier-tag { color: #6dab87; }

/* ─── Estudo FB · grid de 4 colunas com qtd ───────────────────────────── */
.apres-estudo__head,
.apres-estudo-row {
  grid-template-columns: 100px 80px 1fr 130px;
}
.apres-estudo-row {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.apres-estudo-row.is-loaded {
  opacity: 1;
  transform: translateX(0);
}
.apres-estudo-row__qtd {
  font-size: 11px;
  color: var(--sub);
  line-height: 1.4;
  text-align: center;
}
.apres-estudo-row__pair {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 10px;
  align-items: center;
}
.apres-estudo-row__bar-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: var(--primary-soft);
  border-radius: 6px;
  overflow: hidden;
  height: 24px;
}
.apres-estudo-row__bar-fill {
  display: flex; align-items: center; justify-content: flex-end;
  height: 100%;
  width: 0;
  padding-right: 6px;
  transition: width 0.7s cubic-bezier(.32,.72,.26,.98) 0.3s;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--card);
  white-space: nowrap;
}
.apres-estudo-row.is-loaded .apres-estudo-row__bar-fill { width: var(--w); }
.apres-estudo-row__bar-fill--p-m { background: var(--crit); }
.apres-estudo-row__bar-fill--p-t { background: #d4a017; }
.apres-estudo-row__bar-fill--m-m { background: var(--accent); }
.apres-estudo-row__bar-fill b {
  font-size: 11px;
  color: var(--card);
  text-shadow: 0 0 3px rgba(0,0,0,0.25);
}

/* ─── Trends · controles (toggle variável + filtro motorista) ─────────── */
.apres-trend-controls {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 8px;
}
.apres-trend-controls__row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.apres-trend-controls__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  min-width: 80px;
}
.apres-trend-controls__select {
  padding: 6px 28px 6px 12px;
  border: 1px solid var(--primary-soft);
  border-radius: 7px;
  background: var(--card);
  font: 600 12px 'Barlow', sans-serif;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  min-width: 220px;
}
.apres-trend-controls__select:hover { border-color: var(--primary); }
.apres-trend-controls__select:focus { border-color: var(--accent); }

/* ─── Pódio · tier cards com rewards ─────────────────────────────────── */
.apres-tier-card__rewards {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--primary-soft);
}
.apres-tier-card__reward-item {
  font-size: 11px;
  color: var(--sub);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ─── Roadmap · cards maiores ─────────────────────────────────────────── */
.apres-tl--big .apres-tl__card--big {
  padding: 18px 20px;
}
.apres-tl--big .apres-tl__when {
  font-size: 11.5px;
  margin-bottom: 6px;
}
.apres-tl--big .apres-tl__what {
  font-size: 18px;
  margin-bottom: 7px;
  line-height: 1.22;
}
.apres-tl--big .apres-tl__desc {
  font-size: 13px;
  line-height: 1.55;
}

/* ─── Closing · manifesto (substitui blockquote) ──────────────────────── */
.apres-manifesto {
  margin: 24px 0 8px;
  max-width: 880px;
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 22px;
}
.apres-manifesto__text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--primary);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.apres-manifesto__text:last-child { margin-bottom: 0; }

/* ─── Responsivo adicional v0.5.0 ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .apres-estudo__head,
  .apres-estudo-row {
    grid-template-columns: 70px 60px 1fr 100px;
    font-size: 11px;
  }
  .apres-trend-controls__row { flex-direction: column; align-items: stretch; }
  .apres-trend-controls__select { min-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.6.0 · Logo SVG, drawer, verde FB, timeline bubbles, correspondências,
   paleta refinada, conceito psicológico Pódio
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Logo SVG (escala melhor que o JPEG anterior) ────────────────────── */
.apres-cover__brand-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ─── Behaviors · barras em verde FB (substitui dourado) ──────────────── */
.apres-bhv-row__bar--fb > span { background: var(--accent); }
.apres-bhv-row__sw--fb         { background: var(--accent); }
.apres-bhv-row.is-clickable {
  cursor: pointer;
  transition: background 0.15s ease;
}
.apres-bhv-row.is-clickable:hover {
  background: var(--bg-soft);
}
.apres-bhv-row__see {
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.apres-callout--draft {
  background: var(--gold-soft);
  border-left-color: var(--gold-dark);
}
.apres-callout--draft b { color: var(--gold-dark); }

/* ─── Drawer · painel modal genérico (Behaviors + Risk Tiers) ─────────── */
.apres-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(56, 29, 84, 0.45);
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.apres-drawer-overlay.is-open { opacity: 1; }
.apres-drawer {
  width: 480px;
  max-width: 92vw;
  background: var(--card);
  height: 100vh;
  padding: 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.32,.72,.26,.98);
  position: relative;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}
.apres-drawer-overlay.is-open .apres-drawer { transform: translateX(0); }
.apres-drawer__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary-soft);
  background: transparent;
  font-size: 22px; line-height: 1;
  color: var(--sub);
  cursor: pointer;
  transition: all 0.15s ease;
}
.apres-drawer__close:hover { background: var(--bg-soft); color: var(--primary); border-color: var(--primary); }
.apres-drawer__title {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  padding-right: 44px;
}
.apres-drawer__lead {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.5;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--primary-soft);
}
.apres-drawer__list { display: flex; flex-direction: column; }
.apres-drawer__row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--primary-soft);
  font-size: 13.5px;
}
.apres-drawer__row:last-child { border-bottom: none; }
.apres-drawer__pos {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.apres-drawer__name {
  color: var(--txt);
  font-weight: 500;
}
.apres-drawer__metric {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft, rgba(88, 200, 220, 0.08));
  padding: 4px 10px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.apres-drawer__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--primary-soft);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}

/* ─── Risk Tiers · CTA "ver quem são" nos cards ───────────────────────── */
.apres-risk__tier.is-clickable {
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.apres-risk__tier.is-clickable:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(56, 29, 84, 0.06);
}
.apres-risk__tier-cta {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
.apres-risk__tier-cta-static {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sub);
  font-style: italic;
}
/* Refinar contraste das tags pastel (anexo 7) */
.apres-risk__tier-tag { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.apres-risk__tier-lbl { font-size: 14.5px; font-weight: 700; color: var(--primary); }
.apres-risk__tier-desc { font-size: 12px; color: var(--sub); line-height: 1.4; }

/* ─── Estudo FB · 5 colunas (faixa, qtd, comp, correspondências, score) ─ */
.apres-estudo__head,
.apres-estudo-row {
  grid-template-columns: 80px 60px 1fr 230px 80px;
  gap: 14px;
}
.apres-estudo-row__qtd {
  display: flex; flex-direction: column; gap: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
}
.apres-estudo-row__qtd small { font-size: 13px; line-height: 1.1; }
.apres-estudo-row__corresp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 0;
}
.apres-estudo-row__corresp-pair {
  display: flex; flex-direction: column; align-items: center;
  padding: 4px 2px;
  background: var(--bg-soft);
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}
.apres-estudo-row__corresp-pair.is-hl {
  background: rgba(88, 200, 220, 0.12);
  border: 1px solid var(--accent);
}
.apres-estudo-row__corresp-lbl {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  padding: 0 2px;
}
.apres-estudo-row__corresp-pair b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-top: 2px;
}
.apres-estudo-row__corresp-pair.is-hl b { color: var(--accent); }

/* ─── Pre-Accident · bubbles e ticks (regras consolidadas no fim do arquivo) ─ */

/* ─── Pódio · cards do conceito psicológico ───────────────────────────── */
.apres-psy {
  margin: 24px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--card) 0%, var(--bg-soft) 100%);
  border-radius: 14px;
  border: 1px solid var(--primary-soft);
}
.apres-psy__title {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--primary);
}
.apres-psy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.apres-psy__card {
  background: var(--card);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--primary-soft);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.apres-psy__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(56, 29, 84, 0.08);
}
.apres-psy__icon { font-size: 22px; margin-bottom: 6px; line-height: 1; }
.apres-psy__h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.apres-psy__d { font-size: 12px; color: var(--sub); line-height: 1.5; }

@media (max-width: 1100px) {
  .apres-psy__grid { grid-template-columns: repeat(2, 1fr); }
  .apres-estudo__head,
  .apres-estudo-row { grid-template-columns: 60px 50px 1fr 160px 70px; gap: 10px; font-size: 11px; }
  .apres-drawer { width: 100%; padding: 24px 22px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.7.0 · Timeline pre-accident sem sobreposição, tabs sem datas,
   psy refinada para vetor família, estatísticas case G1
   ══════════════════════════════════════════════════════════════════════════ */

/* Tabs do Pre-Accident: nome em negrito + contagem de acidentes embaixo */
.apres-pre-tabs .apres-filter {
  text-align: center;
  padding: 8px 14px;
  min-width: 96px;
}
.apres-pre-tabs .apres-filter b {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.apres-pre-tab__acid {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--crit);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.apres-pre-tabs .apres-filter.is-active b { color: var(--accent); }

/* Cabeçalho do caso · grid simples sem badge (badge poluía o final da timeline) */
.apres-pre-case__head {
  display: block;
  margin-bottom: 8px;
}
.apres-pre-case__head-l { display: block; }
.apres-pre-case__history {
  margin-top: 6px;
  font-size: 12px;
  color: var(--sub);
}
.apres-pre-case__history b { color: var(--crit); font-weight: 700; }

/* Bolha de eventos · regras consolidadas no fim do arquivo */

/* Timeline com mais espaço vertical para não sobrepor com o marcador ACIDENTE */
.apres-pre-timeline {
  padding: 78px 16px 60px;
  min-height: 200px;
  position: relative;
}

/* Marcador ACIDENTE · reposicionado para não sobrepor com D-0 */
.apres-pre-accident-marker {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
}
.apres-pre-accident-marker__icon {
  width: 44px; height: 44px;
  background: var(--crit);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(196, 106, 106, 0.4);
  cursor: help;
}
.apres-pre-accident-marker__lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--crit);
  letter-spacing: 0.08em;
  background: var(--card);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--crit);
}
.apres-pre-accident-marker__date {
  font-size: 10px;
  color: var(--crit);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--card);
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
}

/* Labels de dias no eixo · D.15, D.12, D.9, D.6, D.3 (sem D.0 e sem dia-do-acidente) */
.apres-pre-day__lbl {
  position: absolute;
  top: 100%;
  margin-top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.apres-pre-day__lbl small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}

/* day · regras consolidadas no fim do arquivo */

/* Garantir que estatísticas do caso fiquem bem espaçadas */
.apres-pre-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.apres-pre-stat__v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1;
}
.apres-pre-stat__l { font-size: 11.5px; color: var(--sub); margin-top: 4px; line-height: 1.3; }
.apres-pre-stat--hl .apres-pre-stat__v { color: var(--crit); }

@media (max-width: 1100px) {
  .apres-pre-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.4.0 · POLIMENTO PÓS-REVISÃO
   ──────────────────────────────────────────────────────────────────────────

   FARÓIS PADRONIZADOS - quando algo usar verde/amarelo/vermelho em pill,
   barra ou swatch, deve consumir essas variáveis. Amarelo é AMARELO, não
   laranja-marrom. Tudo em um único lugar para evolução futura.
   ══════════════════════════════════════════════════════════════════════════ */
.rec-apres-stage,
.apres-content {
  --rec-tone-green-text:   #05761e;
  --rec-tone-green-bg:     rgba(5, 171, 52, 0.15);
  --rec-tone-green-border: rgba(5, 171, 52, 0.30);
  --rec-tone-green-sw:     rgba(5, 171, 52, 0.55);

  --rec-tone-yellow-text:   #8a5d09;
  --rec-tone-yellow-bg:     rgba(234, 179, 8, 0.20);
  --rec-tone-yellow-border: rgba(234, 179, 8, 0.40);
  --rec-tone-yellow-sw:     rgba(234, 179, 8, 0.70);

  --rec-tone-red-text:   var(--crit);
  --rec-tone-red-bg:     rgba(185, 28, 28, 0.10);
  --rec-tone-red-border: rgba(185, 28, 28, 0.22);
  --rec-tone-red-sw:     rgba(185, 28, 28, 0.55);

  --rec-tone-gray-text:   var(--muted);
  --rec-tone-gray-bg:     var(--bg-soft);
  --rec-tone-gray-border: var(--primary-soft);
  --rec-tone-gray-sw:     var(--muted);
}

/* Pills de qualificação · slide 4 e slide 5 consomem os tokens */
.apres-bhv-row__qual-pill.is-high {
  color: var(--rec-tone-green-text);
  background: var(--rec-tone-green-bg);
  border-color: var(--rec-tone-green-border);
}
.apres-bhv-row__qual-pill.is-mid {
  color: var(--rec-tone-yellow-text);
  background: var(--rec-tone-yellow-bg);
  border-color: var(--rec-tone-yellow-border);
}
.apres-bhv-row__qual-pill.is-low {
  color: var(--rec-tone-red-text);
  background: var(--rec-tone-red-bg);
  border-color: var(--rec-tone-red-border);
}
.apres-bhv-row__qual-pill.is-zero {
  color: var(--rec-tone-gray-text);
  background: var(--rec-tone-gray-bg);
  border-color: var(--rec-tone-gray-border);
}

/* Legenda de swatches no rodapé · slide 4 */
.apres-bhv-foot__sw.is-high { background: var(--rec-tone-green-sw); }
.apres-bhv-foot__sw.is-mid  { background: var(--rec-tone-yellow-sw); }
.apres-bhv-foot__sw.is-low  { background: var(--rec-tone-red-sw); }
.apres-bhv-foot__sw.is-zero { background: var(--rec-tone-gray-sw); opacity: 0.5; }

/* ─── Pre-Accident · cabeçalho do caso com date-badge ─────────────────── */
.apres-pre-case__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--primary-soft);
  margin-bottom: 18px;
}
.apres-pre-case__head-main { flex: 1; min-width: 0; }
.apres-pre-case__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
  line-height: 1.1;
}
.apres-pre-case__meta {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.apres-pre-case__cause { color: var(--txt); font-weight: 500; }
.apres-pre-case__fault {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--crit);
  background: rgba(185, 28, 28, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}
.apres-pre-case__hist { color: var(--sub); }
.apres-pre-case__hist b { color: var(--crit); font-weight: 700; }
.apres-pre-case__sep { color: var(--muted); opacity: 0.5; }

.apres-pre-case__date-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.08) 0%, rgba(185, 28, 28, 0.04) 100%);
  border: 1px solid rgba(185, 28, 28, 0.20);
  border-radius: 10px;
  min-width: 130px;
}
.apres-pre-case__date-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crit);
  opacity: 0.85;
  margin-bottom: 2px;
}
.apres-pre-case__date-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--crit);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
  line-height: 1;
}

/* ─── Pre-Accident · wrapper da timeline com heat trail ───────────────── */
.apres-pre-timeline-wrap {
  position: relative;
  margin-bottom: 22px;
}
.apres-pre-heat {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(180, 83, 9, 0.04) 50%,
    rgba(185, 28, 28, 0.10) 88%,
    rgba(185, 28, 28, 0.16) 100%
  );
  border-radius: 14px;
  pointer-events: none;
  z-index: 0;
}
.apres-pre-timeline-wrap .apres-pre-timeline { position: relative; z-index: 1; }

/* eixo da timeline com gradiente de escalada */
.apres-pre-timeline__axis {
  position: relative;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-soft) 0%,
    var(--primary-soft) 40%,
    var(--warn) 75%,
    var(--crit) 100%
  );
  margin: 30px 0;
  opacity: 0.5;
}

/* bolha com intensidade que cresce conforme proximidade do acidente */
.apres-pre-bubble.is-near {
  border-color: var(--crit);
  background: rgba(185, 28, 28, 0.16);
  color: var(--crit);
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.10);
}
.apres-pre-bubble.has-score.is-near {
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.22);
  animation: apres-pre-near-pulse 2.6s ease-in-out infinite;
}
@keyframes apres-pre-near-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(185, 28, 28, 0.10); }
}
.apres-pre-day__connect.is-near {
  background: linear-gradient(to bottom, var(--crit) 0%, transparent 100%);
  opacity: 0.6;
}

/* marker ACIDENTE com pulso e tipografia forte */
.apres-pre-accident-marker {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 4;
}
.apres-pre-accident-marker__pulse {
  position: absolute;
  top: 5px; left: 50%;
  transform: translate(-50%, 0);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--crit);
  opacity: 0;
  animation: apres-marker-pulse 2.2s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes apres-marker-pulse {
  0%   { transform: translate(-50%, 0) scale(1);   opacity: 0.6; }
  100% { transform: translate(-50%, 0) scale(2.0); opacity: 0;   }
}
.apres-pre-accident-marker__icon {
  width: 48px; height: 48px;
  background: var(--crit);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.4),
              inset 0 -3px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}
.apres-pre-accident-marker__lbl {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--crit);
  letter-spacing: 0.12em;
  background: var(--card);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--crit);
  text-transform: uppercase;
}

/* ─── Pre-Accident · grade de stats + triggers ────────────────────────── */
.apres-pre-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin: 20px 0 16px;
}

.apres-pre-stats-primary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apres-pre-stat-big {
  background: linear-gradient(135deg, var(--card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.apres-pre-stat-big__v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.apres-pre-stat-big__l {
  font-size: 12.5px;
  color: var(--sub);
  line-height: 1.35;
}

.apres-pre-stat-small-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.apres-pre-stat-small {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 8px;
  padding: 10px 12px;
}
.apres-pre-stat-small.is-hl {
  background: rgba(209, 169, 80, 0.08);
  border-color: rgba(209, 169, 80, 0.30);
}
.apres-pre-stat-small__v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.apres-pre-stat-small.is-hl .apres-pre-stat-small__v { color: var(--gold-dark); }
.apres-pre-stat-small__l {
  font-size: 10.5px;
  color: var(--sub);
  margin-top: 4px;
  line-height: 1.3;
}

/* chips: top 3 triggers da janela */
.apres-pre-triggers {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apres-pre-triggers__h {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-pre-triggers__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apres-pre-chip {
  display: grid;
  grid-template-columns: 42px 1fr 44px;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  background: var(--bg-soft);
  border-radius: 6px;
  border: 1px solid var(--primary-soft);
}
.apres-pre-chip.is-top {
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.18);
}
.apres-pre-chip__count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.apres-pre-chip.is-top .apres-pre-chip__count { color: var(--crit); }
.apres-pre-chip__name {
  font-size: 12px;
  color: var(--txt);
  font-weight: 500;
}
.apres-pre-chip__pct {
  text-align: right;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
}

/* finding callout · visual forense */
.apres-pre-finding {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(56, 29, 84, 0.04) 0%, var(--card) 100%);
  border: 1px solid var(--primary-soft);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 4px;
}
.apres-pre-finding__tag {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(209, 169, 80, 0.12);
  border-radius: 6px;
  border: 1px solid rgba(209, 169, 80, 0.30);
}
.apres-pre-finding__body {
  font-size: 13.5px;
  color: var(--txt);
  line-height: 1.55;
}

/* responsivo: chips vão pra baixo */
@media (max-width: 980px) {
  .apres-pre-grid { grid-template-columns: 1fr; }
  .apres-pre-case__head { flex-direction: column; }
  .apres-pre-case__date-badge { align-self: flex-start; }
}

/* ─── Podium · bloco da cerimônia semestral ───────────────────────────── */
.apres-semestre {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--card) 100%);
  border: 1px solid var(--primary-soft);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
}
.apres-semestre__icon {
  font-size: 56px;
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 4px 10px rgba(56, 29, 84, 0.12));
}
.apres-semestre__content { min-width: 0; }
.apres-semestre__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.apres-semestre__tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(209, 169, 80, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(209, 169, 80, 0.30);
}
.apres-semestre__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
  margin: 0;
}
.apres-semestre__body {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.55;
  margin: 0 0 14px 0;
}
.apres-semestre__pins {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.apres-semestre__pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--card);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--txt);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.005em;
  border: 1.5px solid var(--primary-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.apres-semestre__pin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(56, 29, 84, 0.10);
}
.apres-semestre__pin--bronze { border-color: #cd7f32; color: #8a5420; background: rgba(205, 127, 50, 0.06); }
.apres-semestre__pin--silver { border-color: #b0b0b0; color: #5a5a5a; background: rgba(176, 176, 176, 0.10); }
.apres-semestre__pin--gold   { border-color: var(--gold); color: var(--gold-dark); background: rgba(209, 169, 80, 0.10); }

@media (max-width: 760px) {
  .apres-semestre { grid-template-columns: 1fr; text-align: left; }
  .apres-semestre__icon { font-size: 40px; text-align: left; }
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.4.1 · AJUSTES PÓS-REVISÃO #2
   ─ farol padronizado (tokens já no topo do bloco v0.4.0)
   ─ pre-accident: mini-régua de carreira + milestones legíveis + tooltips PT
   ─ podium: bottom SVG metálico, pin Diamante (anual)
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Pre-Accident · MINI-RÉGUA DE CARREIRA (clicável) ───────────────── */
.apres-pre-career {
  margin: 12px 0 10px;
  padding: 16px 24px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--primary-soft);
  border-radius: 10px;
}
.apres-pre-career__h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 12px;
}
.apres-pre-career__lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.apres-pre-career__legend {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* Container externo · sem overflow */
.apres-pre-career__rail {
  position: relative;
  min-height: 64px;
}
/* Container interno COM padding lateral · garante respiro pra dots nas pontas */
.apres-pre-career__rail-inner {
  position: relative;
  height: 64px;
  margin: 0 50px; /* respiro pros dots de início e fim · sem mais bounds esquisitas */
}
.apres-pre-career__axis {
  position: absolute;
  top: 18px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-soft) 0%,
    var(--primary-soft) 55%,
    rgba(185, 28, 28, 0.30) 100%
  );
  border-radius: 2px;
}

/* PINs · botões clicáveis */
.apres-pre-career__pin {
  position: absolute;
  top: 6px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  z-index: 2;
  transition: transform 0.18s ease;
}
.apres-pre-career__pin:hover { transform: translateX(-50%) translateY(-2px); }
.apres-pre-career__pin:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.apres-pre-career__dot {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--muted);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--muted);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.apres-pre-career__pin:hover .apres-pre-career__dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px var(--muted), 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* cores por culpa */
.apres-pre-career__pin.fault-driver .apres-pre-career__dot {
  background: var(--crit);
  box-shadow: 0 0 0 2px var(--crit);
}
.apres-pre-career__pin.fault-driver:hover .apres-pre-career__dot {
  box-shadow: 0 0 0 3px var(--crit), 0 4px 10px rgba(185, 28, 28, 0.30);
}
.apres-pre-career__pin.fault-thirdparty .apres-pre-career__dot {
  background: #6b7280;
  box-shadow: 0 0 0 2px #6b7280;
}
.apres-pre-career__pin.fault-thirdparty:hover .apres-pre-career__dot {
  box-shadow: 0 0 0 3px #6b7280, 0 4px 10px rgba(107, 114, 128, 0.30);
}
.apres-pre-career__pin.fault-shared .apres-pre-career__dot {
  background: #E5A41C;
  box-shadow: 0 0 0 2px #8a5d09;
}
.apres-pre-career__pin.fault-shared:hover .apres-pre-career__dot {
  box-shadow: 0 0 0 3px #8a5d09, 0 4px 10px rgba(229, 164, 28, 0.30);
}

/* PIN focal · destacado com pulse + ring */
.apres-pre-career__pin.is-focal {
  cursor: default;
}
.apres-pre-career__pin.is-focal .apres-pre-career__dot {
  width: 26px; height: 26px;
  border-width: 4px;
  margin-top: -4px;
  animation: apres-career-focal-pulse 2.4s ease-in-out infinite;
}
@keyframes apres-career-focal-pulse {
  0%, 100% { box-shadow: 0 0 0 3px currentColor, 0 0 0 9px  rgba(185, 28, 28, 0.18); }
  50%      { box-shadow: 0 0 0 3px currentColor, 0 0 0 16px rgba(185, 28, 28, 0.04); }
}
.apres-pre-career__pin.is-focal.fault-driver .apres-pre-career__dot { color: var(--crit); }
.apres-pre-career__pin.is-focal.fault-thirdparty .apres-pre-career__dot { color: #4b5563; }
.apres-pre-career__pin.is-focal.fault-shared .apres-pre-career__dot { color: #8a5d09; }

/* DATA abaixo do dot · maior, mais legível, sem sobreposição */
.apres-pre-career__date {
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}
.apres-pre-career__pin:hover .apres-pre-career__date { color: var(--txt); }
.apres-pre-career__pin.is-focal .apres-pre-career__date {
  color: var(--crit);
  font-weight: 800;
  font-size: 12.5px;
  margin-top: 14px;
}

.apres-pre-career__zoom-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--sub);
  text-align: center;
  font-style: italic;
}

/* ─── Pre-Accident · ESTADO VAZIO (acidente sem dados de eventos) ────── */
.apres-pre-timeline-wrap--empty {
  background: none;
  padding: 0;
}
.apres-pre-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  background: var(--bg-soft);
  border: 1px dashed var(--primary-soft);
  border-radius: 10px;
  margin: 16px 0;
}
.apres-pre-empty__icon { font-size: 36px; opacity: 0.6; }
.apres-pre-empty__text {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.55;
}
.apres-pre-triggers--empty .apres-pre-triggers__nodata {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ─── Pre-Accident · MILESTONES legíveis (D−15..D−0) ──────────────────── */
.apres-pre-day__lbl {
  position: absolute;
  top: 100%;
  margin-top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--txt);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.02em;
}
.apres-pre-day__lbl small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: 0;
}

/* (timeline padding · consolidado no bloco canônico v0.4.6 ao final) */

/* ─── Podium · bottom SVG no lugar do emoji 🪪 ────────────────────────── */
.apres-semestre__pin-svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 6px 14px rgba(56, 29, 84, 0.18));
}
.apres-semestre__icon {
  font-size: 0; /* zera fallback emoji se houver */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* pin diamante · cor azul gelo, mesmo ritmo dos outros (cerimônia anual única) */
.apres-semestre__pin--diamond {
  border-color: #7eb6d4;
  color: #1e5a82;
  background: rgba(126, 182, 212, 0.10);
}

/* ══════════════════════════════════════════════════════════════════════════
   v0.4.5 · Salvar PDF · landing PT/EN · bolhas maiores ainda
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Botão "PDF" no HUD da apresentação ───────────────────────────── */
.rec-apres-hud__btn--pdf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px !important;
  width: auto !important;
}
.rec-apres-hud__btn-ico {
  font-size: 14px;
  font-weight: 700;
}
.rec-apres-hud__btn-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ─── Landing · toggle de idioma antes de iniciar ───────────────────── */
.recon__apres-cta-lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.recon__apres-cta-lang__lbl {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}
.recon__apres-cta-lang__btn {
  background: transparent;
  border: 1.5px solid transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.recon__apres-cta-lang__btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.recon__apres-cta-lang__btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── Print/PDF: layout A4 landscape sem HUD ────────────────────────── */
.rec-apres-print-host { display: none; }

@media print {
  /* Tamanho do papel e margens controladas pelo CSS, não pelo navegador */
  @page {
    size: A4 landscape;
    margin: 0;
  }

  /* Esconde tudo do app exceto o host de impressão */
  body.is-rec-printing > *:not(.rec-apres-stage) { display: none !important; }
  body.is-rec-printing .rec-apres-hud,
  body.is-rec-printing .rec-apres-nav,
  body.is-rec-printing .rec-apres-slide,
  body.is-rec-printing .rec-apres-drawer,
  body.is-rec-printing .rec-apres-drawer__backdrop,
  body.is-rec-printing [data-tip]::after,
  body.is-rec-printing [data-tip]::before {
    display: none !important;
  }

  /* Reset visual pra impressão - mantém a paleta FB (sem forçar cinza) */
  body.is-rec-printing {
    background: #fff !important;
    color: var(--txt) !important;
    margin: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.is-rec-printing .rec-apres-stage {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: #fff !important;
    overflow: visible !important;
  }

  /* Host de impressão: visível, cada section vira EXATAMENTE uma página */
  body.is-rec-printing .rec-apres-print-host {
    display: block !important;
  }
  body.is-rec-printing .rec-apres-print-slide {
    width: 297mm;
    height: 210mm;
    padding: 13mm 17mm;
    margin: 0;
    box-sizing: border-box;
    background: var(--bg);
    color: var(--txt);
    overflow: hidden;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  body.is-rec-printing .rec-apres-print-slide:last-child {
    page-break-after: avoid;
    break-after: avoid;
  }
  body.is-rec-printing .rec-apres-print-slide > * {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    transform: scale(var(--ps, 1));
    transform-origin: center center;
  }
  /* capa/fechamento não devem esticar além da página */
  body.is-rec-printing .apres-cover { min-height: 0 !important; }

  /* Tipografia compacta pra A4 landscape */
  body.is-rec-printing .apres-h2 { font-size: 28px !important; }
  body.is-rec-printing .apres-lead { font-size: 13px !important; }
  body.is-rec-printing .apres-eyebrow { font-size: 10.5px !important; }

  /* Animações CONCLUÍDAS instantaneamente no print: duration/delay 0 faz o
     fill (both/forwards) resolver para o estado final visível. Matar a animação
     (animation:none) deixaria os elementos opacity:0 invisíveis - era o bug do
     "miolo vazio" no método/ritmo/roadmap. */
  body.is-rec-printing * {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition: none !important;
  }
  /* Reveals presos a .is-loaded (transição) ou a stroke-dashoffset não passam
     pela animação - força o estado final visível. */
  body.is-rec-printing .apres-flow__node,
  body.is-rec-printing .apres-flow__arrow,
  body.is-rec-printing .apres-flow-principle,
  body.is-rec-printing .apres-tl__step,
  body.is-rec-printing .apres-ritmo__band,
  body.is-rec-printing .story-stage,
  body.is-rec-printing .story-punch,
  body.is-rec-printing .apres-pre-event,
  body.is-rec-printing .apres-bar-value,
  body.is-rec-printing .apres-estudo-row,
  body.is-rec-printing .apres-line-area {
    opacity: 1 !important;
    transform: none !important;
  }
  body.is-rec-printing .apres-line-path { stroke-dashoffset: 0 !important; }

  /* Bolhas e pulsos: forçar estado final pra não saírem vazios */
  body.is-rec-printing .apres-pre-bubble {
    opacity: 1 !important;
  }
  body.is-rec-printing .apres-donut__arc {
    stroke-dasharray: var(--data-final-dash, none) !important;
  }

  /* Esconde elementos puramente interativos no contexto da impressão */
  body.is-rec-printing .apres-pre-career__pin { cursor: default !important; }
  body.is-rec-printing .recon__apres-cta-hint,
  body.is-rec-printing #reconApresGo { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════════════
   v0.4.6 · BUBBLE/DAY/TIMELINE · BLOCO CANÔNICO ÚNICO
   Esta seção SUBSTITUI todas as variações anteriores espalhadas pelo arquivo.
   Usa CSS variable --bd (vinda do inline style do JS) e !important onde for
   necessário pra vencer cascatas legadas que ainda existem na timeline antiga.
   ════════════════════════════════════════════════════════════════════════════ */

/* tooltip mais legível em qualquer lugar da apresentação */
.apres-content [data-tip]::after,
.rec-apres-stage [data-tip]::after {
  font-size: 14px !important;
  line-height: 1.5 !important;
  padding: 12px 18px !important;
  max-width: 360px !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  letter-spacing: 0.005em !important;
  background: #111827 !important;
  color: #f9fafb !important;
}
.apres-content [data-tip]::before,
.rec-apres-stage [data-tip]::before {
  border-top-color: #111827 !important;
}

/* wrapper · respiro forte (top: bolhas grandes; bottom: labels D-N) */
.apres-pre-timeline-wrap .apres-pre-timeline {
  padding: 130px 24px 80px !important;
  min-height: 320px !important;
  position: relative !important;
}

/* day · só posiciona, sem largura limitante e SEM transform inválido */
.apres-pre-day {
  position: absolute !important;
  top: 50% !important;
  width: 0 !important;       /* zero pra não criar caixa que cortasse a bolha */
  transform: translateY(-50%) !important; /* só vertical · X vem do style="left:..." */
  z-index: 2;
}

/* tick no eixo (curtinho, indica que houve eventos no dia) */
.apres-pre-day__tick {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 8px;
  background: var(--muted);
  opacity: 0.4;
}
.apres-pre-day__tick.has-events {
  background: var(--accent);
  height: 14px;
  width: 2px;
  opacity: 0.9;
}

/* linha vertical · liga o tick à bolha */
.apres-pre-day__connect {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 1.5px !important;
  height: calc(60px - var(--bd, 40px) / 2 - 3px) !important;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
  opacity: 0.45 !important;
}
.apres-pre-day__connect.is-near {
  background: linear-gradient(to bottom, var(--crit) 0%, transparent 100%) !important;
  opacity: 0.65 !important;
  width: 2px !important;
}

/* BOLHA · tamanho via --bd (default 40px se ausente) */
.apres-pre-bubble {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: var(--bd, 40px) !important;
  height: var(--bd, 40px) !important;
  transform: translate(-50%, calc(-50% - 60px)) !important;
  border-radius: 50% !important;
  background: rgba(88, 200, 220, 0.14) !important;
  border: 3px solid var(--accent) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  box-shadow: 0 3px 10px rgba(88, 200, 220, 0.22) !important;
  z-index: 3 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  animation: none !important;
}
.apres-pre-bubble > span {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1;
}
.apres-pre-bubble:hover {
  transform: translate(-50%, calc(-50% - 60px)) scale(1.12) !important;
  z-index: 10 !important;
  box-shadow: 0 6px 16px rgba(88, 200, 220, 0.35) !important;
}

/* bolha próxima do acidente · vermelha */
.apres-pre-bubble.is-near {
  background: rgba(185, 28, 28, 0.14) !important;
  border-color: var(--crit) !important;
  color: var(--crit) !important;
  box-shadow: 0 3px 10px rgba(185, 28, 28, 0.28) !important;
}
.apres-pre-bubble.is-near:hover {
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.42) !important;
}

/* bolha com score positivo · halo mais forte */
.apres-pre-bubble.has-score {
  background: rgba(196, 106, 106, 0.20) !important;
  border-color: var(--crit) !important;
  color: var(--crit) !important;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.18), 0 3px 12px rgba(185, 28, 28, 0.30) !important;
  animation: apres-pre-score-pulse 2.4s ease-in-out infinite !important;
}
@keyframes apres-pre-score-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.18), 0 3px 12px rgba(185, 28, 28, 0.30); }
  50%      { box-shadow: 0 0 0 8px rgba(185, 28, 28, 0.06), 0 3px 12px rgba(185, 28, 28, 0.30); }
}

/* label D−N abaixo do eixo · maior e legível */
.apres-pre-day__lbl {
  position: absolute;
  top: 50%;
  margin-top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px !important;
  color: var(--sub) !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 800 !important;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
}
.apres-pre-day__lbl small {
  display: block;
  margin-top: 3px;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: lowercase;
}

/* marker ACIDENTE · proporcional ao tamanho novo das bolhas */
.apres-pre-accident-marker__icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 32px !important;
}
.apres-pre-accident-marker__pulse {
  width: 64px !important;
  height: 64px !important;
  top: 0 !important;
  left: 50% !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   METODOLOGIA · slides Elegibilidade + Pontuação · botão Salvar no HUD
   v0.5.0 - bloco aditivo
   ══════════════════════════════════════════════════════════════════════════ */

/* ---- HUD · botão Salvar + indicador de alterações não salvas ---- */
.rec-apres-hud__btn--save { position: relative; }
.rec-apres-hud__btn--save.is-dirty {
  background: var(--gold, #d1a950);
  color: #1a1a1a;
  border-color: var(--gold-dark, #b8923f);
}
.rec-apres-hud__dirty {
  position: absolute; top: -3px; right: -3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--crit, #b91c1c);
  box-shadow: 0 0 0 2px var(--primary, #381d54);
}

/* ---- comum aos dois slides de metodologia ---- */
.meth-note {
  margin-top: 18px; font-size: 12px; line-height: 1.5;
  color: var(--muted, #6b7280); font-style: italic;
}

/* ════ SLIDE · ELEGIBILIDADE (GATILHO) ════ */
.meth-gates {
  margin-top: 14px; border: 1px solid var(--borda, #e5e7eb);
  border-radius: 12px; overflow: hidden; background: var(--card, #fff);
}
.meth-gates__head {
  display: grid; grid-template-columns: 1fr 220px 64px;
  gap: 12px; padding: 10px 18px;
  background: var(--bg-soft, #f4f6f5);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted, #6b7280);
}
.meth-gates__head span:nth-child(2) { text-align: center; }
.meth-gates__head span:nth-child(3) { text-align: center; }
.meth-gate {
  display: grid; grid-template-columns: 1fr 220px 64px;
  gap: 12px; align-items: center; padding: 14px 18px;
  border-top: 1px solid var(--borda, #e5e7eb);
  transition: opacity 0.2s, background 0.2s;
}
.meth-gate__icon { display: none; }
.meth-gate__body { display: flex; flex-direction: column; gap: 2px; }
.meth-gate__label { font-weight: 700; font-size: 15px; color: var(--primary, #381d54); }
.meth-gate__desc  { font-size: 12px; color: var(--muted, #6b7280); line-height: 1.4; }
.meth-gate__value {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.meth-gate__num {
  width: 86px; padding: 6px 8px; text-align: right;
  border: 1px solid var(--borda, #e5e7eb); border-radius: 8px;
  font-size: 15px; font-weight: 700; color: var(--primary, #381d54);
  font-family: var(--font-mono, monospace);
}
.meth-gate__unit { font-size: 12px; color: var(--muted, #6b7280); }
.meth-gate__value--bool {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--crit, #b91c1c);
}
.meth-gate.is-off { opacity: 0.45; }
.meth-gate.is-off .meth-gate__label { text-decoration: line-through; }

/* toggle switch */
.meth-toggle { display: flex; justify-content: center; cursor: pointer; }
.meth-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.meth-toggle__track {
  width: 42px; height: 24px; border-radius: 999px;
  background: #cbd2d0; position: relative; transition: background 0.2s;
}
.meth-toggle__knob {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.meth-toggle input:checked + .meth-toggle__track { background: var(--accent, #58c8dc); }
.meth-toggle input:checked + .meth-toggle__track .meth-toggle__knob { transform: translateX(18px); }

.meth-blockers { margin-top: 18px; }
.meth-blockers__title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted, #6b7280); margin: 0 0 8px;
}
.meth-blockers__list { display: flex; flex-wrap: wrap; gap: 8px; }
.meth-blocker {
  padding: 5px 12px; border-radius: 999px;
  background: var(--crit-bg, #fef2f2); color: var(--crit, #b91c1c);
  border: 1px solid var(--crit, #b91c1c);
  font-size: 12.5px; font-weight: 600;
}

/* ════ SLIDE · TABELA DE PONTUAÇÃO ════ */
.meth-filters { display: flex; gap: 28px; flex-wrap: wrap; margin: 14px 0 12px; }
.meth-filter { display: flex; align-items: center; gap: 10px; }
.meth-filter__lbl {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted, #6b7280);
}
.meth-seg {
  display: inline-flex; border: 1px solid var(--borda, #e5e7eb);
  border-radius: 8px; overflow: hidden; background: var(--card, #fff);
}
.meth-seg__btn {
  padding: 6px 14px; border: 0; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--muted, #6b7280);
  border-right: 1px solid var(--borda, #e5e7eb); transition: all 0.15s;
}
.meth-seg__btn:last-child { border-right: 0; }
.meth-seg__btn.is-active { background: var(--primary, #381d54); color: #fff; }

.meth-tiernote {
  margin-bottom: 12px; padding: 10px 14px; border-radius: 8px;
  font-size: 13px; line-height: 1.5; border-left: 4px solid;
}
.meth-tiernote--g1 { background: #fef2f2; border-color: var(--crit, #b91c1c); color: #7f1d1d; }
.meth-tiernote--g2 { background: #fffbeb; border-color: var(--gold, #d1a950); color: #78350f; }
.meth-tiernote--g3 { background: #ecfdf3; border-color: var(--accent, #58c8dc); color: #14532d; }

.meth-table {
  border: 1px solid var(--borda, #e5e7eb); border-radius: 12px;
  overflow: hidden; background: var(--card, #fff);
}
.meth-table__head, .meth-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.2fr 2fr 0.9fr 1.6fr;
  gap: 12px; align-items: center; padding: 11px 16px;
}
.meth-table__head {
  background: var(--bg-soft, #f4f6f5);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted, #6b7280);
}
.meth-row { border-top: 1px solid var(--borda, #e5e7eb); }
.meth-row__param { font-weight: 700; font-size: 14px; color: var(--primary, #381d54); }
.meth-row__meta  {
  font-family: var(--font-mono, monospace); font-weight: 700;
  font-size: 14px; color: var(--primary, #381d54);
}
.meth-row__tol, .meth-row__pts { font-size: 12.5px; color: var(--muted, #4b5563); line-height: 1.4; }
.meth-vig-pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
}
.meth-vig-pill--mensal     { background: var(--accent-soft, #e6f7ec); color: var(--accent-dark, #3a9fb3); }
.meth-vig-pill--trimestral { background: var(--gold-soft, #fbf3d8); color: var(--gold-dark, #b8923f); }
.meth-vig-pill--anual      { background: #ede9fe; color: #6d28d9; }

.meth-row__weight { display: flex; align-items: center; gap: 8px; }
.meth-bar {
  flex: 1; height: 9px; border-radius: 999px;
  background: var(--bg-soft, #eef1f0); overflow: hidden; min-width: 48px;
}
.meth-bar__fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary, #381d54), var(--accent, #58c8dc));
  transition: width 0.18s var(--ease-out, ease);
}
.meth-bar__slider { width: 78px; flex: none; cursor: pointer; accent-color: var(--accent, #58c8dc); }
.meth-bar__val {
  font-family: var(--font-mono, monospace); font-weight: 700;
  font-size: 13px; color: var(--primary, #381d54); min-width: 38px; text-align: right;
}
.meth-table__sum {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; padding: 11px 16px;
  border-top: 2px solid var(--borda, #e5e7eb); background: var(--bg-soft, #f4f6f5);
  font-size: 13px; color: var(--muted, #4b5563);
}
.meth-table__sum b { color: var(--primary, #381d54); }
.meth-table__sumw { font-weight: 600; }

.meth-tb { margin-top: 16px; }
.meth-tb__title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted, #6b7280); margin: 0 0 8px;
}
.meth-tb__list { display: flex; flex-wrap: wrap; gap: 10px; }
.meth-tb__item {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 8px;
  background: var(--bg-soft, #f4f6f5); border: 1px solid var(--borda, #e5e7eb);
  font-size: 13px; color: var(--primary, #381d54);
}
.meth-tb__item b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--primary, #381d54); color: #fff;
  font-size: 11px; font-weight: 800;
}

/* ---- print: sliders/toggles viram visual estático ---- */
@media print {
  body.is-rec-printing .meth-bar__slider,
  body.is-rec-printing .meth-seg__btn:not(.is-active) { display: none !important; }
  body.is-rec-printing .meth-toggle__track { box-shadow: none; }
  body.is-rec-printing .meth-gate__num { border-color: transparent; }
  body.is-rec-printing .meth-seg {
    border: 0;
  }
  body.is-rec-printing .meth-seg__btn.is-active {
    border-radius: 8px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   METODOLOGIA · slide Pontuação - bloco de SIMULAÇÃO (modelos + corte)
   v0.5.0
   ══════════════════════════════════════════════════════════════════════════ */
.meth-sim {
  margin-top: 18px; border: 1px solid var(--borda, #e5e7eb);
  border-radius: 12px; background: var(--card, #fff); padding: 14px 16px;
}
.meth-sim__bar {
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  padding-bottom: 12px; border-bottom: 1px solid var(--borda, #e5e7eb);
}
.meth-filter--slider { gap: 12px; }
.meth-filter--slider input[type=range] {
  width: 200px; accent-color: var(--accent, #58c8dc); cursor: pointer;
}
.meth-filter--slider b {
  font-family: var(--font-mono, monospace); font-weight: 700;
  font-size: 15px; color: var(--primary, #381d54);
  min-width: 44px; text-align: center;
  background: var(--bg-soft, #f4f6f5); border-radius: 6px; padding: 2px 6px;
}
.meth-sim__kpi {
  padding: 12px 2px; font-size: 14px; color: var(--primary, #381d54);
}
.meth-sim__kpi b { color: var(--accent-dark, #3a9fb3); }
.meth-kpi-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 28px; padding: 0 8px; border-radius: 8px;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 18px; font-weight: 800; color: #fff; margin-right: 4px;
}
.meth-kpi-pill--ok   { background: var(--accent, #58c8dc); }
.meth-kpi-pill--gold { background: var(--gold-dark, #b8923f); }

.meth-simtable { display: flex; flex-direction: column; }
.meth-simtable__head, .meth-simrow {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: 12px; align-items: center; padding: 8px 10px;
}
.meth-simtable--5 .meth-simtable__head,
.meth-simtable--5 .meth-simrow {
  grid-template-columns: 1.8fr 1fr 0.9fr 1fr 1.1fr;
}
.meth-simtable__head {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted, #6b7280);
  border-bottom: 1px solid var(--borda, #e5e7eb);
}
.meth-simrow {
  border-bottom: 1px solid var(--bg-soft, #f0f2f1);
  font-size: 13px; transition: opacity 0.15s;
}
.meth-simrow.is-out { opacity: 0.5; }
.meth-simrow__name { font-weight: 700; color: var(--primary, #381d54); }
.meth-simrow__num  { font-family: var(--font-mono, monospace); font-weight: 600; }
.meth-stat {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
}
.meth-stat--ok   { background: var(--accent-soft, #e6f7ec); color: var(--accent-dark, #3a9fb3); }
.meth-stat--warn { background: var(--gold-soft, #fbf3d8);   color: var(--gold-dark, #b8923f); }
.meth-stat--crit { background: var(--crit-bg, #fef2f2);     color: var(--crit, #b91c1c); }
.meth-stat--gold { background: var(--gold-soft, #fbf3d8);   color: var(--gold-dark, #b8923f); }
.meth-simtable__more {
  padding: 8px 10px; font-size: 12px; color: var(--muted, #6b7280); font-style: italic;
}
.meth-sim__hint {
  margin: 10px 2px 0; font-size: 11.5px; line-height: 1.5;
  color: var(--muted, #6b7280); font-style: italic;
}

/* print: slider de corte some, restante imprime estático */
@media print {
  body.is-rec-printing .meth-filter--slider input[type=range] { display: none !important; }
}

/* ─── Ritmo operacional · metodologia combinada (slide 15, v0.6.0) ────────── */
.apres-ritmo {
  position: relative;
  display: flex; flex-direction: column;
  gap: 10px;
  margin: 10px 0 16px;
}
.apres-ritmo__rail {
  position: absolute;
  left: 132px; top: 16px; bottom: 16px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--accent));
  opacity: 0.45;
  border-radius: 2px;
}
.apres-ritmo__band {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 16px;
  opacity: 0; transform: translateY(10px);
  animation: apres-fade-up 0.5s var(--ease-out) both;
  animation-delay: var(--delay, 0ms);
}
.apres-ritmo__band::before {  /* nó sobre o trilho */
  content: ''; position: absolute; left: 132px; top: 50%;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--card); border: 2px solid var(--gold-dark);
  z-index: 1;
}
.apres-ritmo__band--quarter::before,
.apres-ritmo__band--semester::before,
.apres-ritmo__band--year::before { border-color: var(--accent); }
.apres-ritmo__node {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding-right: 6px;
}
.apres-ritmo__ico { font-size: 21px; line-height: 1; }
.apres-ritmo__cad {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.005em; line-height: 1.05;
}
.apres-ritmo__tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px;
}
.apres-ritmo__tag.is-pay { background: var(--accent-soft); color: var(--accent); }
.apres-ritmo__tag.is-rec { background: var(--primary-soft); color: var(--primary); }
.apres-ritmo__card {
  background: var(--card);
  border: 1px solid var(--primary-soft);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 12px 16px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.apres-ritmo__card:hover {
  transform: translateX(2px);
  box-shadow: 0 8px 22px rgba(56, 29, 84, 0.07);
}
.apres-ritmo__band--quarter  .apres-ritmo__card,
.apres-ritmo__band--semester .apres-ritmo__card { border-left-color: var(--accent); }
.apres-ritmo__band--year     .apres-ritmo__card { border-left-color: var(--gold-dark); }
.apres-ritmo__h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--primary);
  margin-bottom: 3px; letter-spacing: -0.005em;
}
.apres-ritmo__d { font-size: 12px; color: var(--sub); line-height: 1.5; }
.apres-ritmo__prize {
  margin-top: 7px; padding-top: 7px;
  border-top: 1px dashed var(--primary-soft);
  font-size: 12px; font-weight: 600; color: var(--gold-dark);
  line-height: 1.45;
}
.apres-ritmo__foot { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.apres-ritmo__split {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px;
  font-size: 12.5px; color: var(--sub);
}
.apres-ritmo__split-lbl { font-weight: 700; color: var(--primary); }
.apres-ritmo__split-val b { color: var(--accent); font-weight: 800; }

@media (max-width: 720px) {
  .apres-ritmo__band   { grid-template-columns: 98px 1fr; gap: 12px; }
  .apres-ritmo__rail   { left: 98px; }
  .apres-ritmo__band::before { left: 98px; }
  .apres-ritmo__cad    { font-size: 16px; }
}

/* ─── Anotações do apresentador · drawer lateral (v0.7.0) ─────────────────── */
.rec-apres-notes {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 360px; max-width: 86vw;
  background: var(--card);
  border-left: 1px solid var(--primary-soft);
  box-shadow: -18px 0 48px rgba(56, 29, 84, 0.12);
  display: flex; flex-direction: column;
  padding: 18px 18px 14px;
  transform: translateX(103%);
  transition: transform 0.32s var(--ease-out);
  z-index: 10001;
}
.rec-apres-stage.is-notas-open .rec-apres-notes { transform: translateX(0); }
.rec-apres-notes__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rec-apres-notes__titles { display: flex; flex-direction: column; gap: 2px; }
.rec-apres-notes__title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--primary); letter-spacing: -0.005em; line-height: 1;
}
.rec-apres-notes__slide { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.rec-apres-notes__close {
  width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--primary-soft);
  background: var(--card); color: var(--sub); cursor: pointer; font-size: 13px; flex: 0 0 auto;
  transition: all 0.15s ease;
}
.rec-apres-notes__close:hover { background: var(--primary-soft); color: var(--primary); }
.rec-apres-notes__area {
  flex: 1 1 auto; width: 100%; resize: none;
  border: 1px solid var(--primary-soft); border-radius: 12px;
  background: var(--bg-soft); color: var(--txt);
  padding: 14px; font-family: 'Barlow', sans-serif; font-size: 14px; line-height: 1.6;
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.rec-apres-notes__area:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); background: var(--card); }
.rec-apres-notes__area::placeholder { color: var(--muted); }
.rec-apres-notes__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.rec-apres-notes__hint { color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; font-size: 9.5px; }
.rec-apres-notes__status { color: var(--accent); font-weight: 700; font-size: 11px; }
.rec-apres-hud__btn.is-active { background: var(--gold-soft); color: var(--gold-dark); border-color: var(--gold); }
@media print { .rec-apres-notes { display: none !important; } }
@media (max-width: 720px) { .rec-apres-notes { width: 100vw; max-width: 100vw; } }

/* ─── Tabelão configurável · ranking completo (slide 10, v0.7.0) ──────────── */
.tabelao-controls { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 8px 0 12px; }
.tabelao-kpi { font-size: 13px; color: var(--sub); margin: 0 0 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tabelao-kpi b { color: var(--primary); }
.tabelao-kpi__pill {
  display: inline-flex; min-width: 26px; height: 22px; padding: 0 8px;
  align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; font-size: 13px;
}
.tabelao-kpi__pill.is-ok { background: var(--accent-soft); color: var(--accent); }
.tabelao-wrap {
  border: 1px solid var(--primary-soft); border-radius: 12px;
  overflow: hidden; background: var(--card);
}
.tabelao-grid {
  display: grid;
  grid-template-columns: 34px minmax(120px, 1.5fr) 72px 64px 86px 64px 52px 58px 96px;
  align-items: center;
}
.tabelao-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--primary-soft);
  position: sticky; top: 0; z-index: 1;
}
.tabelao-h {
  padding: 9px 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-dark);
  cursor: pointer; user-select: none; white-space: nowrap; text-align: center;
}
.tabelao-h.is-left { text-align: left; }
.tabelao-h.is-num { text-align: right; }
.tabelao-h:hover { color: var(--primary); }
.tabelao-body { max-height: 336px; overflow-y: auto; }
.tabelao-row { border-bottom: 1px solid var(--bg-soft); transition: background 0.12s ease; }
.tabelao-row:last-child { border-bottom: 0; }
.tabelao-row:hover { background: var(--bg-soft); }
.tabelao-row.is-elig { background: linear-gradient(90deg, var(--accent-soft) 0%, transparent 62%); }
.tabelao-c {
  padding: 7px 10px; font-size: 12.5px; color: var(--txt); text-align: center;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tabelao-c.is-left { text-align: left; font-weight: 600; color: var(--primary); }
.tabelao-c.is-num { text-align: right; }
.tabelao-c.is-dim { color: var(--muted); font-size: 11px; }
.tabelao-c b { color: var(--primary); }
.tabelao-grp { display: inline-block; min-width: 30px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
.tabelao-grp--G3 { background: var(--accent-soft); color: var(--accent); }
.tabelao-grp--G2 { background: var(--gold-soft); color: var(--gold-dark); }
.tabelao-grp--G1 { background: var(--crit-bg); color: var(--crit); }
.rec-apres-slide.is-in .tabelao-wrap { animation: apres-fade-up 0.5s 280ms var(--ease-out) both; }
@media (max-width: 720px) {
  .tabelao-wrap { overflow-x: auto; }
  .tabelao-grid { min-width: 580px; }
}

/* ─── Proposta estática · resumo em uma página (slide 17, v0.8.0) ──────────── */
.propo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 14px; }
.propo-card {
  background: var(--card); border: 1px solid var(--primary-soft); border-radius: 12px;
  padding: 14px 16px; border-top: 3px solid var(--gold);
}
.propo-card:nth-child(2) { border-top-color: var(--primary); }
.propo-card:nth-child(3) { border-top-color: var(--accent); }
.propo-card:nth-child(4) { border-top-color: var(--gold-dark); }
.propo-card__h {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800;
  color: var(--primary); letter-spacing: -0.005em; margin-bottom: 10px;
}
.propo-card__ico { font-size: 18px; }
.propo-gates, .propo-rhythm { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.propo-gate { font-size: 13px; color: var(--txt); display: flex; gap: 8px; align-items: baseline; }
.propo-gate__mk { color: var(--accent); font-weight: 800; }
.propo-gate.is-off, .propo-gate.is-off .propo-gate__mk { color: var(--muted); }
.propo-rhythm li { font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.propo-rhythm b { color: var(--primary); font-weight: 700; }
.propo-params { display: flex; flex-direction: column; gap: 8px; }
.propo-param { display: grid; grid-template-columns: 1fr 88px 38px; align-items: center; gap: 10px; }
.propo-param__name { font-size: 12.5px; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.propo-param__bar { height: 7px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; }
.propo-param__fill { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.propo-param__w { font-size: 12px; color: var(--gold-dark); font-variant-numeric: tabular-nums; text-align: right; }
.propo-card__foot { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--primary-soft); font-size: 12px; color: var(--sub); }
.propo-card__foot b { color: var(--primary); }
.propo-money__big { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; margin: 2px 0 12px; }
.propo-money__big--tbd { font-size: 24px; color: var(--gold-dark); font-style: italic; letter-spacing: 0.01em; }
.propo-money__unit { font-size: 14px; color: var(--muted); font-weight: 600; }
.propo-split { display: flex; flex-direction: column; gap: 8px; }
.propo-split__row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sub); }
.propo-split__row b { color: var(--primary); font-weight: 800; }
.propo-split__bar { flex: 1 1 70px; height: 7px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; min-width: 50px; }
.propo-split__fill { display: block; height: 100%; border-radius: 4px; }
.propo-split__fill--fam { background: var(--gold); }
.propo-split__fill--drv { background: var(--primary); }
.rec-apres-slide.is-in .propo-grid { animation: apres-fade-up 0.5s 240ms var(--ease-out) both; }
@media (max-width: 720px) { .propo-grid { grid-template-columns: 1fr; } }

/* ─── Proposta · tabela de pontuação + apoio 3-up (v0.9.0) ────────────────── */
.propo-tbl { border: 1px solid var(--primary-soft); border-radius: 12px; overflow: hidden; background: var(--card); margin: 8px 0 6px; }
.propo-tbl__row { display: grid; grid-template-columns: 1.5fr 64px 1.1fr 1.9fr 78px 94px; align-items: center; border-bottom: 1px solid var(--bg-soft); }
.propo-tbl__row:last-child { border-bottom: 0; }
.propo-tbl__row > span { padding: 9px 12px; font-size: 12.5px; color: var(--txt); }
.propo-tbl__row > span.is-c { text-align: center; }
.propo-tbl__head { background: var(--bg-soft); border-bottom: 1px solid var(--primary-soft); }
.propo-tbl__head > span { font-family: 'Barlow Condensed', sans-serif; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-dark); }
.propo-tbl__item { font-weight: 700; color: var(--primary); }
.propo-tbl__meta { color: var(--accent); font-variant-numeric: tabular-nums; }
.propo-tbl__sub { color: var(--sub); font-size: 12px; line-height: 1.4; }
.propo-tbl__vig { color: var(--sub); font-size: 12px; font-weight: 600; text-transform: capitalize; letter-spacing: normal; }
.propo-tbl__peso { display: flex; align-items: center; gap: 7px; justify-content: center; }
.propo-tbl__peso b { color: var(--primary); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.propo-tbl__pesobar { width: 32px; height: 6px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; }
.propo-tbl__pesobar > span { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.propo-tbl__cap { font-size: 12px; color: var(--sub); margin: 0 0 12px; }
.propo-tbl__cap b { color: var(--primary); }
.propo-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rec-apres-slide.is-in .propo-tbl { animation: apres-fade-up 0.5s 200ms var(--ease-out) both; }
@media (max-width: 860px) {
  .propo-grid3 { grid-template-columns: 1fr; }
  .propo-tbl__row { grid-template-columns: 1.3fr 54px 1fr 1.6fr 64px 82px; }
  .propo-tbl__row > span { padding: 8px 9px; font-size: 11.5px; }
}

/* ─── Selo de slide oculto (modo edição) + botão de ocultar (v0.9.0) ───────── */
.rec-apres-slide.is-hidden-slide { position: relative; outline: 2px dashed var(--crit); outline-offset: -10px; }
.rec-apres-slide.is-hidden-slide::before {
  content: 'OCULTO · NÃO VAI PRO CLIENTE'; position: absolute; top: 12px; right: 12px; z-index: 6;
  background: var(--crit); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.07em;
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
#rec-apres-hide.is-active { background: var(--crit-bg); color: var(--crit); border-color: var(--crit); }

/* ─── Slide storytelling · jornada até o Score por mil milhas (v0.11.0) ────── */
.story-journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.18fr;
  align-items: stretch;
  margin: 16px 0 16px;
}
.story-stage {
  background: var(--card); border: 1px solid var(--primary-soft); border-radius: 14px;
  padding: 16px 15px 14px; display: flex; flex-direction: column; gap: 9px; position: relative;
}
.story-stage__n {
  position: absolute; top: -11px; left: 14px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(56, 29, 84, 0.22);
}
.story-stage--reveal {
  border: 2px solid var(--gold);
  background: linear-gradient(165deg, var(--gold-soft) 0%, var(--card) 58%);
  box-shadow: 0 12px 32px rgba(201, 168, 69, 0.20);
}
.story-stage--reveal .story-stage__n { background: var(--gold-dark); }
.story-arrow { display: flex; align-items: center; justify-content: center; color: var(--primary-soft); font-size: 26px; padding: 0 7px; }
.story-arrow--reveal { color: var(--gold-dark); }
.story-stage__h {
  font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 800;
  color: var(--primary); letter-spacing: -0.01em; line-height: 1.05; margin-top: 2px;
}
.story-stage__h--reveal { color: var(--gold-dark); font-size: 21px; }
.story-stage__d { font-size: 12px; color: var(--sub); line-height: 1.5; }
.story-viz { min-height: 66px; display: flex; align-items: center; }
.story-viz--dots { flex-wrap: wrap; gap: 5px; align-content: center; }
.story-viz--dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0.45; }
.story-viz--bars { flex-direction: column; align-items: stretch; gap: 6px; justify-content: center; }
.story-bar { position: relative; background: var(--bg-soft); border-radius: 6px; height: 22px; display: flex; align-items: center; overflow: hidden; }
.story-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); opacity: 0.28; border-radius: 6px; }
.story-bar__fill--b { background: var(--crit); opacity: 0.30; }
.story-bar b { position: relative; font-size: 10.5px; color: var(--primary); padding-left: 9px; font-variant-numeric: tabular-nums; font-weight: 700; }
.story-viz__note { font-size: 10px; color: var(--crit); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.story-viz--formula { flex-direction: column; align-items: stretch; gap: 8px; justify-content: center; }
.story-formula { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--primary); background: var(--bg-soft); border-radius: 8px; padding: 9px 10px; text-align: center; letter-spacing: 0.01em; }
.story-flip { display: flex; justify-content: space-around; font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }
.story-flip b { color: var(--accent); font-size: 15px; }
.story-flip b.is-worse { color: var(--crit); }
.story-viz--reveal { flex-direction: column; align-items: stretch; gap: 7px; justify-content: center; }
.story-gradient { position: relative; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--accent) 0%, var(--warn) 58%, var(--crit) 100%); }
.story-acc { position: absolute; top: 50%; width: 13px; height: 13px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--crit); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(185, 28, 28, 0.45); }
.story-gradient__lbls { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.story-punch {
  margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--primary);
  background: var(--bg-soft); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0;
  padding: 13px 17px; font-weight: 500;
}
.rec-apres-slide.is-in .story-stage { animation: apres-fade-up 0.5s var(--ease-out) both; }
.rec-apres-slide.is-in .story-journey > .story-stage:nth-child(3) { animation-delay: 0.10s; }
.rec-apres-slide.is-in .story-journey > .story-stage:nth-child(5) { animation-delay: 0.20s; }
.rec-apres-slide.is-in .story-journey > .story-stage:nth-child(7) { animation-delay: 0.30s; }
.rec-apres-slide.is-in .story-punch { animation: apres-fade-up 0.5s 0.42s var(--ease-out) both; }
@media (max-width: 920px) {
  .story-journey { grid-template-columns: 1fr; gap: 6px; }
  .story-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* ════════════ STORY (slide 3) · preenchimento + animacoes · v0.16.0 ════════════ */
/* override no fim do arquivo: ganha precedencia sobre as regras-base do story. */
.story-journey { margin: 22px 0 20px; }
.story-stage { padding: 20px 17px 18px; gap: 11px; }
.story-stage__h { font-size: 20px; }
.story-stage__h--reveal { font-size: 22px; }
.story-stage__d { font-size: 12.5px; line-height: 1.55; }
.story-viz { min-height: 92px; }
.story-viz--dots { gap: 6px; }
.story-viz--dots i { width: 9px; height: 9px; }
.story-formula { font-size: 16px; padding: 11px 12px; }
.story-gradient { height: 16px; overflow: hidden; }
.story-punch { font-size: 16px; padding: 16px 20px; margin-top: 10px; line-height: 1.6; border-left-width: 4px; }

@keyframes story-dot-pop { from { opacity: 0; transform: scale(0); } to { opacity: .5; transform: scale(1); } }
@keyframes story-acc-pop { 0% { opacity: 0; transform: translate(-50%,-150%) scale(0); } 60% { opacity: 1; transform: translate(-50%,-50%) scale(1.3); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes story-arrow-flow { 0%,100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(5px); opacity: 1; } }
@keyframes story-reveal-glow { 0%,100% { box-shadow: 0 12px 32px rgba(201,168,69,.18); } 50% { box-shadow: 0 16px 44px rgba(201,168,69,.46); } }
@keyframes story-sweep { from { transform: translateX(-130%); } to { transform: translateX(360%); } }

/* estagio 1 · pontos pipocam em cascata */
.story-viz--dots i { opacity: 0; }
.rec-apres-slide.is-in .story-viz--dots i { animation: story-dot-pop .42s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 22ms + .15s); }

/* estagio 2 · barras crescem da esquerda + nota entra */
.story-bar__fill { transform: scaleX(0); transform-origin: left center; }
.rec-apres-slide.is-in .story-bar__fill { transition: transform .65s var(--ease-out) .30s; transform: scaleX(1); }
.rec-apres-slide.is-in .story-bar__fill--b { transition-delay: .46s; }
.story-viz__note { opacity: 0; }
.rec-apres-slide.is-in .story-viz__note { animation: apres-fade-up .4s .62s var(--ease-out) both; }

/* estagio 3 · formula e flip entram */
.story-formula, .story-flip { opacity: 0; }
.rec-apres-slide.is-in .story-formula { animation: apres-fade-up .45s .30s var(--ease-out) both; }
.rec-apres-slide.is-in .story-flip { animation: apres-fade-up .45s .48s var(--ease-out) both; }

/* estagio 4 · dots de acidente pipocam + card-climax pulsa + sweep no gradiente */
.story-acc { opacity: 0; }
.rec-apres-slide.is-in .story-acc { animation: story-acc-pop .5s var(--ease-out) both; }
.rec-apres-slide.is-in .story-stage--reveal .story-acc:nth-of-type(1) { animation-delay: .55s; }
.rec-apres-slide.is-in .story-stage--reveal .story-acc:nth-of-type(2) { animation-delay: .69s; }
.rec-apres-slide.is-in .story-stage--reveal .story-acc:nth-of-type(3) { animation-delay: .83s; }
.rec-apres-slide.is-in .story-stage--reveal { animation: apres-fade-up .5s .30s var(--ease-out) both, story-reveal-glow 2.6s ease-in-out 1.1s infinite; }
.story-gradient::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-130%); pointer-events: none; }
.rec-apres-slide.is-in .story-gradient::after { animation: story-sweep 1.1s var(--ease-out) .95s; }

/* seta do climax (gold) pulsa pra puxar o olho ao estagio final */
.rec-apres-slide.is-in .story-arrow--reveal { animation: story-arrow-flow 1.6s ease-in-out .7s infinite; }

/* impressao (PDF): garante tudo visivel sem depender de .is-in */
body.is-rec-printing .story-viz--dots i,
body.is-rec-printing .story-viz__note,
body.is-rec-printing .story-formula,
body.is-rec-printing .story-flip { opacity: 1 !important; transform: none !important; animation: none !important; }
body.is-rec-printing .story-bar__fill { transform: scaleX(1) !important; animation: none !important; }
body.is-rec-printing .story-acc { opacity: 1 !important; transform: translate(-50%,-50%) !important; animation: none !important; }
body.is-rec-printing .story-gradient::after { display: none !important; }
body.is-rec-printing .story-stage--reveal { animation: none !important; }

/* ════════════ CAPA + ENCERRAMENTO escuros (so na tela) · v0.17.0 ════════════ */
/* fundo teal igual ao da tela de launch; bookends escuros, miolo segue claro.   */
/* escopo em #rec-apres-slide[data-slide-id]: nao afeta o PDF (outro host).       */
#rec-apres-slide[data-slide-id="cover"],
#rec-apres-slide[data-slide-id="closing"] {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
#rec-apres-slide[data-slide-id="cover"] .apres-cover__title,
#rec-apres-slide[data-slide-id="closing"] .apres-cover__title { color: #fff; }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__eyebrow,
#rec-apres-slide[data-slide-id="closing"] .apres-cover__eyebrow { color: var(--gold); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__client { color: var(--accent); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__sub,
#rec-apres-slide[data-slide-id="closing"] .apres-cover__sub { color: rgba(255,255,255,0.78); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__brand-name { color: #fff; }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__brand-logo { filter: brightness(0) invert(1); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__kpis { border-top-color: rgba(255,255,255,0.16); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__kpi-v { color: var(--gold); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__kpi-l { color: rgba(255,255,255,0.62); }
#rec-apres-slide[data-slide-id="cover"] .apres-cover__foot { color: rgba(255,255,255,0.5); }
/* encerramento: solta o fundo claro proprio e deixa o teal do host aparecer */
#rec-apres-slide[data-slide-id="closing"] .apres-cover--closing { background: transparent; }
#rec-apres-slide[data-slide-id="closing"] .apres-manifesto__text { color: rgba(255,255,255,0.92); }
#rec-apres-slide[data-slide-id="closing"] .apres-cover__cta-stats { border-top-color: rgba(255,255,255,0.16); }
#rec-apres-slide[data-slide-id="closing"] .apres-cover__cta-stats b { color: var(--gold); }
#rec-apres-slide[data-slide-id="closing"] .apres-cover__cta-stats span { color: rgba(255,255,255,0.62); }

/* ════════════ PODIO · criterios (sem nomes) + apice Diamante · v0.18.0 ════════════ */
.apres-podium__tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 800; letter-spacing: 0.02em;
  opacity: 0.95; margin-top: -2px;
}
.apres-podium__crit {
  font-size: 11px; font-weight: 600; line-height: 1.3;
  opacity: 0.82; max-width: 94%;
}
/* apice Diamante (anual) acima do podio trimestral */
.apres-podium__diamond {
  display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: 94%;
  margin: 4px auto 24px;
  padding: 12px 24px 12px 18px;
  background: linear-gradient(135deg, #eaf4ff 0%, #d3e6ff 46%, var(--gold-soft) 100%);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(120,170,255,0.26);
  animation: apres-dia-glow 2.8s ease-in-out infinite;
}
@keyframes apres-dia-glow {
  0%,100% { box-shadow: 0 8px 26px rgba(120,170,255,0.22); }
  50%     { box-shadow: 0 10px 34px rgba(201,168,69,0.40); }
}
.apres-podium__diamond-gem {
  font-size: 30px; line-height: 1;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.18));
  animation: apres-dia-bob 2.4s ease-in-out infinite;
}
@keyframes apres-dia-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.apres-podium__diamond-txt { text-align: left; }
.apres-podium__diamond-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.01em; line-height: 1.1;
}
.apres-podium__diamond-crit { font-size: 12px; color: var(--sub); line-height: 1.4; margin-top: 2px; max-width: 420px; }
/* impressao: sem pulsos */
body.is-rec-printing .apres-podium__diamond,
body.is-rec-printing .apres-podium__diamond-gem { animation: none !important; }

/* META da proposta · editavel no modo edicao (salva nas regras, nao nos textos) */
.propo-tbl__meta.rec-apres-editable { display: inline-block; min-width: 52px; }
.propo-tbl__meta.rec-apres-editable:empty::before { content: '+ meta'; opacity: 0.45; font-weight: 600; }

/* ════════════ PROPOSTA · bloco "A formula de cada criterio" · v0.20.0 ════════════ */
.propo-fx-block { margin: 26px 0 8px; }
.propo-fx-intro { font-size: 13px; color: var(--sub); line-height: 1.55; margin: 6px 0 14px; max-width: 900px; }
.propo-fx__row { display: grid; grid-template-columns: 232px 1fr; gap: 20px; align-items: start; padding: 15px 0; border-top: 1px solid var(--line); }
.propo-fx__row:first-of-type { border-top: none; padding-top: 4px; }
.propo-fx__head { display: flex; align-items: flex-start; gap: 11px; }
.propo-fx__ico { font-size: 23px; line-height: 1.1; }
.propo-fx__headtxt { display: flex; flex-direction: column; gap: 5px; }
.propo-fx__name { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; color: var(--primary); line-height: 1.08; }
.propo-fx__type { display: inline-block; width: max-content; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.propo-fx__type--gate  { background: rgba(185,28,28,0.10); color: var(--crit); }
.propo-fx__type--pts   { background: rgba(56, 29, 84,0.09); color: var(--primary); }
.propo-fx__type--bonus { background: rgba(88, 200, 220,0.13); color: var(--accent); }
.propo-fx__rule { font-size: 13px; color: var(--txt); line-height: 1.6; }
.propo-fx__scale { display: flex; gap: 5px; margin: 12px 0 2px; }
.propo-fx__seg { border-radius: 8px; padding: 8px 11px; color: #fff; }
.propo-fx__seg b { display: block; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.propo-fx__seg span { display: block; font-size: 10.5px; opacity: 0.94; margin-top: 1px; }
.propo-fx__seg--bonus { background: var(--accent); flex: 0.85; }
.propo-fx__seg--meta  { background: #5f9aa0; flex: 0.75; }
.propo-fx__seg--grad  { background: linear-gradient(90deg, var(--warn) 0%, #d97706 100%); flex: 1.7; }
.propo-fx__seg--heavy { background: var(--crit); flex: 0.7; }
@media (max-width: 920px) {
  .propo-fx__row { grid-template-columns: 1fr; gap: 8px; }
}

/* ════════════ PROPOSTA · curva gradual + acidente eliminatorio + simulacao · v0.21.0 ════════════ */
.propo-fx__curve { margin-top: 8px; font-size: 11.5px; color: var(--sub); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

.propo-tbl__peso--elim b { color: var(--crit); }
.propo-tbl__peso--elim .propo-tbl__pesobar > span { background: var(--crit); }
.propo-tbl__elim { display: block; font-size: 9px; font-weight: 800; color: var(--crit); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; font-style: normal; }

.propo-sim { margin: 22px 0 4px; padding: 16px 18px; background: var(--bg-soft); border-radius: 12px; }
.propo-sim__h { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.propo-sim__tbl { display: flex; flex-direction: column; }
.propo-sim__row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.propo-sim__row--head { border-top: none; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding-bottom: 6px; }
.propo-sim__perfil { font-weight: 700; color: var(--primary); }
.propo-sim__num { font-variant-numeric: tabular-nums; color: var(--txt); }
.propo-sim__num b { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; }
.propo-sim__band { font-weight: 700; }
.propo-sim__band--bonus { color: var(--accent); }
.propo-sim__band--grad  { color: #d97706; }
.propo-sim__band--heavy { color: var(--crit); }
.propo-sim__cap { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 10px; }

/* ════════════ PROPOSTA v0.22.0 · cores das faixas, personas, pesos-pts, fundo, animacoes ════════════ */
/* Faixas do Lytx: azul claro / verde / amarelo / vermelho, com texto dentro */
.propo-fx__seg { color: #fff; flex: 1; }
.propo-fx__seg em { display: block; font-style: normal; font-size: 9.5px; opacity: 0.92; margin-top: 3px; font-weight: 600; }
.propo-fx__seg--bonus { background: #9fd0f0; color: var(--primary); flex: 0.95; }
.propo-fx__seg--meta  { background: var(--accent); color: #fff; flex: 0.85; }
.propo-fx__seg--grad  { background: #f5bd1f; color: #5a4500; flex: 1.7; }
.propo-fx__seg--heavy { background: var(--crit); color: #fff; flex: 0.75; }
.propo-fx__curve { margin-top: 9px; }

/* Peso em pontos (nao %), Eliminatorio empilhado abaixo, coluna mais larga */
.propo-tbl__row { grid-template-columns: 1.45fr 60px 1fr 1.7fr 76px 124px; }
.propo-tbl__peso { flex-direction: column; gap: 4px; }
.propo-tbl__peso b i { font-style: normal; font-size: 9px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.propo-tbl__elim { white-space: nowrap; }

/* Fundo sutil nas tabelas */
.propo-tbl { box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.propo-fx-block { background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; }

/* Simulacao em personas (multi-criterio, cor, emojis) */
.propo-sim { background: var(--bg-soft); }
.propo-sim__h { display: flex; align-items: center; gap: 8px; }
.propo-sim__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.propo-pers { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--muted); border-radius: 12px; padding: 14px 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.propo-pers--top  { border-top-color: var(--accent); }
.propo-pers--mid  { border-top-color: #f5bd1f; }
.propo-pers--risk { border-top-color: var(--crit); }
.propo-pers__head { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.propo-pers__emoji { font-size: 21px; }
.propo-pers__crits { display: flex; flex-direction: column; gap: 7px; margin-bottom: 11px; }
.propo-pers__crit { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12px; color: var(--txt); }
.propo-pers__ce { font-size: 14px; }
.propo-pers__cv { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--primary); }
.propo-pers__crit.is-bad { background: rgba(185,28,28,0.07); border-radius: 6px; padding: 3px 6px; margin: -3px -6px; }
.propo-pers__crit.is-bad .propo-pers__cv { color: var(--crit); font-size: 10px; letter-spacing: 0.05em; }
.propo-pers__total { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.propo-pers__total > span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.propo-pers__total b { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1; }
.propo-pers--risk .propo-pers__total b { color: var(--crit); font-size: 17px; }
.propo-pers__total em { font-size: 10px; font-style: normal; color: var(--muted); }
.propo-pers__why { font-size: 11.5px; color: var(--sub); line-height: 1.5; margin-top: 9px; }

/* Animacoes (gated em .is-in) + piscadas */
@keyframes propo-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes propo-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.rec-apres-slide.is-in .propo-fx__row { animation: apres-fade-up 0.5s var(--ease-out) both; }
.propo-fx__seg { opacity: 0; }
.rec-apres-slide.is-in .propo-fx__seg { animation: apres-fade-up 0.45s var(--ease-out) both; }
.rec-apres-slide.is-in .propo-fx__seg:nth-child(1) { animation-delay: 0.10s; }
.rec-apres-slide.is-in .propo-fx__seg:nth-child(2) { animation-delay: 0.18s; }
.rec-apres-slide.is-in .propo-fx__seg:nth-child(3) { animation-delay: 0.26s; }
.rec-apres-slide.is-in .propo-fx__seg:nth-child(4) { animation-delay: 0.34s; }
.propo-pers { opacity: 0; }
.rec-apres-slide.is-in .propo-pers { animation: propo-pop 0.5s var(--ease-out) both; }
.rec-apres-slide.is-in .propo-pers:nth-child(2) { animation-delay: 0.12s; }
.rec-apres-slide.is-in .propo-pers:nth-child(3) { animation-delay: 0.24s; }
.propo-tbl__elim { animation: propo-blink 1.7s ease-in-out infinite; }
.propo-pers--top .propo-pers__total b { animation: propo-blink 2.2s ease-in-out infinite; }

/* Impressao (PDF): tudo visivel, sem piscar */
body.is-rec-printing .propo-fx__seg,
body.is-rec-printing .propo-pers { opacity: 1 !important; animation: none !important; transform: none !important; }
body.is-rec-printing .propo-tbl__elim,
body.is-rec-printing .propo-pers--top .propo-pers__total b { animation: none !important; }
