/* =========================================================================
   Fiche Vidéo — conversion layout
   Desktop: content + a sticky "expert kit" side column that follows the whole
   page (canonical PDP buy-box). Mobile: rich sticky bottom bar.
   Orange is reserved for primary actions + a few accents.
   ========================================================================= */

/* Legacy bootstrap `.container` — replicated verbatim from theme.css so the
   shared chrome (navbar/footer) keeps the EXACT width it has site-wide once
   theme.css is no longer loaded on this page. (base.css would otherwise widen
   it to 1200px/20px.) Do not change without checking the chrome alignment. */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.container::after { content: ""; display: table; clear: both; }
@media (min-width: 576px)  { .container { width: 540px;  max-width: 100%; } }
@media (min-width: 768px)  { .container { width: 720px;  max-width: 100%; } }
@media (min-width: 992px)  { .container { width: 960px;  max-width: 100%; } }
@media (min-width: 1200px) { .container { width: 1140px; max-width: 100%; } }

.vd {
  --vd-ink: #15181c;
  --vd-body: #2b3038;
  --vd-muted: #515862;
  --vd-icon: #5b6470;
  --vd-line: #e4e7ea;
  --vd-bg-soft: #f3f6f4;
  --vd-chip-bg: #eef1f3;
  --vd-primary: #ec7330;
  --vd-primary-dark: #d9601f;
  --vd-primary-tint: #fff3ec;
  --vd-radius: 14px;
  --vd-shadow: 0 6px 24px rgba(20, 30, 25, 0.10);
  /* single reading-size token — applied to every prose block (description,
     L'essentiel, FAQ, transcript) so the editorial voice has ONE body size.
     17px is the prudent end of the 17–18px reading range (never 19px). */
  --vd-read: 17px;
  color: var(--vd-ink); font-size: 16px; -webkit-font-smoothing: antialiased;
}
.vd *, .vd *::before, .vd *::after { box-sizing: border-box; }

/* ---------- buttons ---------- */
.vd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1; cursor: pointer; border: none; transition: background-color .15s ease, transform .05s ease; }
.vd-btn .vd-icon { font-size: 19px; }
.vd-btn svg { width: 18px; height: 18px; }
.vd-btn-primary { background: var(--vd-primary); color: #fff; }
.vd-btn-primary:hover { background: var(--vd-primary-dark); color: #fff; }
.vd-btn-primary:active { transform: translateY(1px); }
.vd-btn-primary:disabled { opacity: .6; cursor: default; }
.vd-btn-secondary { background: #fff; color: var(--vd-primary-dark); border: 1px solid var(--vd-primary); font-size: 14px; padding: 11px 18px; }
.vd-btn-secondary:hover { background: var(--vd-chip-bg); }
.vd-btn-secondary:active { transform: translateY(1px); }
.vd-btn-secondary:disabled { opacity: .6; cursor: default; }

.vd-preview-banner { background: #fff3cd; border: 1px solid #ffe69c; color: #664d03; padding: 10px 14px; text-align: center; font-weight: 600; }

/* =========================================================================
   Shell / layout
   ========================================================================= */
.vd-shell { max-width: 1180px; margin: 0 auto; padding: 12px 16px 40px; }

/* Breadcrumb: align with the shell + replicate the site's breadcrumb style
   (video.css is the only page stylesheet, so the global _breadcrumb.scss
   partial that other pages compile in is not loaded here). */
/* Breadcrumb — Decathlon style: left-aligned single line, light grey, chevron
   separators, horizontal scroll on overflow (mobile), shown on every breakpoint.
   !important is needed: the core bundles ship several conflicting .breadcrumb
   rules (one centers + clips, one bolds the last crumb black) at equal
   specificity, so without it load-order decides and the centered one wins. */
/* width:100% + align-self:stretch: a parent flex container uses align-items:center,
   which shrink-wraps .vd-breadcrumb to its content and centers the whole box (the
   real cause of the "centered" look + the missing mobile scroll). Force it to span
   the column so it aligns with .vd-shell and the inner content can scroll. */
.vd-breadcrumb { width: 100%; max-width: 1180px; margin: 0 auto; padding: 8px 16px 0; box-sizing: border-box; align-self: stretch; }
.vd-breadcrumb .breadcrumb { padding: 0; margin: 0; list-style: none; border-radius: 0; display: block !important; text-align: left !important; background: transparent !important; }
.vd-breadcrumb .breadcrumb.hidden-sm-down { display: block !important; }
.vd-breadcrumb .breadcrumb__content {
  display: flex !important; flex-wrap: nowrap !important; align-items: center;
  justify-content: flex-start !important; text-align: left !important;
  gap: 2px; overflow-x: auto !important; overflow-y: hidden;
  white-space: nowrap !important; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.vd-breadcrumb .breadcrumb__content::-webkit-scrollbar { display: none; }
.vd-breadcrumb .breadcrumb__content > div { flex: 0 0 auto; }
.vd-breadcrumb .breadcrumb__content a,
.vd-breadcrumb .breadcrumb a { color: #6b7280 !important; text-decoration: none !important; font-size: 13px; font-weight: 400 !important; white-space: nowrap; }
.vd-breadcrumb .breadcrumb__content a:hover,
.vd-breadcrumb .breadcrumb a:hover { color: var(--vd-primary) !important; text-decoration: underline !important; }
/* Current page (last crumb): a touch darker, still light and NOT bold. */
.vd-breadcrumb .breadcrumb__content > div:last-child a,
.vd-breadcrumb .breadcrumb__content > div:last-of-type a { color: #374151 !important; font-weight: 400 !important; }
/* Chevron separators: hide the raw ">" and render a clean "›". */
.vd-breadcrumb .breadcrumb__content > span { flex: 0 0 auto; margin: 0 4px; font-size: 0 !important; line-height: 1; color: transparent !important; }
.vd-breadcrumb .breadcrumb__content > span::before { content: "\203A"; font-size: 15px !important; color: #b6bcc4; font-weight: 400; }

.vd-eyebrow { margin: 16px 0 4px; color: var(--vd-primary); font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.vd-title { margin: 0 0 14px; font-size: 1.75rem; line-height: 1.2; font-weight: 800; color: var(--vd-ink); }

/* ---------- right rail (products + table of contents + reassurance) ---------- */
.vd-rail { display: grid; gap: 16px; margin-top: 14px; }

/* ---------- editorial content ---------- */
.vd-body { margin-top: 6px; }
.vd-section { margin: 34px 0; }
/* first body section sits just under the intro (which ends with the disclaimer);
   keep it tight so the disclaimer hugs "L'essentiel" / the kit. */
.vd-section:first-child { margin-top: 14px; }
.vd-h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; color: var(--vd-ink); }
/* description: full column width, matching the transcript (no measure cap) so
   the editorial blocks line up visually. */
.vd-desc { line-height: 1.75; color: var(--vd-body); font-size: var(--vd-read); }
/* theme.css sets a global p { font-size: .9375rem } (15px); the description
   inherits the editorial body size instead, so prose matches the transcript. */
.vd-desc p, .vd-desc li { color: var(--vd-body); font-size: var(--vd-read); }
.vd-desc h3 { font-size: 1.35rem; margin: 24px 0 8px; color: var(--vd-ink); font-weight: 800; }
.vd-desc ul { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.vd-desc li { position: relative; padding-left: 22px; margin: 0; line-height: 1.6; }
.vd-desc li::before { content: "•"; position: absolute; left: 6px; top: -0.02em; color: var(--vd-primary); font-weight: 700; }
.vd-desc strong { color: var(--vd-ink); }
/* link to the pest's how-to blog guide (anti-cannibalisation), shown only when set */
.vd-guide-link { margin: 16px 0 0; }
.vd-guide-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--vd-primary-dark); font-weight: 700; text-decoration: none; }
.vd-guide-link a:hover { text-decoration: underline; }
.vd-guide-link .vd-icon { font-size: 18px; }
/* social proof */
.vd-social { display: grid; gap: 18px; }
.vd-social-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; background: var(--vd-bg-soft); border: 1px solid var(--vd-line); border-radius: var(--vd-radius); padding: 22px 16px; }
.vd-social-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--vd-ink); line-height: 1.1; }
.vd-social-stats span { color: var(--vd-body); font-size: 13px; font-weight: 700; }
.vd-social-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vd-social-quotes blockquote { margin: 0; background: #fff; border: 1px solid var(--vd-line); border-radius: 12px; padding: 16px; color: var(--vd-body); line-height: 1.55; font-style: italic; }
.vd-social-quotes cite { display: block; margin-top: 8px; color: var(--vd-muted); font-style: normal; font-weight: 700; font-size: 13px; }
@media (max-width: 700px) { .vd-social-quotes { grid-template-columns: 1fr; } }
/* =========================================================================
   Desktop layout: content + sticky kit column
   ========================================================================= */
@media (min-width: 901px) {
  .vd-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: "intro rail" "body rail";
    column-gap: 32px; align-items: start;
  }
  .vd-intro { grid-area: intro; }
  .vd-rail { grid-area: rail; position: sticky; top: 16px; margin-top: 0; max-height: calc(100vh - 32px); overflow-y: auto; }
  .vd-body { grid-area: body; }
  .vd-title { font-size: 2.1rem; }
}

@media (max-width: 900px) {
  .vd-expert-card { flex-direction: column; text-align: center; align-items: center; }
  .vd-expert-chips { justify-content: center; }
  /* Clearance for the fixed sticky bar — kept small: the footer below provides
     extra scroll room, so a big pad here just left a white gap before it. */
  .vd-shell { padding-bottom: 28px; }
  .vd-body > .vd-section:last-child { margin-bottom: 10px; }
}
