/* Dossiers POI et Hardware : styles communs.
   Design system IPRIJ, style affiche manga (https://claude.ai/artifact/4tTyGJ4ZjxgA3WZ97tYKds).
   Un titre énorme, le casque qui passe devant, beaucoup d'air, des filets fins.
   Pas de contour épais ni d'ombre décalée : c'est ce que ce style remplace. */

/* Polices hébergées sur le site, sans appel à Google. */
@font-face { font-family: 'Andika'; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/andika-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Andika'; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/andika-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Andika'; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/andika-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Andika'; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/andika-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/chakra-petch-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/chakra-petch-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/chakra-petch-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/chakra-petch-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/dela-gothic-one-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/dela-gothic-one-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fond: #F2F0F6;
  --surface: #FFFFFF;
  --texte: #1E1638;
  --texte-2: #4F4670;
  --marque-1: #FF2E93;
  --marque-1-fonce: #C2116B;
  --marque-2: #D7F23A;
  --marque-2-rayure: #A9C31A;
  --cyan: #4FD3F0;
  --jaune: #F5E52A;
  /* Couleurs de données : types de liens et verdicts */
  --primaire: #5B3CC4;
  --or: #F2B33D;
  --or-fonce: #8A5A00;
  --succes: #1F7A50;
  --affiche: 'Dela Gothic One', 'Arial Black', Impact, sans-serif;
  --titre: 'Chakra Petch', 'Arial Narrow', Arial, sans-serif;
  --corps: 'Andika', system-ui, sans-serif;
  --rayure-rose: repeating-linear-gradient(-45deg, var(--marque-1) 0 5px, transparent 5px 9px);
  --rayure-encre: repeating-linear-gradient(-45deg, var(--texte) 0 3px, transparent 3px 6px);
  --biseau: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  --marge: 48px;
  --contenu: 1180px;
  scrollbar-color: var(--marque-1) var(--fond);
}

* { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; color: var(--texte); background: var(--fond); font: 400 1.05rem/1.65 var(--corps); }
main { max-width: var(--contenu); margin: 0 auto; padding: 0 var(--marge) 64px; }
main > section { display: grid; gap: 24px; margin: 0 0 72px; }
main > section > p, main > section > ul { max-width: 66ch; margin: 0; }
p, li { hyphens: none; overflow-wrap: break-word; }
a { color: var(--marque-1-fonce); text-underline-offset: 3px; }
a:hover { color: var(--texte); }
:focus-visible { outline: 3px solid var(--texte); outline-offset: 2px; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2, h3, h4, legend, .btn, .etiquette, .surtitre, .date, dt { font-family: var(--titre); }
/* Texte réservé aux lecteurs d'écran */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
abbr { text-decoration: none; background: var(--marque-2); padding: 0 4px; cursor: help; }
main > section > ul, .carte ul, .sources ul { list-style: none; padding: 0; }
main > section > ul:not(.legende) > li, .carte ul > li { position: relative; padding-left: 20px; margin-bottom: 8px; }
main > section > ul:not(.legende) > li::before, .carte ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 10px;
  height: 10px;
  background: var(--marque-1);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}

/* ---------- Menu (composant menu.js), en encre sur toute la largeur ---------- */
iprij-menu { position: relative; display: block; margin-bottom: 46px; }
iprij-menu::after {
  content: '';
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  top: 100%;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--marque-2-rayure) 0 4px, transparent 4px 8px);
}
.nav-fiches, .nav-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-inline: calc(50% - 50vw);
  padding: 8px calc(50vw - 50%);
  background: var(--texte);
}
.nav-pages { padding-block: 2px 4px; }
.nav-icone { display: block; width: 44px; height: 44px; margin-right: 10px; line-height: 0; }
.nav-icone img { width: 44px; height: 44px; }
iprij-menu :focus-visible { outline-color: var(--cyan); }
iprij-menu .btn { color: #fff; padding: 8px 12px; font-size: .95rem; }
iprij-menu .btn::before { display: none; }
iprij-menu .btn:hover { color: var(--marque-2); }
.nav-fiches .btn[aria-current] { color: var(--texte); background: var(--marque-2); }
.nav-pages .btn { font-size: .875rem; font-weight: 600; }
.nav-pages .btn[aria-current] { color: var(--marque-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Bouton à coin coupé. Le fond est sur ::before pour que le biseau ne coupe pas le focus. ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 24px 8px 16px;
  border: 0;
  background: none;
  color: var(--texte);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--marque-2); clip-path: var(--biseau); transition: background-color .15s ease; }
.btn:hover { color: #fff; }
.btn:hover::before { background: var(--texte); }
.btn:active { transform: translateY(1px); }

/* ---------- En-tête de fiche : l'affiche ---------- */
.entete { display: grid; gap: 28px; }
.surtitre {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-bottom: 20px;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  max-width: none !important;
  /* Les trois filets du haut de page */
  background:
    linear-gradient(90deg, var(--marque-1) 0 45%, transparent 45% 46%, var(--marque-2) 46% 91%, transparent 91% 92%, var(--texte) 92%) bottom / 100% 5px no-repeat;
}
.surtitre::before { content: ''; flex-shrink: 0; width: 32px; height: 32px; background: var(--rayure-encre); }
.entete h1 {
  /* --n : largeur du titre en lettres, calculée par le générateur pour qu'il remplisse la page sans déborder */
  margin: 8px 0 12px;
  font: 400 min(8.6rem, calc((min(100vw, var(--contenu)) - 2 * var(--marge)) / (var(--n, 8) * .98)))/.98 var(--affiche);
  letter-spacing: -.02em;
  text-transform: uppercase;
  isolation: isolate;
}
.entete h1 span { position: relative; display: block; width: fit-content; color: var(--marque-1); }
/* Le casque du logo passe devant le titre et ne mord que le bas de la ligne du dessus. Sa taille suit celle du titre. */
.entete h1 span::after {
  content: '';
  position: absolute;
  left: calc(100% + .08em);
  bottom: -.14em;
  width: 1.3em;
  aspect-ratio: 212 / 208;
  background: url("marque/iprij-casque.svg") center / contain no-repeat;
}
.entete h1 span::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: calc(100% - .1em);
  bottom: -.24em;
  width: .9em;
  height: 1em;
  background-image: radial-gradient(circle, var(--marque-1) 1.8px, transparent 2px);
  background-size: 9px 9px;
}
.accroche { margin: 0; max-width: 62ch; padding-top: 18px; border-top: 1px solid var(--texte); font-size: 1.2rem; line-height: 1.55; }
.identite { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; margin: 0; }
.identite div { padding-top: 12px; border-top: 3px solid var(--texte); }
.identite dt { font-weight: 700; font-size: .875rem; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); }
.identite dd { margin: 4px 0 0; font-size: .95rem; line-height: 1.45; }
.identite .identite-large { grid-column: 1 / -1; }
.position-ia { font: 700 1.15rem/1.3 var(--titre); }
.identite dd .verdict { display: table; margin-top: 8px; }

/* ---------- En-tête d'accueil : le rose du logo sur toute la largeur ---------- */
.bandeau {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin: -46px calc(50% - 50vw) 72px;
  padding: 46px calc(50vw - 50%) 40px;
  background: var(--marque-1);
}
.bandeau .logo { display: block; line-height: 0; }
.bandeau .logo svg, .bandeau .logo img { display: block; width: 300px; height: auto; }
/* Logo animé (marque/iprij-logo-survol.svg, intégré dans la page) : son propre style gère le survol.
   On déclenche aussi l'effet au clavier (focus sur le lien) et sur téléphone (classe « revele », posée par le script). */
.logo:focus-visible .mot-devant, .logo.revele .mot-devant { opacity: 1; transform: translate(-3px, -4px); }
.logo:focus-visible .casque, .logo.revele .casque { transform: translate(0, 10px); }
@media (prefers-reduced-motion: reduce) {
  .logo:focus-visible .mot-devant, .logo:focus-visible .casque { transform: none; }
}
.bandeau-texte { display: grid; gap: 14px; justify-items: start; }
.bandeau h1 { margin: 0; font: 400 clamp(2.2rem, 6.4vw, 5rem)/1 var(--affiche); letter-spacing: -.02em; text-transform: uppercase; }
.bandeau .accroche { padding-top: 0; border-top: 0; font-size: 1.15rem; }
.bandeau .accroche a { color: var(--texte); font-weight: 700; }
.bandeau :focus-visible { outline-color: var(--texte); }
.bandeau .btn { color: #fff; }
.bandeau .btn::before { background: var(--texte); }
.bandeau .btn:hover { color: var(--texte); }
.bandeau .btn:hover::before { background: var(--marque-2); }
.etiquette {
  display: inline-block;
  justify-self: start;
  margin: 0;
  padding: 3px 18px 3px 8px;
  background: var(--jaune);
  color: var(--texte);
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
  clip-path: var(--biseau);
}

/* ---------- Titre de chapitre et rayure qui comble la ligne ---------- */
.titre-deco h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 18px;
  margin: 0;
  font: 400 clamp(1.7rem, 4.6vw, 3.1rem)/1.05 var(--affiche);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}
.titre-deco h2::after { content: ''; flex: 1 1 60px; height: 20px; margin-bottom: 8px; background: var(--rayure-rose); }
/* Les sources restent discrètes : une étiquette suffit. */
.sources .titre-deco h2 { display: inline-block; padding: 3px 18px 3px 8px; font: 700 .875rem/1.3 var(--titre); letter-spacing: .1em; background: var(--jaune); clip-path: var(--biseau); }
.sources .titre-deco h2::after { display: none; }
.sources { font-size: .95rem; }
.sources li { margin-bottom: 4px; }
.sources li a { padding-block: 3px; }

/* ---------- Frise chronologique ---------- */
.periode { display: grid; gap: 4px; margin-top: 8px; }
.periode > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.periode > h3 small { font: 700 .875rem/1.4 var(--titre); color: var(--texte-2); }
.frise { position: relative; list-style: none; margin: 0; padding: 0; }
.frise::before { content: ''; position: absolute; left: 8.5rem; top: 10px; bottom: 10px; width: 1px; background: var(--texte); }
.frise li { position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0 32px; padding-block: 12px; }
/* Le point de la frise : le capteur rond du casque. */
.frise li::before { content: ''; position: absolute; left: calc(8.5rem - 9px); top: 19px; width: 13px; height: 13px; border-radius: 50%; background: var(--fond); border: 3px solid var(--texte); box-shadow: inset 0 0 0 2px var(--cyan); }
.date { margin: 0; padding: 2px 8px 0 0; font-weight: 700; font-size: .95rem; line-height: 1.5; }
.evt h3, .evt h4 { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.evt p { margin: 2px 0 0; max-width: 66ch; color: var(--texte-2); }
.frise li.cle .evt h3, .frise li.cle .evt h4 { display: inline; padding: 1px 6px; background: var(--marque-2); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.frise li.cle .evt p { margin-top: 6px; color: var(--texte); }
.frise li.cle::before { width: 19px; height: 19px; left: calc(8.5rem - 12px); top: 15px; background: var(--marque-1); box-shadow: none; }

/* ---------- Colonnes séparées par l'air et un filet, sans cadre ---------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 32px; }
.carte { padding-top: 14px; border-top: 1px solid var(--texte); }
.carte h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.carte p { margin: 6px 0 0; line-height: 1.5; }
.carte ul { margin: 8px 0 0; }
.carte h3 a { display: inline-block; padding-block: 3px; color: inherit; text-decoration-thickness: 1px; }
.carte h3 a:hover { color: var(--marque-1-fonce); }

.cartes.quatre { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Décryptages ---------- */
.bandeau.long h1 { font-size: clamp(1.9rem, 5vw, 4.2rem); }
.parties { display: flex; flex-wrap: wrap; gap: 8px; }
.parties .btn[aria-current="page"] { color: #fff; }
.parties .btn[aria-current="page"]::before { background: var(--texte); }
.decryptage { display: grid; gap: 14px; padding-top: 16px; border-top: 3px solid var(--texte); }
.decryptage h3 { margin: 0; font: 400 clamp(1.45rem, 3.5vw, 2.5rem)/1.15 var(--affiche); letter-spacing: -.01em; text-transform: uppercase; }
.decryptage h3 a { color: inherit; text-decoration-thickness: 2px; }
.decryptage h3 a:hover { color: var(--marque-1-fonce); }
.decryptage > p { margin: 0; max-width: 66ch; }

/* ---------- Accueil : une ligne par contenu du niveau Approfondir ---------- */
.lignes { display: grid; }
.ligne { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 66ch); gap: 4px 32px; padding-block: 14px 18px; border-top: 1px solid var(--texte); }
.ligne h3 { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.ligne h3 a { display: inline-block; padding-block: 3px; color: inherit; text-decoration-thickness: 1px; }
.ligne h3 a:hover { color: var(--marque-1-fonce); }
.ligne p { margin: 0; }
.ligne p + p, .carte p + p { margin-top: 6px; }
.decryptage .src-inline { margin: 0; }
.decryptage .src-inline a, .carte .src-inline a, .ligne .src-inline a { display: inline-block; padding-block: 3px; }
main > section.retenir > .btn { justify-self: start; }
.retenir .btn { color: var(--texte); }
.retenir .btn:hover { color: var(--texte); }
.retenir .btn:hover::before { background: #fff; }

/* ---------- Fiche : le contenu à gauche, les publications décryptées à droite ---------- */
@media (min-width: 1001px) {
  main.fiche { display: grid; grid-template-columns: minmax(0, 1fr) 270px; column-gap: 48px; }
  main.fiche > * { grid-column: 1; min-width: 0; }
  main.fiche > iprij-menu, main.fiche > .entete, main.fiche > .pied { grid-column: 1 / -1; }
  main.fiche > .fiche-lateral { grid-column: 2; grid-row: 3 / span 12; align-self: start; position: sticky; top: 16px; margin-bottom: 40px; }
  main.fiche > section.retenir { margin-inline: 0; padding-inline: 28px; }
  main.fiche > section.retenir::before { width: 120px; height: 80px; }
}
.fiche-lateral { display: grid; gap: 14px; margin-bottom: 52px; padding-top: 12px; border-top: 3px solid var(--texte); }
.fiche-lateral h2 { margin: 0; font-size: .875rem; font-weight: 700; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.fiche-lateral ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.fiche-lateral li { display: grid; gap: 4px; }
.fiche-lateral .format { margin: 0; font: 700 .875rem/1.3 var(--titre); color: var(--texte-2); }
.fiche-lateral .titre-source { font: 700 1.15rem/1.25 var(--titre); color: var(--texte); text-decoration-thickness: 1px; }
.fiche-lateral .titre-source:hover { color: var(--marque-1-fonce); }
.fiche-lateral .parties-liens { margin: 0; font-size: .95rem; }
.fiche-lateral p { margin: 0; font-size: .95rem; line-height: 1.5; }

/* ---------- Glossaire ---------- */
.glossaire { display: grid; gap: 0; margin: 0; }
.glossaire > div { display: grid; grid-template-columns: 15rem minmax(0, 66ch); gap: 2px 24px; padding-block: 12px; border-top: 1px solid var(--texte); scroll-margin-top: 16px; }
.glossaire dt { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.glossaire dd { margin: 0; }
.glossaire > div:target { background: var(--marque-2); box-shadow: 0 0 0 8px var(--marque-2); }

.a-completer { padding: 1px 6px; background: var(--jaune); color: var(--texte); font: 700 .875rem/1.4 var(--titre); }
.pied a { color: inherit; }

/* ---------- Mots et noms reconnus, et leur fenêtre au survol (infobulles.js) ---------- */
.terme { color: inherit; text-decoration: underline dotted; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: help; }
.terme:hover { color: var(--marque-1-fonce); }
.retenir .terme { color: inherit; }
.retenir .terme:hover { color: var(--marque-2); }
.bandeau .terme:hover, .bandeau .nom-personne { color: var(--texte); }
.bulle {
  position: fixed;
  z-index: 50;
  display: grid;
  gap: 4px;
  width: min(320px, calc(100vw - 16px));
  padding: 12px 14px;
  color: #fff;
  background: var(--texte);
  font-size: .95rem;
  line-height: 1.45;
}
.bulle[hidden] { display: none; }
.bulle strong { font: 700 1.05rem/1.25 var(--titre); color: var(--marque-2); }
.bulle small { font-size: .875rem; color: #fff; opacity: .85; }

/* ---------- Bandeau encre : ce qu'il faut retenir ---------- */
main > section.retenir {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: 40px calc(50vw - 50%) 44px;
  color: #fff;
  background: var(--texte);
}
.retenir::before { content: ''; position: absolute; right: 0; top: 0; width: 220px; height: 120px; background-image: radial-gradient(circle, var(--marque-1) 1.6px, transparent 1.8px); background-size: 9px 9px; opacity: .55; }
.retenir > * { position: relative; }
.retenir .titre-deco h2::after { background: repeating-linear-gradient(-45deg, var(--marque-2) 0 5px, transparent 5px 9px); }
.retenir .carte { border-top: 0; padding-top: 0; }
.retenir .carte h3 { color: var(--marque-2); }
.retenir a { color: var(--marque-2); }
.retenir :focus-visible { outline-color: var(--cyan); }
.retenir .citation footer { color: #fff; }

/* ---------- Citation : une phrase forte, sans bulle ---------- */
.citation { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 4px 24px; margin: 8px 0 0; }
.citation::before { content: ''; grid-row: span 2; background: var(--rayure-rose); }
.citation p { margin: 0; font: 400 clamp(1.35rem, 3.2vw, 2.2rem)/1.2 var(--affiche); letter-spacing: -.01em; text-wrap: balance; }
.citation footer { margin-top: 8px; font: 700 .95rem/1.4 var(--titre); color: var(--texte-2); }

.src-inline { font-size: .875rem; color: var(--texte-2); }
.retenir .src-inline { color: #fff; }
.pied { margin: 0; padding-top: 16px; border-top: 1px solid var(--texte); color: var(--texte-2); font-size: .875rem; }

/* Types de liens : couleur ET trait (même code que les ficelles du tableau). */
.type-lien {
  display: inline-block;
  margin: 2px 0;
  padding: 0 0 1px;
  border-bottom: 3px solid currentColor;
  font-family: var(--titre);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}
.type-lien.type-formation { color: var(--texte); }
.type-lien.type-equipe { color: var(--primaire); border-bottom-style: dashed; }
.type-lien.type-argent { color: var(--or-fonce); border-bottom-style: dashed; }
.type-lien.type-conflit { color: var(--marque-1-fonce); }
.type-lien.type-accord { color: var(--succes); border-bottom-style: dotted; }
.type-lien.type-tentative { color: var(--or-fonce); border-bottom-style: dashed; }

/* ---------- Page de vérification ---------- */
.verifs { display: grid; gap: 0; }
.verif { display: grid; grid-template-columns: 8rem minmax(0, 66ch); gap: 6px 24px; padding-block: 16px 20px; border-top: 1px solid var(--texte); }
.verif .affirmation { margin: 0; font-weight: 700; }
.verif .affirmation q { font-style: normal; }
.verif .faits { grid-column: 2; margin: 0; }
.verif .src { grid-column: 2; margin: 0; font-size: .875rem; color: var(--texte-2); }
.verif .dires { grid-column: 2; margin: 0; padding-left: 1.2em; }
.verif .dires li { margin-block: 4px; }
.brouillon { margin: 0 0 24px; padding: 10px 16px; background: var(--jaune); color: var(--texte); }
.verdict {
  display: inline-block;
  grid-row: span 3;
  align-self: start;
  justify-self: start;
  margin: 0;
  padding: 3px 14px 3px 8px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
  letter-spacing: .04em;
  clip-path: var(--biseau);
}
.verdict.ok { background: var(--succes); color: #fff; }
.verdict.nuance { background: var(--jaune); color: var(--texte); }
.verdict.faux { background: var(--texte); color: #fff; }
.verdict.ouvert { background: none; color: var(--texte); clip-path: none; outline: 1px dashed var(--texte); outline-offset: -1px; }
.legende { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.legende li { display: flex; align-items: center; gap: 8px; }
.legende .verdict { grid-row: auto; }

/* ---------- Petits écrans et impression ---------- */
@media (max-width: 1000px) {
  :root { --marge: 28px; }
  .bandeau .logo svg, .bandeau .logo img { width: 240px; }
}
@media (max-width: 760px) {
  :root { --marge: 16px; }
  main > section { margin-bottom: 52px; }
  iprij-menu { margin-bottom: 30px; }
  .nav-fiches, .nav-pages { flex-wrap: nowrap; overflow-x: auto; gap: 2px; }
  iprij-menu .btn { flex-shrink: 0; padding: 8px; white-space: nowrap; }
  .nav-icone { flex-shrink: 0; margin-right: 4px; }
  .bandeau { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: -30px; padding-top: 16px; padding-bottom: 28px; }
  .frise::before { left: 6px; }
  .frise li { grid-template-columns: minmax(0, 1fr); padding-left: 26px; }
  .frise li::before { left: -3px; }
  .frise li.cle::before { left: -6px; }
  .citation { grid-template-columns: 26px minmax(0, 1fr); gap: 4px 14px; }
  .verif, .ligne { grid-template-columns: minmax(0, 1fr); }
  .glossaire > div { grid-template-columns: minmax(0, 1fr); }
  .verif .faits, .verif .src, .verif .dires { grid-column: 1; }
  .verdict { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:active { transform: none; }
}
@media print {
  iprij-menu, .bulle, .fiche-lateral { display: none; }
  .terme { text-decoration: none; }
  .entete h1 span::before, .entete h1 span::after { display: none; }
  .bandeau, main > section.retenir { color: var(--texte); background: none; margin-inline: 0; padding-inline: 0; }
  .retenir .carte h3, .retenir a, .retenir .src-inline, .retenir .citation footer { color: var(--texte); }
  .frise li, .carte, .verif { break-inside: avoid; }
}
