/* ============================================================
   BLOG ACQUISIS : refonte du 28/09/2026 (page /blog/ + pages article), maquette validée par Florian
   Se charge APRÈS /style.css du site et reprend ses variables :
   --navy #141f4f, --gold #d8b460, --gold-dark #b8944a, --cream #fbf7ef,
   .container (1200 px, marge 24 px), .nav, .footer, .btn, .hero__title--gold.
   Tout ce qui est propre au blog est préfixé .b- : rien ne fuit ailleurs.
   ============================================================ */

:root {
  --gold-ink: #8a6a27;            /* or foncé : petits textes or sur fond clair (contraste 5:1) */
  --ink: rgba(20, 31, 79, .86);   /* texte courant : le bleu nuit du site, pas un gris froid */
  --ink-soft: rgba(20, 31, 79, .74);
  --ink-muted: rgba(20, 31, 79, .64);
  --hairline: rgba(20, 31, 79, .09);
  --ease-in: cubic-bezier(.05, .7, .1, 1);    /* entrée : décélère */
  --ease-out: cubic-bezier(.3, 0, .8, .15);   /* sortie : accélère, plus courte */
  /* Ombres en couches qui doublent, teintées bleu nuit ; arête claire en haut, appui en bas */
  --lift:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(20, 31, 79, .05),
    0 0 0 1px rgba(20, 31, 79, .035),
    0 1px 2px rgba(20, 31, 79, .05),
    0 2px 4px rgba(20, 31, 79, .04),
    0 6px 12px rgba(20, 31, 79, .04),
    0 14px 28px rgba(20, 31, 79, .05),
    0 28px 56px rgba(20, 31, 79, .06);
  --lift-hover:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(20, 31, 79, .05),
    0 0 0 1px rgba(216, 180, 96, .55),
    0 2px 4px rgba(20, 31, 79, .05),
    0 4px 8px rgba(20, 31, 79, .05),
    0 10px 20px rgba(20, 31, 79, .06),
    0 20px 40px rgba(20, 31, 79, .08),
    0 40px 80px rgba(20, 31, 79, .09);
  --lift-navy:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(0, 0, 0, .22),
    0 2px 4px rgba(20, 31, 79, .10),
    0 8px 16px rgba(20, 31, 79, .12),
    0 20px 40px rgba(20, 31, 79, .14),
    0 40px 80px rgba(20, 31, 79, .12);
}

/* ---------- Menu : « Blog » garde son soulignement or sur toutes les pages du blog ---------- */
.nav__link[aria-current]::after { width: 100%; }

/* ---------- Fonds ---------- */
.b-main { background: #fff; }
.b-page--index .b-main { background: var(--cream); }

/* ---------- En-tête : la même lumière que l'accueil ---------- */
.b-hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 72px;
  background:
    radial-gradient(52% 80% at 92% 0%, rgba(216, 180, 96, .12) 0%, rgba(216, 180, 96, .04) 45%, transparent 70%),
    linear-gradient(172deg, #fff 0%, var(--cream) 62%);
}
.b-hero__inner { position: relative; z-index: 1; }

.b-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 28px;
  font-size: .8125rem; color: var(--ink-muted);
}
.b-crumbs a { color: var(--ink-muted); text-decoration: none; transition: color 150ms ease; }
.b-crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.b-crumbs .b-crumbs__sep { opacity: .45; }

.b-hero__title {
  margin: 0 0 24px;
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5.2vw, 4rem);   /* même échelle que le titre de l'accueil */
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--navy);
}
.b-hero__lead {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Petits libellés en capitales (même famille que « CAS CLIENTS » sur l'accueil) */
.b-kicker, .b-card__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.b-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(216, 180, 96, .16);
  font-size: .6875rem; letter-spacing: .12em;
  color: var(--gold-ink);
}

/* ---------- Cartes article ---------- */
.b-card {
  position: relative;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--lift);
  transition: transform 195ms var(--ease-out), box-shadow 195ms var(--ease-out);
}
.b-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift-hover);
  transition: transform 225ms var(--ease-in), box-shadow 225ms var(--ease-in);
}
.b-card__link {
  display: grid;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.b-card__link:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.b-card__media { position: relative; overflow: hidden; background: var(--cream-dark); }
.b-card__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 700ms var(--ease-in);
}
.b-card:hover .b-card__media img { transform: scale(1.035); }
.b-card__body { display: flex; flex-direction: column; padding: 40px 44px 36px; }
.b-card__title {
  margin: 0 0 14px;
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem; line-height: 1.22; letter-spacing: -.02em;
  color: var(--navy);
}
/* Soulignement or qui se dessine au survol */
.b-card__title span {
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: background-size 450ms var(--ease-in);
}
.b-card:hover .b-card__title span { background-size: 100% 2px; }
.b-card__excerpt { margin: 0 0 28px; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }

.b-meta { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .8125rem; line-height: 1.4; color: var(--ink-muted); }
.b-meta strong { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); }
.b-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(216, 180, 96, .6), 0 4px 10px rgba(20, 31, 79, .18);
}

/* À la une : image 7/12, texte 5/12 */
.b-featured { position: relative; z-index: 1; }
.b-card--featured .b-card__link { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 460px; }
.b-card--featured .b-card__media img { object-position: 28% 42%; }
.b-card--featured .b-card__body { justify-content: center; padding: 52px 52px 46px; }
.b-card--featured .b-card__title { font-size: clamp(1.625rem, 2vw, 2rem); line-height: 1.18; }
.b-card--featured .b-card__excerpt { font-size: 1.0625rem; }

/* Autres articles. Un seul : carte en ligne pleine largeur, en miroir de la une.
   Deux ou plus : grille de cartes standard (image en haut), 3 colonnes. */
.b-more { padding-top: 88px; padding-bottom: 120px; }
.b-section-title {
  margin: 0 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: .8125rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-ink);
}
.b-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.b-card--row .b-card__link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 360px; }
.b-card--row .b-card__media { order: 2; }
.b-card--row .b-card__body { justify-content: center; padding: 44px 52px 40px; }
.b-card--row .b-card__title { font-size: 1.75rem; line-height: 1.2; }
.b-card--row .b-card__media img { object-position: 50% 42%; }
/* Carte standard (à partir de 2 autres articles) : image en haut */
.b-card--std .b-card__link { grid-template-rows: auto 1fr; }
.b-card--std .b-card__media { aspect-ratio: 16 / 10; }
.b-card--std .b-card__body { padding: 28px 28px 26px; }
.b-card--std .b-card__title { font-size: 1.25rem; }

/* ---------- Bandeau final : même bloc bleu nuit que le bas de l'accueil ---------- */
.b-cta { position: relative; overflow: hidden; padding: 104px 0; background: var(--navy); color: #fff; }
.b-cta::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 60%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(216, 180, 96, .09) 0%, transparent 60%);
  pointer-events: none;
}
.b-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.b-cta__title {
  max-width: 24ch;
  margin: 0 0 16px;
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15;
  color: #fff;
}
.b-gold { color: var(--gold); }
.b-cta__text { max-width: 38rem; margin: 0; font-size: 1.0625rem; line-height: 1.65; color: rgba(255, 255, 255, .75); }
.b-cta__text strong { color: #fff; }
.b-cta .btn { white-space: nowrap; }

/* ============================================================
   PAGE ARTICLE
   ============================================================ */
.b-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: 3px; pointer-events: none; }
.b-progress span {
  display: block; height: 100%;
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.b-hero--article { padding-bottom: 216px; }
.b-hero--article.b-hero--sans-image { padding-bottom: 56px; }
.b-hero__title--article { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.1; }
.b-hero__title .b-gold-bloc { display: block; }
.b-h1-sub {
  display: block;
  margin-top: 14px;
  font-size: .44em; font-weight: 600; line-height: 1.3; letter-spacing: -.01em;
  color: var(--ink-muted);
}

.b-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.b-byline__who { display: flex; align-items: center; gap: 14px; }
.b-byline__who .b-avatar { width: 52px; height: 52px; }
.b-byline__who strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.b-byline__who span { font-size: .8125rem; color: var(--ink-muted); }
.b-byline__who a { color: var(--gold-ink); font-weight: 600; text-decoration: none; }
.b-byline__who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.b-byline__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-muted); }
.b-byline__facts li { display: block; white-space: nowrap; }
.b-byline__facts li + li::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 14px 0 0; border-radius: 50%; background: var(--gold); vertical-align: middle; }

.b-cover { position: relative; z-index: 1; margin: -176px auto 0; }
.b-cover__frame {
  aspect-ratio: 2 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream-dark);
  box-shadow:
    0 1px 2px rgba(20, 31, 79, .06),
    0 4px 8px rgba(20, 31, 79, .06),
    0 12px 24px rgba(20, 31, 79, .08),
    0 24px 48px rgba(20, 31, 79, .10),
    0 48px 96px rgba(20, 31, 79, .10);
}
.b-cover__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } /* cadrage par article : cover_pos du registre */
.b-cover figcaption { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--ink-muted); }
.b-cover figcaption a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.b-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  column-gap: 96px;
  padding-top: 72px;
  padding-bottom: 104px;
}
.b-aside__sticky { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 28px; }

/* ---------- Texte ---------- */
.b-prose { min-width: 0; font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.b-prose p { margin: 0 0 1.35em; }
.b-prose .b-lead { margin-bottom: 1.5em; font-size: 1.25rem; line-height: 1.65; color: var(--navy); }
.b-prose strong { font-weight: 600; color: var(--navy); }
.b-prose em { font-style: italic; }
.b-prose a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(216, 180, 96, .9);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 150ms ease;
}
.b-prose a:hover { color: var(--gold-ink); }
.b-prose h2 {
  margin: 2.4em 0 .7em;
  scroll-margin-top: 112px;
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700; font-size: 2rem; line-height: 1.2; letter-spacing: -.02em;
  color: var(--navy);
}
.b-prose h3 { margin: 1.8em 0 .6em; font-family: 'Quicksand', 'Inter', sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.35; color: var(--navy); }
/* Puces : petits carrés or (charte) */
.b-prose ul { margin: 0 0 1.5em; padding: 0; list-style: none; }
.b-prose ul li { position: relative; margin-bottom: .75em; padding-left: 26px; }
.b-prose ul li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 1.5px; background: var(--gold); }
/* Étapes numérotées : les pastilles or de la méthode de l'accueil */
.b-prose ol.b-steps { margin: 0 0 1.5em; padding: 0; list-style: none; counter-reset: step; }
.b-steps li { position: relative; min-height: 40px; margin-bottom: 1.1em; padding-left: 60px; counter-increment: step; }
.b-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  font: 700 .8125rem/1 'Quicksand', 'Inter', sans-serif;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(216, 180, 96, .16);
}

/* En bref */
.b-brief {
  margin: 0 0 2.2em;
  padding: 28px 32px 30px;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(20, 31, 79, .05);
}
.b-label {
  margin: 0 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-ink);
}
.b-brief p.b-label { margin-bottom: 12px; }
.b-brief p:last-child { margin: 0; font-size: 1.0625rem; line-height: 1.7; }

/* Sommaire : colonne de droite (ordinateur) ou dépliant (téléphone) */
.b-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--hairline); }
.b-toc li { margin: 0; }
.b-toc a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 18px;
  border-left: 2px solid transparent;
  font-size: .875rem; line-height: 1.45;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}
.b-toc a:hover { color: var(--navy); }
.b-toc a.is-active { border-left-color: var(--gold); color: var(--navy); font-weight: 600; }
.b-toc--inline { display: none; margin: 0 0 2.2em; border-radius: 16px; background: #fff; box-shadow: var(--lift); }
.b-toc--inline summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  list-style: none; cursor: pointer;
  font-size: .9375rem; font-weight: 600; color: var(--navy);
}
.b-toc--inline summary::-webkit-details-marker { display: none; }
.b-toc--inline ol { margin: 0 20px 18px; }
.b-toc--inline .b-chevron { transition: transform 225ms var(--ease-in); }
.b-toc--inline[open] .b-chevron { transform: rotate(180deg); }

/* Encadré d'action de la colonne de droite */
.b-aside-cta {
  padding: 26px 24px 24px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(216, 180, 96, .18) 0%, transparent 55%),
    var(--navy);
  box-shadow: var(--lift-navy);
}
.b-aside-cta__title { margin: 0 0 18px; font-family: 'Quicksand', 'Inter', sans-serif; font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.b-aside-cta__title span { color: var(--gold); }
.b-aside-cta .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: .875rem; }

/* Tableaux : en-tête bleu nuit, lignes crème / blanc, filets or fins (charte) */
.b-table { margin: 1.6em 0 2em; border-radius: 16px; overflow: hidden; box-shadow: var(--lift); }
.b-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.55; }
.b-table thead th {
  padding: 14px 18px;
  text-align: left; vertical-align: bottom;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  color: var(--cream);
  background: var(--navy);
}
.b-table tbody td { padding: 14px 18px; vertical-align: top; color: var(--ink); border-top: 1px solid rgba(216, 180, 96, .30); }
.b-table tbody tr:first-child td { border-top: 0; }
.b-table tbody tr:nth-child(even) td { background: var(--cream); }

/* Le cas en chiffres : même langage que les cartes clients de l'accueil */
.b-case {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  margin: 2em 0 2.2em;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(216, 180, 96, .16) 0%, transparent 55%),
    var(--navy);
  box-shadow: var(--lift-navy);
}
.b-case p { margin: 0; }
.b-case__main { display: flex; flex-direction: column; justify-content: center; padding: 32px 32px 30px; }
.b-case__label { font-size: .75rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
/* 10/11/2026 : 5,5rem était calé sur « ×11 » ; « 35 000 € » débordait de la colonne -> 3,5rem, sur une ligne */
.b-case__figure { margin: 22px 0 12px !important; font: 700 3.5rem/.95 'Quicksand', 'Inter', sans-serif; letter-spacing: -.03em; white-space: nowrap; color: var(--gold); }
.b-case__caption { font-size: .9375rem !important; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.b-case__side { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: rgba(255, 255, 255, .035); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .06); }
.b-case__ba { display: grid; gap: 8px; }
.b-case__ba > div { padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.b-case__ba-label { display: block; margin-bottom: 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.b-case__quote { display: block; font-size: .9375rem; line-height: 1.45; font-style: italic; color: rgba(255, 255, 255, .86); }
.b-case__quote--after { font-weight: 600; color: var(--gold); }
.b-case__arrow { justify-self: center; color: var(--gold); transform: rotate(90deg); }
.b-case__plus { font-size: .9375rem !important; color: rgba(255, 255, 255, .8); }
.b-case__plus strong { margin-right: 6px; font: 700 1.5rem/1 'Quicksand', 'Inter', sans-serif; color: var(--gold) !important; }
.b-prose .b-case__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.b-prose .b-case__link:hover { color: var(--gold-light); }

/* FAQ en accordéon : les questions de l'accueil, même pastille + / - */
.b-faq { display: flex; flex-direction: column; gap: 12px; margin: 0 0 2.4em; }
.b-faq__item { border-radius: 16px; background: #fff; box-shadow: var(--lift); transition: box-shadow 195ms var(--ease-out); }
.b-faq__item[open] { box-shadow: var(--lift-hover); transition: box-shadow 225ms var(--ease-in); }
.b-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; list-style: none; cursor: pointer; }
.b-faq__item summary::-webkit-details-marker { display: none; }
.b-prose .b-faq__item h3 { margin: 0; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--navy); }
.b-faq__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--navy); background: var(--cream);
  transition: background 195ms var(--ease-out), color 195ms var(--ease-out);
}
.b-faq__icon .v { transform-box: fill-box; transform-origin: center; transition: transform 225ms var(--ease-in); }
.b-faq__item[open] .b-faq__icon { color: #fff; background: var(--gold); }
.b-faq__item[open] .b-faq__icon .v { transform: scaleY(0); }
.b-faq__item p { margin: 0; padding: 0 22px 22px; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

/* Bloc d'action dans le texte */
.b-cta-card {
  position: relative;
  margin: 2.4em 0;
  padding: 40px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(216, 180, 96, .20) 0%, rgba(216, 180, 96, .05) 45%, transparent 70%),
    var(--navy);
  box-shadow: var(--lift-navy);
}
.b-prose .b-cta-card__title { margin: 0 0 14px; font-size: 1.75rem; line-height: 1.2; color: #fff; }
.b-cta-card__title span { color: var(--gold); }
.b-prose .b-cta-card__text { margin: 0 0 26px; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.b-prose .b-cta-card__text strong { color: #fff; }
.b-prose .b-cta-card .btn { color: var(--navy); text-decoration: none; }

/* À lire aussi (dans l'article) */
.b-related { margin: 2.6em 0 0; }
.b-related .b-card--row .b-card__link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 0; }
.b-related .b-card__media { min-height: 220px; }
.b-related .b-card__body { padding: 26px 28px 24px; }
.b-related .b-card__title { margin: 0 0 12px; font-size: 1.1875rem; }
.b-related .b-card__excerpt { margin-bottom: 20px; font-size: .9375rem; }
.b-prose .b-related .b-card__kicker { margin: 0 0 12px; }
.b-prose .b-related .b-section-title { margin: 0 0 20px; }
.b-prose .b-related .b-meta { font-size: .8125rem; }
.b-prose .b-related a { text-decoration: none; color: inherit; }

/* Auteur */
.b-author {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start;
  margin: 2.6em 0 0; padding: 28px;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(20, 31, 79, .05);
}
.b-author .b-avatar { width: 72px; height: 72px; }
.b-prose .b-author p { margin: 0 0 10px; font-size: .9375rem; line-height: 1.65; color: var(--ink-soft); }
.b-prose .b-author .b-author__name { margin: 0 0 6px; font-family: 'Quicksand', 'Inter', sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--navy); }
.b-prose .b-author__links { margin: 0; font-size: .875rem; }

/* Sources */
.b-sources { margin-top: 2.4em; padding-top: 22px; border-top: 1px solid var(--hairline); }
.b-prose .b-sources p { margin: 0; font-size: .8125rem; line-height: 1.65; font-style: italic; color: var(--ink-muted); }
.b-prose .b-sources .b-label { margin-bottom: 10px; font-style: normal; color: var(--ink-muted); }
.b-prose .b-sources ul { margin: 0; }
.b-prose .b-sources li { margin-bottom: .4em; padding-left: 16px; font-size: .8125rem; line-height: 1.6; font-style: italic; color: var(--ink-muted); }
.b-prose .b-sources li::before { top: .62em; width: 5px; height: 5px; background: rgba(20, 31, 79, .25); }

/* ---------- Apparition au défilement (avec JS uniquement ; sans JS tout est visible) ---------- */
@keyframes b-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: b-rise 520ms var(--ease-in) backwards; animation-delay: calc(var(--i, 0) * 50ms); }

/* ============================================================
   TABLETTE ET TÉLÉPHONE
   ============================================================ */
@media (max-width: 1024px) {
  .b-card--featured .b-card__link { grid-template-columns: 1fr; }
  .b-card--featured .b-card__media { aspect-ratio: 16 / 10; }
  .b-card--featured .b-card__body { padding: 36px 36px 32px; }
  .b-grid { grid-template-columns: 1fr 1fr; }
  .b-card--row .b-card__link { grid-template-columns: 1fr; }
  .b-card--row .b-card__media { order: 0; aspect-ratio: 16 / 10; }
  .b-card--row .b-card__body { padding: 36px 36px 32px; }
  .b-layout { grid-template-columns: minmax(0, 1fr); }
  .b-prose { max-width: 720px; }
  .b-aside { display: none; }
  .b-toc--inline { display: block; }
  .b-cta__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .b-hero { padding: 132px 0 44px; }
  .b-crumbs { margin-bottom: 20px; }
  .b-hero__title { font-size: 2.375rem; }
  .b-hero__lead { font-size: 1.0625rem; }

  .b-card { border-radius: 20px; }
  .b-card__body, .b-card--featured .b-card__body { padding: 24px 22px 24px; }
  .b-card--featured .b-card__title { font-size: 1.5rem; }
  .b-card__title { font-size: 1.3125rem; }
  .b-grid { grid-template-columns: 1fr; }
  .b-card--row .b-card__body { padding: 24px 22px 24px; }
  .b-card--row .b-card__title { font-size: 1.3125rem; }
  .b-more { padding-top: 56px; padding-bottom: 72px; }
  .b-grid { gap: 20px; }
  .b-cta { padding: 72px 0; }

  /* Article */
  .b-hero--article { padding-bottom: 132px; }
  .b-hero__title--article { font-size: 2.125rem; }
  .b-h1-sub { font-size: .56em; }
  .b-byline { gap: 14px 20px; margin-top: 28px; }
  .b-byline__facts { font-size: .8125rem; gap: 4px 12px; }
  .b-byline__facts li + li::before { margin-right: 12px; }
  .b-byline__facts li:last-child { flex-basis: 100%; }
  .b-byline__facts li:last-child::before { display: none; }
  .b-cover { margin-top: -104px; }
  .b-cover__frame { aspect-ratio: 4 / 3; border-radius: 18px; }
  .b-layout { padding-top: 44px; padding-bottom: 72px; }
  .b-prose { font-size: 1.0625rem; line-height: 1.72; }
  .b-prose .b-lead { font-size: 1.1875rem; }
  .b-prose h2 { margin-top: 2em; font-size: 1.625rem; }
  .b-brief { padding: 22px 22px 24px; border-radius: 18px; }
  .b-brief p:last-child { font-size: 1rem; }

  /* Tableaux : chaque ligne devient une carte, la première cellule en titre bleu nuit */
  .b-table { overflow: visible; border-radius: 0; box-shadow: none; }
  .b-table table, .b-table tbody, .b-table tr, .b-table td { display: block; width: 100%; }
  .b-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .b-table tr { margin-bottom: 12px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--lift); }
  .b-table tbody tr:nth-child(even) td { background: transparent; }
  .b-table tbody td { padding: 6px 18px; border-top: 0; font-size: .9375rem; }
  .b-table tbody td:last-child { padding-bottom: 16px; }
  .b-table td::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
  .b-table tbody td:first-child, .b-table tbody tr:nth-child(even) td:first-child { margin-bottom: 8px; padding: 13px 18px; color: #fff; background: var(--navy); }
  .b-table td:first-child::before { display: none; }
  .b-table td:first-child strong { color: #fff; }

  .b-case { grid-template-columns: 1fr; }
  .b-case__main { padding: 26px 24px 22px; }
  .b-case__figure { font-size: 3.25rem; }
  .b-case__side { padding: 22px 24px 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

  .b-faq__item summary { padding: 18px 18px; }
  .b-faq__item p { padding: 0 18px 20px; }
  .b-cta-card { padding: 30px 24px; border-radius: 20px; }
  .b-prose .b-cta-card__title { font-size: 1.4375rem; }
  .b-cta-card .btn { width: 100%; justify-content: center; }

  .b-related .b-card--row .b-card__link { grid-template-columns: 1fr; }
  .b-related .b-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .b-author { display: block; padding: 22px; }
  .b-author::after { content: ''; display: block; clear: both; }
  .b-author .b-avatar { float: left; width: 56px; height: 56px; margin: 0 14px 8px 0; }
  .b-prose .b-author .b-author__name { padding-top: 14px; margin-bottom: 18px; }
}

@media (max-height: 860px) and (min-width: 1025px) {
  .b-aside-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1; animation: none; }
  .b-card, .b-card:hover { transform: none; transition: none; }
  .b-card__media img, .b-card:hover .b-card__media img { transform: none; transition: none; }
  .b-card__title span { transition: none; }
  .hero__title--gold { animation: none; }
  .b-progress { display: none; }
}
