/* polices.css */
/* Regista Club — polices (SIL OFL, hébergées sur le site, licences dans /polices/LICENCES/).
   Libre Caslon Text pour les titres et le logo-mot, Libre Franklin pour le texte (D-094, DESIGN.md).
   Libre Caslon n'existe qu'en 400, 700 et 400 italique : les graisses intermédiaires prennent la plus proche.
   Les corrections de taille (--ajuste-*) sont gardées : même hauteur de minuscules qu'avant le changement. */
@font-face { font-family: "Libre Caslon Text"; src: url("/polices/libre-caslon-text-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/polices/libre-caslon-text-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/polices/libre-caslon-text-400-italique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/polices/libre-franklin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/polices/libre-franklin-italique.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
:root {
  --police-titre: "Libre Caslon Text", Georgia, serif;
  --police-texte: "Libre Franklin", system-ui, sans-serif;
  --ajuste-titre: 0.426; --ajuste-texte: 0.478;
}

/* article.css */
/* Regista Club — page d'article test, v1, aux codes de la une journexa-v9 : mêmes jetons, même en-tête, même pied, même bleu nuit,
   mêmes cadres pub. Jetons communs recopiés de journexa-v9/styles.css (aucune nouvelle couleur hors couleurs de club calculées).
   Mobile d'abord. Aucune ombre, aucune pilule, aucun dégradé. */

:root {
  /* couleurs : identiques à la une v9 */
  --papier: #fbfbfa;
  --bande: #f1f2f3;
  --encre: #0f1722;
  --encre-2: #3a4252;
  --discret: #596070;
  --filet: #d3d6dc;
  --bleu-encre: #1b3a6b;
  --nuit: #111b2e;
  --nuit-texte: #e8ecf3;
  --nuit-doux: #c3ccdb;
  --blanc: #fff;
  --pub-fond: #f1f2f3;
  --filet-photo: rgba(15, 23, 34, 0.16);
  --focus-mixte: #5f7fb8;

  /* couleur d'identité du club (D-072) : jamais choisie à l'œil, recopiée de _commun/couleurs-clubs.json (voir [data-club]) */
  --club: var(--encre);
  --club-pale: var(--bande);

  --filet-fort: 2px;
  --filet-club: 6px;
  --bas-bande: 56px;

  /* tailles */
  --t-13: 13px;
  --t-14: 14px;
  --t-16: 16px;
  --t-18: 18px;
  --t-20: 20px;
  --t-22: 22px;
  --t-26: 26px;
  --t-32: 32px;
  --t-40: 40px;
  --t-56: 56px;
  --t-72: 72px;

  /* espacements */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;

  --r-0: 0;
  --r-1: 2px;

  --gouttiere: 16px;
  --cible: 44px;
  --mesure: 700px;     /* largeur de lecture du corps (≈ 68 signes à 19 px) */
}

/* RC Lens — _commun/couleurs-clubs.json : identite #b71315 (6,51:1 sur papier, usage non textuel ici), pale #ffe8e3 (encre 15,79:1) */
[data-club="rc-lens"] { --club: #b71315; --club-pale: #ffe8e3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--s-24); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police-texte); font-size-adjust: var(--ajuste-texte);
  font-size: var(--t-16);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bleu-encre); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gouttiere); }

.evitement {
  position: absolute; left: var(--s-8); top: -100px; z-index: 30;
  background: var(--encre); color: var(--papier); padding: var(--s-12) var(--s-16); border-radius: var(--r-1);
}
.evitement:focus { top: var(--s-8); outline-color: var(--papier); }

.ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------ en-tête (identique à la une v9) */
.masthead { border-bottom: 1px solid var(--filet); }
.mast-top {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "logo menu" "date menu";
  align-items: center; row-gap: var(--s-4);
  padding-top: var(--s-16); padding-bottom: var(--s-16);
}
.logo {
  grid-area: logo;
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre);
  font-weight: 700; font-size: clamp(var(--t-40), 9vw, var(--t-72)); line-height: 1; letter-spacing: 0.05em;
  text-decoration: none; color: var(--encre); justify-self: start;
}
.mast-date { grid-area: date; font-size: var(--t-14); color: var(--discret); }
.mast-devise { display: none; text-wrap: balance; }
.menu-mob { grid-area: menu; position: relative; }
.menu-mob summary {
  list-style: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--cible); min-height: var(--cible); padding: 0 var(--s-16);
  border: 1px solid var(--encre); border-radius: var(--r-1); font-weight: 600; cursor: pointer;
}
.menu-mob summary::-webkit-details-marker { display: none; }
.menu-mob[open] summary { background: var(--encre); color: var(--papier); }
.menu-corps {
  position: absolute; right: 0; top: calc(100% + var(--s-8)); z-index: 20; width: min(86vw, 340px);
  background: var(--papier); border: 1px solid var(--encre); border-radius: var(--r-1);
  padding: var(--s-8) var(--s-16) var(--s-16);
}
.menu-corps a { display: flex; align-items: center; gap: var(--s-12); min-height: var(--cible); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--filet); }
.menu-corps li:last-child a { border-bottom: 0; }
.menu-corps a[aria-current="page"] { color: var(--bleu-encre); }
.menu-titre { font-size: var(--t-14); color: var(--discret); padding-top: var(--s-16); }
.nav-desk { display: none; }
.repere { flex: none; object-fit: contain; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-16); font-size: var(--t-14); color: var(--discret); }
.type { color: var(--bleu-encre); font-weight: 600; }

/* ------------------------------------------------------------ tête d'article */
.article { padding-top: var(--s-16); }
.ariane ol { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--t-14); color: var(--discret); }
.ariane li { display: inline-flex; align-items: center; }
.ariane a { display: inline-flex; align-items: center; min-height: var(--cible); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.ariane li:last-child a { color: var(--encre); font-weight: 600; }
.ico-sep { width: 14px; height: 14px; margin-inline: var(--s-8); color: var(--discret); }

/* bloc titre à la couleur du club (D-072) ; titre à l'encre (D-073) ; ici le fond pâle calculé, l'identité en filet (voir DESIGN.md) */
/* D-085 « Pleine mesure » : identité (écusson + rubrique + club), titre et chapeau dans le bloc pâle, même bord gauche */
.tete {
  margin-top: var(--s-8);
  display: block;
  background: var(--club-pale); border-top: var(--filet-club) solid var(--club);
  padding: var(--s-24) var(--s-16) var(--s-24);
}
.tete-ecusson { width: 48px; height: 48px; object-fit: contain; flex: none; }
.rubrique { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-16); font-size: var(--t-14); }
.rubrique .type { display: inline-flex; align-items: center; min-height: var(--cible); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--t-13); }
.rubrique .type:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.rubrique-club { color: var(--encre-2); font-weight: 600; }
/* D-084 : 4 paliers posés au build selon le nombre de signes ; pleine largeur du bloc ; jamais tronqué */
.tete h1 {
  --h1-min: 32px; --h1-max: 56px; --h1-li: 1.08;
  margin-top: var(--s-12);
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400;
  font-size: clamp(var(--h1-min), 5vw, var(--h1-max)); line-height: var(--h1-li); letter-spacing: -0.012em;
  color: var(--encre); text-wrap: balance; max-width: none;
}
.tete.titre-xs h1 { --h1-min: 36px; --h1-max: 64px; --h1-li: 1.06; }
.tete.titre-l h1 { --h1-min: 28px; --h1-max: 48px; --h1-li: 1.1; }
.tete.titre-xl h1 { --h1-min: 26px; --h1-max: 40px; --h1-li: 1.12; }
/* D-085 : le chapeau dans le bloc, 20 → 28 px, 1 080 px au plus (≈ 92 signes), « pretty » et jamais « balance » */
.chapeau {
  margin-top: var(--s-16);
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre);
  font-size: clamp(20px, 14.5px + 1.3vw, 28px); line-height: 1.45; color: var(--encre-2); text-wrap: pretty; max-width: 1080px;
}
.sous-tete { margin-top: var(--s-16); display: grid; gap: var(--s-16); }
.signature { display: grid; gap: var(--s-4); border-top: 1px solid var(--filet); padding-top: var(--s-12); }
.auteur { color: var(--encre); font-weight: 600; }
.etiquette-ia { font-size: var(--t-14); color: var(--discret); }

.partage { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); }
.partage-btn {
  display: inline-flex; align-items: center; gap: var(--s-8);
  min-height: var(--cible); min-width: var(--cible); padding: 0 var(--s-12);
  border: 1px solid var(--encre); border-radius: var(--r-1); background: transparent;
  font-weight: 600; font-size: var(--t-14); text-decoration: none; cursor: pointer;
}
.partage-btn:hover { background: var(--encre); color: var(--papier); }
.partage-etat { flex-basis: 100%; min-height: 1.4em; font-size: var(--t-14); color: var(--discret); }
.partage-etat:empty { display: none; }

.photo-tete { margin: 0; }   /* D-086 : dans la colonne de lecture, après « L'essentiel », largeur max posée par l'article */
.photo-tete .photo, .photo-corps .photo {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-1); background: var(--bande);
  outline: 1px solid var(--filet-photo); outline-offset: -1px;
}
.photo-tete .photo { object-position: center 55%; }
.photo-corps .photo { object-position: center 30%; }
figcaption { margin-top: var(--s-8); font-size: var(--t-13); color: var(--discret); max-width: 72ch; text-wrap: pretty; }
figcaption a { text-underline-offset: 0.15em; }
.legende { color: var(--encre-2); font-weight: 600; }

/* ------------------------------------------------------------ corps */
.corps-grille { display: grid; gap: var(--s-48); margin-top: var(--s-40); }
.corps { min-width: 0; }
.corps > * + * { margin-top: var(--s-40); }
.partie > * + * { margin-top: var(--s-24); }
.partie p:not([class]) { font-size: var(--t-20); line-height: 1.65; max-width: var(--mesure); color: var(--encre); hanging-punctuation: first; }
.partie h2 {
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700;
  font-size: var(--t-26); line-height: 1.2; text-wrap: balance; max-width: var(--mesure);
  border-top: 1px solid var(--encre); padding-top: var(--s-16);
}
sup { font-size: 0.7em; line-height: 0; }

/* encadré « L'essentiel » : filet encre, fond bande, repères carrés à la couleur du club */
.essentiel { background: var(--bande); border-top: var(--filet-fort) solid var(--encre); padding: var(--s-24); max-width: var(--mesure); }
.essentiel h2 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-22); line-height: 1.2; }
.essentiel ul { margin-top: var(--s-16); display: grid; gap: var(--s-12); }
.essentiel li { position: relative; padding-left: var(--s-24); font-size: var(--t-18); line-height: 1.5; }
.essentiel li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--club); }

/* citation mise en valeur (exergue) : filets encre, grand corps serif */
.exergue {
  max-width: var(--mesure); padding: var(--s-24) 0;
  border-top: var(--filet-fort) solid var(--encre); border-bottom: 1px solid var(--encre);
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400; font-style: italic;
  font-size: clamp(var(--t-26), 3.4vw, var(--t-32)); line-height: 1.3; text-wrap: balance; color: var(--encre);
}

.comprendre { max-width: var(--mesure); font-size: var(--t-16); color: var(--encre-2); }
.comprendre a { font-weight: 600; color: var(--bleu-encre); text-underline-offset: 0.2em; text-decoration-thickness: 1px; display: inline-block; padding-block: 10px; }

/* tableau des indices */
.tableau-cadre { max-width: var(--mesure); overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; font-size: var(--t-16); font-variant-numeric: lining-nums tabular-nums; }
.tableau caption { caption-side: top; text-align: left; padding-bottom: var(--s-12); font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-18); line-height: 1.3; color: var(--encre); }
.tableau thead th { border-bottom: 1px solid var(--encre); border-top: var(--filet-fort) solid var(--encre); font-size: var(--t-14); font-weight: 600; color: var(--encre-2); }
.tableau th, .tableau td { padding: var(--s-8) var(--s-12) var(--s-8) 0; text-align: left; }
.tableau tr > :last-child { padding-right: 0; }
.tableau td, .tableau thead th:not(:first-child) { text-align: right; width: 26%; }
.tableau tbody th { font-weight: 400; }
.tableau tbody tr { border-bottom: 1px solid var(--filet); }
.tableau-source { margin-top: var(--s-8); font-size: var(--t-13); color: var(--discret); }

.photo-corps { max-width: var(--mesure); }

.fin-article { border-top: 1px solid var(--encre); padding-top: var(--s-16); display: grid; gap: var(--s-12); }
.fin-titre { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-18); }

.sources { border-top: 1px solid var(--filet); padding-top: var(--s-16); max-width: var(--mesure); }
.sources h2 { font-size: var(--t-14); font-weight: 600; color: var(--encre-2); }
.sources ol { margin-top: var(--s-8); padding-left: var(--s-24); list-style: decimal; font-size: var(--t-14); color: var(--discret); display: grid; gap: var(--s-4); font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------ colonne (sommaire, clubs cités, pub) */
.colonne { display: grid; gap: var(--s-40); align-content: start; min-width: 0; }
.sommaire { display: none; }   /* sommaire seulement à côté du texte (≥ 1050) : sous l'article, il ne servirait à rien */
.sommaire, .clubs-cites { border-top: 1px solid var(--encre); padding-top: var(--s-12); }
.colonne h2 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-18); line-height: 1.2; }
.sommaire ol { margin-top: var(--s-8); counter-reset: partie; }
.sommaire li { counter-increment: partie; border-top: 1px solid var(--filet); }
.sommaire li:first-child { border-top: 0; }
.sommaire a {
  display: grid; grid-template-columns: 24px 1fr; align-items: baseline; min-height: var(--cible); padding: var(--s-8) 0;
  text-decoration: none; font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-size: var(--t-16); line-height: 1.3;
}
.sommaire a::before { content: counter(partie); font-family: var(--police-texte); font-size-adjust: var(--ajuste-texte); font-size: var(--t-14); color: var(--discret); font-variant-numeric: lining-nums tabular-nums; }
.sommaire a:hover span, .sommaire a:hover { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }

.clubs { margin-top: var(--s-8); display: grid; }
.clubs li { border-top: 1px solid var(--filet); }
.clubs li:first-child { border-top: 0; }
.club-ligne {
  display: grid; grid-template-columns: 40px 1fr; grid-template-areas: "ecu nom" "ecu n";
  align-items: center; column-gap: var(--s-12); min-height: 56px; padding: var(--s-8) 0; text-decoration: none;
}
.club-ligne .repere { grid-area: ecu; width: 40px; height: 36px; }
.club-nom { grid-area: nom; align-self: end; font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-size: var(--t-16); line-height: 1.2; }
.club-n { grid-area: n; align-self: start; font-size: var(--t-14); color: var(--discret); line-height: 1.3; }
.club-ligne:hover .club-nom { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }

/* ------------------------------------------------------------ cadres publicitaires réservés (mêmes règles que la une v9) */
.pub { display: grid; justify-items: center; gap: var(--s-4); }
.pub-mention { font-size: var(--t-13); font-variant-caps: all-small-caps; letter-spacing: 0.08em; font-weight: 600; color: var(--discret); }
.pub-cadre {
  display: flex; align-items: center; justify-content: center;
  width: var(--pub-l); height: var(--pub-h); max-width: 100%; padding: var(--s-8);
  background: var(--pub-fond); border: 1px solid var(--filet);
}
.pub-format { font-size: var(--t-13); color: var(--discret); font-variant-numeric: tabular-nums; }
.pub-format-grand { display: none; }
.pub-texte { --pub-l: 300px; --pub-h: 250px; }
.pub-colonne { --pub-l: 300px; --pub-h: 250px; }
.pub-pied { --pub-l: 320px; --pub-h: 100px; }
.pub-zone-texte { max-width: var(--mesure); border-block: 1px solid var(--filet); padding-block: var(--s-24); }
.pub-zone-pied { padding-block: var(--s-48) 0; }
.pub-tete { --pub-l: 300px; --pub-h: 250px; display: none; }   /* 2e cadre : à droite du chapeau, ordinateur seulement */
html[data-pub="0"] .pub-zone, html[data-pub="0"] .pub-colle, html[data-pub="0"] .pub-tete { display: none; }

/* ------------------------------------------------------------ « À lire aussi » : bande bleu nuit à cheval sur les vignettes (comme la une v9) */
.lire-aussi { margin-top: var(--s-64); padding-bottom: var(--bas-bande); overflow-x: clip; }
.lire-commandes { border-top: 1px solid var(--encre); padding-top: var(--s-16); container-type: inline-size; }
.lire-titre { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-22); line-height: 1.2; color: var(--encre); }
.lire-cadre {
  --cols: 2; --ecart: var(--s-16);
  --w: calc((100cqi - (var(--cols) - 1) * var(--ecart)) / var(--cols));
  --y: calc(var(--w) * 0.75 * 0.5);                /* milieu de la photo 4:3 de la 1re rangée */
  position: relative; isolation: isolate; margin-top: var(--s-24);
}
.lire-cadre::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; width: 100vw; margin-left: -50vw;
  top: var(--y); bottom: calc(-1 * var(--bas-bande));
  background: var(--nuit);
}
.lire-liste { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--s-32) var(--ecart); }
.lire-lien { display: flex; flex-direction: column; gap: var(--s-12); height: 100%; text-decoration: none; color: var(--nuit-doux); }
.vignette {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; border-radius: var(--r-1); background: var(--bande);
  outline: 1px solid var(--filet-photo); outline-offset: -1px;
}
.lire-liste li:nth-child(1) .vignette { object-position: center center; }
.lire-liste li:nth-child(2) .vignette { object-position: center 8%; }
.lire-liste li:nth-child(3) .vignette { object-position: center 10%; }
.lire-liste li:nth-child(4) .vignette { object-position: center 40%; }
.lire-texte { display: grid; gap: var(--s-8); }
.vignette-titre { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-size: var(--t-18); font-weight: 400; line-height: 1.3; text-wrap: balance; color: var(--nuit-texte); background: var(--nuit); }
.lire-meta { font-size: var(--t-14); color: var(--nuit-doux); background: var(--nuit); }
.lire-lien:hover .vignette-titre { color: var(--blanc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.lire-lien:focus-visible { outline: 2px solid var(--focus-mixte); outline-offset: 4px; }

/* ------------------------------------------------------------ pied (identique à la une v9) */
.pied { border-top: 1px solid var(--encre); padding-top: var(--s-48); padding-bottom: var(--s-64); margin-top: var(--s-48); }
.pied .logo-pied { grid-area: auto; justify-self: start; font-size: var(--t-40); }   /* v9 : le logo du pied hérite de la zone « logo » de l'en-tête et se décale ; corrigé ici */
.pied-tete { display: grid; gap: var(--s-8); }
.pied-mention { color: var(--discret); font-size: var(--t-14); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 0 var(--s-24); margin-top: var(--s-24); }
.pied-liens a { display: inline-flex; align-items: center; min-height: var(--cible); }
.credits { margin-top: var(--s-16); padding-top: var(--s-4); border-top: 1px solid var(--filet); }
.credits summary { display: flex; align-items: center; min-height: var(--cible); font-weight: 600; cursor: pointer; }
.credits ul { display: grid; gap: var(--s-8); padding-bottom: var(--s-16); font-size: var(--t-13); color: var(--discret); }
.credits p { font-size: var(--t-13); color: var(--discret); }
.cr-sujet { color: var(--encre); font-weight: 600; }

/* ------------------------------------------------------------ consentement (identique à la une v9) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--papier); border-top: 1px solid var(--encre); }
.consent[hidden] { display: none; }
.consent-in { display: grid; gap: var(--s-12); padding-top: var(--s-12); padding-bottom: calc(var(--s-12) + env(safe-area-inset-bottom, 0px)); }
.consent h2 { font-family: var(--police-texte); font-size-adjust: var(--ajuste-texte); font-size: var(--t-14); font-weight: 600; }
.consent p { font-size: var(--t-14); color: var(--encre-2); line-height: 1.4; max-width: 78ch; }
.consent-actes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
.consent button { min-height: var(--cible); padding: 0 var(--s-4); font-size: var(--t-14); border: 1px solid var(--encre); border-radius: var(--r-1); background: transparent; font-weight: 600; cursor: pointer; }
.consent button:hover { background: var(--encre); color: var(--papier); }

@media (prefers-reduced-motion: no-preference) {
  .partage-btn, .consent button, .menu-mob summary { transition: background-color 0.15s ease, color 0.15s ease; }
}

/* ------------------------------------------------------------ ≥ 600 */
@media (min-width: 600px) {
  :root { --gouttiere: 24px; }
  .tete { padding: var(--s-32); }
  .tete-ecusson { width: 72px; height: 72px; }
  .sous-tete { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-32); }
}
@media (min-width: 760px) {
  :root { --bas-bande: 64px; }
  .lire-cadre { --cols: 4; --ecart: var(--s-24); }
}
@media (min-width: 800px) {
  .pub-pied { --pub-l: 728px; --pub-h: 90px; }
  .pub-pied .pub-format-grand { display: inline; }
  .pub-pied .pub-format-petit { display: none; }
}

/* ------------------------------------------------------------ ≥ 900 : bureau (en-tête identique à la une v9) */
@media (min-width: 900px) {
  :root { --gouttiere: 40px; }
  .mast-top { grid-template-columns: 1fr auto 1fr; grid-template-areas: "date logo devise"; padding-top: var(--s-24); padding-bottom: var(--s-16); }
  .logo { justify-self: center; }
  .mast-date { align-self: end; padding-bottom: var(--s-8); }
  .mast-devise { display: block; justify-self: end; align-self: end; padding-bottom: var(--s-8); font-size: var(--t-14); color: var(--discret); text-align: right; max-width: 24ch; }
  .menu-mob { display: none; }
  .nav-desk { display: block; border-top: 1px solid var(--encre); }
  .nav-desk ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 var(--s-40); }
  .nav-desk a { display: inline-flex; align-items: center; gap: var(--s-8); min-height: var(--cible); text-decoration: none; font-weight: 600; }
  .nav-desk a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
  .nav-desk a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: var(--filet-fort); text-underline-offset: 0.35em; }
  .consent-in { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-40); }
  .consent-actes { grid-template-columns: repeat(3, 120px); }

  .article { padding-top: var(--s-24); }
  .tete { padding: var(--s-40); }
  .tete h1 { margin-top: var(--s-16); }
  .chapeau { margin-top: var(--s-20, 20px); line-height: 1.35; }
  .partie h2 { font-size: var(--t-32); }
}

/* ------------------------------------------------------------ ≥ 1050 : colonne latérale */
@media (min-width: 1050px) {
  .corps-grille { grid-template-columns: minmax(0, var(--mesure)) 300px; justify-content: space-between; column-gap: var(--s-64); margin-top: var(--s-48); }
  .colonne { align-content: start; }
  .sommaire { display: block; }
  .pub-colle { display: none; }
  .pub-colle { position: sticky; top: var(--s-24); }   /* seule la pub suit la lecture ; sommaire et clubs restent en place */
  .pub-colonne { --pub-h: 600px; }
  .pub-colonne .pub-format-grand { display: inline; }
  .pub-colonne .pub-format-petit { display: none; }
  .vignette-titre { font-size: var(--t-20); }
}

/* ================================================================ articles-v2 : couleurs des 10 clubs et formes propres à chaque type
   Couleurs recopiées de _commun/couleurs-clubs.json (D-072) ; identité = usage non textuel (filets, repères), titres à l'encre (D-073). */
[data-club="le-havre-ac"] { --club: #13182c; --club-pale: #e8efff; }
[data-club="bayern-munich"] { --club: #ed0038; --club-pale: #ffe8e6; }
[data-club="manchester-united"] { --club: #da020e; --club-pale: #ffe8e3; }
[data-club="sporting-cp"] { --club: #037859; --club-pale: #dbf8eb; }
[data-club="olympique-lyonnais"] { --club: #0f23aa; --club-pale: #e5f0ff; }
[data-club="fc-barcelona"] { --club: #edbb00; --club-pale: #f9f0d6; }
[data-club="as-monaco"] { --club: #ff002e; --club-pale: #ffe8e5; }
[data-club="paris-saint-germain-psg"] { --club: #004170; --club-pale: #dff3ff; }
[data-club="olympique-de-marseille-om"] { --club: #0b61ad; --club-pale: #e0f2ff; }

/* listes dans le texte (actu : chronologies) */
.partie .liste { max-width: var(--mesure); display: grid; gap: var(--s-12); }
.partie .liste li { position: relative; padding-left: var(--s-24); font-size: var(--t-18); line-height: 1.55; }
.partie .liste li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--club); }
.citation { margin: 0; max-width: var(--mesure); border-left: var(--filet-fort) solid var(--encre); padding-left: var(--s-24); }
.citation p { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-style: italic; font-size: var(--t-20); line-height: 1.5; }

/* ACTU : courte, photo à la largeur du texte, pas d'encadré ni de sommaire */

/* MERCATO : où en est le dossier (échelle à 3 étapes, en texte aussi) */
.statut { max-width: var(--mesure); border-top: var(--filet-fort) solid var(--encre); border-bottom: 1px solid var(--encre); padding: var(--s-24) 0; display: grid; gap: var(--s-16); }
.statut h2 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-22); line-height: 1.2; }
.statut-phrase { font-size: var(--t-18); }
.echelle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.etape { border-top: var(--filet-club) solid var(--filet); padding-top: var(--s-8); font-size: var(--t-14); color: var(--discret); }
.etape-fait, .etape-actuel { border-top-color: var(--club); }
.etape-actuel { color: var(--encre); font-weight: 700; }
.statut-dl { display: grid; gap: 0; }
.statut-dl div, .identite dl div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s-16); padding: var(--s-12) 0; border-top: 1px solid var(--filet); }
.statut-dl dt, .identite dt { font-size: var(--t-14); color: var(--discret); padding-top: 2px; }
.statut-dl dd, .identite dd { margin: 0; font-size: var(--t-16); color: var(--encre); }

/* ANALYSE : emplacement du schéma tactique (le texte dit ce qu'il montrera) */
.schema { max-width: var(--mesure); position: relative; }
.schema-terrain { display: block; width: 100%; height: auto; background: var(--bande); border: 1px dashed var(--encre-2); }
.schema-terrain * { fill: none; stroke: var(--filet); stroke-width: 2; }
.schema-attente { position: absolute; inset: 0 0 auto 0; aspect-ratio: 680 / 440; display: grid; place-content: center; gap: var(--s-8); padding: var(--s-24); text-align: center; }
.schema-etiquette { font-size: var(--t-13); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-2); }
.schema-quoi { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-size: var(--t-18); line-height: 1.35; color: var(--encre); max-width: 30ch; margin-inline: auto; background: var(--bande); padding: var(--s-4) var(--s-8); }

/* PORTRAIT : fiche d'identité (photo verticale à côté, si elle existe) */
.identite { max-width: var(--mesure); display: grid; gap: var(--s-24); border-top: var(--filet-fort) solid var(--encre); padding-top: var(--s-24); }
.identite h2 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-22); line-height: 1.2; margin-bottom: var(--s-12); }
.identite-photo { width: 100%; max-width: 360px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; border-radius: var(--r-1); background: var(--bande); outline: 1px solid var(--filet-photo); outline-offset: -1px; }
.identite dl div { grid-template-columns: 8rem minmax(0, 1fr); }
.identite dl div:last-child { border-bottom: 1px solid var(--filet); }

/* vignettes sans photo : l'écusson sur le fond pâle du club */
.vignette-ecusson { object-fit: contain; padding: 14%; background: var(--club-pale); }

/* ---------------------------------------------------------------- page index (les 10 articles par type) */
.index-tete { padding-block: var(--s-32) var(--s-16); display: grid; gap: var(--s-16); max-width: var(--mesure); }
.index-tete h1 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400; font-size: clamp(var(--t-32), 5vw, var(--t-56)); line-height: 1.08; text-wrap: balance; }
.rayon { margin-top: var(--s-40); border-top: 1px solid var(--encre); padding-top: var(--s-16); scroll-margin-top: var(--s-16); }
.rayon h2 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-26); line-height: 1.2; }
.cartes { margin-top: var(--s-24); display: grid; gap: var(--s-32); }
.carte-lien { display: grid; gap: var(--s-12); text-decoration: none; border-top: var(--filet-club) solid var(--club); padding-top: var(--s-12); }
.carte-texte { display: grid; gap: var(--s-8); }
.carte-meta { font-size: var(--t-14); color: var(--discret); }
.carte-titre { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-size: var(--t-22); line-height: 1.25; text-wrap: balance; }
.carte-chapeau { font-size: var(--t-16); color: var(--encre-2); line-height: 1.5; }
.carte-lien:hover .carte-titre { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.page-index .pied { margin-top: var(--s-64); }

@media (min-width: 600px) {
  .identite.avec-photo { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .carte-titre { font-size: var(--t-26); }
}
.source-lien { display: inline-flex; align-items: center; min-height: var(--cible); font-weight: 600; color: var(--bleu-encre); text-underline-offset: 0.2em; }
.sources li { overflow-wrap: anywhere; }

/* clubs.css */
/* Couleurs d'identité calculées depuis les écussons (D-072) : scripts/couleurs-clubs.py */
[data-club="le-havre-ac"] { --club: #13182c; --club-pale: #e8efff; }
[data-club="bayern-munich"] { --club: #ed0038; --club-pale: #ffe8e6; }
[data-club="manchester-united"] { --club: #da020e; --club-pale: #ffe8e3; }
[data-club="sporting-cp"] { --club: #037859; --club-pale: #dbf8eb; }
[data-club="olympique-lyonnais"] { --club: #0f23aa; --club-pale: #e5f0ff; }
[data-club="fc-barcelona"] { --club: #edbb00; --club-pale: #f9f0d6; }
[data-club="as-monaco"] { --club: #ff002e; --club-pale: #ffe8e5; }
[data-club="paris-saint-germain-psg"] { --club: #004170; --club-pale: #dff3ff; }
[data-club="rc-lens"] { --club: #b71315; --club-pale: #ffe8e3; }
[data-club="olympique-de-marseille-om"] { --club: #0b61ad; --club-pale: #e0f2ff; }
[data-club="real-madrid"] { --club: #febe10; --club-pale: #fcefd6; }
[data-club="arsenal"] { --club: #db0007; --club-pale: #ffe8e3; }
[data-club="juventus"] { --club: #16130f; --club-pale: #f4efe9; }
[data-club="fiorentina"] { --club: #61358b; --club-pale: #f5ebff; }
[data-club="stade-rennais"] { --club: #e13327; --club-pale: #ffe8e3; }
[data-club="tottenham-hotspur"] { --club: #132257; --club-pale: #e6f0ff; }
[data-club="ogc-nice"] { --club: #16130f; --club-pale: #f4efe9; }
[data-club="chelsea"] { --club: #051495; --club-pale: #e5f0ff; }
[data-club="ac-milan"] { --club: #101820; --club-pale: #e6f2fd; }
[data-club="equipe-de-france"] { --club: #ce1126; --club-pale: #ffe8e4; }
[data-club="football-francais"] { --club: #ce1126; --club-pale: #ffe8e4; }
[data-club="argentine"] { --club: #74acdf; --club-pale: #def3ff; }
[data-club="portugal"] { --club: #ff0000; --club-pale: #ffe8e3; }

/* regista.css */
/* Regista Club — compléments à la maquette site-v10 (DESIGN.md) : logo-mot, pages de liste, pages de confiance. */
.logo .logo-le { font-weight: 400; }
.logo .logo-mot { font-weight: 700; }
.bref-liste h3 a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.sources-preuve { margin-top: var(--s-12); color: var(--discret); font-size: var(--t-14); }
.schema-rendu img { display: block; width: 100%; height: auto; border-radius: var(--r-1); background: var(--bande); }
.schema-rendu .schema-source { display: block; margin-top: var(--s-8); color: var(--discret); }
.liste-page { padding-block: var(--s-48); }
.liste-tete { display: flex; gap: var(--s-24); align-items: flex-start; margin-bottom: var(--s-32); padding-bottom: var(--s-24); border-bottom: 1px solid var(--filet, currentColor); }
.liste-tete h1 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-40, 2.5rem); line-height: 1.1; }
.liste-tete .intro { margin-top: var(--s-8); max-width: 60ch; }
.liste-n { margin-top: var(--s-8); color: var(--discret); font-size: var(--t-14); }
.liste-repere { flex: none; }
.page-texte { padding-block: var(--s-48); }
.page-texte .texte { max-width: 68ch; }
.page-texte h1 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-40, 2.5rem); line-height: 1.1; margin-bottom: var(--s-24); }
.page-texte h2 { font-family: var(--police-titre); font-weight: 700; font-size: var(--t-22); margin-top: var(--s-32); margin-bottom: var(--s-12); }
.page-texte p, .page-texte li { margin-bottom: var(--s-12); line-height: 1.6; }
.page-texte ul { padding-left: 1.2em; list-style: disc; }
.a-remplir { background: var(--bande); border: 1px solid var(--filet); border-radius: var(--r-1); padding: var(--s-8) var(--s-12); font-weight: 600; }
/* Modules de thème (modules.md : encadré, fond bande, sans couleur de club) */
.module { margin-block: var(--s-24); padding: var(--s-16); background: var(--bande); border-radius: var(--r-1); }
.module-titre { font-family: var(--police-texte); font-size: var(--t-13); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); margin-bottom: var(--s-8); }
.module-ligne { padding: var(--s-16) 0; border-top: 1px solid var(--filet); }
.module-ligne:first-child { border-top: 0; }
.module-ligne dt { font-size: var(--t-13); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--discret); margin-bottom: var(--s-4); }
.module-ligne dd { margin: 0; color: var(--encre); font-size: var(--t-16); line-height: 1.5; }
.module-ligne dd ul { margin: 0; padding-left: 1.1em; list-style: disc; }
.module-statut dd > span:first-child { font-weight: 700; }
.module-source { display: block; margin-top: var(--s-4); font-size: var(--t-14); color: var(--encre-2); }
.module-sources { margin-top: var(--s-12); font-size: var(--t-13); color: var(--discret); }
@media (min-width: 1024px) {
  .module { padding: var(--s-24); }
  .module-ligne { display: grid; grid-template-columns: 11rem 1fr; gap: var(--s-16); }
  .module-ligne dt { margin: 0; padding-top: 2px; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Critique Fable T11 */
.une-tournante .une-tournante__sommaire li .vignette-titre { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
body[class^="type-"] .masthead .logo { font-size: var(--t-40); }
.legende::first-letter { text-transform: uppercase; }
.module-ligne { padding: var(--s-12) 0; }
@media (max-width: 599px) { .sous-tete .partage { display: none; } .ariane { display: none; } }
/* Mission titres-images, D-088 : cartes de liste alignées par sous-grille (photo, titre, résumé, pied sur les mêmes lignes
   dans une rangée) ; photo seulement si toute la rangée en a une ; résumé coupé à 3 lignes ; titre jamais tronqué. */
.cartes { row-gap: 0; }
.cartes > li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; padding-bottom: var(--s-40); }
.cartes .carte { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; height: auto; }
.cartes .carte > figure { grid-row: 1; margin: 0 0 var(--s-16); }
.cartes .carte > h3 { grid-row: 2; margin-top: 0; }
.cartes .carte > .resume { grid-row: 3; }   /* étiré sur la rangée : les pieds s'alignent */
.cartes .carte > .meta { grid-row: 4; align-content: start; margin-top: 0; }   /* T8 S5 : pieds alignés par le haut */
.cartes .meta .meta-fin { display: inline-flex; gap: inherit; white-space: nowrap; }   /* la date ne tombe jamais seule */
.cartes .meta .repere { width: 20px; height: 20px; object-fit: contain; }
@media (max-width: 599px) { .cartes .carte.titre-long h3 { font-size: var(--t-20); } }   /* T8 M2 : téléphone seulement */
.cartes .resume { -webkit-line-clamp: 3; line-clamp: 3; }
.carte.sans-photo, .carte.avec-photo:not(.photo-2) { border-top: 2px solid var(--encre); padding-top: var(--s-16); }
@media (min-width: 600px) and (max-width: 899px) { .carte.avec-photo:not(.photo-2) > figure { display: none; } }
@media (min-width: 900px) {
  .carte.avec-photo:not(.photo-3) > figure { display: none; }
  .carte.avec-photo.photo-3 { border-top: 0; padding-top: 0; }
  .carte.avec-photo:not(.photo-3) { border-top: 2px solid var(--encre); padding-top: var(--s-16); }
}
@media (max-width: 599px) { .carte.avec-photo { border-top: 0; padding-top: 0; } }
@media (min-width: 600px) and (max-width: 899px) { .carte.photo-2 { border-top: 0; padding-top: 0; } }
/* Critique Fable T8 (titres-images) */
@media (min-width: 600px) {
  .signature { border-top: 0; }   /* S9 : un seul filet, sous toute la rangée signature + partage */
  .sous-tete { border-bottom: 1px solid var(--filet); padding-bottom: var(--s-16); }
}
@media (min-width: 900px) {
  .article .tete { padding-block: var(--s-32); }   /* S2 : premier écran d'un portable */
  .article { padding-top: var(--s-16); }
  .corps-grille { margin-top: var(--s-32); }
}
@media (min-width: 1050px) { .corps-grille { margin-top: var(--s-32); } }
.corps > * + .module { margin-top: var(--s-40); }   /* M3 : « L'essentiel » et le module ne se collent plus */
