/* 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;
}

/* une-tournante.css */
/* Mécanique de la une tournante. L'habillage (polices, couleurs, grille interne de la
   diapo) reste dans le styles.css de chaque page.
   Les diapos sont empilées dans la même case de grille : la zone prend la hauteur
   de la plus haute, donc la page ne saute jamais quand le sujet change. */

.une-tournante { position: relative; }

/* Sans JS : les 4 sujets se lisent les uns sous les autres. */
.une-tournante__diapos { display: grid; }
html:not(.js) .une-tournante__commandes { display: none; }

html.js .une-tournante__diapo { grid-area: 1 / 1; transition: opacity 600ms ease, visibility 0s linear 600ms; }
html.js .une-tournante__diapo:not(.est-active) { opacity: 0; visibility: hidden; }
html.js .une-tournante__diapo.est-active { opacity: 1; visibility: visible; transition: opacity 600ms ease, visibility 0s; }

.une-tournante__commandes { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px 16px; margin-top: 16px; }
.une-tournante__sommaire { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; counter-reset: une; }
.une-tournante__sommaire button,
.une-tournante__pause {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px;
  padding: 0 8px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left;
}
.une-tournante__sommaire button[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.une-tournante__sommaire button:focus-visible,
.une-tournante__pause:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.une-tournante__pause svg { width: 16px; height: 16px; fill: currentColor; }
.une-tournante__pause .icone-lecture { display: none; }
.une-tournante.est-arretee .une-tournante__pause .icone-pause { display: none; }
.une-tournante.est-arretee .une-tournante__pause .icone-lecture { display: inline; }

.une-tournante__filet { flex: 1 0 100%; height: 2px; background: color-mix(in srgb, currentColor 18%, transparent); overflow: hidden; }
.une-tournante__filet span { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.une-tournante.est-arretee .une-tournante__filet { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html.js .une-tournante__diapo,
  html.js .une-tournante__diapo.est-active { transition: none; }
}

/* accueil.css */
/* Regista Club — une test d'après Journexa (Framer), v9 (v8 corrigée : limite bleue unique, colonnes alignées, air sous le titre, photo Cahuzac CC0) : bande bleu nuit à cheval sur la photo de la grande vignette (fixe, sujet 1) + 3 petites vignettes, 3 cadres publicitaires réservés (html[data-pub]). Jetons déclarés dans DESIGN.md. Mobile d'abord. */


:root {
  /* couleurs */
  --papier: #fbfbfa;
  --bande: #f1f2f3;
  --encre: #0f1722;
  --encre-2: #3a4252;
  --discret: #596070;
  --chiffre: #5d6575;
  --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;

  /* polices : duos définis dans polices.css (outil de test) */
  --filet-fort: 2px;
  --bas-bande: 56px;         /* bleu sous les titres des vignettes */
  --ecart-colonnes: 32px;    /* v8 : entre la grande et la colonne des 3 petites */

  /* 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;

  /* angles : grammaire de journal */
  --r-0: 0;
  --r-1: 2px;

  --gouttiere: 16px;
  --cible: 44px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

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); }

/* ------------------------------------------------------------ en-tête */
.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;
  padding-top: var(--s-16); padding-bottom: var(--s-16);
  row-gap: var(--s-4);
}
.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-titre { font-size: var(--t-14); color: var(--discret); padding-top: var(--s-16); }

.nav-desk { display: none; }
.repere { flex: none; object-fit: contain; }
.repere-nation { border-radius: var(--r-0); }

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

/* ------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--cible); padding: 0 var(--s-24);
  border: 1px solid var(--encre); border-radius: var(--r-1);
  background: transparent; color: var(--encre);
  font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--encre); color: var(--papier); }
.btn-clair { background: var(--papier); border-color: var(--papier); color: var(--encre); }
.btn-clair:hover { background: transparent; color: var(--papier); }

/* ------------------------------------------------------------ une */
.une { padding-top: var(--s-24); padding-bottom: 0; }
.une-article { display: grid; gap: var(--s-24); }
.une-article h1, .une-article h2 {
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400;
  font-size: clamp(var(--t-32), 4.6vw, var(--t-56));
  line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance;
}
.une-article h1 a, .une-article h2 a, .carte h3 a, .ligne h3 a { text-decoration: none; }
.une-article h1 a:hover, .une-article h2 a:hover, .carte h3 a:hover:hover, .ligne h3 a:hover { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.chapeau {
  margin-top: var(--s-16); max-width: 70ch;
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-size: var(--t-20); line-height: 1.5; color: var(--encre-2); text-wrap: pretty;
}
.une-article .meta { margin-top: var(--s-16); }
.une-photo .photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 40%; border-radius: var(--r-1); background: var(--bande); }
.une-photo figcaption { text-wrap: pretty; margin-top: var(--s-8); font-size: var(--t-13); color: var(--discret); max-width: 72ch; }
.une-photo figcaption a { text-underline-offset: 0.15em; }


/* ------------------------------------------------------------ blocs */
.bloc { padding-top: var(--s-48); padding-bottom: var(--s-48); }
.bloc-tete, .bref-tete h2 { margin-bottom: var(--s-32); }
.bloc-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-16) var(--s-24); }
h2#titre-actu, h2#titre-bref {
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400;
  font-size: clamp(var(--t-32), 4vw, var(--t-40)); line-height: 1.1; letter-spacing: -0.008em;
}
.intro { margin-top: var(--s-12); max-width: 52ch; font-size: var(--t-18); color: var(--encre-2); }

.cartes { display: grid; gap: var(--s-40) var(--s-32); }
.carte { display: flex; flex-direction: column; height: 100%; }
.carte .photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 15%; border-radius: var(--r-1); background: var(--bande); }
.carte figcaption { margin-top: var(--s-8); font-size: var(--t-13); color: var(--discret); }
.carte h3 { margin-top: var(--s-16); font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-22); line-height: 1.22; text-wrap: balance; }
.resume {
  margin-top: var(--s-8); color: var(--encre-2);
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.carte .meta { margin-top: auto; padding-top: var(--s-12); }

/* bande « reste de l'actualité » */
.bande { background: var(--bande); padding: var(--s-48) var(--gouttiere); }
.bande > .wrap { padding-inline: 0; max-width: 1200px; }
.bref { display: grid; gap: var(--s-32); }
.bref-tete .btn { margin-top: var(--s-24); }
.bref-tete { align-self: start; }
.bref-tete h2 { margin-bottom: 0; }
.bref-liste li { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-16); padding-top: var(--s-24); padding-bottom: var(--s-24); border-top: 1px solid var(--filet); }
.bref-liste li:last-child { border-bottom: 1px solid var(--filet); }
.jour { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.jour-n { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400; font-size: var(--t-40); color: var(--chiffre); font-variant-numeric: lining-nums tabular-nums; }
.jour-m { margin-top: var(--s-4); font-size: var(--t-14); color: var(--discret); }
.ligne h3 { font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700; font-size: var(--t-22); line-height: 1.25; text-wrap: balance; }
.ligne .meta { margin-top: var(--s-8); }

/* ------------------------------------------------------------ une tournante : « À la une aussi » (les 3 sujets non affichés) */
.une-tournante__diapos { grid-template-columns: minmax(0, 1fr); }
.une-tournante .une-article { align-content: start; }
#une-2 .photo { object-position: 55% 30%; }
#une-3 .photo { object-position: center 18%; }
#une-4 .photo { object-position: center 25%; }

.une-tournante__titre {
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre);
  font-weight: 700; font-size: var(--t-22); line-height: 1.2;
}
.une-tournante__cadre { position: relative; isolation: isolate; margin-top: var(--s-24); }  /* v9 : air entre « À la une aussi » et les photos */
.une-tournante__sommaire { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-16); margin: 0; }
.une-tournante__sommaire button {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--s-12);
  width: 100%; height: 100%; min-height: var(--cible); padding: 0;
  border: 0; background: none; text-align: left; cursor: pointer;
  color: var(--nuit-doux); text-decoration: none;
}
.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;   /* filet fin : détache les photos claires du papier, sans ombre */
}
/* cadrage par sujet (et non par rang : le rang change quand la vignette du sujet affiché est masquée) */
.une-tournante__sommaire li[data-une="1"] .vignette { object-position: center 10%; }
.une-tournante__sommaire li[data-une="2"] .vignette { object-position: center 55%; }
.une-tournante__sommaire li[data-une="3"] .vignette { object-position: center center; }  /* fichier déjà recadré sur le visage */
.une-tournante__sommaire li[data-une="4"] .vignette { object-position: center 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.25; text-wrap: balance;
  background: var(--nuit);   /* même couleur que la bande qui passe derrière : le texte est toujours sur le bleu nuit (lisible aussi pour les outils d'analyse statique) */
}
.une-tournante__sommaire button:hover .vignette-titre { color: var(--blanc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.une-tournante__sommaire li.est-affichee { display: none; }   /* S1 : le sujet déjà affiché en une ne se répète pas dans « À la une aussi » */
.une-tournante__sommaire button:focus-visible { outline: 2px solid var(--focus-mixte); outline-offset: 2px; }
.une-tournante__filet { display: none; }

/* ------------------------------------------------------------ index « Les clubs suivis » : bloc compact pleine largeur */
.une-tournante__bande { padding-inline: var(--gouttiere); }
.une-tournante__bande .wrap { padding-inline: 0; max-width: calc(1280px - 2 * var(--gouttiere)); }
.clubs-suivis .wrap { padding-inline: 0; max-width: calc(1280px - 2 * var(--gouttiere)); }
.clubs-suivis__corps { border-top: 1px solid var(--encre); padding-top: var(--s-16); }
.clubs-suivis__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-4) var(--s-24); }
.clubs-suivis__tete h2 {
  font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 700;
  font-size: var(--t-22); line-height: 1.2;
}
.clubs-suivis__tete .intro { margin-top: 0; max-width: none; font-size: var(--t-16); }
.clubs { margin-top: var(--s-12); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-24); }
.clubs li { border-top: 1px solid var(--filet); }
.club-ligne {
  display: grid; grid-template-columns: 32px 1fr; grid-template-areas: "ecu nom" "ecu n";
  align-items: center; column-gap: var(--s-12);
  min-height: 52px; padding: var(--s-4) 0; text-decoration: none;
}
.club-ligne .repere { grid-area: ecu; justify-self: start; width: 32px; height: 28px; }
.club-nom { grid-area: nom; align-self: end; font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400; font-size: var(--t-16); line-height: 1.2; text-wrap: balance; }
.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; }

/* bloc « Comment nous travaillons », seul en bas de page */
.note { background: var(--nuit); color: var(--nuit-texte); padding: var(--s-32) var(--s-24); border-radius: var(--r-1); display: grid; gap: var(--s-8); }
.note h2 { color: var(--nuit-texte); font-family: var(--police-titre); font-size-adjust: var(--ajuste-titre); font-weight: 400; font-size: clamp(var(--t-32), 4vw, var(--t-40)); line-height: 1.1; letter-spacing: -0.008em; }
.note-texte { margin-top: var(--s-16); color: var(--nuit-doux); font-size: var(--t-18); line-height: 1.55; }
.note .btn { margin-top: var(--s-24); justify-self: start; }
.note-tete { display: grid; align-content: start; }
.note-corps { display: grid; align-content: start; }
.note-corps .note-texte:first-child { margin-top: 0; }
.note :focus-visible { outline-color: var(--papier); }

/* ------------------------------------------------------------ pied */
.pied { border-top: 1px solid var(--encre); padding-top: var(--s-48); padding-bottom: var(--s-64); }
.logo-pied { font-size: var(--t-40); }
.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 */
.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); }

/* ------------------------------------------------------------ transitions (seulement si l'on accepte le mouvement) */
@media (prefers-reduced-motion: no-preference) {
  .btn, .consent button, .menu-mob summary { transition: background-color 0.15s ease, color 0.15s ease; }
}

/* bandeau de test : deux groupes dans la même barre grise (styles de base dans polices.css) */
.selecteur-polices { column-gap: var(--s-32); }
.selecteur-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* ============================================================ v8 · bande à cheval (S1 : 3 vignettes égales, le sujet affiché est masqué) */
/* titre sur papier, à la marge gauche ; la bande bleu nuit commence à --y sous le haut de la photo de la GRANDE et va jusqu'aux bords de l'écran */
.une-tournante__bande { margin-top: var(--s-32); padding: 0 var(--gouttiere) var(--bas-bande); background: none; overflow-x: clip; }
.une-tournante__commandes { display: block; margin: 0; border-top: 1px solid var(--encre); padding-top: var(--s-16); container-type: inline-size; position: relative; }
.une-tournante__titre { color: var(--encre); }
.une-tournante__cadre {
  /* largeur de la grande (toute la largeur sur téléphone), hauteur de sa photo (4:3) en unités de conteneur */
  --w: 100cqi;
  --h: calc(var(--w) * var(--ratio-h));   /* hauteur de la photo de la grande */
  --ratio-h: 0.75;              /* photo de la grande : 4:3 */
  --y: calc(var(--h) * 0.5);
}
.une-tournante__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);
}
/* téléphone : les 3 autres sujets en liste égale (photo à gauche 40 %, titre à droite), toute la liste sur la bande bleu nuit */
.une-tournante__cadre { --y: calc(-1 * var(--s-16)); }   /* la bande commence un peu au-dessus de la 1re photo */
.une-tournante__sommaire { gap: var(--s-24); }
.une-tournante__sommaire button { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: center; gap: var(--s-16); }
.une-tournante__sommaire .vignette-titre { font-size: var(--t-18); }

/* ---- fin de la bande : la pub 1 s'intercale, « Les clubs suivis » repasse sur le papier */
.clubs-suivis { background: none; padding: var(--s-48) var(--gouttiere) var(--s-24); }
.clubs li { border-top-color: var(--filet); }
.note { background: var(--papier); color: var(--encre); border: 1px solid var(--encre); }
.note h2 { color: var(--encre); }
.note-texte { color: var(--encre-2); }
.note :focus-visible { outline-color: var(--bleu-encre); }
.note .btn-clair { background: transparent; border-color: var(--encre); color: var(--encre); }
.note .btn-clair:hover { background: var(--encre); color: var(--papier); }

/* ============================================================ v7 · cadres publicitaires réservés (aucun script, aucune requête) */
.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); box-sizing: border-box;
  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-1 { --pub-l: 300px; --pub-h: 250px; }
.pub-2 { --pub-l: 300px; --pub-h: 250px; }
.pub-3 { --pub-l: 320px; --pub-h: 100px; }
.pub-zone { padding-block: var(--s-40); }
.pub-zone-3 { padding-block: var(--s-48) 0; }
.cellule-pub { display: flex; align-items: center; justify-content: center; }
html[data-pub="0"] .pub-zone, html[data-pub="0"] .cellule-pub { display: none; }
html[data-pub="0"] .clubs-suivis { padding-top: var(--s-24); }

/* bandeau de test : groupes dans la même barre grise (styles de base dans polices.css) */
.selecteur-polices { column-gap: var(--s-32); }
.selecteur-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.selecteur-case { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 4px; cursor: pointer; font-weight: 600; }
.selecteur-case input { width: 24px; height: 24px; margin: 0; accent-color: #1f2329; cursor: pointer; }
.selecteur-case:has(input:focus-visible) { outline: 2px solid #1b3a6b; outline-offset: 2px; }

/* ------------------------------------------------------------ ≥ 600 */
@media (min-width: 600px) {
  :root { --gouttiere: 24px; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  :root { --bas-bande: 64px; }
  /* bureau (S1, remplace le « Grande + 3 » v9) : les 3 autres sujets en 3 colonnes égales, photo 4:3 au-dessus du titre ; la bande bleu nuit commence à mi-hauteur des photos, les titres sont sur le bleu */
  .une-tournante__cadre { --w: calc((100cqi - 2 * var(--ecart-colonnes)) / 3); --y: calc(var(--h) * 0.5); }
  .une-tournante__sommaire { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--ecart-colonnes); }
  .une-tournante__sommaire button { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-12); }
}
@media (min-width: 1100px) {
  .une-tournante__sommaire .vignette-titre { font-size: var(--t-20); }
}
@media (min-width: 800px) {
  .pub-3 { --pub-l: 728px; --pub-h: 90px; }
  .pub-3 .pub-format-grand { display: inline; }
  .pub-3 .pub-format-petit { display: none; }
}
@media (min-width: 1050px) {
  .pub-1 { --pub-l: 970px; --pub-h: 250px; }
  .pub-1 .pub-format-grand { display: inline; }
  .pub-1 .pub-format-petit { display: none; }
}

/* ------------------------------------------------------------ ≥ 900 : bureau */
@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; }
  .consent-in { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-40); }
  .consent-actes { grid-template-columns: repeat(3, 120px); }

  .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; }

  .une { padding-top: var(--s-32); padding-bottom: 0; }
  .une-article { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-48); align-items: start; }
  .une-photo { margin-top: 0; }
  .une-photo .photo { aspect-ratio: 4 / 3; }
  .clubs-suivis { padding-top: var(--s-48); padding-bottom: var(--s-32); }
  .clubs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s-32); }

  .bloc { padding-top: var(--s-48); padding-bottom: var(--s-48); }
  .bande { padding-top: var(--s-48); padding-bottom: var(--s-48); }
  .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .bref-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "i b"; column-gap: var(--s-32); align-items: end; }
  .bref-tete h2 { grid-area: t; }
  .bref-tete .intro { grid-area: i; }
  .bref-tete .btn { grid-area: b; margin-top: 0; }
  .bref-liste li { grid-template-columns: 80px 1fr; padding-top: var(--s-16); padding-bottom: var(--s-16); }

  .note { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-48); padding: var(--s-40); align-items: start; }
}

/* 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 */
