/* ===== VisiScan · Variant B components ==============================================
   Blurred-report teaser + R$29,90 unlock + reusable site-screenshot trust element.
   Layers ON TOP of tokens.css + components.css — never redefines a token, so B reads as
   one system with the A pages and the live report/PDF. Light + dark aware via the tokens.
   Class prefix: report sheet = rp-, funnel-B chrome = vs-. ================================ */

/* ---------- report sheet (scoped mirror of the live report/PDF look) ---------- */
.vs-report { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-3xl);
  box-shadow: var(--sh-card); overflow: hidden; }
.vs-report-wrap { padding: clamp(20px, 4vw, 40px); }
.vs-report h1, .vs-report h2, .vs-report h3, .vs-report h4 {
  font-family: var(--font-display); font-weight: var(--fw-semibold); letter-spacing: -.012em; line-height: 1.12; margin: 0; }

/* masthead */
.rp-mast { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.rp-mast-l { display: flex; align-items: center; gap: 12px; }
.rp-mark svg { width: 38px; height: 38px; display: block; }
.rp-name { font-family: var(--font-display); font-size: 20px; font-weight: var(--fw-semibold); color: var(--text); letter-spacing: -.02em; line-height: 1.05; }
.rp-name small { display: block; font-family: var(--font-body); font-size: 11.5px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; margin-top: 2px; }
.rp-mast-r { text-align: right; flex-shrink: 0; }
.rp-kicker { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.rp-dom { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text); margin-top: 3px; word-break: break-all; }
.rp-date { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* hero (score + verdict + counters) */
.rp-hero { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); padding: 30px 0; border-bottom: 1px solid var(--border); }
.rp-ring { flex-shrink: 0; }
.rp-hero-b { flex: 1; min-width: 0; }
.rp-hero h1 { font-size: clamp(22px, 3.4vw, 29px); color: var(--text); margin-bottom: 10px; }
.rp-verdict { color: var(--text-muted); font-size: 15.5px; line-height: 1.55; max-width: 560px; margin-bottom: 16px; text-wrap: pretty; }
.rp-counters { display: flex; gap: 10px; flex-wrap: wrap; }
.rp-ct { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 13px 6px 11px; }
.rp-ct b { font-family: var(--font-display); font-size: 15px; font-variant-numeric: tabular-nums; }
.rp-ct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.rp-ct-ok::before { background: var(--green); }
.rp-ct-wn::before { background: var(--amber); }
.rp-ct-cr::before { background: var(--red); }

/* sections */
.rp-sec { padding-top: 30px; }
.rp-sec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.rp-sec-n { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.rp-sec-h h2 { font-size: 20px; color: var(--text); }
.rp-lead { color: var(--text-muted); margin: 4px 0 18px; font-size: 14.5px; line-height: 1.55; max-width: 640px; }

/* stakes (the sharp, critical failures) */
.rp-stakes { list-style: none; border-top: 1px solid var(--border); margin: 0; padding: 0; }
.rp-stakes li { padding: 15px 0 15px 26px; border-bottom: 1px solid var(--border); position: relative; color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.rp-stakes li strong { color: var(--text); font-weight: var(--fw-semibold); }
.rp-stakes li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent); }

/* roadmap */
.rp-rm { border-top: 1px solid var(--border); }
.rp-rm-row { display: flex; align-items: flex-start; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.rp-rm-n { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--primary); min-width: 26px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.rp-rm-b { flex: 1; min-width: 0; }
.rp-rm-label { font-weight: 600; color: var(--text); font-size: 15px; line-height: 1.4; }
.rp-rm-detail { color: var(--text-muted); font-size: 13.5px; margin-top: 3px; line-height: 1.5; }
.rp-tag { font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: 6px; white-space: nowrap; align-self: flex-start; margin-top: 1px; }
.rp-tag-quick { background: color-mix(in srgb, var(--amber) 15%, var(--surface)); color: var(--amber); }
.rp-tag-crit  { background: color-mix(in srgb, var(--red) 12%, var(--surface)); color: var(--red); }
.rp-tag-impr  { background: var(--primary-tint-2); color: var(--primary-ink); }
.rp-tag-strat { background: color-mix(in srgb, var(--green) 12%, var(--surface)); color: var(--green); }

/* before / after */
.rp-ba { display: flex; align-items: stretch; margin-top: 8px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.rp-ba-card { flex: 1; padding: 24px 20px; text-align: center; background: var(--surface); }
.rp-ba-card.after { background: var(--primary-tint); }
.rp-ba-num { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.rp-ba-lbl { color: var(--text-muted); font-size: 12px; font-weight: 500; margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }
.rp-ba-arrow { display: flex; align-items: center; padding: 0 8px; font-size: 22px; color: var(--primary); background: var(--surface); }
.rp-ba-note { color: var(--text-muted); font-size: 12.5px; margin-top: 12px; line-height: 1.5; }

/* recommendation rationale */
.rp-rationale { background: var(--primary-tint); border: 1px solid var(--primary-line); border-radius: 12px; padding: 20px 24px; margin: 6px 0 0;
  color: var(--primary-ink); font-size: 14.5px; line-height: 1.6; }
.rp-rationale::before { content: ""; display: block; width: 26px; height: 3px; background: var(--primary); border-radius: 2px; margin-bottom: 12px; }

.rp-ring-svg { display: block; }

@media (max-width: 560px) {
  .rp-mast { flex-direction: column; gap: 12px; }
  .rp-mast-r { text-align: left; }
  .rp-hero { flex-direction: column; text-align: center; }
  .rp-counters { justify-content: center; }
}
@media (max-width: 520px) {
  .rp-ba { flex-direction: column; }
  .rp-ba-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ---------- site-screenshot trust component (REUSABLE — funnel A + B) ---------- */
.vs-shot { margin: 22px 0 6px; }
.vs-shot-frame { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--bg); box-shadow: var(--sh-sm); }
.vs-shot-chrome { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.vs-shot-dots { display: flex; gap: 5px; flex-shrink: 0; }
.vs-shot-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.vs-shot-bar { flex: 1; display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; color: var(--text-muted);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 5px 12px; }
.vs-shot-bar svg { flex-shrink: 0; color: var(--green); }
.vs-shot-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.vs-shot-view { position: relative; aspect-ratio: 16 / 10; background: var(--bg); }
.vs-shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity var(--d-slow) var(--ease-out); }
.vs-shot.is-loaded .vs-shot-img { opacity: 1; }
.vs-shot-skeleton { position: absolute; inset: 0; background: linear-gradient(100deg, var(--bg) 30%, color-mix(in srgb, var(--primary) 8%, var(--surface)) 50%, var(--bg) 70%);
  background-size: 200% 100%; animation: vs-shimmer 1.4s linear infinite; }
.vs-shot.is-loaded .vs-shot-skeleton, .vs-shot.is-fallback .vs-shot-skeleton { display: none; }
@keyframes vs-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.vs-shot-fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.vs-shot.is-fallback .vs-shot-fallback { display: flex; }
.vs-shot-favi { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 26px; box-shadow: var(--sh-cta); }
.vs-shot-fbdom { font-weight: 600; color: var(--text); font-size: 15px; word-break: break-all; }
.vs-shot-fbnote { font-size: 12.5px; color: var(--text-muted); }
.vs-shot-cap { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.vs-shot-cap svg { color: var(--primary); flex-shrink: 0; }

/* ---------- progressive-blur gate ---------- */
.vs-gate { position: relative; margin-top: 8px; }
/* the ghost is decorative + aria-hidden: it holds NO real gated text, only typeset-shaped
   bars, so casual inspect-element reveals nothing. The real report is injected post-unlock. */
.vs-ghost { position: relative; overflow: hidden; user-select: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 6%, rgba(0,0,0,.4) 58%, transparent 97%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 6%, rgba(0,0,0,.4) 58%, transparent 97%); }
.vs-ghost-band { filter: blur(3px); }
.vs-ghost-band.b2 { filter: blur(6px); }
.vs-ghost-band.b3 { filter: blur(10px); }

/* ghost typeset lines (look like blurred text — carry no characters) */
.gk { display: block; height: 11px; border-radius: 4px; background: color-mix(in srgb, var(--text) 74%, transparent); margin: 4px 0; }
.gk-xl { width: 82%; } .gk-lg { width: 66%; } .gk-md { width: 48%; } .gk-sm { width: 32%; }
.gk-tag { width: 66px; height: 20px; border-radius: 6px; margin: 0; }
.gk-title { height: 15px; width: 42%; background: color-mix(in srgb, var(--primary) 60%, transparent); margin-bottom: 14px; }

/* the fade scrim toward the surface so the fold reads clean, not cropped */
.vs-gate-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent 30%, color-mix(in srgb, var(--bg) 55%, transparent) 70%, var(--bg) 100%); }

/* unlock module — floats over the start of the blur */
.vs-unlock { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(36px, 11vh, 116px) clamp(8px, 3vw, 20px) 0; }
.vs-unlock-card { width: 100%; max-width: 500px; background: var(--surface); border: 1px solid var(--primary-line);
  border-radius: var(--r-2xl); box-shadow: var(--sh-modal); padding: clamp(24px, 4.5vw, 34px); text-align: center; }
.vs-unlock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-tint); border: 1px solid var(--primary-line);
  border-radius: var(--r-pill); padding: 5px 13px; margin-bottom: var(--sp-4); }
.vs-unlock-h { font-family: var(--font-display); font-size: clamp(21px, 3.4vw, 27px); font-weight: var(--fw-semibold); color: var(--text); line-height: 1.15; letter-spacing: -.01em; }
.vs-unlock-val { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; margin-top: 10px; text-wrap: pretty; }
.vs-unlock-count { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: var(--sp-5) 0; }
.vs-unlock-count span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 12px; }
.vs-unlock-count b { font-family: var(--font-display); color: var(--primary); font-variant-numeric: tabular-nums; }
.vs-unlock-price { display: flex; align-items: baseline; justify-content: center; gap: 9px; margin-top: var(--sp-4); }
.vs-unlock-amount { font-family: var(--font-display); font-size: clamp(34px, 6vw, 42px); font-weight: var(--fw-semibold); color: var(--text); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.vs-unlock-amount .cur { font-size: .5em; vertical-align: .34em; color: var(--text-muted); }
.vs-unlock-terms { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.vs-unlock .vs-btn { margin-top: var(--sp-5); }
.vs-unlock-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: var(--sp-4);
  font-size: 12px; color: var(--text-muted); font-weight: 500; }
.vs-unlock-trust span { display: inline-flex; align-items: center; gap: 6px; }
.vs-unlock-trust svg { color: var(--green); flex-shrink: 0; }
.vs-unlock-wa { display: inline-flex; align-items: center; gap: 7px; margin-top: var(--sp-4); font-size: 13px; font-weight: 600;
  color: var(--wa-strong); text-decoration: none; }
.vs-unlock-wa:hover { text-decoration: underline; }
.vs-unlock-note { margin-top: var(--sp-4); font-size: 12px; color: var(--text-muted); line-height: 1.5; min-height: 15px; }
.vs-unlock-reassure { margin-top: var(--sp-3); font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ---------- unlocked state ---------- */
.vs-gate.is-unlocked .vs-ghost { -webkit-mask-image: none; mask-image: none; pointer-events: auto; user-select: auto; }
.vs-gate.is-unlocked .vs-unlock, .vs-gate.is-unlocked .vs-gate-scrim { display: none; }
.vs-real { animation: vs-unblur .6s var(--ease-out) both; }
@keyframes vs-unblur { from { filter: blur(12px); opacity: .25; transform: translateY(8px); } to { filter: none; opacity: 1; transform: none; } }

/* unlocked banner (announced + visible) */
.vs-unlocked-flag { display: none; align-items: center; gap: 10px; margin: 4px 0 18px; padding: 12px 16px;
  background: color-mix(in srgb, var(--green) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--green) 35%, var(--border));
  border-radius: var(--r-lg); color: var(--text); font-size: 14px; font-weight: 500; }
.is-unlocked .vs-unlocked-flag { display: flex; }
.vs-unlocked-flag svg { color: var(--green); flex-shrink: 0; }

/* ---------- R$497 fix upsell band (post-unlock) ---------- */
.vs-upsell { margin-top: var(--sp-8); background: linear-gradient(135deg, var(--primary), var(--primary-ink)); color: #fff;
  border-radius: var(--r-3xl); padding: clamp(28px, 5vw, 52px); position: relative; overflow: hidden; }
.vs-upsell::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(80% 120% at 88% 0%, color-mix(in srgb, var(--accent) 58%, transparent), transparent 55%); }
.vs-upsell > * { position: relative; }
.vs-upsell-flag { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.16); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: var(--sp-4); }
.vs-upsell h2 { color: #fff; font-size: clamp(23px, 3.6vw, 34px); line-height: var(--lh-heading); letter-spacing: var(--tr-heading); max-width: 20ch; text-wrap: balance; margin: 0; }
.vs-upsell .vs-upsell-sub { color: color-mix(in srgb, #fff 84%, transparent); margin-top: var(--sp-4); font-size: clamp(15px, 2vw, 17px); line-height: 1.55; max-width: 54ch; }
.vs-upsell-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); margin-top: var(--sp-6); }
.vs-upsell-price { display: flex; align-items: baseline; gap: 8px; }
.vs-upsell-price .amount { font-family: var(--font-display); font-size: clamp(38px, 6vw, 50px); font-weight: var(--fw-semibold); color: #fff; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.vs-upsell-price .amount .cur { font-size: .5em; vertical-align: .32em; color: color-mix(in srgb, #fff 72%, transparent); }
.vs-upsell-price .once { font-size: 14px; color: color-mix(in srgb, #fff 78%, transparent); font-weight: 500; }
.vs-upsell .vs-btn--primary { background: #fff; color: var(--primary-ink); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.vs-upsell .vs-btn--primary:hover { background: var(--paper-2); color: var(--primary-ink); }
.vs-upsell-guar { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: var(--sp-6); }
.vs-upsell-guar .g { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: color-mix(in srgb, #fff 88%, transparent); }
.vs-upsell-guar .g svg { flex-shrink: 0; color: var(--accent-lift); }
.vs-upsell-wa { margin-top: var(--sp-5); }
.vs-upsell-wa .vs-btn { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.vs-upsell-wa .vs-btn:hover { background: rgba(255,255,255,.22); }
.vs-upsell-micro { margin-top: var(--sp-5); font-size: 12.5px; color: color-mix(in srgb, #fff 72%, transparent); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .vs-shot-skeleton { animation: none; }
  .vs-shot-img { transition: none; }
  .vs-real { animation: none; }
}
