/* Viavitae — « Atlas éditorial »
   Papier ivoire, encre, bleu de Prusse ; terracotta et ocre en accents (70 / 20 / 10).
   Contrastes calculés par scripts/contrast.py : les variantes *-texte servent au petit corps sur papier. */

:root {
  --c-papier: #F6F1E7;
  --c-papier-2: #EDE6D6;
  --c-encre: #1B1F24;
  --c-prusse: #1F3A5F;
  --c-prusse-profond: #172C48;
  --c-terracotta: #B5522E;
  --c-ocre: #C99A3B;
  --c-gris: #8A8F94;
  /* Variantes de texte assombries (WCAG AA >= 4,5:1 sur papier et papier-2) */
  --c-terracotta-texte: #A64A29;
  --c-ocre-texte: #7A5710;
  --c-gris-texte: #5A5F64;
  --c-filet: rgba(31, 58, 95, 0.32);

  --f-titre: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-corps: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --t-petit: 0.8125rem;
  --t-base: 1.0625rem;
  --t-article: 1.125rem;
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);
  --t-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
  --t-h1: clamp(2.15rem, 1.5rem + 3vw, 3.6rem);

  --measure-article: 820px;
  --measure-texte: 70ch;
  --largeur-site: 1180px;
  --gouttiere: clamp(1rem, 4vw, 2rem);
  --rayon: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--c-papier);
  color: var(--c-encre);
  font-family: var(--f-corps);
  font-size: var(--t-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

/* Images : reset anti-distorsion + wrappers à ratio fixe */
img { max-width: 100%; height: auto; display: block; }
.img-hero, .img-card, .img-body, .img-portrait { overflow: hidden; background: var(--c-papier-2); }
.img-hero { aspect-ratio: 3 / 2; }
.img-card { aspect-ratio: 3 / 2; }
.img-body { aspect-ratio: 3 / 2; }
.img-portrait { aspect-ratio: 1 / 1; }
.img-hero img, .img-card img, .img-body img, .img-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}

a { color: var(--c-prusse); text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: rgba(31, 58, 95, 0.45); }
a:hover { color: var(--c-terracotta-texte); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--c-prusse); color: var(--c-papier); }

.saut-contenu {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--c-prusse); color: var(--c-papier); padding: 0.6rem 1rem;
}
.saut-contenu:focus { left: 0; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur-site)); margin-inline: auto; }

/* Titres */
h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--c-prusse);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--t-h1); font-weight: 650; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.22; }

/* Signature 1 : filet en pointillés façon méridien */
.meridiens {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--c-ocre); margin: clamp(2rem, 5vw, 3.5rem) auto;
}
.meridiens::before, .meridiens::after {
  content: ''; flex: 1; border-top: 2px dotted var(--c-filet);
}
.meridiens svg { flex: none; width: 22px; height: 22px; }
.meridiens--simple { margin-block: 1.25rem; }
.meridiens--simple::after { display: none; }
.meridiens--simple svg { display: none; }

/* Signature 2 : numéro de rubrique façon atlas */
.rubrique-numero {
  display: inline-flex; align-items: baseline; gap: 0.6rem;
  font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-gris-texte);
  text-decoration: none; letter-spacing: 0.01em;
}
.rubrique-numero__n {
  font-family: var(--f-titre); font-size: 1.75rem; font-weight: 500; line-height: 1;
  color: var(--c-ocre-texte); font-variant-numeric: lining-nums;
}
a.rubrique-numero:hover .rubrique-numero__lib { color: var(--c-terracotta-texte); text-decoration: underline; }

/* En-tête */
.entete { background: var(--c-papier); border-bottom: 1px solid var(--c-filet); position: sticky; top: 0; z-index: 50; }
.entete__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.marque { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--c-prusse); }
.marque:hover { color: var(--c-prusse); }
.marque img { width: 34px; height: 34px; border-radius: 8px; }
.marque__nom { font-family: var(--f-titre); font-weight: 650; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; }
.marque__base { display: none; font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-gris-texte); }
.menu-bouton {
  font: inherit; font-family: var(--f-mono); font-size: var(--t-petit);
  background: none; color: var(--c-prusse); border: 1px solid var(--c-prusse);
  padding: 0.45rem 0.8rem; border-radius: var(--rayon); cursor: pointer;
}
.menu-bouton[aria-expanded='true'] { background: var(--c-prusse); color: var(--c-papier); }
.nav { display: none; border-top: 1px dotted var(--c-filet); }
.nav.est-ouvert { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; display: grid; gap: 0.1rem; }
.nav a { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.55rem 0; text-decoration: none; color: var(--c-encre); }
.nav a:hover { color: var(--c-terracotta-texte); }
.nav__n { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-ocre-texte); min-width: 1.6rem; }
.nav a[aria-current='page'] { color: var(--c-prusse); font-weight: 600; box-shadow: inset 0 -2px 0 var(--c-terracotta); }
.nav__blog { margin-top: 0.25rem; }

@media (min-width: 1020px) {
  .menu-bouton { display: none; }
  .entete__haut { padding-block: 0.9rem 0.55rem; }
  .marque__base { display: block; }
  .nav { display: block; border-top: 1px dotted var(--c-filet); }
  .nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; padding: 0; }
  .nav a { padding: 0.7rem 0; font-size: 0.95rem; }
  .nav__blog { margin: 0 0 0 auto; }
}

/* Hero */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem); }
.hero__grille { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero__texte > * + * { margin-top: 1.1rem; }
.hero__chapo { font-size: 1.2rem; line-height: 1.55; color: var(--c-encre); max-width: 52ch; }
.hero__media { margin: 0; }
.hero__media figcaption { margin-top: 0.5rem; }
@media (min-width: 880px) {
  .hero__grille { grid-template-columns: 1.05fr 1fr; }
  .hero--inverse .hero__media { order: -1; }
}
/* Seule animation d'entrée du site : le titre du hero se pose une fois */
@media (prefers-reduced-motion: no-preference) {
  .hero__texte h1 { animation: pose 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes pose { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Légendes en mono */
figcaption, .legende {
  font-family: var(--f-mono); font-size: var(--t-petit); line-height: 1.5; color: var(--c-gris-texte);
}
figure { margin: 0; }

/* Métadonnées */
.meta { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-gris-texte); display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.badge-categorie {
  display: inline-block; font-family: var(--f-mono); font-size: var(--t-petit);
  color: var(--c-prusse); border: 1px solid var(--c-prusse); padding: 0.1rem 0.55rem; border-radius: 999px; text-decoration: none;
}
a.badge-categorie:hover { background: var(--c-prusse); color: var(--c-papier); }

/* Article */
.article { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem); }
.article__colonne { width: min(100% - 2 * var(--gouttiere), var(--measure-article)); margin-inline: auto; }
.article__entete > * + * { margin-top: 1rem; }
.article__entete h1 { max-width: 20ch; }
.article__entete .article__chapo { font-family: var(--f-titre); font-size: 1.3rem; line-height: 1.45; color: var(--c-encre); font-weight: 400; max-width: var(--measure-texte); }
.article__hero { margin-block: 1.75rem 0; }
.article__hero figcaption { margin-top: 0.5rem; }

:is(.prose, .texte-rubrique) { font-size: var(--t-article); line-height: 1.72; margin-top: 2.25rem; }
:is(.prose, .texte-rubrique) > * { max-width: var(--measure-texte); }
:is(.prose, .texte-rubrique) > * + * { margin-top: 1.15em; }
:is(.prose, .texte-rubrique) > figure, :is(.prose, .texte-rubrique) > table, :is(.prose, .texte-rubrique) > .tableau-defilant, :is(.prose, .texte-rubrique) > .pull-quote, :is(.prose, .texte-rubrique) > .article-sommaire { max-width: none; }
:is(.prose, .texte-rubrique) h2 { margin-top: 2.4em; padding-top: 0.9rem; border-top: 2px dotted var(--c-filet); max-width: 28ch; }
:is(.prose, .texte-rubrique) h3 { margin-top: 1.9em; }
:is(.prose, .texte-rubrique) h2 + *, :is(.prose, .texte-rubrique) h3 + * { margin-top: 0.8em; }
:is(.prose, .texte-rubrique) strong { font-weight: 650; }

/* Signature 3 : lettrine terracotta sur le premier paragraphe */
:is(.prose, .texte-rubrique) > p:first-of-type::first-letter {
  font-family: var(--f-titre); font-weight: 600; color: var(--c-terracotta);
  float: left; font-size: 4.6em; line-height: 0.78; padding: 0.06em 0.1em 0 0;
}

/* Listes : puces propres, jamais la puce du navigateur */
:is(.prose, .texte-rubrique) ul, :is(.prose, .texte-rubrique) ol { padding-left: 0; list-style: none; }
:is(.prose, .texte-rubrique) li { position: relative; padding-left: 1.6rem; }
:is(.prose, .texte-rubrique) li + li { margin-top: 0.5em; }
:is(.prose, .texte-rubrique) ul > li::before {
  content: ''; position: absolute; left: 0.2rem; top: 0.72em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--c-terracotta);
}
:is(.prose, .texte-rubrique) ol { counter-reset: n; }
:is(.prose, .texte-rubrique) ol > li { counter-increment: n; }
:is(.prose, .texte-rubrique) ol > li::before {
  content: counter(n); position: absolute; left: 0; top: 0.12em;
  font-family: var(--f-mono); font-size: 0.85rem; color: var(--c-ocre-texte); font-weight: 500;
}
:is(.prose, .texte-rubrique) li > ul, :is(.prose, .texte-rubrique) li > ol { margin-top: 0.5em; }

/* Signature 4 : pull quotes à filet bleu de Prusse */
:is(.prose, .texte-rubrique) blockquote, .pull-quote {
  margin-inline: 0; padding: 0.4rem 0 0.4rem 1.5rem; border-left: 4px solid var(--c-prusse);
  font-family: var(--f-titre); font-size: 1.4rem; line-height: 1.4; font-weight: 400; font-style: italic; color: var(--c-prusse);
}
:is(.prose, .texte-rubrique) blockquote p { margin: 0; }
:is(.prose, .texte-rubrique) blockquote p + p { margin-top: 0.7em; }
:is(.prose, .texte-rubrique) blockquote cite, .pull-quote cite { display: block; margin-top: 0.7rem; font-family: var(--f-mono); font-size: var(--t-petit); font-style: normal; color: var(--c-gris-texte); }
:is(.prose, .texte-rubrique) blockquote:not(.pull-quote) { max-width: var(--measure-texte); font-size: 1.2rem; }

/* Tableaux : défilement horizontal sur mobile */
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-filet); border-radius: var(--rayon); }
:is(.prose, .texte-rubrique) table { border-collapse: collapse; display: block; overflow-x: auto; width: max-content; max-width: 100%; font-size: 0.98rem; line-height: 1.45; border: 1px solid var(--c-filet); }
:is(.prose, .texte-rubrique) th, :is(.prose, .texte-rubrique) td { text-align: left; padding: 0.7rem 0.9rem; vertical-align: top; border-bottom: 1px dotted var(--c-filet); }
:is(.prose, .texte-rubrique) thead th {
  font-family: var(--f-mono); font-size: var(--t-petit); font-weight: 500; color: var(--c-papier);
  background: var(--c-prusse); border-bottom: none;
}
:is(.prose, .texte-rubrique) tbody tr:nth-child(even) { background: rgba(237, 230, 214, 0.55); }
:is(.prose, .texte-rubrique) tbody tr:last-child td { border-bottom: none; }

/* Figures du corps : légende visible (crédit Commons inclus) */
:is(.prose, .texte-rubrique) figure { margin-block: 2rem; }
:is(.prose, .texte-rubrique) figure figcaption { margin-top: 0.55rem; max-width: var(--measure-texte); }
:is(.prose, .texte-rubrique) figure.img-portrait-fig { max-width: 340px; }
:is(.prose, .texte-rubrique) code { font-family: var(--f-mono); font-size: 0.9em; background: var(--c-papier-2); padding: 0.1em 0.35em; border-radius: var(--rayon); }
:is(.prose, .texte-rubrique) pre { background: var(--c-papier-2); padding: 1rem; overflow-x: auto; max-width: none; }
:is(.prose, .texte-rubrique) hr { border: 0; border-top: 2px dotted var(--c-filet); margin-block: 2.5rem; }

/* Sommaire automatique */
.article-sommaire {
  background: var(--c-papier-2); border-left: 4px solid var(--c-ocre); padding: 1.1rem 1.4rem; margin-block: 1.75rem 0;
  max-width: var(--measure-texte);
}
.article-sommaire__titre { font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem; color: var(--c-prusse); margin: 0 0 0.6rem; }
.article-sommaire ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0.35rem; }
.article-sommaire li { counter-increment: s; display: flex; gap: 0.7rem; font-size: 0.98rem; line-height: 1.4; }
.article-sommaire li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-ocre-texte); padding-top: 0.15em; }
.article-sommaire a { text-decoration: none; color: var(--c-encre); }
.article-sommaire a:hover { color: var(--c-terracotta-texte); text-decoration: underline; }

/* FAQ rendue depuis le frontmatter */
.faq { margin-top: 3rem; }
.faq h2 { margin-bottom: 1rem; padding-top: 0.9rem; border-top: 2px dotted var(--c-filet); }
.faq__item { border-bottom: 1px dotted var(--c-filet); }
.faq__question {
  list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative;
  font-family: var(--f-titre); font-size: 1.15rem; font-weight: 600; color: var(--c-prusse); line-height: 1.3;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+'; position: absolute; right: 0.2rem; top: 0.85rem; font-family: var(--f-mono); font-size: 1.4rem; color: var(--c-terracotta-texte); line-height: 1;
}
.faq__item[open] > .faq__question::after { content: '\2212'; }
.faq__reponse { padding: 0 0 1.1rem; max-width: var(--measure-texte); }
.faq__reponse p { margin: 0; }

/* Articles liés */
.lies { margin-top: 3rem; padding: 1.25rem 1.5rem; border: 1px solid var(--c-filet); }
.lies h2 { font-size: 1.25rem; padding: 0; border: 0; margin-bottom: 0.7rem; }
.lies ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }

/* Cards d'articles : trois variantes, jamais toutes identiques */
.grille-cards { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 720px) { .grille-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) {
  .grille-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .grille-cards .card--grande { grid-column: span 2; }
}
.card { display: flex; flex-direction: column; gap: 0.8rem; position: relative; }
.card__titre { font-size: 1.3rem; }
.card__titre a { color: var(--c-prusse); text-decoration: none; }
.card__titre a::after { content: ''; position: absolute; inset: 0; }
.card__titre a:hover { color: var(--c-terracotta-texte); text-decoration: underline; text-decoration-thickness: 1px; }
.card__resume { margin: 0; color: var(--c-encre); font-size: 0.98rem; line-height: 1.55; }
.card__infos { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: center; }
.card .badge-categorie { position: relative; z-index: 1; }
.card--grande .card__titre { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (min-width: 720px) {
  .card--grande { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; align-items: start; }
  .card--grande .card__corps { display: flex; flex-direction: column; gap: 0.8rem; }
}
.card--compacte { flex-direction: row; gap: 1rem; padding-top: 1rem; border-top: 1px dotted var(--c-filet); align-items: flex-start; }
.card--compacte .img-card { width: 112px; flex: none; }
.card--compacte .card__titre { font-size: 1.08rem; }
.card--compacte .card__resume { display: none; }

/* Sections de page */
.section { padding-block: clamp(2rem, 5vw, 4rem); }
.section--prusse { background: var(--c-prusse); color: var(--c-papier); }
.section--prusse h2, .section--prusse h3 { color: var(--c-papier); }
.section--prusse a { color: var(--c-papier); }
.section--prusse .meta, .section--prusse .legende { color: #D9DEE6; }
.section__entete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }

/* Pied de page */
.pied { background: var(--c-prusse-profond); color: #E6EAF0; margin-top: clamp(2rem, 6vw, 5rem); padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.pied a { color: #F6F1E7; text-decoration-color: rgba(246, 241, 231, 0.4); }
.pied a:hover { color: var(--c-ocre); }
.pied__grille { display: grid; gap: 2rem; }
@media (min-width: 880px) { .pied__grille { grid-template-columns: 1.3fr 1fr 1fr; } }
.pied__marque { font-family: var(--f-titre); font-size: 1.6rem; font-weight: 650; color: var(--c-papier); margin: 0 0 0.5rem; }
.pied__titre { font-family: var(--f-titre); font-size: 1.1rem; font-weight: 600; color: var(--c-papier); margin: 0 0 0.7rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.pied p { margin: 0; max-width: 46ch; line-height: 1.55; }
.pied__num { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-ocre); margin-right: 0.6rem; }
.pied__bas { margin-top: 2rem; padding-top: 1rem; border-top: 2px dotted rgba(246, 241, 231, 0.28); font-family: var(--f-mono); font-size: var(--t-petit); color: #C9D0DA; }

/* Formulaire de contact */
.formulaire { display: grid; gap: 1.25rem; max-width: 40rem; }
.champ { display: grid; gap: 0.35rem; }
.champ__label { font-weight: 600; color: var(--c-prusse); }
.champ__aide { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-gris-texte); }
.formulaire input, .formulaire textarea, .formulaire select {
  font: inherit; width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--c-prusse);
  border-radius: var(--rayon); background: #FBF8F1; color: var(--c-encre);
}
.pot-de-miel { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.bouton {
  font: inherit; font-weight: 600; cursor: pointer; background: var(--c-prusse); color: var(--c-papier);
  border: 2px solid var(--c-prusse); padding: 0.75rem 1.5rem; border-radius: var(--rayon);
}
.bouton:hover { background: var(--c-terracotta-texte); border-color: var(--c-terracotta-texte); }
.bouton:disabled { opacity: 0.6; cursor: wait; }
.formulaire__retour { padding: 0.75rem 1rem; border-left: 4px solid var(--c-prusse); background: var(--c-papier-2); margin: 0; }
.formulaire__retour--erreur { border-left-color: var(--c-terracotta); color: #7C2F14; }

/* Filtre de catégories du blog (tout est affiché sans JS) */
.filtre { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.filtre button {
  font: inherit; font-family: var(--f-mono); font-size: var(--t-petit); background: none; color: var(--c-prusse);
  border: 1px solid var(--c-prusse); border-radius: 999px; padding: 0.3rem 0.8rem; cursor: pointer;
}
.filtre button[aria-pressed='true'] { background: var(--c-prusse); color: var(--c-papier); }

/* Page de test / textes utilitaires */
.texte-page { max-width: var(--measure-texte); }

/* Mouvement réduit : plus aucune animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .pied, .menu-bouton { display: none; }
  body { background: #fff; }
}

/* Interviews : hero carré, plus étroit */
.article__hero--carre { max-width: 520px; margin-inline: auto 0; }
.article__colonne.article__hero--carre { margin-left: max(var(--gouttiere), calc((100% - var(--measure-article)) / 2)); }

/* Bibliographie des piliers */
.biblio { margin-top: 3rem; }
.biblio h2 { margin-bottom: 1rem; padding-top: 0.9rem; border-top: 2px dotted var(--c-filet); }
.biblio ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; font-size: 0.95rem; overflow-wrap: anywhere; }

/* Pages utilitaires : hero sous le titre */
.texte-page__hero { margin: 1.75rem 0 0; max-width: var(--measure-article); }
.texte-page .article__chapo { font-family: var(--f-titre); font-size: 1.3rem; line-height: 1.45; margin-top: 1rem; }

/* Accueil : rubriques numérotées */
.rubriques-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px dotted var(--c-filet); }
@media (min-width: 720px) { .rubriques-liste { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
@media (min-width: 1020px) { .rubriques-liste { grid-template-columns: repeat(3, 1fr); } }
.rubriques-liste li { border-bottom: 1px dotted var(--c-filet); }
.rubriques-liste a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; text-decoration: none; color: var(--c-prusse); }
.rubriques-liste a:hover { color: var(--c-terracotta-texte); }
.rubriques-liste__n { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-terracotta-texte); }
.rubriques-liste__lib { font-family: var(--f-titre); font-size: 1.35rem; font-weight: 600; }
.apropos-encart { max-width: var(--measure-texte); }
.apropos-encart > * + * { margin-top: 1rem; }
.blog-chapo { margin-top: 0.75rem; max-width: var(--measure-texte); }
.blog-hero { margin-bottom: 2rem; }
.card[hidden] { display: none; }
.filtre[hidden] { display: none; }
.filtre button:focus-visible { outline: 3px solid var(--c-terracotta-texte); outline-offset: 2px; }

/* Plan du site */
.plan { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.plan > li { padding: 0; }
.plan > li::before { content: none; }
.plan__rubrique { margin: 0; font-family: var(--f-titre); font-size: 1.2rem; font-weight: 600; }
.plan__n { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-terracotta-texte); margin-right: 0.7rem; }
.plan ul { margin-top: 0.5rem; }

/* Entretiens (CODEX V6 §2.4) : carte de l'invitée et blocs Q/R */
.interview-expert-card {
  display: flex; gap: 1.25rem; align-items: center; margin: 0 0 2rem; padding: 1.1rem 1.25rem;
  background: var(--c-papier-2); border-left: 4px solid var(--c-terracotta); border-radius: var(--rayon);
}
.interview-expert-card img {
  width: 120px; height: 120px; flex: 0 0 120px; border-radius: 50%;
  object-fit: cover; object-position: center top;
}
.interview-expert-card p { margin: 0; }
.interview-expert-card__nom { font-family: var(--f-titre); font-size: 1.2rem; font-weight: 600; color: var(--c-prusse); }
.interview-expert-card__fonction { font-family: var(--f-mono); font-size: var(--t-petit); color: var(--c-gris-texte); margin-top: 0.2rem !important; }
.interview-expert-card__bio { margin-top: 0.5rem !important; font-size: 0.95rem; }
@media (max-width: 520px) { .interview-expert-card { flex-direction: column; align-items: flex-start; } }

blockquote.journalist-question,
blockquote.expert-answer,
blockquote.journalist-question p,
blockquote.expert-answer p {
  font-family: var(--f-corps) !important;
  font-style: normal !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  font-weight: 400;
  color: var(--c-encre);
}
blockquote.journalist-question::before,
blockquote.expert-answer::before { content: none !important; display: none !important; }
:is(.prose, .texte-rubrique) blockquote.journalist-question {
  max-width: var(--measure-texte); margin: 1.6rem 0 0.4rem; padding: 0.9rem 1.15rem;
  background: var(--c-papier-2); border-left: 3px solid var(--c-prusse); border-radius: 0 var(--rayon) var(--rayon) 0;
}
:is(.prose, .texte-rubrique) blockquote.expert-answer {
  max-width: var(--measure-texte); margin: 0.4rem 0 1.6rem; padding: 1rem 1.2rem;
  background: #FFFDF8; border-left: 3px solid var(--c-terracotta); border-radius: 0 var(--rayon) var(--rayon) 0;
}
:is(.prose, .texte-rubrique) blockquote.journalist-question p + p,
:is(.prose, .texte-rubrique) blockquote.expert-answer p + p { margin-top: 0.7rem; }
.journalist-question > p:first-child > strong:first-child,
.expert-answer > p:first-child > strong:first-child {
  display: block; margin-bottom: 0.35rem; font-family: var(--f-mono) !important; font-size: 0.72rem !important;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-terracotta-texte);
}
.journalist-question > p:first-child > strong:first-child { color: var(--c-prusse); }
:is(.prose, .texte-rubrique) p > strong:only-child { display: block; margin-top: 1.5rem; color: var(--c-prusse, #1F3A5F); }
