/* ==========================================================
   Baromètre constitutionnel — feuille de style
   Version unique.

   Charte : noir, blanc, jaune.
   · Noir #0A0A0A : logo, titres, boutons, bandeau d’accueil, pied de page.
   · Jaune #FFD200 : la signature. Il surligne (logo, titres de rubrique,
     menu, liens au survol), repère et occupe au plus une grande surface
     par page. Jamais de texte jaune sur fond blanc (contraste 1,45:1) :
     sur le jaune, le texte est toujours noir (13,6:1).
   · Neutres chauds : #1D1C1A (texte), #5C5A55 (texte discret),
     #E6E5E0 (filets), #F7F7F5 (fonds clairs).
   · Couleurs de sens (fonction uniquement) : vert, orange brûlé, prune,
     rouge sombre, gris — chacune avec sa forme propre.
   Typographie : Spectral (titres, fiches) et Manrope (interface).
   ========================================================== */

/* ---------- Polices (5 fichiers) ---------- */
@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/spectral-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/spectral-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

/* ---------- Jetons ---------- */
:root {
  --jaune: #FFD200;
  --jaune-pale: #FFF4C2;
  --noir: #0A0A0A;
  --encre: #0A0A0A;
  --texte: #1D1C1A;
  --discret: #5C5A55;
  --filet: #E6E5E0;
  --filet-fort: #C9C7C0;
  --fond-clair: #F7F7F5;
  --blanc: #FFFFFF;

  --vert: #1D6F47;   --vert-fond: #E6F3EC;   --vert-texte: #1D6F47;
  --ocre: #A9500A;   --ocre-fond: #FBEBDD;   --ocre-texte: #8A3E08;
  --prune: #7A3E5A;  --prune-fond: #F3E8ED;  --prune-texte: #5E2D44;
  --sombre: #8B1E1E; --sombre-fond: #F6E3E1; --sombre-texte: #7A1B1B;
  --ardoise: #6B6963; --ardoise-fond: #EFEEEA; --ardoise-texte: #4A4844;

  /* Surligneur : bande jaune sous le tiers inférieur du texte, comme le logo */
  --surligne: linear-gradient(transparent 58%, var(--jaune) 58%, var(--jaune) 94%, transparent 94%);

  --titre: "Spectral", Georgia, "Times New Roman", serif;
  --ui: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --largeur: 1200px;
  --espace: clamp(48px, 7vw, 88px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(255, 210, 0, .4); scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 1rem/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--encre); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--noir); }
:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; box-shadow: 0 0 0 6px var(--jaune); }
::selection { background: var(--jaune); color: var(--noir); }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 700; color: var(--encre); line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.22rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 700; }
small { font-size: .85em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .conteneur { padding-left: 18px; padding-right: 18px; } }
.section { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 72px); }
.lien-evitement { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 14px; font-weight: 700; }
.lien-evitement:focus { left: 8px; color: #fff; }

/* ---------- Libellés communs ---------- */
.categorie { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--ui); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--noir); }
.categorie::before { content: ""; width: 18px; height: 8px; background: var(--jaune); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; color: var(--discret); margin: 0; }
.meta .sep { width: 1px; height: 14px; background: var(--filet-fort); }
.chapo { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--discret); max-width: 70ch; }
.perimetre { font-size: .84rem; color: var(--discret); margin-top: 16px; }
.vide-texte { color: var(--discret); max-width: 70ch; margin: 0; }
.vide { border: 1px dashed var(--filet-fort); padding: 28px; text-align: center; color: var(--discret); }
.vide strong { display: block; color: var(--encre); margin-bottom: 4px; }

/* Champs de recherche : la croix d’effacement aux couleurs du site (jamais le bleu du navigateur) */
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-left: 8px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2 2 12' stroke='%230A0A0A' stroke-width='2'/%3E%3C/svg%3E") no-repeat center; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
input, select, textarea, button { accent-color: var(--noir); caret-color: var(--noir); }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 2px solid var(--noir); background: var(--noir); color: #fff; font: 700 .8rem var(--ui); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.bouton:hover { background: var(--jaune); border-color: var(--jaune); color: var(--noir); }
.bouton.discret, .bouton.secondaire { background: #fff; border-color: var(--encre); color: var(--encre); }
.bouton.discret:hover, .bouton.secondaire:hover { background: var(--jaune); border-color: var(--noir); color: var(--noir); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 60; background: #fff; border-top: 5px solid var(--jaune); transition: box-shadow .25s, transform .32s var(--ease); }
.entete.cache { transform: translateY(-100%); box-shadow: none; }
.entete.defile { box-shadow: 0 6px 22px -14px rgba(10,10,10,.45); }
.entete-haut { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; }
.logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--encre); }
.logo:hover { color: var(--encre); }
.logo-marque { width: auto; height: 46px; flex: none; display: block; }
.logo-filet { width: 1px; align-self: stretch; margin: 8px 0; background: var(--filet-fort); }
.logo:hover .logo-nom span:first-child { background: var(--surligne); }
.logo-nom { display: flex; flex-direction: column; font-family: var(--titre); font-weight: 700; font-size: 1.42rem; line-height: 1.02; color: var(--encre); }
.logo-nom span + span { font-weight: 400; }
.logo-nom small { margin-top: 7px; font: 700 .58rem var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--noir); white-space: nowrap; }
.entete-outils { display: none; align-items: center; gap: 2px; margin-right: -10px; }
.bouton-icone { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--encre); cursor: pointer; }
.bouton-icone:hover, .bouton-icone[aria-expanded="true"] { background: var(--jaune); color: var(--noir); }
.barre-nav { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.barre-nav-interieur { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 56px; }
.nav { display: flex; }
.nav ul { list-style: none; display: flex; margin: 0 0 0 -14px; padding: 0; }
.nav li { display: flex; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 14px; font-weight: 700; font-size: .88rem; color: var(--encre); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 5px; background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--encre); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.recherche-entete { position: relative; align-self: center; display: flex; flex: 0 0 300px; height: 42px; border: 1px solid var(--filet-fort); background: #fff; transition: flex-basis .3s var(--ease), border-color .2s; }
.recherche-entete:focus-within { flex-basis: 360px; }
.recherche-entete:focus-within { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.recherche-entete input { flex: 1; min-width: 0; border: 0; padding: 0 12px; background: transparent; font: inherit; font-size: .9rem; color: var(--texte); }
.recherche-entete input::placeholder { color: #6E6B65; }
.raccourci { align-self: center; display: none; place-items: center; min-width: 22px; height: 22px; margin-right: 2px; padding: 0 5px; border: 1px solid var(--filet-fort); border-bottom-width: 2px; font: 700 .72rem/1 var(--ui); color: var(--discret); background: var(--fond-clair); }
@media (hover: hover) and (pointer: fine) { .raccourci { display: grid; } }
.recherche-entete:focus-within .raccourci, .recherche-entete input:not(:placeholder-shown) ~ .raccourci { display: none; }
.recherche-entete input:focus, .recherche-entete input:focus-visible { outline: none; box-shadow: none; }
.recherche-entete button { flex: none; width: 44px; border: 0; background: none; color: var(--encre); cursor: pointer; }
.recherche-entete button:hover { background: var(--jaune); }
@media (max-width: 1140px) {
  .entete-haut { min-height: 70px; }
  .logo { gap: 12px; }
  .logo-marque { width: auto; height: 38px; }
  .logo-filet, .logo-nom small { display: none; }
  .logo-nom { font-size: 1.18rem; }
  .entete-outils { display: flex; }
  .barre-nav { border-top: 0; }
  .barre-nav-interieur { display: block; min-height: 0; }
  .nav { display: none; }
  .nav.ouvert { display: block; padding-bottom: 8px; }
  .nav ul { display: block; margin: 0; }
  .nav li { display: block; border-top: 1px solid var(--filet); }
  .nav a { padding: 15px 0; font-size: 1rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { box-shadow: inset 5px 0 0 var(--jaune); padding-left: 16px; }
  .recherche-entete { display: none; height: 48px; margin: 10px 0 14px; }
  .recherche-entete.ouverte { display: flex; }
  .recherche-entete:focus-within { flex-basis: auto; }
}
@media (max-width: 380px) { .logo-marque { width: auto; height: 32px; } .logo-nom { font-size: 1.04rem; } }

/* ---------- Bandeau des pages intérieures ---------- */
.bandeau { padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 2px solid var(--noir); }
.bandeau .fil { margin: 0 0 16px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--discret); }
.bandeau .fil a { color: var(--discret); text-decoration: none; }
.bandeau .fil a:hover { color: var(--noir); background: var(--surligne); }
.bandeau h1 { max-width: 920px; }
.bandeau .chapo { margin-bottom: 0; }
.composition { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--encre); }
.composition > div { padding: 16px 18px 4px 0; }
.composition > div + div { padding-left: 18px; border-left: 1px solid var(--filet); }
.composition strong { display: block; font-family: var(--titre); font-size: 1.9rem; line-height: 1.1; color: var(--encre); }
.composition span { font-size: .85rem; color: var(--discret); }
@media (max-width: 760px) { .composition { grid-template-columns: repeat(2, minmax(0, 1fr)); } .composition > div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* ---------- Intitulés de rubrique ---------- */
.rubrique { padding-top: var(--espace); }
.entete-rubrique { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--noir); }
.entete-rubrique h2 { margin: 0; font: 700 clamp(.98rem, 1.5vw, 1.15rem) var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--encre); }
.entete-rubrique h2 span { background: var(--surligne); padding: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tout-voir { display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem var(--ui); letter-spacing: .07em; text-transform: uppercase; color: var(--encre); text-decoration: none; }
.tout-voir:hover { color: var(--noir); background: var(--surligne); }
.fleche { transition: transform .25s var(--ease); }
.tout-voir:hover .fleche { transform: translateX(4px); }
.section-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-titre h2 { margin: 0; }

/* ---------- 1. Bandeau d’accueil : noir, bande jaune à gauche ---------- */
.une-institution { position: relative; overflow: hidden; background: var(--noir); padding: clamp(40px, 7vw, 96px) 0; }
.une-institution::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: clamp(14px, 5vw, 80px); background: var(--jaune); }
.une-carte { position: relative; max-width: 860px; margin: 0 auto; background: #fff; padding: clamp(30px, 5vw, 62px) clamp(22px, 6vw, 80px); text-align: center; box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.une-carte h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.06; margin-bottom: .45em; }
.une-carte p { max-width: 60ch; margin: 0 auto 2rem; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--texte); text-wrap: balance; }
.une-carte .bouton { min-width: min(100%, 300px); }

/* ---------- 2. et 3. Listes de titres ---------- */
.titres-arrets { list-style: none; margin: 0; padding: 0; }
.titres-arrets li { border-bottom: 1px solid var(--filet); }
.titres-arrets a { display: grid; grid-template-columns: 168px minmax(0, 1fr); column-gap: 32px; row-gap: 6px; padding: 22px 0; text-decoration: none; }
.titres-arrets li:first-child a { padding-top: 4px; }
.titres-arrets time { grid-row: 1 / span 2; transition: background .2s, color .2s; font: 700 .76rem var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--noir); justify-self: start; align-self: start; background: var(--jaune); padding: 3px 7px; margin-top: .3em; }
.titres-arrets strong { font-family: var(--titre); font-size: clamp(1.22rem, 2.3vw, 1.6rem); line-height: 1.22; color: var(--encre); text-wrap: balance; }
.titres-arrets .ref { font-size: .88rem; color: var(--discret); }

@media (max-width: 700px) { .titres-arrets a { grid-template-columns: 1fr; padding: 18px 0; } .titres-arrets time { grid-row: auto; padding-top: 0; } }

/* ---------- 4. Documentation ---------- */
.bande-claire { background: var(--fond-clair); margin-top: var(--espace); padding-bottom: var(--espace); }
.grille-textes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bloc-texte { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 28px 6px; text-align: center; text-decoration: none; }
.bloc-texte + .bloc-texte { border-left: 1px solid var(--filet-fort); }
.bloc-texte .picto { display: block; width: 88px; height: 88px; margin-bottom: 4px; padding: 14px; border-radius: 50%; background: var(--jaune); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.bloc-texte .picto svg { display: block; width: 100%; height: 100%; }
.bloc-texte strong { font-family: var(--titre); font-size: 1.35rem; line-height: 1.2; color: var(--encre); text-wrap: balance; }
.bloc-texte .desc { max-width: 34ch; font-size: .93rem; line-height: 1.5; color: var(--discret); }
.bloc-texte:hover .picto { transform: translateY(-4px); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--noir); }

@media (max-width: 860px) { .grille-textes { grid-template-columns: 1fr; } .bloc-texte { padding: 24px 0; } .bloc-texte + .bloc-texte { border-left: 0; border-top: 1px solid var(--filet-fort); } }
.liste-textes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.texte-ref { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--filet); }
.texte-ref .numero { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font-family: var(--titre); font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--noir); background: var(--jaune); }
.texte-ref h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin-bottom: .35em; }
.texte-ref .meta { margin-top: 4px; }
.texte-ref:target { background: var(--fond-clair); box-shadow: -16px 0 0 var(--fond-clair), 16px 0 0 var(--fond-clair); }
@media (max-width: 700px) { .texte-ref { grid-template-columns: 2.2rem minmax(0, 1fr); } .texte-ref .action { grid-column: 2; } }

/* ---------- 5. Juges ---------- */
.cour-resume { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 26px; font-size: .95rem; color: var(--discret); }
.cour-resume span { display: inline-flex; align-items: baseline; gap: 6px; }
.cour-resume b { font-family: var(--titre); font-size: 1.55rem; color: var(--encre); }
.rangee-juges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 18px; }
.rangee-juges li { min-width: 0; }
.rangee-juges a { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-decoration: none; }
.portrait, .initiales { display: grid; place-items: center; background: var(--encre); color: #fff; font-family: var(--titre); font-weight: 700; letter-spacing: .04em; box-shadow: inset 0 -6px 0 var(--jaune); }
.rangee-juges .portrait { width: 100%; aspect-ratio: 4 / 5; margin-bottom: 8px; font-size: 1.6rem; }
.rangee-juges strong { font-size: .86rem; line-height: 1.3; color: var(--encre); }
.rangee-juges small { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--discret); }

.rangee-juges .portrait { transition: background .25s, color .25s, box-shadow .25s var(--ease); }
.rangee-juges a:hover .portrait { background: var(--jaune); color: var(--noir); box-shadow: inset 0 -6px 0 var(--noir); }
.rangee-juges .inconnu .portrait { background: #fff; color: #A39C95; border: 1px dashed var(--filet-fort); box-shadow: none; }
.rangee-juges .inconnu strong { color: var(--discret); }
.rangee-juges a.inconnu:hover .portrait { background: var(--fond-clair); color: var(--discret); box-shadow: none; border-color: var(--noir); }
@media (max-width: 1100px) { .rangee-juges { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rangee-juges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .rangee-juges .portrait { font-size: 1.25rem; } }

/* Page des juges */
.onglets-filtre { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.onglets-filtre button, .puce-type { min-height: 42px; padding: 0 16px; border: 1px solid var(--filet-fort); background: #fff; color: var(--encre); font: 700 .84rem var(--ui); cursor: pointer; }
.onglets-filtre button:hover, .puce-type:hover { border-color: var(--encre); }
.onglets-filtre button[aria-pressed="true"], .puce-type[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; border-top: 2px solid var(--encre); }
.carte { display: block; padding: 22px 0; border-bottom: 1px solid var(--filet); text-decoration: none; color: inherit; }

.juge-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.juge-tete .initiales { width: 52px; height: 52px; flex: none; font-size: 1.05rem; }
.juge-tete h3 { font-size: 1.12rem; }
.juge-carte dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: .86rem; }
.juge-carte dt { color: var(--discret); }
.juge-carte dd { margin: 0; text-align: right; font-weight: 700; color: var(--encre); }
.juge-carte dd.a-documenter { font-weight: 400; color: var(--discret); }

/* ---------- 6. Frise de l’accueil ---------- */
.frise-h { list-style: none; margin: 0; padding: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 36px 28px; }
.frise-h li { position: relative; }
.frise-h li::before { content: ""; display: block; height: 1px; margin: 6px 0 18px; background: var(--encre); }
.frise-h li::after { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--noir); }
.frise-h li.type-decision::after { background: var(--jaune); }
.frise-h li.type-composition::after { background: var(--encre); border-color: var(--encre); }
.frise-h .an { font-family: var(--titre); font-weight: 700; font-size: 2.05rem; line-height: 1; color: var(--encre); }
.frise-h .jour { display: block; margin: 8px 0; font: 700 .72rem var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--discret); }
.frise-h li > a, .frise-h li > .ttl { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.04rem; line-height: 1.35; color: var(--encre); text-decoration: none; text-wrap: balance; }

@media (max-width: 560px) {
  .frise-h { grid-template-columns: 1fr; gap: 0; margin-left: 6px; border-left: 1px solid var(--noir); }
  .frise-h li { padding: 0 0 24px 24px; }
  .frise-h li::before { display: none; }
  .frise-h li::after { left: -7px; top: 6px; }
  .frise-h .an { font-size: 1.6rem; }
}

/* ---------- 7. Que dit la Cour sur… ? (la grande surface jaune de la page) ---------- */
.bande-recherche { margin-top: var(--espace); padding: var(--espace) 0; background: var(--jaune); color: var(--noir); }
.bande-recherche h2 { margin: 0 0 .3em; text-align: center; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--noir); }
.bande-recherche .sous-titre { max-width: 60ch; margin: 0 auto 30px; text-align: center; color: var(--noir); }
.moteur-accueil { max-width: 980px; margin: 0 auto; }
.moteur-accueil .ligne-q { display: flex; }
.moteur-accueil input[type="search"] { flex: 1; min-width: 0; height: 58px; padding: 0 20px; border: 2px solid var(--noir); border-right: 0; background: #fff; font: inherit; font-size: 1.05rem; color: var(--texte); }
.moteur-accueil input[type="search"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--noir); }
.moteur-accueil .bouton { min-height: 58px; }
.moteur-accueil .bouton:hover { background: #fff; border-color: var(--noir); color: var(--noir); }
.moteur-accueil .filtres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.moteur-accueil .champ label, .bande-recherche .mots-cles > span { display: block; margin-bottom: 8px; font: 700 .72rem var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--noir); }
.moteur-accueil select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 2px solid var(--noir); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A0A0A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--noir); font: inherit; font-size: .95rem; -webkit-appearance: none; appearance: none; cursor: pointer; }
.moteur-accueil select:focus { outline: none; box-shadow: 0 0 0 3px var(--noir); }
.bande-recherche .mots-cles { max-width: 980px; margin: 28px auto 0; }
.bande-recherche .mots-cles ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.bande-recherche .mots-cles a, .bande-recherche .mots-cles button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--noir); background: #fff; color: var(--noir); font: 400 .88rem var(--ui); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.bande-recherche .mots-cles a:hover, .bande-recherche .mots-cles button:hover, .bande-recherche .mots-cles button[aria-pressed="true"] { background: var(--noir); color: #fff; }
.bande-recherche :focus-visible { outline-color: var(--noir); box-shadow: 0 0 0 6px #fff; }
@media (max-width: 860px) { .moteur-accueil .filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .moteur-accueil .ligne-q { flex-direction: column; gap: 10px; } .moteur-accueil input[type="search"] { flex: none; border-right: 2px solid var(--noir); } .moteur-accueil .filtres { grid-template-columns: 1fr; } .moteur-accueil .bouton { width: 100%; } }

/* ---------- Moteurs de recherche des pages intérieures ---------- */
.moteur { margin: 0 0 26px; padding: 22px; border: 1px solid var(--filet); border-top: 5px solid var(--jaune); background: #fff; }
.moteur .ligne-q { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.moteur .ligne-q .champ { flex: 1 1 320px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ label { font-size: .8rem; font-weight: 700; color: var(--encre); }
.moteur input[type="search"], .moteur select, .recherche-centrale input, .barre-resultats select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--filet-fort); border-radius: 0; background: #fff; font: inherit; color: var(--texte); }
.moteur select, .barre-resultats select { padding-right: 40px; -webkit-appearance: none; appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A0A0A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }
.moteur select:hover, .barre-resultats select:hover { border-color: var(--noir); }
.moteur input[type="search"]:focus, .moteur select:focus, .barre-resultats select:focus { outline: 2px solid var(--encre); outline-offset: -2px; border-color: var(--encre); }
.filtres-repli { margin-top: 14px; }
.filtres-repli summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--encre); list-style: none; }
.filtres-repli summary::-webkit-details-marker { display: none; }
.moteur .filtres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
@media (max-width: 900px) { .moteur .filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .moteur .filtres { grid-template-columns: 1fr; } .moteur .ligne-q .bouton { width: 100%; } }
.types-recherche { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.barre-resultats { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--encre); }
.barre-resultats p { margin: 0; font-weight: 700; color: var(--encre); }
.barre-resultats select { width: auto; min-height: 42px; }
[data-puces] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.puce-filtre { min-height: 36px; padding: 0 12px; border: 1px solid var(--noir); background: var(--jaune-pale); color: var(--noir); font: 700 .8rem var(--ui); cursor: pointer; }
.puce-filtre:hover { background: var(--noir); color: #fff; }
.aucun-resultat { margin-top: 18px; padding: 28px; border: 1px dashed var(--filet-fort); text-align: center; }
.recherche-centrale { display: flex; gap: 10px; max-width: 640px; }

/* Listes d’arrêts et résultats */
.liste-arrets, .resultats-site { list-style: none; margin: 0; padding: 0; }
.liste-arrets li, .resultats-site li { border-bottom: 1px solid var(--filet); }
.arret-ligne { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 20px 0; text-decoration: none; color: inherit; }
.arret-ligne .ref { font-family: var(--titre); font-weight: 700; font-size: 1.18rem; color: var(--encre); }
.arret-ligne .objet { margin: 4px 0; color: var(--texte); }

@media (max-width: 640px) { .arret-ligne { flex-direction: column; gap: 10px; } }
.resultat-site { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; text-decoration: none; }
.resultat-site .categorie { margin: 0; }
.resultat-site strong { font-family: var(--titre); font-size: 1.18rem; line-height: 1.25; color: var(--encre); text-wrap: balance; }


/* ---------- Sens des décisions et niveaux de fiabilité ---------- */
.sens { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.sens::before { content: ""; flex: none; width: 9px; height: 9px; }
.sens-conforme { background: var(--vert-fond); color: var(--vert-texte); } .sens-conforme::before { background: var(--vert); border-radius: 50%; }
.sens-reserves { background: var(--ocre-fond); color: var(--ocre-texte); } .sens-reserves::before { background: var(--ocre); border-radius: 50% 50% 0 0; }
.sens-partielle { background: var(--prune-fond); color: var(--prune-texte); } .sens-partielle::before { background: var(--prune); transform: rotate(45deg); }
.sens-non { background: var(--sombre-fond); color: var(--sombre-texte); } .sens-non::before { background: var(--sombre); }
.sens-autre { background: var(--ardoise-fond); color: var(--ardoise-texte); } .sens-autre::before { width: 10px; height: 3px; background: var(--ardoise); }
.niveau { display: inline-block; padding: 3px 7px; border: 1px solid currentColor; font: 700 .68rem var(--ui); letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.niv-doc { color: var(--encre); }
.niv-verif { color: var(--vert-texte); }
.niv-analyse { color: var(--ardoise-texte); }
.niv-averifier { color: var(--ocre-texte); background: var(--ocre-fond); border-style: dashed; }

/* ---------- Encadrés, tableaux, prose ---------- */
.encadre { padding: 18px 20px; background: var(--fond-clair); border-left: 3px solid var(--encre); }
.encadre p:last-child { margin-bottom: 0; }
.encadre.alerte { background: var(--ocre-fond); border-left-color: var(--ocre); }
.encadre.redaction { background: var(--ardoise-fond); border-left-color: var(--ardoise); }
.defile { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tableau th, .tableau td { padding: 11px 12px 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.tableau th { width: 38%; font-weight: 700; color: var(--encre); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .liste-simple { padding-left: 1.2em; }
.prose li, .liste-simple li { margin: 6px 0; }

/* Indicateurs et barres (statistiques) */
.indicateurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 2px solid var(--encre); margin-bottom: 28px; }
.indicateur { padding: 16px 18px 6px 0; }
.indicateur + .indicateur { padding-left: 18px; border-left: 1px solid var(--filet); }
.indicateur strong { display: block; font-family: var(--titre); font-size: 2.1rem; line-height: 1.1; color: var(--encre); }
.indicateur span { font-size: .85rem; color: var(--discret); }
.grille-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; }
.grille-stats > * { min-width: 0; }
.grille-stats .carte h2 { font-size: 1.15rem; }
.barres { display: grid; gap: 10px; }
.barre { display: grid; grid-template-columns: minmax(0, 1fr) 40% 28px; align-items: center; gap: 12px; font-size: .86rem; }
.barre .piste { display: block; height: 10px; background: var(--fond-clair); }
.barre .remplissage { display: block; height: 100%; background: var(--noir); }
.barre .remplissage.sens-conforme { background: var(--vert); } .barre .remplissage.sens-reserves { background: var(--ocre); }
.barre .remplissage.sens-partielle { background: var(--prune); } .barre .remplissage.sens-non { background: var(--sombre); } .barre .remplissage.sens-autre { background: var(--ardoise); }
.barre .remplissage::before { display: none; }
.barre .n { text-align: right; font-weight: 700; color: var(--encre); }

/* ---------- Chronologie ---------- */
.legende { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; padding: 0; font-size: .82rem; color: var(--discret); }
.legende i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 50%; border: 2px solid var(--noir); background: #fff; vertical-align: -1px; }
.legende i.decision { background: var(--jaune); }
.legende i.composition { display: inline-block; margin: 0 6px 0 0; border: 2px solid var(--encre); background: var(--encre); }
.frise { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--encre); }
.frise > li { position: relative; padding: 0 0 26px; }
.frise > li::before { content: ""; position: absolute; left: -33px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--noir); }
.frise > li.type-decision::before { background: var(--jaune); }
.frise > li.type-composition::before { background: var(--encre); border-color: var(--encre); }
.frise .quand { font-weight: 700; color: var(--encre); }
.frise .type { font: 700 .72rem var(--ui); letter-spacing: .07em; text-transform: uppercase; color: var(--discret); }
.frise .quoi { display: block; margin: 4px 0; font-family: var(--titre); font-weight: 700; font-size: 1.12rem; color: var(--encre); }
.frise p { color: var(--texte); }

/* ---------- Fiche d’arrêt ---------- */
.bandeau-fiche .titre-fiche { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; }
.bandeau-fiche .meta { margin-top: 6px; }
@media (max-width: 520px) { .bandeau-fiche .meta .sep:nth-last-child(2) { display: none; } }
.fiche-grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 36px; padding-bottom: 72px; }
.fiche-grille > * { min-width: 0; }
@media (max-width: 960px) { .fiche-grille { grid-template-columns: 1fr; gap: 32px; } }
.texte-continu { max-width: 700px; font-family: var(--titre); font-size: 1.15rem; line-height: 1.75; color: var(--texte); }
.texte-continu p { margin: 0 0 1.15em; }
.texte-continu > p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--encre); }
.texte-continu h2 { font-size: 1.35rem; margin: 1.6em 0 .6em; }
@media (max-width: 600px) { .texte-continu { font-size: 1.08rem; } .texte-continu > p:first-child { font-size: 1.16rem; } }
.signature-fiche { margin-top: 2em !important; padding-top: 14px; border-top: 1px solid var(--filet); font: 400 .85rem var(--ui); color: var(--discret); }
.references-fiche { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--filet); border-top: 5px solid var(--jaune); background: #fff; font-size: .9rem; }
@media (max-width: 960px) { .references-fiche { position: static; } }
.references-fiche h2 { margin-bottom: 10px; font: 700 .76rem var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--noir); }
.references-fiche dl { margin: 0; }
.references-fiche dt { margin-top: 10px; font-size: .78rem; font-weight: 700; color: var(--encre); }
.references-fiche dd { margin: 2px 0 0; }
.actions-fiche { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.actions-fiche .bouton { width: 100%; min-height: 46px; }
.note-source { margin: 14px 0 0; font-size: .8rem; color: var(--discret); }

/* Analyses (page commentée) */
.fiche { max-width: 760px; }
.sommaire { position: sticky; top: 100px; padding-top: 14px; border-top: 5px solid var(--jaune); font-size: .93rem; }
@media (max-width: 960px) { .sommaire { position: static; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: #C9C7C0; border-top: 5px solid var(--jaune); }
.pied .signature { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pied .signature .logo-marque { width: auto; height: 54px; }
.pied .signature p { margin: 0; max-width: 760px; font-family: var(--titre); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15; color: #fff; }
.pied .signature p em { font-style: italic; font-weight: 400; color: var(--jaune); }
.pied .colonnes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 34px; padding-bottom: 34px; }
@media (max-width: 760px) { .pied .colonnes { grid-template-columns: 1fr; gap: 24px; } }
.pied h2 { margin-bottom: 12px; font-size: 1rem; color: #fff; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: 8px 0; }
.pied a { color: #F2F1EC; text-decoration: none; padding: 0 2px; margin: 0 -2px; }
.pied a:hover { color: var(--noir); background: var(--jaune); }
.pied .bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #A9A7A1; }

/* ---------- Impression ---------- */
@media print {
  .entete, .pied, .references-fiche .actions-fiche, .lien-evitement, .bande-recherche { display: none !important; }
  .fiche-grille { display: block; padding: 0; }
  .bandeau { border-bottom: 1px solid #000; }
  a { text-decoration: none; color: #000; }
}


/* ==========================================================
   Fiche d’arrêt : une colonne, sobre, comme un article
   ========================================================== */
.fiche-article { max-width: 720px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 24px clamp(56px, 8vw, 96px); }
@media (max-width: 600px) { .fiche-article { padding-left: 18px; padding-right: 18px; } }
.fiche-tete { position: relative; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 2px solid var(--noir); }
.fiche-tete::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 72px; height: 12px; background: var(--jaune); }
.fiche-surtitre { margin: 0 0 14px; font-size: .8rem; letter-spacing: .04em; color: var(--discret); }
.fiche-surtitre a { color: var(--discret); }
.fiche-surtitre a:hover { color: var(--noir); background: var(--surligne); }
.fiche-tete h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.1; margin-bottom: .4em; }
.fiche-ligne { margin: 0; font-weight: 700; font-size: .92rem; color: var(--encre); }
.fiche-article .texte-continu { max-width: none; }
.fiche-pdf { margin: 8px 0 0; font-weight: 700; }
.fiche-pdf a { color: var(--noir); background: var(--surligne); text-decoration: none; padding: 0 .1em; }
.fiche-pdf a:hover { background: var(--jaune); }
.fiche-pied { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--filet); font-size: .92rem; color: var(--texte); }
.fiche-pied h2 { margin-bottom: 10px; font: 700 .76rem var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.fiche-pied p { margin: 0 0 .8em; }
.fiche-source { font-size: .84rem; font-style: italic; color: var(--discret); }

/* Partage (repris de michelnonga.com, aux couleurs du Baromètre) */
.partage { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--filet); }
.partage-titre { display: block; margin-bottom: 12px; font: 700 .72rem/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--noir); }
.partage-liste { display: flex; flex-wrap: wrap; gap: 10px; }
.partage-liste a, .partage-liste button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--filet-fort); border-radius: 50%; background: #fff; color: var(--encre); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.partage-liste a:hover, .partage-liste button:hover { background: var(--jaune); border-color: var(--noir); color: var(--noir); }
.partage-etat { display: block; min-height: 1.3rem; margin-top: 8px; font-size: .85rem; color: var(--discret); }
@media (max-width: 480px) { .partage-liste { gap: 8px; } .partage-liste a, .partage-liste button { width: 42px; height: 42px; } }
@media print { .partage { display: none; } }

/* ==========================================================
   Interactions
   ========================================================== */

/* Le surligneur : sur chaque titre-lien, la bande jaune du logo passe sous le texte */
.titres-arrets strong, .bloc-texte strong, .rangee-juges strong, .frise-h li > a, .arret-ligne .ref,
.resultat-site strong, .carte h3, .texte-ref h2 a, .apercu-liste strong {
  background-image: linear-gradient(var(--jaune), var(--jaune)); background-repeat: no-repeat;
  background-position: 0 92%; background-size: 0% .36em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .4s var(--ease);
}
.titres-arrets a:hover strong, .titres-arrets a:focus-visible strong, .bloc-texte:hover strong, .rangee-juges a:hover strong,
.frise-h li > a:hover, .arret-ligne:hover .ref, .resultat-site:hover strong, a.carte:hover h3, .texte-ref h2 a:hover,
.apercu-liste a:hover strong, .apercu-liste a:focus-visible strong { background-size: 100% .36em; }
.titres-arrets a:hover time { background: var(--noir); color: var(--jaune); }
.rangee-juges a.inconnu:hover strong { background-size: 0 0; }

/* Accueil : « décide » se surligne à l’arrivée */
.surligne-anime { background: linear-gradient(var(--jaune), var(--jaune)) no-repeat 0 84% / 100% .36em; padding: 0 .04em; margin: 0 -.04em; }
@media (prefers-reduced-motion: no-preference) {
  .js .surligne-anime { background-size: 0% .36em; animation: surligner .9s .35s var(--ease) forwards; }
}
@keyframes surligner { to { background-size: 100% .36em; } }

/* Apparition des rubriques au défilement */
@media (prefers-reduced-motion: no-preference) {
  .js .revele { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .revele.vu { opacity: 1; transform: none; }
}

/* Surlignage des mots trouvés */
mark { background: var(--jaune); color: inherit; padding: 0 .06em; }

/* Suggestions de la recherche de l’en-tête */
.suggestions { position: absolute; top: calc(100% + 6px); right: -1px; z-index: 70; width: min(460px, calc(100vw - 36px)); max-height: min(70vh, 520px); overflow-y: auto; background: #fff; border: 2px solid var(--noir); box-shadow: 0 24px 48px -24px rgba(10,10,10,.45); }
.suggestions::before { content: ""; display: block; height: 5px; background: var(--jaune); }
.suggestions [role="option"] { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--filet); color: var(--texte); text-decoration: none; }
.sugg-type { padding-top: 3px; font: 700 .64rem/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--discret); }
.sugg-corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sugg-corps strong { font-family: var(--titre); font-size: 1rem; line-height: 1.3; color: var(--encre); }
.sugg-detail { font-size: .78rem; line-height: 1.4; color: var(--discret); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestions [aria-selected="true"] { background: var(--noir); color: #fff; }
.suggestions [aria-selected="true"] strong { color: #fff; }
.suggestions [aria-selected="true"] .sugg-type { color: var(--jaune); }
.suggestions [aria-selected="true"] .sugg-detail { color: #C9C7C0; }
.suggestions [aria-selected="true"] mark { color: var(--noir); }
.suggestions .sugg-tous { display: flex; grid-template-columns: none; justify-content: space-between; padding: 13px 16px; border-bottom: 0; font: 700 .76rem var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--noir); }
.suggestions .sugg-tous[aria-selected="true"] { background: var(--jaune); color: var(--noir); }
.sugg-vide { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--filet); font-size: .9rem; color: var(--discret); }
@media (max-width: 1140px) { .suggestions { left: -1px; right: -1px; width: auto; max-height: 60vh; } }

/* Accueil : résultats en direct sous le moteur */
.apercu { margin-top: 22px; background: #fff; border: 2px solid var(--noir); }
.apercu-statut { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--filet); font: 700 .8rem var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--noir); }
.apercu-liste { list-style: none; margin: 0; padding: 0; }
.apercu-liste li { border-bottom: 1px solid var(--filet); }
.apercu-liste a { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding: 14px 18px; text-decoration: none; color: var(--texte); }
.apercu-liste time { grid-row: 1 / span 2; padding-top: 4px; font: 700 .7rem var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--discret); }
.apercu-liste strong { font-family: var(--titre); font-size: 1.1rem; line-height: 1.3; color: var(--encre); }
.apercu-meta { font-size: .82rem; color: var(--discret); }
.apercu-suite { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--noir); color: #fff; font: 700 .78rem var(--ui); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.apercu-suite:hover { background: #fff; color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.bande-recherche .apercu-suite:focus-visible { box-shadow: 0 0 0 4px var(--jaune), 0 0 0 7px var(--noir); outline: none; }
@media (max-width: 600px) { .apercu-liste a { grid-template-columns: 1fr; } .apercu-liste time { grid-row: auto; padding: 0; } }

/* Frise de l’accueil : détails dépliables */
.frise-bouton { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--discret); font: 700 .7rem var(--ui); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.frise-bouton span { background: linear-gradient(var(--jaune), var(--jaune)) no-repeat 0 88% / 0% .5em; transition: background-size .3s var(--ease); }
.frise-bouton:hover, .frise-bouton[aria-expanded="true"] { color: var(--noir); }
.frise-bouton:hover span, .frise-bouton[aria-expanded="true"] span { background-size: 100% .5em; }
.frise-bouton svg { transition: transform .25s var(--ease); }
.frise-bouton[aria-expanded="true"] svg { transform: rotate(180deg); }
.frise-plus { margin-top: 12px; padding: 12px 0 0 14px; border-left: 5px solid var(--jaune); font-size: .88rem; line-height: 1.5; color: var(--texte); }
.frise-plus p { margin: 0 0 .6em; }
.frise-source { font-size: .8rem; color: var(--discret); }
.frise-lien { font: 700 .76rem var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--noir); text-decoration: none; background: var(--surligne); }
.js .frise-h .frise-plus { display: none; }
.js .frise-h li.ouvert .frise-plus { display: block; animation: deplier .3s var(--ease); }
@keyframes deplier { from { opacity: 0; transform: translateY(-4px); } }

/* Fiche : progression de lecture (noir sur le filet jaune) */
.progression { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 5px; pointer-events: none; }
.progression span { display: block; height: 100%; background: var(--noir); transform: scaleX(0); transform-origin: left; }
.fiche-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; margin-bottom: 6px; }
.outil { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; text-decoration: none; padding: 0 14px; border: 1.5px solid var(--noir); background: #fff; color: var(--noir); font: 700 .74rem var(--ui); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.outil:hover { background: var(--jaune); }
.outil-aide { font-size: .82rem; color: var(--discret); }
/* Télécharger l’arrêt : l’appel principal de la fiche */
.telecharger { display: inline-flex; align-items: stretch; min-height: 60px; border: 2px solid var(--noir); background: var(--jaune); color: var(--noir); text-decoration: none; box-shadow: 5px 5px 0 var(--noir); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; }
.telecharger:hover { color: var(--noir); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--noir); }
.telecharger:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--noir); }
.telecharger-icone { display: grid; place-items: center; width: 58px; flex: none; background: var(--noir); color: var(--jaune); }
.telecharger-texte { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 22px 8px 16px; }
.telecharger-texte strong { font: 700 .95rem/1.2 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.telecharger-texte small { font-size: .8rem; line-height: 1.3; color: var(--noir); opacity: .8; }
.telecharger:focus-visible { outline: 3px solid var(--noir); outline-offset: 4px; box-shadow: 5px 5px 0 var(--noir); }
@media (prefers-reduced-motion: no-preference) {
  .telecharger .fleche-bas { animation: inviter 2.4s 1s var(--ease) 2; }
  .telecharger:hover .fleche-bas { animation: inviter .9s var(--ease) infinite; }
}
@keyframes inviter { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(3px); } }
@media (max-width: 480px) { .telecharger { display: flex; width: 100%; } }
.bouton-citer { position: absolute; z-index: 75; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; background: var(--noir); color: #fff; font: 700 .76rem var(--ui); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(10,10,10,.6); animation: apparaitre .18s var(--ease); }
.bouton-citer svg { color: var(--jaune); }
.bouton-citer:hover { background: var(--jaune); color: var(--noir); }
.bouton-citer:hover svg { color: var(--noir); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(4px); } }
.partage-liste button.fait { background: var(--noir); border-color: var(--noir); color: var(--jaune); }

/* Avis de copie */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 90; max-width: min(560px, calc(100vw - 32px)); padding: 13px 18px 13px 16px; border-left: 6px solid var(--jaune); background: var(--noir); color: #fff; font-size: .9rem; line-height: 1.4; box-shadow: 0 16px 32px -16px rgba(0,0,0,.6); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.toast:empty { padding: 0; border: 0; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Retour en haut */
a.haut-de-page { position: fixed; right: 18px; bottom: 18px; z-index: 65; margin: 0; padding: 0; display: grid; place-items: center; width: 48px; height: 48px; background: var(--noir); color: var(--jaune); text-decoration: none; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease), background .2s, color .2s; }
a.haut-de-page.visible { opacity: 1; transform: none; pointer-events: auto; }
a.haut-de-page:hover { background: var(--jaune); color: var(--noir); }
@media print { .progression, .haut-de-page, .toast, .bouton-citer, .fiche-outils, .telecharger, .frise-bouton { display: none !important; } .js .frise-h .frise-plus { display: block; } .js .revele { opacity: 1 !important; transform: none !important; } }
