:root {
  --bg: #eef2f9;
  --bg-grad:
    radial-gradient(ellipse at top left, #c7d2fe 0%, transparent 45%),
    radial-gradient(ellipse at top right, #fbcfe8 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, #bfdbfe 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, #ddd6fe 0%, transparent 50%),
    linear-gradient(180deg, #f1f5fb 0%, #e8eef8 100%);
  --panel: rgba(255, 255, 255, 0.62);
  --panel-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-edge: rgba(255, 255, 255, 0.95);
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #7c3aed;
  --accent-2: #ec4899;
  --accent-3: #3b82f6;
  --green: #16a34a;
  --red: #dc2626;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10), 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.22);
  --hero-grad: linear-gradient(135deg, #7c3aed 0%, #3b82f6 60%, #ec4899 100%);
  --radius: 20px;
  --radius-sm: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060812;
    --bg-grad:
      radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.35) 0%, transparent 45%),
      radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.22) 0%, transparent 50%),
      radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.25) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(168, 85, 247, 0.28) 0%, transparent 50%),
      linear-gradient(180deg, #0a0f1c 0%, #050810 100%);
    --panel: rgba(20, 25, 38, 0.55);
    --panel-strong: rgba(20, 25, 38, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-edge: rgba(255, 255, 255, 0.16);
    --ink: #f1f5f9;
    --ink-soft: #cbd5e1;
    --muted: #94a3b8;
    --line: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

body {
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  background: var(--bg-grad);
  z-index: -2;
  pointer-events: none;
  animation: glassFlow 24s ease-in-out infinite alternate;
}

@keyframes glassFlow {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}

/* ───── Layout principal ───── */
.stage {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px 32px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 4px;
  margin-bottom: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.progress {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
}
@media (prefers-color-scheme: dark) {
  .progress { background: rgba(255,255,255,0.06); }
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--hero-grad);
  border-radius: 999px;
  transition: width 600ms cubic-bezier(.22, .9, .25, 1);
  position: relative;
}
.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ───── KPI Bar (persistente, evolui conforme respostas) ───── */
.kpi-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  margin: 0 0 18px;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  animation: kpiSlideIn 420ms cubic-bezier(.22,.9,.25,1);
}
.kpi-bar[hidden] { display: none; }
@keyframes kpiSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.kpi-company {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.kpi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  animation: kpiDotPulse 1.6s ease-in-out infinite;
}
@keyframes kpiDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.08); }
}
.kpi-company-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
}
.kpi-live {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.25);
}
.kpi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kpi-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--ink-soft);
  transition: transform 220ms ease;
}
.kpi-chip strong { font-weight: 800; }
.kpi-chip.tone-warn   { color: var(--amber, #d97706); background: rgba(252, 211, 77, 0.18); border-color: rgba(252, 211, 77, 0.45); }
.kpi-chip.tone-danger { color: var(--red);            background: rgba(248, 113, 113, 0.18); border-color: rgba(248, 113, 113, 0.45); }
.kpi-chip.is-new {
  animation: chipPop 600ms cubic-bezier(.22,.9,.25,1);
}
@keyframes chipPop {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-color-scheme: dark) {
  .kpi-chip { background: rgba(255,255,255,0.06); }
  .kpi-chip.tone-warn   { background: rgba(252, 211, 77, 0.1); }
  .kpi-chip.tone-danger { background: rgba(248, 113, 113, 0.12); }
}

/* Linha de insight persistente dentro do KPI bar */
.kpi-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-top: 4px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(124, 58, 237, 0.20);
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(.22,.9,.25,1);
}
.kpi-insight[hidden] { display: none; }
.kpi-insight-icon { font-size: 18px; flex-shrink: 0; line-height: 1.2; }
.kpi-insight strong { color: var(--accent); font-weight: 800; }
.kpi-insight .big-red {
  color: var(--red);
  font-weight: 900;
  font-size: 15px;
}
.kpi-insight .muted { color: var(--muted); font-weight: 500; font-size: 12px; }
.kpi-insight.fade-out { opacity: 0; transform: translateY(-4px); }
.kpi-insight.fade-in  { animation: insightIn 380ms cubic-bezier(.22,.9,.25,1); }
@keyframes insightIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ───── Tela final (sem coleta de telefone) ───── */
.final { text-align: center; padding: 8px 4px 16px; }
.final-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 18px;
}
.final-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.final-title .hl-grad {
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.final-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 auto 24px;
  max-width: 520px;
  line-height: 1.5;
}
.final-sub .hl-red { color: var(--red); font-weight: 900; }
.final-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px auto 24px;
  text-align: left;
  max-width: 460px;
}
.fc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%);
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.fc-row span:first-child { font-size: 20px; }
.cta.cta-wa { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), var(--shadow-sm); }
.cta.cta-wa:hover { box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.65), var(--shadow-md); filter: brightness(1.06); }
.cta.cta-wa .wa-icon { font-size: 22px; }

/* CTA hero — centralizado, destaque maior, pulse sutil */
.final-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 28px auto 8px;
}
.cta-hero {
  max-width: 460px;
  width: 100%;
  padding: 24px 32px;
  font-size: 19px;
  letter-spacing: 0.01em;
  animation: ctaPulse 2.2s ease-in-out infinite;
}
.cta-hero .wa-icon { font-size: 26px; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.25); }
  50%      { box-shadow: 0 16px 38px -6px rgba(37, 211, 102, 0.65), 0 0 0 12px rgba(37, 211, 102, 0); }
}
.cta-hero:hover { animation: none; transform: translateY(-2px); }

/* ───── Toast de insight (overlay inline) ───── */
.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 50;
  max-width: 92vw;
  width: min(540px, 92vw);
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease, transform 280ms cubic-bezier(.22,.9,.25,1);
}
.toast[hidden] { display: none; }
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast-content {
  padding: 14px 18px;
  background: var(--panel-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.4;
}
.toast-content strong { font-weight: 800; color: var(--accent); }
.toast-content .big-red {
  display: inline-block;
  margin: 4px 0;
  font-size: 26px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.toast-content .muted { color: var(--muted); font-size: 13px; font-weight: 500; }
.hl-red { color: var(--red); font-weight: 900; }

/* ───── Screens ───── */
.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: screenIn 420ms cubic-bezier(.22, .9, .25, 1);
}
.screen.active { display: flex; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───── Hero ───── */
.hero {
  text-align: center;
  padding: 24px 4px 16px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero-accent {
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 2.4vw, 18px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.d-desktop { display: none; }
@media (min-width: 720px) { .d-desktop { display: inline; } }

/* ───── Question heads ───── */
.q-head {
  margin: 8px 0 24px;
}
.q-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.q-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.q-title strong {
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.q-hint {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ───── Option cards ───── */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}
.cards.grid-2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) {
  .cards.grid-2 { grid-template-columns: 1fr 1fr; }
}

.card-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  min-height: 68px;
  background: var(--panel);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.card-opt:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.card-opt:active { transform: translateY(0); }
.card-opt.selected {
  border-color: var(--accent);
  background: var(--panel-strong);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.card-opt .opt-icon {
  font-size: 24px;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}
.card-opt .opt-label { flex: 1; line-height: 1.3; }

/* Cards grid 2 cols (nichos) — layout vertical */
.cards.grid-2 .card-opt {
  flex-direction: column;
  text-align: center;
  gap: 8px;
  padding: 20px 14px;
  min-height: 110px;
}
.cards.grid-2 .card-opt .opt-icon { font-size: 30px; width: auto; }

/* ───── Forms ───── */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.field input {
  padding: 16px 18px;
  border: 1.5px solid var(--glass-border);
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.field input::placeholder { color: var(--muted); opacity: 0.6; }

.legal {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
}

/* ───── CTAs ───── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  width: 100%;
}
.cta-primary {
  background: var(--hero-grad);
  color: white;
  box-shadow: 0 10px 30px -8px rgba(124, 58, 237, 0.5), var(--shadow-sm);
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(124, 58, 237, 0.6), var(--shadow-md);
  filter: brightness(1.06);
}
.cta-primary:active { transform: translateY(0); }
.cta-big { padding: 22px 28px; font-size: 18px; }
.cta-arrow { font-size: 20px; transition: transform 200ms ease; }
.cta:hover .cta-arrow { transform: translateX(4px); }

/* ───── Reveal ───── */
.reveal-loading {
  text-align: center;
  padding: 80px 16px;
}
.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid rgba(124, 58, 237, 0.2);
  border-top-color: var(--accent);
  margin: 0 auto 24px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.reveal { text-align: center; padding: 8px 4px 16px; }
.reveal.hidden { display: none; }
.reveal-greeting {
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.reveal-pre {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.reveal-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 16px;
  font-weight: 800;
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.reveal-currency { font-size: clamp(28px, 5vw, 36px); }
.reveal-number { font-size: clamp(52px, 11vw, 88px); line-height: 1; }
.reveal-period { font-size: clamp(20px, 3.5vw, 28px); color: var(--muted); -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: var(--muted); }

.reveal-projection {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding: 12px 18px;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  display: inline-block;
  backdrop-filter: blur(12px);
}
.reveal-projection strong { color: var(--red); font-weight: 800; }

.breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 28px;
  text-align: left;
}
.bd-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.bd-icon { font-size: 22px; flex-shrink: 0; }
.bd-row > div { flex: 1; font-size: 15px; line-height: 1.4; }
.bd-row strong { color: var(--accent); font-weight: 800; }
.bd-row small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

.reveal-cta-text {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 8px 0 20px;
  line-height: 1.5;
}

/* ───── Animação sequencial do reveal ───── */
.stage-hidden {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(.22,.9,.25,1), filter 520ms ease;
  will-change: opacity, transform, filter;
}
.stage-hidden.stage-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* p.reveal-pre e .reveal-amount precisam manter display correto após animar */
p.reveal-pre.stage-hidden { display: block; }
.reveal-amount.stage-hidden { display: flex; }

/* Destaque dentro de CTA — palavras GRATUITO/AGORA */
.cta-hl {
  display: inline-block;
  padding: 1px 8px;
  margin: 0 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Destaque inline em hints (b dentro de q-hint) */
.q-hint b {
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.96em;
}

/* ───── Report preview (títulos visíveis + body borrado) ───── */
.report-preview {
  margin: 12px 0 20px;
  text-align: left;
}
.report-title {
  text-align: center;
  margin-bottom: 14px;
}
.rt-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.10);
  margin-bottom: 8px;
}
.rt-h {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rt-h #reportEmpresa {
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rt-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.report-sections {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-section {
  background: var(--panel);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.report-section:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 58, 237, 0.35);
}

.rs-head {
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
}
.rs-icon {
  font-size: 22px;
  text-align: center;
  filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.25));
}
.rs-titles { min-width: 0; }
.rs-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 3px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.rs-title em {
  font-style: normal;
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.rs-teaser {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}
.rs-lock {
  font-size: 14px;
  opacity: 0.55;
  text-align: right;
}

.rs-body {
  padding: 0 16px 12px;
  margin: 0;
  position: relative;
  max-height: 64px;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  filter: blur(7px) saturate(120%);
  -webkit-filter: blur(7px) saturate(120%);
  pointer-events: none;
  user-select: none;
}
.rs-body::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28px;
  background: linear-gradient(180deg, transparent, var(--panel-strong));
}
.rs-body p { margin: 0 0 4px; }
.rs-body strong { color: var(--accent); }

.report-locked-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.10));
  border: 1px dashed rgba(124, 58, 237, 0.35);
  text-align: left;
}
.rl-icon { font-size: 22px; }
.rl-text { display: flex; flex-direction: column; gap: 2px; }
.rl-text strong { font-size: 14px; color: var(--ink); font-weight: 800; }
.rl-text small { font-size: 12px; color: var(--muted); }

/* ───── Locked report (blur premium) ───── */
.locked-report {
  position: relative;
  margin: 8px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.locked-content {
  filter: blur(9px) saturate(120%);
  -webkit-filter: blur(9px) saturate(120%);
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
  transform: scale(1.02);
}
.locked-content .breakdown { margin: 12px 0 4px; }

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 70%, rgba(255, 255, 255, 0.15) 100%),
    rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px) saturate(140%);
  -webkit-backdrop-filter: blur(2px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-align: center;
  animation: lockPulse 2.4s ease-in-out infinite;
}
@keyframes lockPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.0); }
  50%      { box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.18); }
}
.lock-icon {
  font-size: 38px;
  filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.35));
}
.lock-title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lock-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  .locked-overlay {
    background:
      radial-gradient(ellipse at center, rgba(20, 25, 38, 0.7) 0%, rgba(20, 25, 38, 0.45) 70%, rgba(20, 25, 38, 0.3) 100%),
      rgba(20, 25, 38, 0.2);
  }
}

/* ───── Mobile tuning ───── */
@media (max-width: 480px) {
  .stage { padding: 12px 16px 24px; }
  .topbar { margin-bottom: 16px; }
  .hero-meta { gap: 10px; font-size: 12px; }
  .breakdown { margin: 4px 0 20px; }
}

@media (max-height: 720px) {
  .hero { padding: 12px 4px 8px; }
  .hero-badge { margin-bottom: 18px; }
  .hero-title { margin-bottom: 12px; }
  .hero-sub { margin-bottom: 24px; }
}
