@charset "UTF-8";

/* =========================================================
   review-heavy.qb.GOLD.css — QB Review HEAVY (GOLD) — ASSAINI FINAL v2
   PASS-4 (Voie A) — FINAL (no patch stacking)

   CONTRACT (aligned)
   - HEAVY = sections via .qb-sec--* only
   - CORE  = components only (review-core)
   - IDs kept as anchors only (no styling dependency)
   - 1 behavior = 1 block (source unique)
   - !important only for documented collisions (none here)
========================================================= */


/* =========================================================
   0) HEAVY TOKENS (knobs only)
   - do NOT redefine system tokens (accent/status) already in CORE
========================================================= */

:where(.qb-review){
  /* Pros/Cons intensity knobs (PASS-4 look) */
  --qb-pros-bg-a: .06;
  --qb-cons-bg-a: .035;
  --qb-pros-grad-a: .10;
  --qb-cons-grad-a: .10;
  --qb-pros-bar-a: 1;
  --qb-cons-bar-a: 1;
}


/* =========================================================
   1) SECTIONS — hooks only via .qb-sec--*
========================================================= */

/* HERO (layout + highlight) */
:where(.qb-review) .qb-sec--hero{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}
@media (max-width: 900px){
  :where(.qb-review) .qb-sec--hero{ grid-template-columns: 1fr; }
}
:where(.qb-review) .qb-sec--hero > .qb-card:first-child{
  border-color: var(--qb-accent-border);
  background:
    radial-gradient(900px 240px at 15% 0%, var(--qb-accent-soft-2), transparent 55%),
    linear-gradient(180deg, var(--qb-accent-soft), #ffffff 70%);
  box-shadow:
    0 1px 2px rgba(15,23,42,.05),
    0 18px 40px rgba(0,0,0,.06);
}

/* FOOTER + BACK TO TOP (section layout only) */
:where(.qb-review) .qb-sec--footer-cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 820px){
  :where(.qb-review) .qb-sec--footer-cta{
    gap: 14px;
    align-items: flex-start;
  }
}
:where(.qb-review) .qb-sec--backtotop{ margin: 18px 0 32px; }
:where(.qb-review) .qb-sec--footer{ padding: 0 18px 28px; }


/* =========================================================
   PASS-4 POLISH (FINAL) — SOURCE UNIQUE
   Quick verdict / Best-for / What-it-is / ProsCons / FAQ
========================================================= */

/* ---------- (A) QUICK VERDICT — softened pro/con tints ---------- */
:where(.qb-review) .qb-sec--quick-verdict .qb-grid2 > .qb-card-soft:first-child{
  background: linear-gradient(180deg,
    rgb(var(--qb-pro-rgb) / 0.080),
    rgb(255 255 255 / 0)
  );
}
:where(.qb-review) .qb-sec--quick-verdict .qb-grid2 > .qb-card-soft:last-child{
  background: linear-gradient(180deg,
    rgb(var(--qb-con-rgb) / 0.070),
    rgb(255 255 255 / 0)
  );
}

/* ---------- (B) BEST FOR / AVOID — overlay (wins-anywhere) ---------- */
:where(.qb-review) .qb-sec--best-for .qb-grid2 > .qb-card.qb-card-soft{
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 14px;
  padding: 16px;

  position: relative;
  overflow: hidden;
  background: rgb(255 255 255 / 0.72);
}
:where(.qb-review) .qb-sec--best-for .qb-grid2 > .qb-card.qb-card-soft::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 1;
}
:where(.qb-review) .qb-sec--best-for .qb-grid2 > .qb-card.qb-card-soft:first-child::before{
  background: linear-gradient(
    180deg,
    rgb(var(--qb-pro-rgb) / 0.060) 0%,
    rgb(var(--qb-pro-rgb) / 0.015) 68%,
    rgb(255 255 255 / 0) 100%
  );
}
:where(.qb-review) .qb-sec--best-for .qb-grid2 > .qb-card.qb-card-soft:last-child::before{
  background: linear-gradient(
    180deg,
    rgb(var(--qb-con-rgb) / 0.060) 0%,
    rgb(var(--qb-con-rgb) / 0.015) 68%,
    rgb(255 255 255 / 0) 100%
  );
}
:where(.qb-review) .qb-sec--best-for .qb-grid2 > .qb-card.qb-card-soft > *{
  position: relative;
  z-index: 1;
}
:where(.qb-review) .qb-sec--best-for > p{
  font-size: 0.77em;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.75);
}

/* ---------- (C) WHAT IT IS — column “cards” + gradients ---------- */
:where(.qb-review) .qb-sec--what-it-is .qb-grid2 > div{
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 14px;
  padding: 16px;
  background: rgb(255 255 255 / 0.72);
  background-repeat: no-repeat;
}
:where(.qb-review) .qb-sec--what-it-is .qb-grid2 > :first-child{
  background-image: linear-gradient(
    180deg,
    rgb(var(--qb-pro-rgb) / 0.080),
    rgb(255 255 255 / 0)
  );
}
:where(.qb-review) .qb-sec--what-it-is .qb-grid2 > :last-child{
  background-image: linear-gradient(
    180deg,
    rgb(var(--qb-con-rgb) / 0.070),
    rgb(255 255 255 / 0)
  );
}
:where(.qb-review) .qb-sec--what-it-is > p{
  font-size: 0.77em;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.75);
}

/* ---------- (D) PROS / CONS — heavy-only polish (global module) ---------- */
:where(.qb-review) .qb-proscons{ gap: 16px; }

/* Remove any theme-injected icons before headings */
:where(.qb-review) .qb-proscons .qb-h3::before,
:where(.qb-review) .qb-proscons .qb-h3::after{
  content: none;
  display: none;
}

/* Card containers */
:where(.qb-review) .qb-proscons .qb-pros,
:where(.qb-review) .qb-proscons .qb-cons{
  position: relative;
  padding-left: 18px;
}

/* Left bars + backgrounds */
:where(.qb-review) .qb-proscons .qb-pros{
  border-left: 5px solid rgb(var(--qb-pro-rgb) / var(--qb-pros-bar-a));
  background:
    linear-gradient(180deg,
      rgb(var(--qb-pro-rgb) / var(--qb-pros-grad-a)) 0%,
      rgb(255 255 255 / 0) 65%),
    rgb(var(--qb-pro-rgb) / var(--qb-pros-bg-a));
}
:where(.qb-review) .qb-proscons .qb-cons{
  border-left: 5px solid rgb(var(--qb-con-rgb) / var(--qb-cons-bar-a));
  background:
    linear-gradient(180deg,
      rgb(var(--qb-con-rgb) / var(--qb-cons-grad-a)) 0%,
      rgb(255 255 255 / 0) 65%),
    rgb(var(--qb-con-rgb) / var(--qb-cons-bg-a));
}

/* Bubble icon */
:where(.qb-review) .qb-proscons .qb-pros::before,
:where(.qb-review) .qb-proscons .qb-cons::before{
  position: absolute;
  top: 16px;
  left: -14px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .10);
}
:where(.qb-review) .qb-proscons .qb-pros::before{
  content: "✓";
  color: rgb(var(--qb-pro-rgb) / .95);
  border: 2px solid rgb(var(--qb-pro-rgb) / .35);
}
:where(.qb-review) .qb-proscons .qb-cons::before{
  content: "!";
  color: rgb(var(--qb-con-rgb) / .95);
  border: 2px solid rgb(var(--qb-con-rgb) / .35);
}

/* ---------- (E) FAQ — Q-only + no separators + guardrails ---------- */
:where(.qb-review) .qb-sec--faq .qb-h2{ margin-bottom: 10px; }

:where(.qb-review) .qb-sec--faq .qb-h3{
  position: relative;
  padding-left: 34px;
  margin-top: 18px;
  margin-bottom: 6px;

  font-weight: 800;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.95);
}

:where(.qb-review) .qb-sec--faq .qb-h3::before{
  content: "Q";
  position: absolute;
  left: 0;
  top: 2px;

  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  font-weight: 800;
  font-size: 13px;

  border: 1px solid rgb(var(--qb-accent-rgb) / 0.30);
  background: rgb(var(--qb-accent-rgb) / 0.06);
  color: rgb(var(--qb-accent-rgb) / 0.85);
}

:where(.qb-review) .qb-sec--faq .qb-h3 + p{
  margin-top: 6px;
  margin-bottom: 14px;

  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.80);
}

/* no separators inside FAQ */
:where(.qb-review) .qb-sec--faq .qb-hr{ display: none; }

/* guard-rail: hide any legacy "back to top" that ends up inside faq */
:where(.qb-review) .qb-sec--faq a[href="#top"]{ display: none; }

/* Optional tighten */
:where(.qb-review) .qb-sec--faq{ padding-bottom: 18px; }