/* ==========================================================================
   LégisGuinée — feuille de style unique · direction « Le Moderne » (C)
   Charte : Bleu Justice #0F2540 · Or Patrimoine #C9A05C · fond ivoire #F4F1EA
   Titres : Manrope 700/800 · Texte : Inter (polices hébergées sur le site)
   Teintes de lecture ajoutées pour l'accessibilité : or texte #86662C, gris #5A6573
   ========================================================================== */

@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-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"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --nuit: #0B1B30; --nuit-2: #0A1B30; --bleu: #0F2540; --bleu-2: #16345A; --bleu-3: #2B5487; --bleu-nuit: #0A1B30;
  --or: #C9A05C; --or-texte: #86662C; --or-fonce: #7A5C24; --or-clair: #E8D9B8; --or-voile: #F6EEDF;
  --ivoire: #F4F1EA; --papier: #FAF8F3; --blanc: #FFFFFF;
  --encre: #0B1B30; --ardoise: #2E3A48; --gris: #5A6573; --gris-clair: #9FB0C4; --filet: #E4DFD3; --filet-2: #D6CFBF;
  --p0: #EDE4D0; --p1: #E4EAF2; --p2: #E2EEE8; --p3: #F2E6E2;
  --vert: #2F6F5B; --vert-voile: #E3EFEA; --rouge: #B23A3A; --rouge-voile: #F7E6E4; --info-voile: #E9EEF4;
  --titre: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--titre);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 14px; --rayon-m: 18px; --rayon-l: 22px; --rayon-xl: 34px;
  --ombre: 0 1px 2px rgba(11,27,48,.04), 0 18px 40px -28px rgba(11,27,48,.45);
  --ombre-forte: 0 30px 70px -30px rgba(10,27,48,.6);
  --degrade: radial-gradient(700px 420px at 78% 12%, rgba(201,160,92,.42), rgba(201,160,92,0) 62%),
             radial-gradient(900px 600px at 10% 110%, #2B5487, rgba(43,84,135,0) 60%),
             linear-gradient(160deg, #0B1B30 0%, #0F2540 55%, #16345A 100%);
  --largeur: 1280px;
  --gouttiere: 18px;
}
@media (min-width: 768px) { :root { --gouttiere: 32px; } }
@media (min-width: 1200px) { :root { --gouttiere: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--or-texte); text-underline-offset: 3px; }
a:hover { color: var(--bleu); }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 800; line-height: 1.08; margin: 0; color: var(--encre); letter-spacing: -.03em; }
h3 { font-weight: 700; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 6px; }
.ic { flex-shrink: 0; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--or); color: var(--nuit); padding: 10px 16px; border-radius: 30px; font-weight: 700; text-decoration: none; }
.lien-evitement:focus { top: 12px; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 860px; }
.or { color: var(--or); }

/* ─────────── Bandeau de démonstration ─────────── */
.demo { background: #07152A; color: var(--or-clair); font-size: 12.5px; line-height: 1.45; border-bottom: 1px solid rgba(201,160,92,.22); }
.demo .conteneur { display: flex; gap: 10px; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.demo .ic { color: var(--or); }
.demo strong { font-weight: 700; color: var(--blanc); }
.barre-haut { display: none; }

/* ─────────── En-tête sombre, navigation en pilule ─────────── */
.entete { background: var(--nuit); color: var(--blanc); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.06); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
@media (min-width: 1200px) { .entete .conteneur { min-height: 84px; } }
.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--blanc); flex-shrink: 0; }
.marque img { width: 36px; height: 36px; object-fit: contain; }
.marque .nom { white-space: nowrap; font-family: var(--titre); font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--blanc); }
.marque .nom span { color: var(--or); }
.marque .sous { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-clair); margin-top: 5px; }
@media (min-width: 1200px) { .marque img { width: 40px; height: 40px; } .marque .nom { font-size: 25px; } }
.nav-principale { display: none; }
.nav-principale ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 5px; border-radius: 40px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.nav-principale a { white-space: nowrap; display: flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 30px; color: rgba(255,255,255,.82); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; }
.nav-principale a:hover { color: var(--blanc); background: rgba(255,255,255,.07); }
.nav-principale a[aria-current="page"] { color: var(--nuit); background: var(--or); font-weight: 700; }
.actions-entete { display: flex; align-items: center; gap: 8px; }
.bouton-icone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 22px; background: transparent; color: var(--bleu); cursor: pointer; text-decoration: none; flex-shrink: 0; }
.bouton-icone:hover { background: var(--p0); color: var(--bleu); }
.entete .bouton-icone { color: var(--blanc); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.entete .bouton-icone:hover { background: rgba(255,255,255,.12); color: var(--blanc); }
.entete .bouton-menu { background: var(--or); color: var(--nuit); border-color: var(--or); }
.entete .bouton-menu:hover { background: #D6B374; color: var(--nuit); }
.lien-texte { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--blanc); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.lien-texte:hover { color: var(--or); }
.lien-compte { display: none !important; }
@media (min-width: 1200px) {
  .nav-principale { display: block; }
  .bouton-menu { display: none !important; }
  .lien-compte { display: inline-flex !important; }
}
@media (min-width: 1200px) and (max-width: 1379px) {
  .nav-principale a { padding: 0 10px; font-size: 14px; }
  .entete .conteneur { gap: 10px; }
  .actions-entete .lien-texte.lien-compte { padding: 0 6px; }
  .actions-entete .bouton-recherche { display: none; }
}

/* Menu mobile */
.tiroir { position: fixed; inset: 0; z-index: 60; display: none; }
.tiroir.ouvert { display: block; }
.tiroir .voile { position: absolute; inset: 0; background: rgba(7,21,42,.62); backdrop-filter: blur(3px); }
.tiroir .panneau { position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 380px); background: var(--degrade); color: var(--blanc); padding: 18px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; border-radius: 28px 0 0 28px; }
.tiroir .panneau .haut { display: flex; justify-content: space-between; align-items: center; }
.tiroir .panneau .bouton-icone { color: var(--blanc); background: rgba(255,255,255,.08); }
.tiroir .panneau .bouton-icone:hover { background: rgba(255,255,255,.14); }
.tiroir ul { list-style: none; margin: 0; padding: 0; }
.tiroir li a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--blanc); text-decoration: none; font-family: var(--titre); font-size: 21px; font-weight: 800; letter-spacing: -.03em; border-bottom: 1px solid rgba(255,255,255,.08); }
.tiroir li a .ic { color: var(--or); }
.tiroir li a[aria-current="page"] { color: var(--or); }
.tiroir .secondaire a { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; min-height: 44px; color: #D5DCE6; }
.tiroir .actions-tiroir { display: grid; gap: 8px; margin-top: auto; }
.tiroir .marque, .tiroir .marque .nom { color: var(--blanc); }

/* ─────────── Boutons ─────────── */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 40px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.bouton:active { transform: translateY(1px); }
.bouton-or { background: var(--or); color: var(--nuit); }
.bouton-or:hover { background: #D6B374; color: var(--nuit); }
.bouton-bleu { background: var(--bleu); color: var(--blanc); }
.bouton-bleu:hover { background: var(--bleu-2); color: var(--blanc); }
.bouton-contour { background: var(--blanc); color: var(--encre); border-color: var(--filet); }
.bouton-contour:hover { border-color: var(--encre); color: var(--encre); }
.bouton-clair { background: rgba(255,255,255,.06); color: var(--blanc); border-color: rgba(232,217,184,.4); }
.bouton-clair:hover { background: rgba(255,255,255,.12); color: var(--blanc); }
.bouton-danger { background: var(--blanc); color: var(--rouge); border-color: #E3B5B0; }
.bouton-danger:hover { background: var(--rouge-voile); color: var(--rouge); }
.bouton-petit { min-height: 42px; padding: 0 18px; font-size: 14px; }
.bouton[aria-pressed="true"] { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--or-texte); text-decoration: none; min-height: 44px; }
.lien-fleche:hover { color: var(--bleu); }

/* ─────────── Typographie éditoriale ─────────── */
.surtitre { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 12px; }
.surtitre::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.surtitre.clair, .surtitre.or { color: var(--or); }
.filet-or { width: 48px; height: 3px; background: var(--or); border: 0; border-radius: 3px; margin: 16px 0 0; }
.titre-section { font-size: clamp(30px, 4.4vw, 52px); }
.titre-section.petit { font-size: clamp(26px, 3vw, 36px); }
.entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 28px; flex-wrap: wrap; }
.intro-section { margin: 0; max-width: 430px; font-size: 16px; line-height: 1.6; color: var(--gris); }
.section { padding: 48px 0 8px; }
@media (min-width: 768px) { .section { padding: 88px 0 8px; } .entete-section { margin-bottom: 34px; } }
.chapo { font-size: 18px; line-height: 1.6; color: var(--ardoise); max-width: 720px; }

/* ─────────── Accueil : le fronton ─────────── */
.fronton { position: relative; overflow: hidden; background: var(--degrade); color: var(--blanc); isolation: isolate; }
.quadrillage { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.fronton-grille { display: grid; gap: 36px; padding-top: 40px; padding-bottom: 48px; }
@media (min-width: 1100px) { .fronton-grille { grid-template-columns: minmax(0, 1fr) 470px; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 104px; } }
.fronton-texte { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
@media (min-width: 1100px) { .fronton-texte { gap: 26px; } }
.badge-nouveau { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(232,217,184,.3); color: var(--blanc); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; max-width: 100%; }
.badge-nouveau span { flex-shrink: 0; display: inline-flex; padding: 3px 9px; border-radius: 20px; background: var(--or); color: var(--nuit); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge-nouveau:hover { color: var(--blanc); background: rgba(255,255,255,.12); }
.fronton h1 { color: var(--blanc); font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.fronton h1 .or { color: var(--or); }
.fronton .chapo { color: #C9D3DE; margin: 0; font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; }
.recherche-pilule { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; max-width: 660px; background: var(--blanc); border-radius: 60px; color: var(--gris); box-shadow: 0 24px 60px -24px rgba(10,27,48,.6); }
.recherche-pilule input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--encre); }
.recherche-pilule input::placeholder { color: var(--gris); }
.recherche-pilule button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; min-width: 48px; padding: 0 14px; border: 0; border-radius: 40px; background: var(--or); color: var(--nuit); font-weight: 700; font-size: 15px; cursor: pointer; }
.recherche-pilule button span { display: none; }
.recherche-pilule button:hover { background: #D6B374; }
.recherche-pilule:focus-within { box-shadow: 0 0 0 4px rgba(201,160,92,.45), 0 24px 60px -24px rgba(10,27,48,.6); }
@media (min-width: 700px) { .recherche-pilule { padding-left: 24px; } .recherche-pilule input { height: 54px; font-size: 17px; } .recherche-pilule button { height: 54px; padding: 0 26px; } .recherche-pilule button span { display: inline; } .recherche-pilule button .ic { display: none; } }
.puces { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.puces .etiquette-puces { font-size: 13px; color: #C9D3DE; margin-right: 4px; }
.puce { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(232,217,184,.35); color: #F1E6CF; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.puce:hover { background: rgba(201,160,92,.18); color: var(--blanc); }
@media (max-width: 480px) { .puces .puce:nth-child(n+6) { display: none; } }

/* Les bulles du fronton */
.bulles { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px; align-items: center; }
.bulles .bulle-article { grid-column: 1 / -1; }
.bulles .bulle-dialogue { display: none; }
.bulle-article { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: var(--rayon-l); background: var(--blanc); color: var(--encre); text-decoration: none; box-shadow: var(--ombre-forte); max-width: 380px; transition: transform .2s; }
.bulle-article:hover { color: var(--encre); transform: translateY(-3px); }
.bulle-article strong { font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1.12; letter-spacing: -.02em; }
.extrait-bulle { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.extrait-bulle { font-size: 14px; line-height: 1.55; color: var(--ardoise); }
.bas-bulle { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.citer { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--or-texte); }
.bulle-dialogue { display: flex; flex-direction: column; gap: 8px; max-width: 330px; }
.bulle-question { align-self: flex-end; max-width: 260px; padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: var(--or); color: var(--nuit); font-size: 14px; font-weight: 600; line-height: 1.45; box-shadow: 0 16px 40px -18px rgba(10,27,48,.55); }
.bulle-reponse { display: block; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: var(--blanc); color: var(--encre); font-size: 14px; line-height: 1.5; box-shadow: 0 20px 50px -22px rgba(10,27,48,.6); }
.bulle-reponse b { color: var(--or-texte); font-weight: 700; }
.signature { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; font-size: 12.5px; color: var(--or-texte); }
.signature .rond { width: 22px; height: 22px; border-radius: 11px; background: var(--bleu); color: var(--or); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bulle-chiffre { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; font-size: 11.5px; font-weight: 600; line-height: 1.2; box-shadow: 0 20px 50px -24px rgba(10,27,48,.55); flex-shrink: 0; }
.bulle-chiffre strong { display: block; font-family: var(--titre); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-bottom: 4px; }
.bulle-chiffre.grande { width: 112px; height: 112px; } .bulle-chiffre.grande strong { font-size: 38px; }
.bulle-chiffre.moyenne { width: 92px; height: 92px; } .bulle-chiffre.moyenne strong { font-size: 30px; }
.bulle-chiffre.petite { width: 84px; height: 84px; } .bulle-chiffre.petite strong { font-size: 28px; }
.bulle-chiffre.or-plein { background: var(--or); color: var(--nuit); }
.bulle-chiffre.verre { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--blanc); backdrop-filter: blur(6px); }
.bulle-chiffre.blanche { background: var(--blanc); color: var(--encre); }
@media (min-width: 1100px) {
  .bulles { display: block; position: relative; height: 560px; }
  .bulles > * { position: absolute; }
  .bulles .bulle-article { left: 0; top: 24px; width: 340px; z-index: 2; }
  .bulles .bulle-dialogue { display: flex; right: 0; top: 262px; width: 300px; z-index: 3; }
  .bulles .grande { left: 30px; top: 420px; width: 128px; height: 128px; } .bulles .grande strong { font-size: 44px; }
  .bulles .moyenne { left: 182px; top: 468px; width: 96px; height: 96px; }
  .bulles .petite { right: 24px; top: -6px; width: 92px; height: 92px; }
  .bulles > * { animation: flotter 7s ease-in-out infinite; }
  .bulles > :nth-child(2) { animation-delay: -2s; } .bulles > :nth-child(3) { animation-delay: -4s; } .bulles > :nth-child(4) { animation-delay: -1s; } .bulles > :nth-child(5) { animation-delay: -5s; }
}
@keyframes flotter { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* Chiffres réels (conservé pour compatibilité) */
.chiffres { background: var(--blanc); border-bottom: 1px solid var(--filet); }
.chiffres ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chiffres li { padding: 22px 16px; }
.chiffres strong { display: block; font-family: var(--titre); font-size: 36px; font-weight: 800; line-height: 1; }
.chiffres span { font-size: 13px; color: var(--gris); }

/* ─────────── Un chemin pour chacun ─────────── */
.grille-chemins { display: grid; gap: 10px; }
@media (min-width: 640px) { .grille-chemins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grille-chemins { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
a.chemin { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--rayon-m); border: 1px solid var(--filet); background: var(--blanc); color: var(--encre); text-decoration: none; transition: transform .2s, box-shadow .2s; box-shadow: 0 18px 40px -34px rgba(10,27,48,.5); }
a.chemin:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); color: inherit; }
.chemin-texte { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.chemin-texte strong { font-family: var(--titre); font-weight: 800; font-size: 20px; line-height: 1.12; letter-spacing: -.02em; }
.chemin-texte span { font-size: 13.5px; line-height: 1.45; opacity: .82; }
.chemin-lien { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0; color: var(--or-texte); flex-shrink: 0; }
a.chemin.bloc-bleu { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
a.chemin.bloc-bleu .chemin-lien { color: var(--or); }
a.chemin.bloc-or { background: var(--or); border-color: var(--or); color: var(--nuit); }
a.chemin.bloc-or .chemin-lien { color: var(--nuit); }
@media (min-width: 640px) {
  a.chemin { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; min-height: 250px; border-radius: var(--rayon-l); }
  .chemin-texte { gap: 10px; flex: 0 1 auto; }
  .chemin-texte strong { font-size: 27px; }
  .chemin-texte span { font-size: 15px; line-height: 1.55; }
  .chemin-lien { margin-top: auto; font-size: 14.5px; }
}
.rond-icone { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; color: var(--bleu); background: var(--p1); }
.rond-icone.r0 { background: var(--p0); } .rond-icone.r1 { background: var(--p1); } .rond-icone.r2 { background: var(--p2); } .rond-icone.r3 { background: var(--p3); }
@media (min-width: 640px) { a.chemin .rond-icone { width: 58px; height: 58px; } }
.bloc-bleu .rond-icone, .tuile-biblio.bleu .rond-icone, .carte-espace .rond-icone, .bloc-assistant .rond-icone { background: rgba(255,255,255,.1); color: var(--or); }
.bloc-or .rond-icone, .tuile-biblio.or .rond-icone { background: var(--blanc); color: var(--bleu); }

/* ─────────── Bibliothèque en mosaïque ─────────── */
.mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .mosaique { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 960px) { .mosaique { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 18px; } .mosaique .mobile-seul { display: none; } .tuile-biblio.grande { grid-column: span 2; grid-row: span 2; padding: 30px; } }
.tuile-biblio { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--rayon-m); background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tuile-biblio:hover { transform: translateY(-3px); box-shadow: var(--ombre); color: var(--encre); border-color: var(--or); }
.tuile-biblio .rond-icone { width: 44px; height: 44px; }
.tuile-biblio strong { font-family: var(--titre); font-weight: 800; font-size: 19px; line-height: 1.08; letter-spacing: -.02em; margin-top: 4px; }
.tuile-biblio .compte { font-size: 13px; font-weight: 600; opacity: .75; }
.tuile-biblio .desc { display: none; font-size: 15px; line-height: 1.55; opacity: .85; max-width: 380px; position: relative; }
.tuile-biblio.bleu { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.tuile-biblio.bleu:hover { color: var(--blanc); }
.tuile-biblio.or { background: var(--or); border-color: var(--or); color: var(--nuit); }
.pilier-tuile { display: none; position: absolute; right: 28px; top: 28px; height: 120px; width: auto; fill: var(--or); opacity: .22; }
@media (min-width: 640px) { .tuile-biblio { padding: 22px; border-radius: var(--rayon-l); } .tuile-biblio strong { font-size: 24px; } }
@media (min-width: 960px) {
  .tuile-biblio.grande strong { font-size: 44px; margin-top: auto; position: relative; }
  .tuile-biblio.grande .desc { display: block; }
  .tuile-biblio.grande .pilier-tuile { display: block; }
}
.mobile-seul { }
@media (min-width: 960px) { .mobile-seul.tuile-biblio { display: none; } }
.grille-rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 960px) { .grille-rubriques { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.carte-rubrique { min-height: 118px; }
.carte-rubrique .compte { font-size: 12.5px; color: var(--gris); }

/* ─────────── Citation « Notre engagement » ─────────── */
.citation { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 36px 24px; border-radius: var(--rayon-l); background: var(--bleu); color: var(--blanc); isolation: isolate; }
.citation::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0%, rgba(201,160,92,.25), transparent 70%); }
.guillemet { position: absolute; right: -6px; top: -24px; z-index: -1; font-family: var(--titre); font-weight: 800; font-size: 150px; line-height: 1; color: var(--or); opacity: .12; }
.citation h2 { color: var(--blanc); font-size: clamp(30px, 5vw, 64px); line-height: 1.06; max-width: 980px; }
.citation h2 .or { color: var(--or); }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(232,217,184,.3); font-size: 14px; font-weight: 600; }
.pastille .ic { color: var(--or); }
@media (min-width: 900px) { .citation { padding: 72px 80px; gap: 26px; border-radius: var(--rayon-xl); } .guillemet { right: 60px; top: -40px; font-size: 380px; opacity: .16; } }
.engagement { background: var(--bleu); color: var(--blanc); border-radius: var(--rayon-l); padding: 32px 24px; display: grid; gap: 28px; }
.engagement h2 { color: var(--blanc); }
.engagement ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.engagement li { display: flex; gap: 14px; }
.engagement li .ic { color: var(--or); }
.engagement li span { color: #C9D3DE; font-size: 14.5px; }

/* ─────────── Assistant + actualités, blocs en duo ─────────── */
.duo { display: grid; gap: 16px; }
@media (min-width: 1100px) { .duo { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: stretch; } .duo > :first-child { grid-column: span 7; } .duo > :last-child { grid-column: span 5; } .duo.duo-egal > * { grid-column: span 6; } }
.bloc-assistant { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 30px 22px; border-radius: var(--rayon-l); background: var(--bleu); color: var(--blanc); isolation: isolate; }
.bloc-assistant::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 100% 100%, rgba(43,84,135,.9), transparent 70%); }
.pile-texte { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pile-texte p { margin: 0; opacity: .85; font-size: 15px; }
.pile-texte .surtitre { margin: 0; }
.bloc-assistant h2 { color: var(--blanc); font-size: clamp(30px, 3.4vw, 40px); }
.bloc-assistant .bulle-dialogue { align-self: stretch; max-width: 360px; margin-left: auto; }
@media (min-width: 700px) { .bloc-assistant { flex-direction: row; align-items: center; gap: 40px; padding: 44px; } .pile-texte { flex: 1 1 330px; } .bloc-assistant .bulle-dialogue { flex: 1 1 300px; } }
.colonne-actus { display: flex; flex-direction: column; gap: 12px; }
.entete-mini { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.entete-mini .surtitre { margin: 0; }
.carte-actu { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--rayon-m); background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: border-color .15s, transform .2s, box-shadow .2s; }
.carte-actu:hover { border-color: var(--or); color: var(--encre); transform: translateY(-2px); box-shadow: var(--ombre); }
.carte-actu strong { font-family: var(--titre); font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -.012em; }
@media (min-width: 1100px) { .carte-actu { flex: 1; padding: 24px; } .carte-actu strong { font-size: 22px; } }

/* Votre espace */
.carte-espace { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 30px 22px; border-radius: var(--rayon-l); background: var(--degrade); color: var(--blanc); }
.carte-espace h2 { color: var(--blanc); font-size: clamp(26px, 3vw, 36px); }
.carte-espace .surtitre { margin: 0; }
.carte-espace ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.carte-espace li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.carte-espace .rond-icone { width: 42px; height: 42px; }
@media (min-width: 900px) { .carte-espace { padding: 44px; gap: 22px; } }
.carte-large { padding: 28px 22px; }
@media (min-width: 900px) { .carte-large { padding: 44px; } }

/* Liste numérotée éditoriale */
.liste-num { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.liste-num li { border-bottom: 1px solid var(--filet); }
.liste-num li:last-child { border-bottom: 0; }
.liste-num a, .liste-num .sans-lien { counter-increment: n; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 12px 0; color: var(--encre); text-decoration: none; font-weight: 600; }
.liste-num a::before, .liste-num .sans-lien::before { content: counter(n, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--p0); font-family: var(--titre); font-size: 14px; font-weight: 800; color: var(--or-texte); flex-shrink: 0; }
.liste-num a:hover { color: var(--or-texte); }
.liste-num .sans-lien { color: var(--gris); }
@media (max-width: 639px) { .liste-num a, .liste-num .sans-lien { display: grid; grid-template-columns: 38px 1fr; gap: 4px 14px; } .liste-num a::before, .liste-num .sans-lien::before { grid-row: span 2; } .liste-num .sans-lien .apres { justify-self: start; margin-left: 0; } }
.liste-num .apres { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 20px; background: var(--ivoire); white-space: nowrap; }

/* ─────────── Cartes génériques ─────────── */
.grille { display: grid; gap: 14px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .grille-2, .grille-3, .grille-4, .grille-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grille-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grille { gap: 20px; } }
.carte { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); color: var(--encre); text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .2s; }
a.carte:hover { border-color: var(--or); box-shadow: var(--ombre); color: var(--encre); transform: translateY(-3px); }
.carte h2 { font-size: 26px; }
.carte h3 { font-size: 21px; line-height: 1.18; }
.carte p { margin: 0; font-size: 14.5px; color: var(--gris); line-height: 1.55; }
.carte .pictogramme, .pile .pictogramme { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--p0); color: var(--bleu); flex-shrink: 0; }
.carte .pied-carte { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--or-texte); }

/* ─────────── Étiquettes : nature, statut, vérification ─────────── */
.nature { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1px solid; }
.nature-officiel { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.nature-juris { background: #EEF0F6; color: #2F3E66; border-color: #C9CFE0; }
.nature-doctrine { background: #F1ECF6; color: #5A3F72; border-color: #D8CBE4; }
.nature-info { background: var(--info-voile); color: var(--ardoise); border-color: #C9D3DE; }
.nature-ana { background: var(--or-voile); color: var(--or-fonce); border-color: #E4D2AE; }
.nature-peda { background: var(--vert-voile); color: var(--vert); border-color: #BCD8CC; }
.nature-video { background: #F3EEE8; color: #6B4B2E; border-color: #E0D2C2; }
.statut { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.statut .point { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.statut-vert { color: var(--vert); } .statut-or { color: var(--or-fonce); } .statut-rouge { color: var(--rouge); } .statut-gris { color: var(--gris); }
.verif { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.verif-ok { color: var(--vert); background: var(--vert-voile); }
.verif-non { color: #8A4B12; background: #FBEBD5; }
.ligne-badges { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }

/* ─────────── Bandeau des pages intérieures ─────────── */
.bandeau { background: var(--degrade); color: var(--blanc); position: relative; overflow: hidden; isolation: isolate; }
.bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.bandeau .conteneur { padding-top: 36px; padding-bottom: 40px; position: relative; }
@media (min-width: 768px) { .bandeau .conteneur { padding-top: 60px; padding-bottom: 64px; } }
.bandeau h1 { color: var(--blanc); font-size: clamp(32px, 5vw, 58px); max-width: 940px; }
.bandeau p { color: #C9D3DE; margin: 16px 0 0; max-width: 720px; font-size: 17px; }
.bandeau .colonnade { position: absolute; right: 2%; top: 10px; height: 110%; width: auto; opacity: .05; fill: #fff; z-index: -1; }
.bandeau .surtitre { color: var(--or); }
.fil-ariane { font-size: 13px; color: #C9D3DE; margin-bottom: 14px; }
.fil-ariane a { color: #D5DCE6; text-decoration: none; }
.fil-ariane a:hover { color: var(--or); }
.fil-ariane span[aria-hidden] { margin: 0 6px; color: var(--or); }
.bandeau .nature-officiel { background: transparent; border-color: rgba(232,217,184,.55); color: var(--or-clair); }
.bandeau .nature { background: rgba(255,255,255,.08); color: var(--or-clair); border-color: rgba(232,217,184,.4); }
.bandeau .statut-vert { color: #8FD6B8; } .bandeau .statut-or { color: var(--or-clair); } .bandeau .statut-rouge { color: #F2A7A0; } .bandeau .statut-gris { color: #C9D3DE; }
.bandeau .verif-ok { background: rgba(143,214,184,.16); color: #A6E0C8; }
.bandeau .verif-non { background: rgba(251,235,213,.14); color: #F3D9A8; }

/* ─────────── Filtres et listes ─────────── */
.mise-en-page { display: grid; gap: 24px; padding: 28px 0 20px; }
@media (min-width: 1000px) { .mise-en-page { grid-template-columns: 290px minmax(0, 1fr); gap: 40px; padding-top: 48px; } }
.filtres { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 18px 20px; align-self: start; }
@media (min-width: 1000px) { .filtres { position: sticky; top: 104px; padding: 22px; } }
.filtres h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 10px; }
.filtres fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.filtres legend { font-size: 13px; font-weight: 700; color: var(--ardoise); margin-bottom: 8px; padding: 0; }
.filtres .options { display: flex; flex-wrap: wrap; gap: 6px; }
.option { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border-radius: 18px; border: 1px solid var(--filet); background: var(--blanc); color: var(--ardoise); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.option:hover { border-color: var(--encre); color: var(--encre); }
.option[aria-current="true"] { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); font-weight: 600; }
details.filtres > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; min-height: 28px; }
details.filtres > summary::-webkit-details-marker { display: none; }
details.filtres .titre-filtres { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); }
details.filtres[open] > summary { margin-bottom: 12px; }
@media (min-width: 1000px) { details.filtres .ouvrir-filtres { display: none; } details.filtres > summary { pointer-events: none; } }
.resultats-entete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; color: var(--gris); font-size: 14px; }
.resultats-entete form { flex: 1; max-width: 380px; min-width: 220px; }
.resultats-entete .chercher-dans { min-height: 46px; margin: 0; }
.liste-cartes { display: grid; gap: 12px; }
.fiche-liste { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); text-decoration: none; color: var(--encre); transition: border-color .15s, box-shadow .2s, transform .2s; }
a.fiche-liste:hover { border-color: var(--or); box-shadow: var(--ombre); color: var(--encre); transform: translateY(-2px); }
.fiche-liste h2, .fiche-liste h3 { font-size: 22px; line-height: 1.15; }
.fiche-liste .ref { font-size: 13px; color: var(--gris); }
.fiche-liste p { margin: 0; color: var(--ardoise); font-size: 14.5px; }
.fiche-liste .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--gris); }
.fiche-liste .meta span { display: inline-flex; align-items: center; gap: 6px; }
.fiche-liste mark, .extrait mark { background: #F3E3BF; color: var(--encre); padding: 0 2px; border-radius: 3px; }
.vide { padding: 36px 24px; text-align: center; background: var(--blanc); border: 1px dashed var(--filet-2); border-radius: var(--rayon-l); color: var(--gris); }
.vide h2 { font-size: 24px; margin-bottom: 8px; }

/* ─────────── Fiche d'un texte ─────────── */
.fiche { display: grid; gap: 24px; padding: 28px 0 20px; }
@media (min-width: 1000px) { .fiche { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; padding-top: 48px; } }
@media (max-width: 999px) { .fiche > aside { order: -1; } .assistant > aside { order: 1; } }
.carte-identite { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 6px 20px; }
.carte-identite dl { margin: 0; }
.carte-identite .ligne { display: grid; grid-template-columns: 26px 1fr; grid-template-areas: "ic dt" "ic dd"; gap: 2px 10px; padding: 13px 0; border-bottom: 1px solid var(--filet); align-items: start; }
.carte-identite .ligne:last-child { border-bottom: 0; }
.carte-identite .ligne > .ic { grid-area: ic; color: var(--or-texte); margin-top: 1px; }
.carte-identite dt { grid-area: dt; font-size: 12px; color: var(--gris); letter-spacing: .04em; }
.carte-identite dd { grid-area: dd; margin: 0; font-size: 14.5px; font-weight: 600; }
.historique { margin-top: 16px; padding: 18px; border-radius: var(--rayon-m); background: var(--or-voile); border: 1px solid #E4D2AE; font-size: 14px; }
.historique h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or-fonce); margin: 0 0 8px; }
.historique ul { margin: 0; padding-left: 18px; }
.outils-texte { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.outils-texte .large { grid-column: span 2; }
.outils-texte form { display: contents; }
.outils-texte .bouton { padding: 0 12px; }
.aside-colle { align-self: start; }
@media (min-width: 1000px) { .aside-colle { position: sticky; top: 104px; } }
.sommaire { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 16px 20px; margin-top: 16px; }
.sommaire h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 8px; }
.sommaire ol { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; }
.sommaire a { display: block; padding: 8px 0; font-size: 14px; color: var(--ardoise); text-decoration: none; border-bottom: 1px solid var(--filet); }
.sommaire li:last-child a { border-bottom: 0; }
.sommaire a:hover { color: var(--or-texte); }
.chercher-dans, .champ-recherche { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1px solid var(--filet); border-radius: 40px; background: var(--blanc); color: var(--gris); margin-bottom: 16px; }
.chercher-dans:focus-within, .champ-recherche:focus-within { border-color: var(--encre); box-shadow: 0 0 0 3px rgba(201,160,92,.35); }
.chercher-dans input, .champ-recherche input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--encre); }
.article-loi { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 22px; margin-bottom: 12px; scroll-margin-top: 110px; }
@media (min-width: 768px) { .article-loi { padding: 28px 30px; } }
.article-loi:target { border: 2px solid var(--or); box-shadow: 0 0 0 5px var(--or-voile); }
.article-loi header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.article-loi h2 { font-size: 23px; }
.article-loi h2 small { display: block; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--gris); margin-top: 4px; }
.article-loi .corps { font-size: 16.5px; line-height: 1.75; color: var(--ardoise); }
.article-loi .corps p:last-child { margin-bottom: 0; }
.article-loi .outils { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.article-loi.cache { display: none; }
.lien-permanent { font-size: 12.5px; color: var(--gris); word-break: break-all; }
.avertissement { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--rayon-m); background: #FBEBD5; color: #6A3A0C; font-size: 14px; border: 1px solid #EFCB9A; margin-bottom: 16px; }
.avertissement .ic { color: #A0561A; margin-top: 2px; }
.avertissement p { margin: 0; }
.encart-vert { padding: 20px; border-radius: var(--rayon-l); background: var(--vert-voile); border: 1px solid #BCD8CC; }
.encart-vert .surtitre { color: var(--vert); }
.encart-assistant { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--rayon-m); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.encart-assistant .rond { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--or); color: var(--nuit); }

/* Corps éditorial (analyses, doctrine, pages) */
.redaction { font-size: 17px; line-height: 1.75; color: var(--ardoise); }
.redaction h2 { font-size: 28px; margin: 36px 0 14px; color: var(--encre); }
.redaction h2:first-child { margin-top: 0; }
.redaction ul, .redaction ol { padding-left: 22px; margin: 0 0 1em; }
.redaction li { margin-bottom: 6px; }
.redaction blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--or); border-radius: 0 var(--rayon-m) var(--rayon-m) 0; background: var(--or-voile); font-family: var(--titre); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--encre); }
.bloc-decision { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 24px; margin-bottom: 14px; }
.bloc-decision h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 8px; }
.bloc-decision p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--ardoise); }
.bloc-decision.solution { border-left: 4px solid var(--or); }

/* Vidéos */
.vignette-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rayon-m); overflow: hidden; background: var(--degrade); display: flex; align-items: center; justify-content: center; color: var(--or); }
.vignette-video img { width: 100%; height: 100%; object-fit: cover; }
.vignette-video .duree { position: absolute; right: 10px; bottom: 10px; background: rgba(10,27,48,.85); color: var(--blanc); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.vignette-video .pas-de-video { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: var(--or-clair); }
.lecteur { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: var(--rayon-l); background: var(--nuit); }

/* ─────────── Assistant (page) ─────────── */
.assistant { display: grid; gap: 24px; padding: 28px 0 20px; }
@media (min-width: 1000px) { .assistant { grid-template-columns: 330px minmax(0, 1fr); gap: 40px; padding-top: 48px; } }
.conversation { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); display: flex; flex-direction: column; min-height: 520px; overflow: hidden; box-shadow: var(--ombre); }
.conversation .tete { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--degrade); color: var(--blanc); }
.conversation .tete .rond { width: 40px; height: 40px; border-radius: 50%; background: var(--or); color: var(--nuit); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.conversation .tete strong { display: block; font-family: var(--titre); font-weight: 800; letter-spacing: -.02em; font-size: 18px; color: var(--blanc); }
.conversation .tete span { font-size: 12.5px; color: #C9D3DE; }
.fil { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: 65vh; background: var(--papier); }
.bulle { max-width: 92%; padding: 14px 16px; border-radius: 20px; font-size: 15.5px; line-height: 1.6; }
.bulle p:last-child { margin-bottom: 0; }
.bulle-ia { background: var(--blanc); border: 1px solid var(--filet); align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: 0 10px 30px -24px rgba(10,27,48,.5); }
.bulle-moi { background: var(--or); color: var(--nuit); font-weight: 500; align-self: flex-end; border-bottom-right-radius: 6px; }
.bulle .sources { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--filet); font-size: 13.5px; }
.bulle .sources ol { margin: 6px 0 0; padding-left: 20px; }
.bulle .sources a { font-weight: 600; }
.bulle .sources small { display: block; color: var(--gris); }
.saisie-assistant { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--filet); background: var(--blanc); align-items: flex-end; }
.saisie-assistant textarea { flex: 1; min-height: 52px; max-height: 160px; resize: vertical; border: 1px solid var(--filet); border-radius: 26px; padding: 13px 18px; background: var(--papier); font-size: 16px; }
.saisie-assistant textarea:focus { outline: 3px solid rgba(201,160,92,.4); border-color: var(--encre); }
.question-type { display: block; width: 100%; text-align: left; padding: 14px 18px; margin-bottom: 8px; border: 1px solid var(--filet); border-radius: var(--rayon-m); background: var(--blanc); cursor: pointer; color: var(--encre); transition: border-color .15s, transform .15s; }
.question-type:hover { border-color: var(--or); transform: translateX(3px); }
.question-type strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 4px; }
.question-type span { font-size: 14.5px; }
.en-cours { display: inline-flex; gap: 4px; }
.en-cours i { width: 7px; height: 7px; border-radius: 50%; background: var(--or); animation: rebond 1s infinite; }
.en-cours i:nth-child(2) { animation-delay: .15s; } .en-cours i:nth-child(3) { animation-delay: .3s; }
@keyframes rebond { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* ─────────── Formulaires ─────────── */
.formulaire { display: grid; gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .champ .libelle { font-size: 14px; font-weight: 600; color: var(--ardoise); }
.champ .aide { font-size: 13px; color: var(--gris); }
.champ input[type=text], .champ input[type=email], .champ input[type=password], .champ input[type=search], .champ input[type=url], .champ input[type=number], .champ input[type=date], .champ select, .champ textarea {
  min-height: 50px; padding: 10px 16px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--papier); font-size: 16px; color: var(--encre); width: 100%; transition: border-color .15s, background .15s; }
.champ textarea { min-height: 140px; line-height: 1.6; resize: vertical; }
.champ textarea.grand { min-height: 360px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); background: var(--blanc); outline: 3px solid rgba(201,160,92,.4); outline-offset: 0; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.case input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bleu); flex-shrink: 0; }
.obligatoire { color: var(--rouge); }
.pot-de-miel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.carte-formulaire { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 28px 22px; box-shadow: var(--ombre); }
@media (min-width: 640px) { .carte-formulaire { padding: 40px; } }
.page-compte { padding-top: 40px; padding-bottom: 20px; display: grid; justify-items: center; }
.page-compte .carte-formulaire { width: 100%; max-width: 480px; }
.page-compte h1 { font-size: 34px; margin-bottom: 6px; }
.separateur { display: flex; align-items: center; gap: 12px; color: var(--gris); font-size: 13px; }
.separateur::before, .separateur::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.code-saisie { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .4em; font-size: 26px !important; text-align: center; }

/* Messages */
.messages { display: grid; gap: 8px; margin: 16px 0 0; }
.message { display: flex; gap: 10px; align-items: flex-start; padding: 13px 18px; border-radius: var(--rayon-m); font-size: 14.5px; border: 1px solid; }
.message-succes { background: var(--vert-voile); color: #1F5241; border-color: #BCD8CC; }
.message-erreur { background: var(--rouge-voile); color: #7F2626; border-color: #E8BDB8; }
.message-info { background: var(--info-voile); color: var(--ardoise); border-color: #C9D3DE; }
.message ul { margin: 0; padding-left: 18px; }

/* ─────────── Mon espace ─────────── */
.onglets { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 24px; padding: 5px; border-radius: 40px; background: var(--blanc); border: 1px solid var(--filet); width: max-content; max-width: 100%; }
.onglets a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 30px; white-space: nowrap; text-decoration: none; color: var(--gris); font-weight: 600; font-size: 14.5px; }
.onglets a:hover { color: var(--encre); }
.onglets a[aria-current="page"] { color: var(--blanc); background: var(--bleu); }
.tableau-simple { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); overflow: hidden; }
.tableau-simple th, .tableau-simple td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--filet); font-size: 14.5px; vertical-align: top; }
.tableau-simple tr:last-child td { border-bottom: 0; }
.tableau-simple th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); background: var(--papier); font-weight: 700; }

/* ─────────── Pied de page ─────────── */
.pied { margin-top: 88px; background: var(--nuit-2); color: #C9D3DE; position: relative; overflow: hidden; }
.pied::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--or), transparent); opacity: .7; }
.pied .conteneur { padding-top: 52px; padding-bottom: 32px; }
.pied .haut-pied { display: grid; gap: 32px; }
@media (min-width: 900px) { .pied .haut-pied { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.pied .marque { margin-bottom: 14px; }
.pied img.logo { width: 180px; height: auto; }
.pied h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or); margin: 0 0 12px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li a { display: inline-flex; min-height: 34px; align-items: center; color: #D5DCE6; text-decoration: none; font-size: 14.5px; }
.pied li a:hover { color: var(--or); }
.pied .mention { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(201,160,92,.25); font-size: 13px; color: var(--gris-clair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pied .mention p { margin: 0; max-width: 760px; }

/* Impression : la page d'un texte s'imprime proprement */
@media print {
  .demo, .barre-haut, .entete, .pied, .aside-colle, .outils, .outils-texte, .chercher-dans, .bandeau .colonnade, .tiroir, .ne-pas-imprimer { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .bandeau { background: #fff !important; color: #000; border-bottom: 2px solid #C9A05C; }
  .bandeau::before { display: none; }
  .bandeau h1, .bandeau p, .fil-ariane { color: #000 !important; }
  .article-loi { border: 0; border-bottom: 1px solid #ccc; border-radius: 0; break-inside: avoid; padding: 10px 0; box-shadow: none; }
  .fiche { display: block; }
  a { color: #000; text-decoration: none; }
}

/* ==========================================================================
   Administration — direction C
   ========================================================================== */
.adm { display: grid; min-height: 100vh; background: var(--ivoire); }
@media (min-width: 1000px) { .adm { grid-template-columns: 272px minmax(0, 1fr); } }
.adm-cote { background: var(--nuit); color: #C9D3DE; padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 5; }
@media (min-width: 1000px) { .adm-cote { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 24px 16px; } }
.adm-cote .marque { color: var(--blanc); padding: 0 8px; }
.adm-cote .marque .nom { font-size: 21px; }
.adm-cote .marque .sous { color: var(--or); font-weight: 700; }
.adm-cote nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 14px; border-radius: 14px; color: #C9D3DE; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; }
.adm-cote nav a:hover { background: rgba(255,255,255,.06); color: var(--blanc); }
.adm-cote nav a[aria-current="page"] { background: var(--or); color: var(--nuit); font-weight: 700; }
.adm-cote nav .compteur { margin-left: auto; background: var(--or); color: var(--nuit); font-size: 11.5px; font-weight: 800; border-radius: 10px; padding: 1px 8px; }
.adm-cote nav a[aria-current="page"] .compteur { background: var(--nuit); color: var(--or); }
.adm-cote .groupe { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6F819A; padding: 14px 14px 4px; }
.adm-cote .qui { margin-top: auto; padding: 14px; border-radius: var(--rayon-m); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.adm-cote .qui strong { display: block; color: var(--blanc); }
.adm-cote .bouton-icone { color: var(--blanc); background: rgba(255,255,255,.06); }
.adm-cote .bouton-icone:hover { background: rgba(255,255,255,.12); color: var(--blanc); }
.adm-principal { min-width: 0; }
.adm-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 32px; }
.adm-tete h1 { font-size: clamp(26px, 3vw, 34px); }
.adm-tete .chemin { font-size: 13px; color: var(--gris); margin-bottom: 4px; }
.adm-tete .chemin a { color: var(--gris); }
.adm-corps { padding: 4px 32px 60px; }
@media (max-width: 640px) { .adm-tete, .adm-corps { padding-left: 16px; padding-right: 16px; } .adm-tete { padding-top: 18px; } }
.adm-bloc { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 22px 24px; margin-bottom: 18px; }
.adm-bloc > h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 14px; }
.adm-grille { display: grid; gap: 16px; }
.adm-grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .adm-grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adm-grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .adm-edition { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.adm-grille .plein { grid-column: 1 / -1; }
.tuile { position: relative; overflow: hidden; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: 20px; text-decoration: none; color: var(--encre); display: block; transition: transform .2s, box-shadow .2s; }
.tuile strong { display: block; font-family: var(--titre); font-weight: 800; letter-spacing: -.03em; font-size: 40px; line-height: 1; margin-bottom: 6px; }
.tuile span { font-size: 13.5px; color: var(--gris); }
a.tuile:hover { transform: translateY(-2px); box-shadow: var(--ombre); color: var(--encre); }
.tuile.alerte { background: var(--or); border-color: var(--or); }
.tuile.alerte strong, .tuile.alerte span { color: var(--nuit); }
@media (max-width: 640px) { .tuile strong { font-size: 32px; } }
.tableau { width: 100%; border-collapse: collapse; background: var(--blanc); font-size: 14.5px; }
.tableau-conteneur { overflow-x: auto; border: 1px solid var(--filet); border-radius: var(--rayon-l); background: var(--blanc); }
.tableau th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); background: var(--papier); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--filet); white-space: nowrap; }
.tableau td { padding: 13px 16px; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tbody tr:hover td { background: #FCFAF6; }
.tableau td a { font-weight: 700; color: var(--encre); text-decoration: none; }
.tableau td a:hover { color: var(--or-texte); }
.tableau .petit { font-size: 12.5px; color: var(--gris); }
.etat { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.etat-brouillon { background: #EEF0F3; color: var(--ardoise); }
.etat-relecture { background: #FBEBD5; color: #8A4B12; }
.etat-publie { background: var(--vert-voile); color: var(--vert); }
.etat-archive { background: #F0EDE7; color: var(--gris); }
.barre-outils { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.barre-outils .champ-recherche { min-height: 46px; flex: 1; min-width: 220px; margin: 0; }
.etapes { list-style: none; margin: 0; padding: 0; }
.etapes li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; position: relative; }
.etapes li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--filet); }
.etapes li:last-child::before { display: none; }
.etapes .puce-etape { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--filet-2); background: var(--blanc); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--blanc); }
.etapes .fait .puce-etape { background: var(--vert); border-color: var(--vert); }
.etapes .actuel .puce-etape { background: var(--or); border-color: var(--or); }
.etapes strong { display: block; font-size: 14px; }
.etapes span { font-size: 12.5px; color: var(--gris); }
.choix-nature { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-nature label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--filet); border-radius: 30px; background: var(--blanc); cursor: pointer; font-size: 14px; }
.choix-nature label:has(input:checked) { border-color: var(--bleu); background: var(--p1); font-weight: 600; }
.choix-nature input { accent-color: var(--bleu); }
.pagination { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--filet); border-radius: 21px; text-decoration: none; color: var(--encre); background: var(--blanc); padding: 0 12px; font-weight: 600; }
.pagination [aria-current] { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.adm-mobile-tete { display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 1000px) { .adm-mobile-tete .bouton-icone { display: none; } }
@media (max-width: 999px) { .adm-cote nav, .adm-cote .qui { display: none; } .adm-cote.ouvert nav, .adm-cote.ouvert .qui { display: block; } }
.adm fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.adm select, .adm input[type=file], .rangee select { min-height: 44px; padding: 8px 14px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); font-size: 14.5px; color: var(--encre); max-width: 100%; }
.adm .champ select, .adm .champ input[type=file] { width: 100%; }
.adm details summary { cursor: pointer; padding: 10px 0; border-bottom: 1px solid var(--filet); }
.adm details summary .petit { font-weight: 400; margin-left: 8px; }
.ligne-lien { display: grid; gap: 8px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .ligne-lien { grid-template-columns: 240px minmax(0, 1fr); } }
.ligne-lien select { width: 100%; }
.gabarit-simple { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--degrade); }
.gabarit-simple .carte-formulaire { max-width: 560px; width: 100%; }

/* ─────────── Utilitaires ─────────── */
.aligne-droite { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
.texte-gris { color: var(--gris); } .petit-texte { font-size: 13.5px; }
.pile { display: flex; flex-direction: column; gap: 12px; }
.rangee { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Ajustements après vérification du rendu */
.bandeau p.surtitre { font-size: 12px; margin: 0 0 12px; color: var(--or); }
@media (max-width: 639px) { .resultats-entete form { flex: 1 1 100%; max-width: none; min-width: 0; } }

/* ─────────── Tableau de bord : direct, indicateurs, graphiques ─────────── */
.direct { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 26px 24px; margin-bottom: 18px; border-radius: var(--rayon-l); background: var(--degrade); color: var(--blanc); isolation: isolate; }
.direct::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; }
@media (min-width: 1100px) { .direct { grid-template-columns: 1.1fr 1.6fr 1fr; align-items: center; padding: 30px 34px; gap: 34px; } }
.direct-titre { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.direct-chiffre { display: block; font-family: var(--titre); font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: -.04em; margin: 8px 0 6px; }
.direct-sous { margin: 0; font-size: 14px; color: #C9D3DE; }
.direct-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.direct-chiffres > div { padding: 16px; border-radius: var(--rayon-m); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.direct-chiffres strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.direct-chiffres span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; color: #C9D3DE; }
@media (max-width: 520px) { .direct-chiffres { grid-template-columns: 1fr; } .direct-chiffres > div { display: flex; align-items: baseline; gap: 12px; } .direct-chiffres span { margin: 0; } .direct-chiffre { font-size: 60px; } }
.direct-equipe { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.direct-equipe .petit-texte { color: #C9D3DE; }
.direct-maj { font-size: 12px !important; opacity: .8; }
.point-direct { width: 10px; height: 10px; border-radius: 50%; background: #5FD3A0; box-shadow: 0 0 0 0 rgba(95,211,160,.7); animation: pouls 2s infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(95,211,160,.6); } 70% { box-shadow: 0 0 0 10px rgba(95,211,160,0); } 100% { box-shadow: 0 0 0 0 rgba(95,211,160,0); } }
.puce-equipe { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 5px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(232,217,184,.3); font-size: 13.5px; font-weight: 600; }
.puce-equipe .rond { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--or); color: var(--nuit); font-size: 12px; font-weight: 800; }
.kpis { margin-bottom: 18px; }
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi strong { margin: 12px 0 2px; }
.kpi-icone { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--p0); color: var(--bleu); }
.tuile .kpi-icone { color: var(--bleu); }
.tendance { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--gris); }
.tendance.hausse { color: var(--vert); } .tendance.baisse { color: #A0561A; }
.adm-12 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.adm-12 > .adm-bloc { margin: 0; min-width: 0; }
@media (min-width: 1100px) {
  .adm-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
}
@media (min-width: 800px) and (max-width: 1099px) { .adm-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s8, .s12, .s7 { grid-column: span 2; } }
.adm-grille-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .adm-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bloc-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.bloc-tete h2 { font-family: var(--titre); font-size: 18px; font-weight: 800; letter-spacing: -.02em; text-transform: none; color: var(--encre); margin: 0; }
.adm-bloc > .bloc-tete + p { margin-top: -6px; }
.legende { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--gris); }
.cle { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cle-or { background: var(--or); } .cle-bleu { background: transparent; border: 2px dashed var(--bleu-3); } .cle-bleu-plein { background: var(--bleu); } .cle-vert { background: #8FB8A6; }
.legende .cle + * { margin-right: 8px; }
.graphe { width: 100%; height: auto; overflow: visible; }
.anneau { width: 150px; height: 150px; flex-shrink: 0; }
.anneau-legende { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.legende-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; min-width: 150px; }
.legende-liste li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legende-liste b { margin-left: auto; font-family: var(--titre); font-weight: 800; }
.classement { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.classement li { display: flex; gap: 12px; align-items: flex-start; }
.classement li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.classement a { font-weight: 700; color: var(--encre); text-decoration: none; line-height: 1.3; }
.classement a:hover { color: var(--or-texte); }
.rang { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--p0); font-family: var(--titre); font-size: 13px; font-weight: 800; color: var(--or-texte); flex-shrink: 0; }
.classement li:first-child .rang { background: var(--or); color: var(--nuit); }
.ligne-source { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.ligne-source span { color: var(--gris); font-weight: 600; white-space: nowrap; }
.barre { display: block; width: 100%; height: 8px; }
.familles .rond-icone { width: 40px; height: 40px; }
.progression { display: flex; flex-direction: column; gap: 6px; }
.direct-base .direct-titre .ic { color: var(--or); }

/* ─────────── Bibliothèque : plan de classement ─────────── */
.chiffres-biblio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: -28px 0 28px; position: relative; z-index: 2; }
.chiffres-biblio > div { padding: 18px 20px; border-radius: var(--rayon-m); background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); }
.chiffres-biblio strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.chiffres-biblio span { font-size: 13px; color: var(--gris); }
@media (min-width: 800px) { .chiffres-biblio { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -40px; } .chiffres-biblio strong { font-size: 40px; } }
.grille-familles { display: grid; gap: 16px; }
@media (min-width: 1000px) { .grille-familles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.famille { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; border-radius: var(--rayon-l); border: 1px solid var(--filet); background: var(--blanc); }
.famille h2 { font-size: 26px; }
.famille p { margin: 0; font-size: 14.5px; line-height: 1.55; opacity: .85; }
.famille-tete { display: flex; justify-content: space-between; align-items: center; }
.famille-total { font-family: var(--titre); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.famille-bleu { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.famille-bleu h2 { color: var(--blanc); }
.famille-or { background: var(--or); border-color: var(--or); color: var(--nuit); }
.famille-bleu .rond-icone { background: rgba(255,255,255,.1); color: var(--or); }
.famille-or .rond-icone { background: var(--blanc); color: var(--bleu); }
.rubriques-famille { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.rubriques-famille a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; color: inherit; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: 14.5px; transition: background .15s; }
.rubriques-famille a:hover { background: rgba(255,255,255,.16); color: inherit; }
.rubriques-famille b { font-family: var(--titre); font-weight: 800; font-size: 14px; white-space: nowrap; }
.famille-or .rubriques-famille a { background: rgba(255,255,255,.35); border-color: rgba(11,27,48,.12); }
.famille-or .rubriques-famille a:hover { background: rgba(255,255,255,.6); }
.famille-blanc .rubriques-famille a, .rubriques-famille.clair a { background: var(--ivoire); border-color: var(--filet); }
.famille-blanc .rubriques-famille a:hover, .rubriques-famille.clair a:hover { background: var(--p0); }
.famille-lien { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: inherit; }
.famille-bleu .famille-lien { color: var(--or); }
.famille-blanc .famille-lien { color: var(--or-texte); }
.section-grandit { display: grid; gap: 22px; padding: 28px 22px; border-radius: var(--rayon-l); background: var(--blanc); border: 1px solid var(--filet); }
.section-grandit p { color: var(--ardoise); }
@media (min-width: 900px) { .section-grandit { grid-template-columns: 1fr 1fr; padding: 40px; gap: 40px; align-items: center; } }
.derniers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.derniers a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--ivoire); text-decoration: none; color: var(--encre); border: 1px solid transparent; }
.derniers a:hover { border-color: var(--or); color: var(--encre); }
.derniers strong { font-family: var(--titre); font-weight: 800; font-size: 16px; letter-spacing: -.015em; }
.derniers span { font-size: 12.5px; color: var(--gris); }

/* Titres de structure dans un texte (Titre, Chapitre, Section…) */
.chapitre-texte { display: flex; flex-direction: column; gap: 4px; margin: 26px 0 12px; padding: 16px 20px; border-radius: var(--rayon-m); background: var(--bleu); color: var(--blanc); scroll-margin-top: 110px; }
.chapitre-texte .niv { font-family: var(--titre); letter-spacing: -.01em; line-height: 1.3; }
.chapitre-texte .niv-0 { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or); font-family: var(--sans); }
.chapitre-texte .niv-1 { font-size: 17px; font-weight: 800; }
.chapitre-texte .niv-2, .chapitre-texte .niv-3 { font-size: 15px; font-weight: 700; color: #D5DCE6; }
.chapitre-texte .niv:only-child { font-size: 17px; font-weight: 800; color: var(--blanc); letter-spacing: -.01em; text-transform: none; font-family: var(--titre); }
.article-loi.cache + .chapitre-texte { }
.passage { scroll-margin-top: 110px; }
.passage:target { background: var(--or-voile); border-radius: var(--rayon-m); padding: 6px 14px; margin: 0 -14px; }
.liste-regles { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ardoise); }
.carte > .bouton { align-self: flex-start; }
.chapitre-texte .niv-1, .chapitre-texte .niv-2, .chapitre-texte .niv-3 { letter-spacing: 0; }
.adm input[type=file] { max-width: 100%; }

/* 1.2.1 : un mot très long (ligne de points, adresse, sigle) ne doit jamais élargir la page sur téléphone. */
.corps p, .corps li, .corps h2, .corps h3, .chapo, .fiche dd, .fiche td { overflow-wrap: anywhere; }

/* ==========================================================================
   1.3 — Échelle compacte (lancement du 23 septembre 2026)
   Tout est ramené à des tailles de lecture sur téléphone : textes 14-15 px,
   titres de 20 à 30 px, blocs resserrés. Ce bloc prime sur les règles plus haut.
   ========================================================================== */
body { font-size: 15px; line-height: 1.55; }
.entete .conteneur { min-height: 58px; gap: 12px; }
@media (min-width: 1200px) { .entete .conteneur { min-height: 64px; } }
.marque { gap: 9px; }
.marque img { width: 30px; height: 30px; }
.marque .nom { font-size: 18px; }
@media (min-width: 1200px) { .marque img { width: 32px; height: 32px; } .marque .nom { font-size: 19px; } }
.bouton-icone { width: 38px; height: 38px; border-radius: 19px; }
.bouton-icone .ic { width: 18px; height: 18px; }
.nav-principale ul { padding: 3px; }
.nav-principale a { min-height: 32px; padding: 0 12px; font-size: 13.5px; }
.lien-texte { min-height: 38px; font-size: 13.5px; }
.bouton { min-height: 42px; padding: 0 18px; font-size: 14px; gap: 7px; }
.bouton-petit { min-height: 36px; padding: 0 14px; font-size: 13px; }
.bouton .ic { width: 16px; height: 16px; }
.lien-fleche { font-size: 13.5px; min-height: 36px; }
.surtitre { font-size: 11px !important; letter-spacing: .14em; margin-bottom: 6px; }
.titre-section { font-size: clamp(22px, 2.6vw, 30px); }
.titre-section.petit { font-size: clamp(20px, 2.2vw, 26px); }
.section { padding: 32px 0 4px; }
@media (min-width: 768px) { .section { padding: 52px 0 4px; } .entete-section { margin-bottom: 20px; } }
.intro-section, .chapo { font-size: 15px; }
.bandeau h1 { font-size: clamp(24px, 3.4vw, 36px); }
.bandeau p { font-size: 15px; }
.carte h2 { font-size: 19px; } .carte h3 { font-size: 16.5px; }
.fiche-liste h2, .fiche-liste h3 { font-size: 17px; }
.article-loi h2 { font-size: 17px; }
.redaction h2 { font-size: 21px; margin: 26px 0 10px; }
.vide h2 { font-size: 19px; }
.page-compte h1 { font-size: 26px; }
.chercher-dans, .champ-recherche { min-height: 44px; }
.champ input, .champ select, .champ textarea { min-height: 44px; font-size: 15px; }
.famille h2 { font-size: 20px; } .famille-total { font-size: 32px; }
.chiffres-biblio strong { font-size: 26px; }
@media (min-width: 800px) { .chiffres-biblio strong { font-size: 30px; } }
.pied li a { font-size: 13.5px; min-height: 30px; }
.conversation { min-height: 440px; }

/* Menu : un panneau fin, lisible, avec des icônes */
.tiroir .panneau { width: min(86vw, 330px); padding: 14px 16px 22px; gap: 12px; border-radius: 22px 0 0 22px; }
.tiroir .panneau .marque img { width: 28px; height: 28px; }
.tiroir li a { min-height: 44px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; border-bottom-color: rgba(255,255,255,.08); }
.tiroir li a .ic { width: 15px; height: 15px; opacity: .8; }
.tiroir .secondaire a { font-size: 13.5px; min-height: 36px; }
.tiroir .actions-tiroir .bouton { min-height: 40px; }
.tiroir.ouvert .panneau { animation: tiroir-entre .28s cubic-bezier(.2,.8,.2,1); }
@keyframes tiroir-entre { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ─────────── Écran d'ouverture (une fois par visite) ─────────── */
.ouverture { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--degrade); color: var(--blanc); animation: ouverture-part .5s ease 1.9s forwards; }
.ouverture-coeur { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.ouverture-coeur img { width: 50px; height: 50px; animation: ouverture-logo .7s ease .25s both; }
.ouverture-anneau { position: absolute; inset: 0; width: 96px; height: 96px; transform: rotate(-90deg); }
.ouverture-anneau circle { fill: none; stroke: var(--or); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: ouverture-trace 1.3s cubic-bezier(.6,.1,.2,1) .1s forwards; }
.ouverture-nom { margin: 0; font-family: var(--titre); font-weight: 800; font-size: 24px; letter-spacing: -.03em; animation: ouverture-monte .6s ease .6s both; }
.ouverture-nom span { color: var(--or); }
.ouverture-devise { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); animation: ouverture-monte .6s ease .9s both; }
.ouverture-devise i { width: 4px; height: 4px; border-radius: 50%; background: var(--or); }
@keyframes ouverture-trace { to { stroke-dashoffset: 0; } }
@keyframes ouverture-logo { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes ouverture-monte { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ouverture-part { to { opacity: 0; visibility: hidden; } }

/* ─────────── Accueil compact ─────────── */
.point-vivant { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5FD3A0; animation: pouls 2s infinite; flex-shrink: 0; }
.acc-hero { position: relative; overflow: hidden; background: var(--degrade); color: var(--blanc); padding: 26px 0 22px; isolation: isolate; }
.acc-hero .quadrillage { z-index: -1; }
.acc-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 960px) { .acc-hero { padding: 48px 0 30px; } .acc-hero-grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; } }
.acc-bienvenue { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(232,217,184,.3); font-size: 12.5px; font-weight: 600; color: var(--or-clair); }
.acc-hero h1 { color: var(--blanc); font-size: clamp(27px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.acc-chapo { margin: 12px 0 0; color: #C9D3DE; font-size: 14.5px; line-height: 1.6; max-width: 540px; }
.acc-recherche { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 4px 4px 4px 14px; border-radius: 30px; background: var(--blanc); color: var(--gris); max-width: 540px; box-shadow: 0 12px 30px -18px rgba(0,0,0,.6); }
.acc-recherche input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--encre); }
.acc-recherche button { height: 38px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--or); color: var(--nuit); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.acc-recherche button:hover { background: #D6B374; }
.acc-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.acc-puces a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(232,217,184,.3); color: #F1E6CF; font-size: 12.5px; font-weight: 500; text-decoration: none; transition: background .15s; }
.acc-puces a:hover { background: rgba(255,255,255,.14); color: var(--blanc); }

.acc-assistant { background: var(--blanc); color: var(--encre); border-radius: 18px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.7); overflow: hidden; display: flex; flex-direction: column; }
.acc-assistant-tete { display: flex; align-items: center; gap: 10px; padding: 11px 12px 11px 14px; border-bottom: 1px solid var(--filet); }
.acc-assistant-tete .rond { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: var(--or); flex-shrink: 0; }
.acc-assistant-tete div { flex: 1; min-width: 0; }
.acc-assistant-tete strong { display: block; font-size: 14px; line-height: 1.2; }
.acc-assistant-tete div > span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--gris); }
.acc-agrandir { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--filet); color: var(--encre); }
.acc-fil { padding: 12px 14px 4px; max-height: 250px; min-height: 64px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.acc-fil .bulle { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.acc-fil .bulle p { margin: 0 0 6px; } .acc-fil .bulle p:last-child { margin-bottom: 0; }
.acc-fil .bulle-ia { background: var(--papier); border: 1px solid var(--filet); border-top-left-radius: 4px; align-self: flex-start; animation: ouverture-monte .3s ease both; }
.acc-fil .bulle-moi { background: var(--bleu); color: var(--blanc); border-top-right-radius: 4px; align-self: flex-end; animation: ouverture-monte .3s ease both; }
.acc-fil .sources { margin-top: 8px; font-size: 12px; }
.acc-fil .sources ol { margin: 4px 0 0; padding-left: 18px; }
.acc-fil .sources small { display: block; color: var(--gris); }
.acc-suggestions { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px; scrollbar-width: none; }
.acc-suggestions::-webkit-scrollbar { display: none; }
.acc-suggestions button { flex-shrink: 0; max-width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 30px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--or-clair); background: var(--or-voile); color: var(--or-fonce); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.acc-suggestions button:hover { background: var(--or-clair); }
.acc-saisie { display: flex; gap: 8px; align-items: flex-end; padding: 4px 12px 8px; }
.acc-saisie textarea { flex: 1; min-height: 40px; max-height: 110px; resize: none; padding: 9px 14px; border: 1px solid var(--filet); border-radius: 20px; background: var(--papier); font-size: 14.5px; line-height: 1.4; }
.acc-saisie textarea:focus { outline: 0; border-color: var(--or); background: var(--blanc); }
.acc-saisie button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bleu); color: var(--or); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.acc-saisie button:disabled { opacity: .5; }
.acc-note { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--gris); }

.acc-stats { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.acc-stats li { padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-align: center; }
.acc-stats strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--or); }
.acc-stats span { display: block; font-size: 11px; line-height: 1.3; color: #C9D3DE; margin-top: 2px; }
@media (min-width: 960px) { .acc-stats { margin-top: 30px; } .acc-stats strong { font-size: 24px; } .acc-stats span { font-size: 12px; } }

.acc-section { padding: 30px 0 0; }
.acc-dernier { padding-bottom: 36px; }
@media (min-width: 768px) { .acc-section { padding-top: 46px; } .acc-dernier { padding-bottom: 56px; } }
.acc-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.acc-entete h2 { font-size: clamp(20px, 2.3vw, 26px); }
.acc-chemins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .acc-chemins { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.acc-chemin { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.acc-chemin:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--or-clair); color: var(--encre); }
.acc-chemin .rond-icone { width: 36px; height: 36px; margin-bottom: 6px; }
.acc-chemin strong { font-family: var(--titre); font-size: 15px; line-height: 1.2; }
.acc-chemin > span:last-child { font-size: 12.5px; color: var(--gris); line-height: 1.4; }
.acc-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .acc-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.acc-tuile { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.acc-tuile:hover { transform: translateY(-2px); box-shadow: var(--ombre); color: var(--encre); }
.acc-tuile .rond-icone { width: 34px; height: 34px; flex-shrink: 0; }
.acc-tuile-texte { min-width: 0; }
.acc-tuile strong { display: block; font-size: 14px; line-height: 1.25; }
.acc-tuile-texte span { display: block; font-size: 12px; color: var(--gris); }
.acc-tuile.bleu { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.acc-tuile.bleu .acc-tuile-texte span { color: #C9D3DE; }
.acc-engagement { display: grid; gap: 14px; padding: 20px; border-radius: 18px; background: var(--degrade); color: var(--blanc); }
.acc-engagement h2 { color: var(--blanc); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.2; max-width: 640px; }
.acc-engagement ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.acc-engagement li { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(232,217,184,.28); font-size: 12.5px; }
.acc-engagement li .ic { color: var(--or); }
@media (min-width: 900px) { .acc-engagement { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 28px 32px; } }
.acc-duo { display: grid; gap: 26px; }
@media (min-width: 900px) { .acc-duo { grid-template-columns: 1fr 1fr; gap: 36px; } }
.acc-liste { display: grid; gap: 8px; }
.acc-ligne { display: block; padding: 12px 14px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: border-color .2s; }
.acc-ligne:hover { border-color: var(--or); color: var(--encre); }
.acc-ligne strong { display: block; font-size: 14.5px; line-height: 1.35; margin-top: 2px; }
.acc-vide { margin: 0; padding: 14px; border-radius: 14px; border: 1px dashed var(--filet-2); color: var(--gris); font-size: 13.5px; }
.acc-espace { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 20px; border-radius: 18px; background: var(--bleu); color: var(--blanc); }
.acc-espace h2 { color: var(--blanc); font-size: clamp(17px, 2vw, 22px); line-height: 1.25; max-width: 520px; }

/* Apparition douce au défilement (seulement si le JavaScript est actif) */
.apparait { transition: opacity .35s ease, transform .35s ease; }
.apparait.a-venir { opacity: 0; transform: translateY(14px); }
.acc-hero .acc-hero-texte { animation: ouverture-monte .7s ease both; }
.acc-hero .acc-assistant { animation: ouverture-monte .7s ease .15s both; }

/* ─────────── Administration compacte ─────────── */
@media (min-width: 1000px) { .adm { grid-template-columns: 232px minmax(0, 1fr); } }
.adm-cote { padding: 14px 12px; gap: 12px; }
.adm-cote .marque .nom { font-size: 17px; }
.adm-cote nav a { min-height: 34px; padding: 0 12px; gap: 10px; font-size: 13.5px; border-radius: 10px; }
.adm-cote nav a .ic { width: 16px; height: 16px; }
.adm-cote .groupe { padding: 10px 12px 3px; font-size: 10px; }
.adm-tete { padding: 16px 24px; }
.adm-tete h1 { font-size: clamp(20px, 2.2vw, 26px); }
.adm-corps { padding: 2px 24px 40px; }
@media (max-width: 640px) { .adm-tete, .adm-corps { padding-left: 14px; padding-right: 14px; } .adm-tete { padding-top: 12px; } }
.adm-bloc { padding: 16px 18px; margin-bottom: 14px; border-radius: 16px; }
.adm-grille { gap: 12px; }
.tuile { padding: 14px; border-radius: 14px; }
.tuile strong { font-size: 26px; }
.tuile span { font-size: 12.5px; }
@media (max-width: 640px) { .tuile strong { font-size: 22px; } }
.kpi-icone { width: 32px; height: 32px; } .kpi-icone .ic { width: 16px; height: 16px; }
.kpi strong { margin: 8px 0 2px; }
.tableau { font-size: 13.5px; } .tableau td { padding: 10px 12px; } .tableau th { padding: 9px 12px; }
.direct { padding: 18px; gap: 14px; border-radius: 16px; }
@media (min-width: 1100px) { .direct { padding: 22px 26px; gap: 24px; } }
.direct-chiffre { font-size: 44px; margin: 4px 0; }
.direct-chiffres > div { padding: 10px 12px; border-radius: 12px; }
.direct-chiffres strong { font-size: 20px; }
.direct-chiffres span { font-size: 11.5px; }
@media (max-width: 520px) { .direct-chiffre { font-size: 40px; } }
.choix-nature label { min-height: 36px; font-size: 13px; padding: 0 12px; }
.pagination a, .pagination span { min-width: 36px; min-height: 36px; }
.adm select, .adm input[type=file], .rangee select { min-height: 38px; font-size: 13.5px; }
.acc-suggestions button { white-space: normal; text-align: left; line-height: 1.3; max-width: 230px; padding: 6px 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.acc-entete .lien-fleche { white-space: nowrap; flex-shrink: 0; }
.acc-entete .surtitre { white-space: nowrap; }
.acc-fil { position: relative; }
.pied .logo { width: 130px !important; height: auto; }
.pied h2 { font-size: 11px; }
@media (max-width: 520px) {
  .direct-chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .direct-chiffres > div { display: block; padding: 8px; }
  .direct-chiffres strong { font-size: 18px; }
  .direct-chiffres span { margin-top: 3px; font-size: 10.5px; }
  .direct-chiffre { font-size: 34px; }
  .adm-tete .bouton { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .tuile { padding: 11px; }
  .tuile .tendance, .kpi .tendance { font-size: 11px; }
  .kpi span { font-size: 12px; }
}
.acc-suggestions button { display: block; max-height: calc(2.6em + 12px); overflow: hidden; }
.acc-entete > div { min-width: 0; }

/* ==========================================================================
   1.3.1 — Accueil centré, pastilles de chiffres, menu soigné, assistant flottant
   ========================================================================== */
.acc-hero { padding: 30px 0 28px; text-align: center; }
@media (min-width: 960px) { .acc-hero { padding: 64px 0 48px; } }
.acc-halo { position: absolute; z-index: -1; left: 50%; top: -120px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(201,160,92,.28), rgba(201,160,92,0) 65%); animation: halo 8s ease-in-out infinite alternate; }
@keyframes halo { from { transform: translateY(0) scale(1); opacity: .8; } to { transform: translateY(30px) scale(1.12); opacity: 1; } }
.acc-hero-centre { display: flex; flex-direction: column; align-items: center; animation: ouverture-monte .7s ease both; }
.acc-hero h1 { font-size: clamp(26px, 4vw, 44px); max-width: 720px; }
.acc-chapo { margin: 10px auto 0; font-size: 14.5px; max-width: 460px; }
.acc-recherche { width: 100%; max-width: 560px; margin: 18px auto 0; }
.acc-recherche button { width: 38px; padding: 0; display: grid; place-items: center; }
.acc-puces { justify-content: center; }
.acc-stats { width: 100%; max-width: 620px; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.acc-stats li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 30px; text-align: left; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(232,217,184,.28); backdrop-filter: blur(6px); }
.acc-stat-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: var(--nuit); }
.acc-stats strong { display: inline; font-size: 14.5px; color: var(--blanc); }
.acc-stats span:last-child { display: inline; margin: 0; font-size: 12px; color: #C9D3DE; }
@media (min-width: 960px) { .acc-stats strong { font-size: 15.5px; } }

/* Menu */
.tiroir .panneau { width: min(88vw, 340px); padding: 16px 14px 20px; gap: 12px; overflow-x: hidden; isolation: isolate; }
.tiroir .panneau .quadrillage { position: absolute; z-index: -1; background-size: 36px 36px; }
.tiroir .panneau .haut { padding: 0 2px; }
.menu-recherche { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 40px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(232,217,184,.25); color: var(--or-clair); }
.menu-recherche input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--blanc); font-size: 14px; }
.menu-recherche input::placeholder { color: #9FB0C4; }
.tiroir .menu-liens { display: grid; gap: 2px; }
.tiroir .menu-liens a { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 6px 8px; border: 0; border-radius: 14px; font-family: var(--sans); color: var(--blanc); text-decoration: none; transition: background .2s, transform .2s; }
.tiroir .menu-liens a:hover { background: rgba(255,255,255,.07); transform: translateX(2px); }
.tiroir .menu-liens a[aria-current="page"] { background: linear-gradient(90deg, rgba(201,160,92,.22), rgba(201,160,92,.04)); }
.menu-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(232,217,184,.22); color: var(--or); }
.tiroir .menu-liens a[aria-current="page"] .menu-ic { background: var(--or); color: var(--nuit); border-color: var(--or); }
.menu-txt { flex: 1; min-width: 0; }
.menu-txt strong, .menu-assistant strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.menu-txt small, .menu-assistant small { display: block; font-size: 11.5px; color: #9FB0C4; line-height: 1.3; margin-top: 1px; }
.tiroir .menu-liens a > .ic:last-child { color: rgba(232,217,184,.55); width: 14px; height: 14px; }
.menu-assistant { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 16px; background: linear-gradient(120deg, var(--or), #E3C68E); color: var(--nuit) !important; text-decoration: none; box-shadow: 0 12px 30px -16px rgba(201,160,92,.9); }
.menu-assistant > span:nth-child(2) { flex: 1; }
.menu-assistant small { color: rgba(11,27,48,.7); }
.menu-assistant .menu-ic { background: var(--nuit); color: var(--or); border: 0; }
.tiroir .menu-petits { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 2px 6px; }
.tiroir .menu-petits a { color: #C9D3DE; font-size: 12.5px; text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; border: 0; font-family: var(--sans); font-weight: 500; }
.tiroir .actions-tiroir { grid-template-columns: 1fr 1fr; margin-top: auto; }
.tiroir .actions-tiroir .bouton:only-child { grid-column: 1 / -1; }
.tiroir.ouvert .menu-liens li, .tiroir.ouvert .menu-assistant, .tiroir.ouvert .menu-recherche { animation: menu-item .45s cubic-bezier(.2,.8,.2,1) both; }
.tiroir.ouvert .menu-recherche { animation-delay: .05s; }
.tiroir.ouvert .menu-liens li:nth-child(1) { animation-delay: .08s; } .tiroir.ouvert .menu-liens li:nth-child(2) { animation-delay: .12s; }
.tiroir.ouvert .menu-liens li:nth-child(3) { animation-delay: .16s; } .tiroir.ouvert .menu-liens li:nth-child(4) { animation-delay: .20s; }
.tiroir.ouvert .menu-liens li:nth-child(5) { animation-delay: .24s; } .tiroir.ouvert .menu-liens li:nth-child(6) { animation-delay: .28s; }
.tiroir.ouvert .menu-liens li:nth-child(7) { animation-delay: .32s; } .tiroir.ouvert .menu-assistant { animation-delay: .38s; }
@keyframes menu-item { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

/* Assistant flottant */
.assistant-flottant { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; }
.af-bouton { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--nuit); background: linear-gradient(140deg, #E3C68E, var(--or)); box-shadow: 0 14px 34px -10px rgba(11,27,48,.55), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .2s; }
.af-bouton:hover { transform: scale(1.06); }
.af-onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--or); animation: af-onde 2.4s ease-out infinite; }
@keyframes af-onde { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.af-bulle-info { position: absolute; right: 66px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: var(--nuit); color: var(--blanc); font-size: 12.5px; font-weight: 600; box-shadow: var(--ombre); animation: af-info 6s ease 3s both; pointer-events: none; }
@keyframes af-info { 0% { opacity: 0; transform: translate(8px, -50%); } 8%, 85% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; } }
.assistant-flottant.ouvert .af-bouton { display: none; }
.af-panneau { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--blanc); color: var(--encre); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(11,27,48,.6); border: 1px solid var(--filet); animation: af-entre .3s cubic-bezier(.2,.8,.2,1); }
.af-panneau[hidden] { display: none; }
.af-panneau .acc-fil { flex: 1; max-height: none; }
.af-panneau .acc-assistant-tete { gap: 8px; background: var(--degrade); color: var(--blanc); border-bottom: 0; }
.af-panneau .acc-assistant-tete .rond { background: var(--or); color: var(--nuit); }
.af-panneau .acc-assistant-tete div > span { color: #C9D3DE; }
.af-panneau .acc-agrandir { border-color: rgba(255,255,255,.25); color: var(--blanc); background: transparent; cursor: pointer; }
@keyframes af-entre { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .af-panneau { right: 0; left: 0; bottom: 0; width: 100%; max-height: 82vh; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media print { .assistant-flottant { display: none; } }
.tiroir.ouvert ~ .assistant-flottant { display: none; }
.acc-stats .acc-stat-ic { display: grid; margin: 0; color: var(--nuit); font-size: 0; }
.tiroir .menu-liens .menu-ic .ic { color: var(--or); opacity: 1; width: 17px; height: 17px; }
.tiroir .menu-liens a[aria-current="page"] .menu-ic .ic { color: var(--nuit); }
.menu-assistant .menu-ic .ic { color: var(--or); }
.acc-suggestions button { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; max-height: none; min-height: 32px; padding: 0 12px; line-height: 30px; }

/* ==========================================================================
   1.4 — Direction « Prestige » : allure institutionnelle
   Cormorant Garamond (licence OFL, hébergée sur le site) pour les titres d'apparat.
   ========================================================================== */
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
:root { --apparat: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif; }

/* Titres d'apparat sur le site public */
.pr-hero h1, .pr-titre-centre h2, .acc-entete h2, .acc-engagement h2, .acc-espace h2, .bandeau h1, .titre-section, .ouverture-nom, .marque .nom {
  font-family: var(--apparat); font-weight: 700; letter-spacing: -.005em;
}
.marque .nom { font-size: 22px; font-weight: 600; letter-spacing: .01em; }
@media (min-width: 1200px) { .marque .nom { font-size: 23px; } }
.acc-entete h2, .pr-titre-centre h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.1; }
.bandeau h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.acc-engagement h2 { font-size: clamp(24px, 3vw, 32px); }
.acc-espace h2 { font-size: clamp(21px, 2.4vw, 27px); }
em { font-style: italic; }
.pr-hero em, .pr-titre-centre em { font-style: italic; font-weight: 600; color: var(--or); }
.pr-titre-centre em { color: var(--or-texte); }
.surtitre { font-family: var(--apparat); font-size: 13px !important; font-weight: 700; letter-spacing: .2em; }

/* Héros */
.pr-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--degrade); color: var(--blanc); padding: 22px 0 30px; text-align: center; }
@media (min-width: 960px) { .pr-hero { padding: 44px 0 56px; } }
.pr-hero-centre { display: flex; flex-direction: column; align-items: center; }
.pr-devise { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 7px 16px; border-radius: 30px; border: 1px solid rgba(201,160,92,.45); background: rgba(255,255,255,.04); font-family: var(--apparat); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--or); animation: ouverture-monte .6s ease both; }
.pr-devise b { color: rgba(232,217,184,.6); font-weight: 400; }
.drapeau { display: inline-flex; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.drapeau i { flex: 1; } .drapeau i:nth-child(1) { background: #CE1126; } .drapeau i:nth-child(2) { background: #FCD116; } .drapeau i:nth-child(3) { background: #009460; }
.pr-medaillon { position: relative; width: 150px; height: 150px; margin: 22px 0 18px; animation: ouverture-logo .8s ease .1s both; }
@media (min-width: 960px) { .pr-medaillon { width: 176px; height: 176px; } }
.pr-disque { position: absolute; inset: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF, #F4F1EA); border: 3px solid var(--or); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(201,160,92,.12), 0 24px 50px -18px rgba(0,0,0,.7); }
.pr-disque img { width: 72%; height: auto; }
.pr-anneau { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(201,160,92,.55); animation: tourne 40s linear infinite; }
.pr-anneau::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--or); box-shadow: 0 0 12px var(--or); }
@keyframes tourne { to { transform: rotate(360deg); } }
.pr-hero h1 { color: var(--blanc); font-size: clamp(34px, 5vw, 56px); line-height: 1.02; max-width: 760px; animation: ouverture-monte .7s ease .15s both; }
.pr-intro { margin: 14px auto 0; max-width: 560px; color: #D5DCE6; font-size: 15px; line-height: 1.65; animation: ouverture-monte .7s ease .25s both; }
.pr-recherche { width: 100%; max-width: 580px; margin: 22px auto 0; padding: 8px; border-radius: 22px; background: var(--blanc); border: 2px solid var(--or); box-shadow: 0 0 0 6px rgba(201,160,92,.10), 0 26px 50px -24px rgba(0,0,0,.8); display: grid; gap: 8px; animation: ouverture-monte .7s ease .35s both; }
@media (min-width: 700px) { .pr-recherche { grid-template-columns: 1fr auto; align-items: center; padding: 7px 7px 7px 6px; border-radius: 40px; } }
.pr-champ { display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--or); }
.pr-champ input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font-size: 15.5px; color: var(--encre); }
.pr-recherche button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--bleu); color: var(--blanc); font-family: var(--apparat); font-weight: 700; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
@media (min-width: 700px) { .pr-recherche button { border-radius: 30px; } }
.pr-recherche button:hover { background: var(--bleu-2); }
.pr-recherche button .ic { color: var(--or); }
.pr-suggestions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; margin-top: 16px; max-width: 620px; animation: ouverture-monte .7s ease .45s both; }
.pr-suggestions span { font-size: 13px; color: #9FB0C4; margin-right: 2px; }
.pr-suggestions a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(232,217,184,.3); color: #F1E6CF; font-size: 13px; text-decoration: none; transition: background .2s, border-color .2s; }
.pr-suggestions a:hover { background: rgba(201,160,92,.18); border-color: var(--or); color: var(--blanc); }
.pr-hero .acc-stats { margin-top: 20px; animation: ouverture-monte .7s ease .55s both; }
.pr-assistant { margin-top: 20px; width: 100%; max-width: 480px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; cursor: pointer; text-align: left; color: var(--blanc); background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(201,160,92,.45); backdrop-filter: blur(6px); transition: transform .2s, border-color .2s; animation: ouverture-monte .7s ease .65s both; }
.pr-assistant:hover { transform: translateY(-2px); border-color: var(--or); }
.pr-assistant-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, #E3C68E, var(--or)); color: var(--nuit); flex-shrink: 0; }
.pr-assistant-txt { flex: 1; min-width: 0; }
.pr-assistant-txt strong { display: block; font-family: var(--apparat); font-size: 21px; font-weight: 700; color: var(--or); line-height: 1.1; }
.pr-assistant-txt small { display: block; font-size: 12.5px; color: #C9D3DE; margin-top: 2px; }

/* Comparaison */
.pr-titre-centre { text-align: center; margin-bottom: 16px; }
.pr-titre-centre .surtitre { justify-content: center; }
.pr-comparer { max-width: 860px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); }
.pr-comparer-tete { display: grid; grid-template-columns: 1fr 1fr; background: var(--bleu); color: var(--blanc); }
.pr-comparer-tete span { padding: 14px 16px; font-family: var(--apparat); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.pr-comparer-tete span + span { color: var(--or); border-left: 1px solid rgba(255,255,255,.12); }
.pr-comparer-ligne { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--filet); }
.pr-comparer-ligne > span { display: flex; align-items: center; gap: 10px; padding: 13px 14px; font-size: 13.5px; line-height: 1.35; }
.pr-comparer-ligne .avant { color: #8A5A5A; }
.pr-comparer-ligne .apres { color: var(--encre); font-weight: 600; border-left: 1px solid var(--filet); background: linear-gradient(90deg, rgba(47,111,91,.06), rgba(47,111,91,0)); }
.pr-comparer-ligne i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.pr-comparer-ligne .avant i { background: var(--rouge-voile); color: var(--rouge); }
.pr-comparer-ligne .apres i { background: var(--vert-voile); color: var(--vert); }
@media (min-width: 700px) { .pr-comparer-ligne > span { padding: 15px 22px; font-size: 14.5px; } .pr-comparer-tete span { padding: 16px 22px; } }

/* Menu, style institutionnel */
.tiroir .panneau { background: linear-gradient(170deg, #122B4A 0%, #0B1B30 100%); }
.tiroir .menu-liens a { min-height: 48px; border-radius: 0 12px 12px 0; border-left: 3px solid transparent !important; padding-left: 12px; }
.tiroir .menu-liens a[aria-current="page"] { background: rgba(255,255,255,.07); border-left-color: var(--or) !important; }
.tiroir .menu-liens a[aria-current="page"] strong { color: var(--or); }
.menu-ic { width: 26px; height: 26px; background: transparent; border: 0; border-radius: 0; }
.tiroir .menu-liens a[aria-current="page"] .menu-ic { background: transparent; }
.tiroir .menu-liens a[aria-current="page"] .menu-ic .ic { color: var(--or); }
.tiroir .menu-liens .menu-ic .ic { width: 20px; height: 20px; }
.menu-txt strong { font-size: 15.5px; font-weight: 600; }
.menu-txt small { font-size: 11.5px; }
.menu-assistant strong { font-family: var(--apparat); font-size: 18px; }
.tiroir .actions-tiroir .bouton { font-family: var(--apparat); font-weight: 700; font-size: 14.5px; letter-spacing: .1em; text-transform: uppercase; }
.tiroir .actions-tiroir .bouton-or { background: linear-gradient(100deg, #C9A05C, #E9C77F 50%, #C9A05C); }
.tiroir .actions-tiroir .bouton { font-size: 13px; letter-spacing: .05em; padding: 0 10px; white-space: nowrap; }

/* 1.4.1 — emblème original (feuillets de loi, sceau, loupe), sans médaillon */
.pr-devise, .pr-medaillon { display: none; }
.pr-filet { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--apparat); font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--or-clair); animation: ouverture-monte .6s ease both; }
.tricolore { display: inline-flex; gap: 3px; }
.tricolore i { width: 14px; height: 3px; border-radius: 2px; }
.tricolore i:nth-child(1) { background: #CE1126; } .tricolore i:nth-child(2) { background: #FCD116; } .tricolore i:nth-child(3) { background: #009460; }
.pr-embleme { width: 210px; margin: 14px 0 6px; animation: flotte 6s ease-in-out infinite; }
@media (min-width: 960px) { .pr-embleme { width: 250px; } }
.pr-embleme svg { width: 100%; height: auto; overflow: visible; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pr-embleme .page rect { fill: #FFFFFF; stroke: rgba(201,160,92,.6); stroke-width: 1.2; }
.pr-embleme .p3 { transform-origin: 108px 138px; animation: eventail3 1s cubic-bezier(.2,.8,.2,1) .3s both; }
.pr-embleme .p2 { transform-origin: 108px 138px; animation: eventail2 1s cubic-bezier(.2,.8,.2,1) .3s both; }
.pr-embleme .p3 rect { fill: #DCE4EE; } .pr-embleme .p2 rect { fill: #EEF2F7; }
@keyframes eventail3 { from { transform: rotate(0); } to { transform: rotate(-14deg) translateX(-8px); } }
@keyframes eventail2 { from { transform: rotate(0); } to { transform: rotate(-7deg) translateX(-4px); } }
.pr-embleme text { font-family: var(--apparat); font-weight: 700; font-size: 15px; fill: #0F2540; }
.pr-embleme .l { stroke: #C9A05C; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: ecrit .6s ease forwards; }
.pr-embleme .l2 { stroke: #9FB0C4; animation-delay: .9s; } .pr-embleme .l1 { animation-delay: .75s; }
.pr-embleme .l3 { stroke: #9FB0C4; animation-delay: 1.05s; } .pr-embleme .l4 { stroke: #9FB0C4; animation-delay: 1.2s; }
.pr-embleme .l5 { animation-delay: 1.35s; }
@keyframes ecrit { to { stroke-dashoffset: 0; } }
.pr-embleme .sceau { transform-origin: 152px 118px; animation: sceau .6s cubic-bezier(.3,1.6,.5,1) 1.5s both; }
@keyframes sceau { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.pr-embleme .loupe { fill: rgba(255,255,255,.12); stroke: #E9C77F; stroke-width: 3; animation: loupe 4s ease-in-out 1.8s infinite; }
.pr-embleme .loupe-manche { stroke: #E9C77F; stroke-width: 4; stroke-linecap: round; animation: loupe 4s ease-in-out 1.8s infinite; }
@keyframes loupe { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(34px, -40px); } }
/* recherche : bouton rond intégré, même sur téléphone */
.pr-recherche { grid-template-columns: 1fr auto; align-items: center; padding: 6px 6px 6px 4px; border-radius: 40px; }
.pr-recherche button { width: 46px; height: 46px; padding: 0; border-radius: 50%; font-size: 0; letter-spacing: 0; background: linear-gradient(140deg, #E3C68E, var(--or)); }
.pr-recherche button .ic { color: var(--nuit); width: 20px; height: 20px; }
@media (min-width: 700px) { .pr-recherche button { width: auto; padding: 0 22px; border-radius: 30px; font-size: 16px; letter-spacing: .14em; color: var(--nuit); } }
.ouverture-mono { width: 58px; height: 58px; animation: ouverture-logo .7s ease .1s both; }
.ouverture-nom { font-size: 34px; font-weight: 700; }
.ouverture-trait { display: flex; gap: 4px; margin-top: -4px; }
.ouverture-trait i { height: 3px; width: 0; border-radius: 2px; animation: trait .5s ease forwards; }
.ouverture-trait i:nth-child(1) { background: #CE1126; animation-delay: .8s; } .ouverture-trait i:nth-child(2) { background: #FCD116; animation-delay: .95s; } .ouverture-trait i:nth-child(3) { background: #009460; animation-delay: 1.1s; }
@keyframes trait { to { width: 26px; } }
.pr-filet { white-space: nowrap; font-size: 12.5px; letter-spacing: .16em; } @media (min-width: 700px) { .pr-filet { font-size: 14px; letter-spacing: .22em; } }

/* ─────────── Télécharger les textes ─────────── */
.tl { padding-top: 22px; padding-bottom: 48px; }
.tl-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.tl-filtre { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--filet); color: var(--gris); }
.tl-filtre input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--encre); }
.tl-total { font-size: 13.5px; color: var(--gris); } .tl-total strong { color: var(--or-texte); font-size: 16px; }
.tl-groupe { margin-top: 20px; }
.tl-groupe h2 { display: flex; align-items: center; gap: 10px; font-family: var(--apparat); font-size: 25px; margin-bottom: 10px; }
.tl-groupe h2 span { font-family: var(--sans); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 12px; background: var(--or-voile); color: var(--or-fonce); }
.tl-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 1000px) { .tl-liste { grid-template-columns: 1fr 1fr; } }
.tl-ligne { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--filet); transition: border-color .2s, box-shadow .2s; }
.tl-ligne:hover { border-color: var(--or-clair); box-shadow: var(--ombre); }
.tl-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--p1); color: var(--bleu); flex-shrink: 0; }
.tl-txt { flex: 1; min-width: 0; }
.tl-txt a { display: block; font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--encre); text-decoration: none; }
.tl-txt a:hover { color: var(--or-texte); }
.tl-txt small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--gris); overflow-wrap: anywhere; }
.tl-txt em { color: #8A4B12; font-style: normal; }
.tl-actions { display: flex; gap: 6px; flex-shrink: 0; }
.tl-actions a { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px; border-radius: 17px; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.tl-lire { border: 1px solid var(--filet); color: var(--encre); background: var(--blanc); }
.tl-pdf { background: var(--bleu); color: var(--blanc); } .tl-pdf .ic { color: var(--or); }
.tl-pdf:hover { background: var(--bleu-2); color: var(--blanc); }
@media (max-width: 480px) { .tl-actions span { display: none; } .tl-actions a { width: 34px; padding: 0; justify-content: center; } }
.tl-vide { margin-top: 20px; padding: 16px; border-radius: 14px; border: 1px dashed var(--filet-2); color: var(--gris); }
.tl-note { margin-top: 24px; }
.pr-telecharger { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(120deg, var(--bleu), #1B3D66); color: var(--blanc); text-decoration: none; transition: transform .2s; }
.pr-telecharger:hover { transform: translateY(-2px); color: var(--blanc); }
.pr-telecharger .tl-ic { background: var(--or); color: var(--nuit); }
.pr-telecharger > span:nth-child(2) { flex: 1; }
.pr-telecharger strong { display: block; font-family: var(--apparat); font-size: 20px; color: var(--or); line-height: 1.1; }
.pr-telecharger small { display: block; font-size: 12.5px; color: #C9D3DE; }

/* ==========================================================================
   1.7 — Six rubriques, bibliothèque personnelle, classification, installation
   ========================================================================== */
.acc-rubriques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .acc-rubriques { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.acc-rubrique { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.acc-rubrique:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--or-clair); color: var(--encre); }
.acc-rubrique-num { position: absolute; top: 10px; right: 14px; font-family: var(--apparat); font-weight: 700; font-size: 26px; line-height: 1; color: var(--or-clair); }
.acc-rubrique-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px; background: var(--bleu); color: var(--or); }
.acc-rubrique strong { font-family: var(--apparat); font-size: 19px; line-height: 1.1; }
.acc-rubrique > span:last-child { font-size: 12.5px; line-height: 1.4; color: var(--gris); }
.acc-rubrique.or { background: linear-gradient(140deg, var(--bleu), #1B3D66); border-color: var(--bleu); color: var(--blanc); }
.acc-rubrique.or .acc-rubrique-ic { background: var(--or); color: var(--nuit); }
.acc-rubrique.or strong { color: var(--or); } .acc-rubrique.or > span:last-child { color: #C9D3DE; }
.acc-rubrique.or .acc-rubrique-num { color: rgba(201,160,92,.35); }
.pied-rubriques a { gap: 9px; }
.pied-rubriques .ic { color: var(--or); }
.menu-installer { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; border-radius: 12px; border: 1px dashed rgba(232,217,184,.45); background: transparent; color: var(--or-clair); font-size: 13px; font-weight: 600; cursor: pointer; }
.menu-installer[hidden] { display: none; }
/* Classement (onglets) */
.classement-onglets { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 18px 0 4px; padding: 6px; border-radius: 30px; background: var(--blanc); border: 1px solid var(--filet); }
.classement-onglets::-webkit-scrollbar { display: none; }
.classement-onglets a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 20px; white-space: nowrap; text-decoration: none; color: var(--ardoise); font-family: var(--apparat); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.classement-onglets a span { font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; background: var(--or-voile); color: var(--or-fonce); }
.classement-onglets a:hover { background: var(--papier); }
.classement-onglets a[aria-current="page"] { background: var(--bleu); color: var(--blanc); }
.classement-onglets a[aria-current="page"] span { background: var(--or); color: var(--nuit); }
/* Fiches de textes : bandeau bleu + corps blanc */
.liste-textes { display: grid; gap: 12px; }
@media (min-width: 1100px) { .liste-textes { grid-template-columns: 1fr 1fr; } }
.fiche-texte { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.fiche-texte:hover { transform: translateY(-3px); box-shadow: var(--ombre); color: var(--encre); }
.fiche-texte-tete { display: block; padding: 14px 16px; background: var(--degrade); color: var(--blanc); }
.fiche-texte-cat { display: inline-block; margin-bottom: 7px; padding: 2px 9px; border-radius: 4px; border: 1px solid rgba(201,160,92,.55); font-family: var(--apparat); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
.fiche-texte-tete strong { display: block; font-family: var(--apparat); font-size: 21px; line-height: 1.12; color: var(--blanc); }
.fiche-texte-ref { display: block; margin-top: 4px; font-size: 12.5px; font-style: italic; color: #C9D3DE; }
.fiche-texte-corps { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; }
.fiche-texte-resume { font-size: 13.5px; line-height: 1.5; color: var(--ardoise); }
.fiche-texte-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--gris); }
.fiche-texte-pied > span { display: inline-flex; align-items: center; gap: 5px; }
.fiche-texte-ouvrir { margin-left: auto; font-weight: 700; color: var(--or-texte); }
.etiquette-cat { display: inline-block; padding: 2px 9px; border-radius: 4px; background: var(--bleu); color: var(--or); font-family: var(--apparat); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
/* Ma bibliothèque */
.bib { margin-top: 8px; }
.bib-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.bib-tete h2 { font-family: var(--apparat); font-size: 28px; }
.bib-filtre { flex: 0 1 320px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 21px; background: var(--blanc); border: 1px solid var(--filet); color: var(--gris); }
.bib-filtre input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; }
.bib-dossiers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.bib-dossiers > a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 17px; background: var(--blanc); border: 1px solid var(--filet); color: var(--ardoise); text-decoration: none; font-size: 13px; font-weight: 600; }
.bib-dossiers > a span { font-size: 11px; padding: 0 6px; border-radius: 8px; background: var(--or-voile); color: var(--or-fonce); }
.bib-dossiers > a[aria-current="page"] { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.bib-dossiers > a[aria-current="page"] .ic { color: var(--or); }
.bib-nouveau summary, .bib-gerer summary, .bib-noter summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 17px; border: 1px dashed var(--filet-2); color: var(--or-texte); font-size: 13px; font-weight: 700; }
.bib-nouveau summary::-webkit-details-marker, .bib-gerer summary::-webkit-details-marker, .bib-noter summary::-webkit-details-marker { display: none; }
.bib-nouveau[open] form, .bib-gerer[open] { margin-top: 8px; }
.bib-nouveau form { display: flex; gap: 6px; }
.bib-nouveau input, .bib-gerer input, .bib-noter textarea { min-height: 36px; padding: 6px 12px; border: 1px solid var(--filet); border-radius: 12px; background: var(--blanc); font-size: 14px; }
.bib-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.bib-outils select, .bib-ranger select { min-height: 36px; padding: 0 10px; border: 1px solid var(--filet); border-radius: 12px; background: var(--blanc); font-size: 13px; color: var(--encre); max-width: 100%; }
.bib-gerer { display: flex; flex-direction: column; gap: 6px; }
.bib-gerer[open] { display: flex; }
.bib-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bib-doc { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--filet); }
.bib-doc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bleu); color: var(--or); flex-shrink: 0; }
.bib-doc-txt { flex: 1; min-width: 0; }
.bib-doc-type { display: block; font-size: 11.5px; color: var(--or-texte); font-weight: 600; letter-spacing: .02em; }
.bib-doc-type b { color: var(--bleu); }
.bib-doc-titre { display: block; margin-top: 2px; font-family: var(--apparat); font-weight: 700; font-size: 19px; line-height: 1.15; color: var(--encre); text-decoration: none; }
.bib-doc-titre:hover { color: var(--or-texte); }
.bib-doc-meta { display: block; margin-top: 3px; font-size: 12px; color: var(--gris); }
.bib-doc-note { display: flex; gap: 6px; margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--or-voile); font-size: 13px; color: var(--ardoise); }
.bib-doc-note .ic { color: var(--or-texte); margin-top: 3px; }
.bib-doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.bib-noter form { display: grid; gap: 6px; margin-top: 8px; width: min(420px, 78vw); }
.bib-retirer { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 17px; background: transparent; color: var(--rouge); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.bib-retirer:hover { background: var(--rouge-voile); }
.bib-vide { text-align: center; }
.bib-vide .tl-ic { margin: 0 auto 10px; }
/* Proposition d'installation */
.installer { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: flex-start; padding: 14px 40px 14px 14px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--or-clair); box-shadow: 0 30px 70px -25px rgba(11,27,48,.65); animation: af-entre .45s cubic-bezier(.2,.8,.2,1); }
.installer[hidden] { display: none; }
@media (min-width: 700px) { .installer { left: auto; right: 24px; bottom: 24px; width: 420px; } }
.installer-ic { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex-shrink: 0; box-shadow: 0 8px 20px -10px rgba(11,27,48,.6); }
.installer-ic img { width: 100%; height: 100%; }
.installer-txt { min-width: 0; }
.installer-txt strong { display: block; font-family: var(--apparat); font-size: 20px; line-height: 1.1; color: var(--encre); }
.installer-txt p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--gris); }
.installer-ios { color: var(--ardoise) !important; }
.installer-ios svg { display: inline; vertical-align: -2px; }
.installer-actions { display: flex; gap: 8px; margin-top: 10px; }
.installer-actions [hidden] { display: none; }
.installer-fermer { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--papier); color: var(--gris); display: grid; place-items: center; cursor: pointer; }
.installer-visible .assistant-flottant { display: none; }

/* 1.7.2 — Un chemin pour chacun + Comprendre le droit, facilement */
.acc-comprendre { margin: 14px 0 0; }
.acc-comprendre .tl-ic { background: var(--or); color: var(--nuit); }
.avertissement.doux { background: #EEF2F7; color: #1B2F4A; border-color: #D5DEEA; }
.avertissement.doux .ic { color: var(--bleu); }
.outils-texte [data-favori] .bouton, .outils-texte > a.bouton:first-child { grid-column: 1 / -1; }

/* ─────────── 1.9 — Administration : sommaire juridique, onglets, textes du site ─────────── */
.adm-cote nav .adm-num { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 7px; background: rgba(201,160,92,.14); color: var(--or); font-family: var(--apparat); font-weight: 700; font-size: 14px; letter-spacing: .02em; flex-shrink: 0; }
.adm-cote nav a[aria-current="page"] .adm-num { background: var(--nuit); color: var(--or); }
.adm-cote .groupe { font-family: var(--apparat); font-style: italic; letter-spacing: .02em; text-transform: none; font-size: 15px; color: var(--or); opacity: .9; }

.som { margin-bottom: 26px; }
.som-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.som-sur { margin: 0 0 4px; font-family: var(--apparat); font-style: italic; color: var(--or-texte); font-size: 17px; }
.som-tete h2 { margin: 0; font-family: var(--apparat); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; color: var(--encre); }
.som-site { display: flex; flex-wrap: wrap; gap: 8px; }
.som-site a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.som-site a:hover { border-color: var(--or); }
.som-site a span { background: var(--or-voile); color: var(--or-fonce); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 700; }
.som-grille { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .som-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .som-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } .som-carte.large { grid-row: span 2; } }
.som-carte { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 14px; border-radius: var(--rayon-m); background: var(--blanc); border: 1px solid var(--filet); box-shadow: 0 16px 40px -34px rgba(10,27,48,.55); overflow: hidden; }
.som-carte::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--or), #E9C77F 60%, transparent); }
.som-carte.large { background: linear-gradient(160deg, var(--bleu) 0%, #173A62 100%); border-color: var(--bleu); color: var(--blanc); }
.som-carte-tete { display: flex; align-items: center; justify-content: space-between; }
.som-num { font-family: var(--apparat); font-weight: 700; font-size: 30px; line-height: 1; color: var(--or); }
.som-ic { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--p0); color: var(--bleu); }
.som-carte.large .som-ic { background: rgba(255,255,255,.1); color: var(--or); }
.som-carte h3 { margin: 0; font-family: var(--titre); font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.som-carte h3 a { color: inherit; text-decoration: none; }
.som-carte h3 a:hover { color: var(--or-texte); }
.som-carte.large h3 a:hover { color: var(--or); }
.som-chiffre { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; }
.som-chiffre strong { font-family: var(--apparat); font-size: 40px; line-height: 1; font-weight: 700; }
.som-chiffre span { font-size: 13px; opacity: .75; }
.som-pastilles { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.som-pastilles span { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.p-attente { background: #E4EAF2; color: #1B2F4A; } .p-verif { background: #FBEBD5; color: #7A4410; } .p-ok { background: #E2EEE8; color: #245C49; }
.som-carte.large .p-attente { background: rgba(255,255,255,.14); color: #fff; }
.som-sous { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--filet); }
.som-carte.large .som-sous { border-color: rgba(255,255,255,.14); }
.som-sous a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--filet); font-size: 13.5px; color: inherit; text-decoration: none; }
.som-carte.large .som-sous a { border-color: rgba(255,255,255,.12); }
.som-sous a:hover span { text-decoration: underline; }
.som-sous b { font-family: var(--apparat); font-size: 17px; color: var(--or-texte); }
.som-carte.large .som-sous b { color: var(--or); }
.som-note { margin: 2px 0 0; font-size: 12.5px; opacity: .75; }
.som-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.som-actions a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--or-texte); text-decoration: none; }
.som-carte.large .som-actions a { color: var(--or); }
.som-actions a.plus { padding: 5px 11px; border-radius: 999px; background: var(--or-voile); color: var(--or-fonce); }
.som-carte.large .som-actions a.plus { background: var(--or); color: var(--nuit); }

.adm-onglets { display: flex; gap: 6px; overflow-x: auto; padding: 5px; margin-bottom: 14px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); scrollbar-width: none; }
.adm-onglets::-webkit-scrollbar { display: none; }
.adm-onglets a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; color: var(--encre); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.adm-onglets a b { font-family: var(--apparat); color: var(--or-texte); font-size: 15px; }
.adm-onglets a span { background: var(--or-voile); color: var(--or-fonce); border-radius: 999px; padding: 0 7px; font-size: 11.5px; font-weight: 700; }
.adm-onglets a[aria-current="page"] { background: var(--bleu); color: var(--blanc); }
.adm-onglets a[aria-current="page"] b { color: var(--or); }
.adm-onglets a[aria-current="page"] span { background: var(--or); color: var(--nuit); }

.ts-intro { max-width: 760px; color: var(--gris); margin: 0 0 16px; }
.ts { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .ts { grid-template-columns: 290px minmax(0, 1fr); } .ts-nav { position: sticky; top: 16px; } }
.ts-nav { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--rayon-m); background: var(--blanc); border: 1px solid var(--filet); }
.ts-chercher { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; margin-bottom: 6px; border-radius: 12px; background: var(--fond, #F4F1EA); border: 1px solid var(--filet); color: var(--gris); }
.ts-chercher input { border: 0; background: transparent; outline: 0; flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--encre); }
.ts-nav > a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--encre); text-decoration: none; }
.ts-nav > a:hover { background: var(--or-voile); }
.ts-nav > a[aria-current="page"] { background: var(--bleu); color: var(--blanc); }
.ts-num { display: inline-flex; width: 28px; height: 28px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--or-voile); color: var(--or-fonce); font-family: var(--apparat); font-weight: 700; font-size: 16px; }
.ts-nav > a[aria-current="page"] .ts-num { background: var(--or); color: var(--nuit); }
.ts-nom { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; line-height: 1.25; }
.ts-nom small { font-weight: 500; font-size: 12px; opacity: .7; }
.ts-champs { padding: 20px; border-radius: var(--rayon-m); background: var(--blanc); border: 1px solid var(--filet); }
.ts-champs-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--filet); }
.ts-champs-tete h2 { margin: 0; font-family: var(--apparat); font-size: 26px; font-weight: 700; }
.ts-champ { padding: 14px 0; border-bottom: 1px dashed var(--filet); }
.ts-champ.modifie { box-shadow: inset 3px 0 0 var(--or); padding-left: 12px; }
.ts-champ-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 7px; }
.ts-champ-tete label { font-weight: 700; font-size: 14px; color: var(--encre); }
.ts-pastille { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--p1); color: #1B2F4A; }
.ts-pastille.or { background: var(--or-voile); color: var(--or-fonce); }
.ts-champ input[type="text"], .ts-champ textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--filet-2); border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 15px; line-height: 1.55; color: var(--encre); background: #FDFCF9; }
.ts-champ textarea { resize: vertical; }
.ts-champ textarea.ts-long { font-size: 14.5px; min-height: 280px; }
.ts-champ input:focus, .ts-champ textarea:focus { outline: 2px solid var(--or); outline-offset: 1px; border-color: var(--or); background: #fff; }
.ts-champ-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 6px; }
.ts-champ-pied .aide { font-size: 12.5px; color: var(--gris); flex: 1 1 260px; }
.ts-origine { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--or-fonce); }
.ts-voir-origine { flex-basis: 100%; font-size: 13px; }
.ts-voir-origine summary { cursor: pointer; color: var(--gris); }
.ts-voir-origine p { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: #F4F1EA; color: var(--ardoise); }
.ts-enregistrer { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px -20px -20px; padding: 14px 20px; background: rgba(255,255,255,.96); border-top: 1px solid var(--filet); border-radius: 0 0 var(--rayon-m) var(--rayon-m); backdrop-filter: blur(6px); }
.som-carte.large h3 a { color: var(--blanc); }
.som-chiffre strong, .som-num, .adm-num, .ts-num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.som-sous b { font-family: var(--titre); font-size: 14px; font-weight: 800; }
.som-sous a span { text-decoration: none; }
.adm-onglets a b { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
@media (max-width: 979px) {
  .ts-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding: 8px; scrollbar-width: none; }
  .ts-nav::-webkit-scrollbar { display: none; }
  .ts-chercher { flex: 0 0 220px; margin: 0; }
  .ts-nav > a { flex: 0 0 auto; padding: 8px 12px 8px 8px; }
  .ts-nom { white-space: nowrap; }
  .ts-nom small { display: none; }
  .ts-champs { padding: 16px; }
  .ts-enregistrer { margin: 14px -16px -16px; padding: 12px 16px; }
}

/* ═══════════ 2.1 — Tableau de bord accueillant (direction) ═══════════ */
.db { display: grid; gap: 22px; padding-top: 22px; }
.db-accueil { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 26px 24px; border-radius: 24px; color: #fff;
  background: radial-gradient(520px 320px at 100% 0%, rgba(201,160,92,.28), transparent 65%), linear-gradient(150deg, #173A64 0%, #0F2540 55%, #0A1628 100%); }
.db-accueil::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(201,160,92,.25); pointer-events: none; }
.db-date { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair, #E9C77F); }
.db-accueil h1 { margin: 10px 0 0; font-family: var(--titre); font-weight: 700; font-size: 32px; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.db-accueil h1 span { color: var(--or); }
.db-phrase { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: #D5DEEA; max-width: 560px; }
.db-phrase b { color: #fff; font-weight: 700; }
.db-accueil-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.db-bouton-clair { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.db-bouton-clair:hover { background: rgba(255,255,255,.18); color: #fff; }
.db-direct { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-self: end; }
.db-direct > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.db-direct strong { font-family: var(--titre); font-size: 28px; line-height: 1; color: #fff; }
.db-direct > div > span { font-size: 12.5px; line-height: 1.3; color: #C9D4E2; }
.db-direct strong { display: flex; align-items: center; gap: 8px; }
.db-direct .point-direct { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3CCB8B; box-shadow: 0 0 0 4px rgba(60,203,139,.2); flex-shrink: 0; }
.db-bloc { padding: 22px 20px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: 0 1px 0 rgba(15,37,64,.03); }
.db-titre { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.db-titre h2 { margin: 0; font-family: var(--titre); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--nuit); }
.db-titre p { margin: 4px 0 0; font-size: 14px; color: var(--ardoise, #5A6B80); }
.db-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit); color: var(--or); font: 700 15px/1 var(--titre); }
.db-titre-stats { margin: 6px 0 -6px; }
.db-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #F6EFE2; color: #8A6428; }
.db-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.db-liste li { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--filet); background: #FBFAF7; }
.db-liste li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.db-liste li strong { font-size: 15.5px; line-height: 1.35; color: var(--nuit); }
.db-liste li span { font-size: 13.5px; line-height: 1.45; color: var(--ardoise, #5A6B80); }
.db-liste li .bouton { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
.db-liste li.fort { background: linear-gradient(135deg, #FFF7E8, #F7E7C6); border-color: #E7CD97; }
.db-liste li.fort .db-ic { background: var(--nuit); color: var(--or); }
.db-ok { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #E9F4EE; color: #245C49; }
.db-ok div { display: flex; flex-direction: column; gap: 2px; } .db-ok span { font-size: 14px; }
.db-raccourcis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.db-raccourcis a { display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; border-radius: 18px; border: 1px solid var(--filet); background: #FBFAF7; color: var(--nuit); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.db-raccourcis a:hover { transform: translateY(-2px); border-color: var(--or); box-shadow: var(--ombre); color: var(--nuit); }
.db-raccourcis .db-ic { margin-bottom: 4px; }
.db-raccourcis strong { font-size: 15px; line-height: 1.25; }
.db-raccourcis span:last-child { font-size: 12.5px; color: var(--ardoise, #5A6B80); }
.db-rubriques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.db-rub { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 18px; background: linear-gradient(160deg, #F9F5EC, #FFFFFF); border: 1px solid var(--filet); color: var(--nuit); text-decoration: none; transition: transform .15s, border-color .15s; }
.db-rub:hover { transform: translateY(-2px); border-color: var(--or); color: var(--nuit); }
.db-rub-tete { display: flex; justify-content: space-between; align-items: center; }
.db-rub-num { font: 700 20px/1 var(--titre); color: var(--or-fonce, #9A7433); }
.db-rub .db-ic { width: 34px; height: 34px; border-radius: 10px; }
.db-rub-chiffre { font: 700 34px/1 var(--titre); margin-top: 8px; }
.db-rub-nom { font-size: 14px; font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.db-rub-etat em { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.db-rub-etat .p-vide { background: #EEF1F5; color: #56657C; }
@media (min-width: 760px) {
  .db-accueil { grid-template-columns: 1.3fr 1fr; padding: 34px 36px; align-items: end; }
  .db-accueil h1 { font-size: 40px; }
  .db-bloc { padding: 26px 28px; }
  .db-liste li { grid-template-columns: auto 1fr auto; }
  .db-liste li .bouton { grid-column: auto; justify-self: end; }
  .db-raccourcis { grid-template-columns: repeat(4, 1fr); }
  .db-rubriques { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) { .db-rubriques { grid-template-columns: repeat(7, 1fr); } .db-rub-nom { font-size: 13px; } }

/* ═══════════ 2.2 — Propriété intellectuelle · Notre histoire · L'équipe ═══════════ */
.pi, .hist { padding-top: 34px; padding-bottom: 56px; display: grid; gap: 40px; }
.pi-h2 { font-family: var(--titre); font-size: 26px; line-height: 1.15; color: var(--nuit); margin: 0 0 18px; }
.pi-h2 em, .pi-h2 .or { font-style: normal; color: var(--or-fonce, #9A7433); }
.pi-domaines { display: grid; gap: 12px; grid-template-columns: 1fr; }
.pi-domaine { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--filet); color: var(--nuit); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.pi-domaine:hover { transform: translateY(-2px); border-color: var(--or); box-shadow: var(--ombre); color: var(--nuit); }
.pi-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--nuit); color: var(--or); margin-bottom: 6px; }
.pi-domaine strong { font-size: 17px; line-height: 1.25; }
.pi-domaine > span:not(.pi-ic) { font-size: 14.5px; line-height: 1.5; color: var(--ardoise, #5A6B80); }
.pi-domaine em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--or-fonce, #9A7433); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; }
.pi-cadre { display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px; border-radius: 24px; color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(201,160,92,.28), transparent 65%), linear-gradient(150deg, #173A64, #0F2540 60%, #0A1628); }
.pi-cadre-ic { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(201,160,92,.18); color: var(--or); }
.pi-cadre h2 { margin: 0; font-family: var(--titre); font-size: 22px; color: #fff; }
.pi-cadre p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; color: #D5DEEA; }
.pi-fiches { display: grid; gap: 12px; }
.pi-fiche { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, #FBF5E9, #fff); border: 1px solid #EBD9B4; color: var(--nuit); text-decoration: none; }
.pi-fiche:hover { border-color: var(--or); color: var(--nuit); }
.pi-fiche strong { font-size: 17px; line-height: 1.3; } .pi-fiche > span:last-child { font-size: 14px; color: var(--ardoise, #5A6B80); line-height: 1.5; }
.pi-etiquette { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7A4410; background: #FBEBD5; padding: 4px 10px; border-radius: 999px; }
.pi-colonnes { display: grid; gap: 14px; }
.pi-colonne { padding: 20px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--filet); }
.pi-colonne h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; color: var(--nuit); }
.pi-colonne h3 svg { color: var(--or-fonce, #9A7433); }
.pi-colonne h3 span { margin-left: auto; font-size: 12px; font-weight: 800; background: #EEF1F5; color: #42526A; border-radius: 999px; padding: 3px 10px; }
.pi-colonne ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pi-colonne li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; color: var(--nuit); text-decoration: none; }
.pi-colonne li a:hover { background: #F6F2EA; }
.pi-colonne li strong { font-size: 14.5px; line-height: 1.35; } .pi-colonne li span { font-size: 12.5px; color: var(--ardoise, #5A6B80); }
.pi-vide { margin: 0; font-size: 14px; color: var(--ardoise, #5A6B80); }
.pi-astuce { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: #7A4410; background: #FBF1DF; border-radius: 12px; padding: 10px 14px; }
.pi-question { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: #F6EFE2; border: 1px solid #EBD9B4; }
.pi-question div { display: flex; flex-direction: column; gap: 4px; } .pi-question strong { font-size: 18px; color: var(--nuit); } .pi-question span { font-size: 14.5px; color: var(--ardoise, #5A6B80); }
.pi-question .bouton { align-self: flex-start; }
.hist-bloc { display: grid; gap: 12px; padding: 26px 22px; border-radius: 24px; background: var(--blanc); border: 1px solid var(--filet); }
.hist-num { font: 700 44px/1 var(--titre); color: var(--or); }
.hist-bloc h2 { margin: 0 0 6px; font-family: var(--titre); font-size: 26px; color: var(--nuit); }
.hist-bloc h2 em, .hist-equipe h2 em { font-style: normal; color: var(--or-fonce, #9A7433); }
.hist-engagements { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.hist-engagements li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #F6F2EA; font-weight: 600; color: var(--nuit); font-size: 15px; }
.hist-engagements svg { flex-shrink: 0; color: #2F6F5B; }
.hist-chapo { max-width: 560px; margin: 10px auto 0; color: var(--ardoise, #5A6B80); }
.hist-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 26px; }
.hist-membre { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 20px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--filet); }
.hist-membre img, .hist-initiales { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--or); margin-bottom: 10px; }
.hist-initiales { display: grid; place-items: center; background: linear-gradient(150deg, #173A64, #0A1628); color: var(--or); font: 700 38px/1 var(--titre); }
.hist-membre h3 { margin: 0; font-size: 18px; color: var(--nuit); }
.hist-fonction { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--or-fonce, #9A7433); }
.hist-presentation { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ardoise, #5A6B80); }
.hist-lien { margin-top: 6px; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.eq-form h2 { margin: 0 0 12px; font-size: 18px; }
.eq-champs { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 12px; }
.eq-entete { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.eq-entete img, .eq-sans-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.eq-sans-photo { display: grid; place-items: center; background: #EEF1F5; color: #56657C; }
.eq-entete h2 { margin: 0; }
@media (min-width: 760px) {
  .pi-domaines { grid-template-columns: repeat(3, 1fr); }
  .pi-fiches { grid-template-columns: repeat(2, 1fr); }
  .pi-colonnes { grid-template-columns: repeat(3, 1fr); }
  .pi-question { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; }
  .pi-question .bouton { align-self: center; }
  .pi-cadre { padding: 32px 36px; }
  .hist-bloc { grid-template-columns: 90px 1fr; padding: 34px 36px; }
  .eq-champs { grid-template-columns: repeat(3, 1fr); } .eq-large { grid-column: 1 / -1; }
}
.acc-rubriques .acc-rubrique.or { grid-column: 1 / -1; }

/* 2.2.0 — huit rubriques dans la barre du haut : on resserre sur les écrans moyens */
@media (min-width: 1200px) and (max-width: 1699px) {
  .nav-principale ul { gap: 0; }
  .nav-principale a { padding: 0 8px; font-size: 13px; }
  .entete .conteneur { gap: 8px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .marque .nom { font-size: 17px; }
  .actions-entete .bouton { padding: 0 12px; font-size: 13px; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  .nav-principale { display: none; }
  .entete .bouton-menu { display: inline-flex !important; }
}

/* 2.2.0 — l'équipe : deux membres par ligne sur téléphone */
@media (max-width: 599px) {
  .hist-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .hist-membre { padding: 18px 10px 16px; border-radius: 18px; gap: 4px; }
  .hist-membre img, .hist-initiales { width: 84px; height: 84px; margin-bottom: 8px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--or); }
  .hist-initiales { font-size: 28px; }
  .hist-membre h3 { font-size: 15px; line-height: 1.25; }
  .hist-fonction { font-size: 10.5px; letter-spacing: .05em; line-height: 1.35; }
  .hist-presentation { font-size: 13px; line-height: 1.45; }
  .hist-membre h3, .hist-fonction, .hist-presentation { overflow-wrap: break-word; hyphens: auto; }
  .hist-lien { font-size: 12.5px; }
}

/* ── 2.2.1 — Polices de la nouvelle version (5 octobre 2026) ──────────────────────────
   Les couleurs restent celles-ci. On reprend la typographie de la nouvelle version :
   Cormorant seulement pour les grands titres, Manrope pour les petits titres, étiquettes et boutons,
   Inter pour le texte courant. */
@font-face { font-family: "Cormorant"; font-weight: 700; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-italic.woff2") format("woff2"); }
.surtitre, .pr-filet, .pr-comparer-tete span, .tiroir .actions-tiroir .bouton, .fiche-texte-cat, .etiquette-cat, .som-sur {
  font-family: var(--titre) !important; font-style: normal !important; font-weight: 800 !important;
  font-size: 12.5px !important; letter-spacing: .16em !important; text-transform: uppercase;
}
.pr-assistant-txt strong, .menu-assistant strong, .pr-telecharger strong, .acc-rubrique strong, .fiche-texte-tete strong,
.bib-doc-titre, .installer-txt strong, .som-num, .som-chiffre strong, .acc-rubrique-num, .adm-cote .groupe {
  font-family: var(--titre) !important; font-style: normal; font-weight: 800; letter-spacing: -.01em;
}
.acc-rubrique strong, .fiche-texte-tete strong, .bib-doc-titre { font-size: 17px; line-height: 1.2; }
.pr-assistant-txt strong, .pr-telecharger strong, .installer-txt strong, .menu-assistant strong { font-size: 17px; }
.som-chiffre strong { font-size: 34px; } .som-num, .acc-rubrique-num { font-size: 22px; }
body { font-family: var(--sans); }
/* 2.2.2 — Ligne « Bibliothèque du droit guinéen » à la taille de la nouvelle version */
.pr-filet { font-size: clamp(10.5px, 1.1vw, 12.5px) !important; font-weight: 700 !important; letter-spacing: .2em !important; gap: 8px; }
/* 2.2.3 — Assistant : vraie IA (repris de la 2.4.0, aux couleurs de la 2.2) */
.bulle-ia .note-hors-base { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(194,155,82,.14); border-left: 3px solid #C29B52; font-size: 13.5px; line-height: 1.45; color: #5A4520; }
.conversation .tete .nouvelle { margin-left: auto; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #FFFFFF; border-radius: 999px; padding: 7px 12px; font: 700 12.5px var(--titre); cursor: pointer; white-space: nowrap; }
.conversation .tete .nouvelle:hover { border-color: #E2C07A; color: #E2C07A; }
.etat-ia { display: inline-flex; align-items: center; gap: 6px; }
.etat-ia::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1E9E5A; box-shadow: 0 0 0 3px rgba(30,158,90,.18); }
.etat-ia.recherche::before { background: #C29B52; box-shadow: 0 0 0 3px rgba(184,146,74,.2); }
.bulle-ia a.renvoi { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; margin: 0 1px; border-radius: 6px; background: #0A1B38; color: #E2C07A; font: 800 11px var(--titre); text-decoration: none; vertical-align: 2px; }
.bulle-ia a.renvoi:hover { background: #C29B52; color: #0A1B38; }
@media (max-width: 560px) { .conversation .tete .lg { display: none; } }
/* ── 2.2.4 — Réponses de l'assistant dessinées + panneau sans débordement (5 octobre 2026) ── */
.bulle.bulle-rep, .acc-fil .bulle.bulle-rep { max-width: 100%; width: 100%; padding: 0; overflow: hidden; background: var(--blanc); border: 1px solid var(--filet); border-radius: 18px; border-top-left-radius: 6px; box-shadow: 0 18px 40px -30px rgba(11,27,48,.55); font-size: 15px; line-height: 1.6; }
.bulle, .acc-fil .bulle { min-width: 0; overflow-wrap: anywhere; }
.rep-tete { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: linear-gradient(120deg, #0F2540, #16345A); color: #FFFFFF; }
.rep-sceau { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: var(--nuit); flex-shrink: 0; }
.rep-sceau svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rep-qui { font: 800 13px/1.2 var(--titre); letter-spacing: -.005em; flex: 1; min-width: 0; }
.rep-badge { flex-shrink: 0; padding: 3px 9px; border-radius: 999px; font: 700 10.5px/1.3 var(--titre); letter-spacing: .04em; text-transform: uppercase; }
.rep-badge.cite { background: rgba(95,211,160,.16); color: #8FE3BE; border: 1px solid rgba(95,211,160,.35); }
.rep-badge.general { background: rgba(201,160,92,.18); color: #E8D9B8; border: 1px solid rgba(201,160,92,.45); }
.rep-badge.recherche { background: rgba(255,255,255,.1); color: #DCE4EE; border: 1px solid rgba(255,255,255,.22); }
.rep-corps { padding: 14px 16px 4px; color: var(--ardoise); }
.rep-corps p { margin: 0 0 10px; }
.rep-corps .rep-essentiel { position: relative; padding: 10px 12px 10px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--or-voile); color: var(--encre); font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.rep-corps .rep-essentiel::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--or); }
.rep-corps strong { color: var(--encre); font-weight: 700; }
.rep-corps ul, .rep-corps ol { margin: 0 0 10px; padding-left: 20px; }
.rep-corps li { margin-bottom: 4px; }
.rep-corps li::marker { color: var(--or); }
.bulle-rep a.renvoi { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; margin: 0 1px; border-radius: 6px; background: #0A1B38; color: #E2C07A; font: 800 11px var(--titre); text-decoration: none; vertical-align: 2px; }
.rep-concret { margin: 4px 12px 12px; padding: 12px 14px; border-radius: 14px; background: var(--vert-voile); border: 1px solid rgba(47,111,91,.22); color: #1F4D3F; }
.rep-concret-titre { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font: 800 12px/1.2 var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--vert); }
.rep-concret-titre svg, .rep-coche svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rep-concret p { margin: 0 0 8px; } .rep-concret p:last-child { margin-bottom: 0; }
.rep-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rep-etapes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.rep-coche { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: #FFFFFF; margin-top: 1px; }
.rep-avert { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; margin: 0 12px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(201,160,92,.13); color: #5A4520; font-size: 13px; line-height: 1.45; }
.rep-avert svg { width: 18px; height: 18px; fill: none; stroke: var(--or-fonce); stroke-width: 1.8; stroke-linecap: round; }
.rep-sources { margin: 0 12px 10px; }
.rep-sources-titre { display: flex; align-items: center; gap: 8px; margin: 2px 2px 8px; font: 800 11.5px/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); }
.rep-sources-titre span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--or-voile); color: var(--or-fonce); letter-spacing: 0; }
.rep-sources ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rep-source a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--filet); background: var(--papier); color: var(--encre); text-decoration: none; transition: border-color .2s, transform .2s; }
.rep-source a:hover { border-color: var(--or); transform: translateY(-1px); color: var(--encre); }
.rep-num { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--bleu); color: var(--or); font: 800 12.5px var(--titre); }
.rep-src-txt { min-width: 0; display: grid; gap: 3px; }
.rep-src-txt strong { font: 700 14px/1.3 var(--titre); color: var(--encre); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rep-src-txt small { font-size: 12px; line-height: 1.35; color: var(--gris); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rep-src-txt em { font-style: normal; font-size: 13px; line-height: 1.45; color: var(--ardoise); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rep-pastilles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.rep-pastilles b { padding: 2px 8px; border-radius: 999px; font: 700 10.5px/1.4 var(--titre); letter-spacing: .02em; }
.rep-pastilles b.ok { background: var(--vert-voile); color: var(--vert); }
.rep-pastilles b.nv { background: var(--rouge-voile); color: var(--rouge); }
.rep-pastilles i { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font: 700 12px var(--titre); font-style: normal; color: var(--or-texte); }
.rep-pastilles i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rep-cache { display: none; }
.rep-plus { width: 100%; margin-top: 8px; padding: 9px; border-radius: 12px; border: 1px dashed var(--filet-2); background: transparent; color: var(--or-texte); font: 700 13px var(--titre); cursor: pointer; }
.rep-actions { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--filet); background: var(--papier); }
.rep-actions button { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--filet); background: var(--blanc); color: var(--encre); font: 700 12.5px var(--titre); cursor: pointer; white-space: nowrap; }
.rep-actions button:hover { border-color: var(--or); }
.rep-actions button.fait { background: var(--vert-voile); border-color: var(--vert); color: var(--vert); }
.rep-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.rep-actions button[data-rep-wa] svg { stroke: #1E9E5A; }
/* Panneau flottant : rien ne dépasse, le texte tapé ne fait plus zoomer l'iPhone */
.af-panneau { overflow-x: hidden; }
.af-panneau .acc-fil { overflow-x: hidden; padding: 12px 12px 6px; gap: 10px; }
.acc-saisie textarea { min-width: 0; font-size: 16px; }
.acc-suggestions { max-width: 100%; flex-shrink: 0; }
.af-panneau .acc-assistant-tete, .af-panneau .acc-saisie, .af-panneau .acc-note { flex-shrink: 0; }
@media (max-width: 600px) {
  .af-panneau { top: var(--vvt, 0px); bottom: auto; left: 0; right: 0; width: 100%; height: var(--vvh, 100dvh); max-height: none; border-radius: 0; border: 0; padding-bottom: 0; animation: none; }
  .af-panneau .acc-assistant-tete { padding-top: calc(10px + env(safe-area-inset-top)); }
  .af-panneau .acc-saisie { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .af-panneau .acc-note { display: none; }
  html.af-ouvert, html.af-ouvert body { overflow: hidden; }
}
.acc-fil > *, .conversation .fil > * { flex-shrink: 0; }
/* 2.2.4 (suite) — accueil illustré, thème de la réponse, étapes numérotées, page assistant sur téléphone */
.bienvenue { width: 100%; padding: 16px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: 0 18px 40px -32px rgba(11,27,48,.5); }
.bv-tete { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.bv-embleme svg { width: 56px; height: 56px; display: block; fill: none; stroke: var(--nuit); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bv-embleme .f { fill: var(--or); stroke: none; } .bv-embleme .a { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.2; stroke-dasharray: 2 3; }
.bv-titre { margin: 0; font: 800 19px/1.2 var(--titre); color: var(--encre); letter-spacing: -.02em; }
.bv-texte { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--gris); }
.bv-sur { margin: 14px 0 8px; font: 800 11px/1 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); }
.bv-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bv-theme { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--filet); background: var(--papier); text-align: left; cursor: pointer; color: var(--encre); transition: border-color .2s, transform .2s, background .2s; }
.bv-theme:hover { border-color: var(--or); background: var(--blanc); transform: translateY(-2px); }
.bv-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.bv-ic svg, .rep-sceau svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bv-ic svg .p, .rep-sceau svg .p { fill: currentColor; fill-opacity: .16; }
.bv-txt { min-width: 0; display: grid; gap: 1px; }
.bv-txt strong { font: 800 13.5px/1.2 var(--titre); }
.bv-txt small { font-size: 11.5px; line-height: 1.3; color: var(--gris); }
.t-travail .bv-ic, .rep-tete.t-travail .rep-sceau { background: #E4EAF2; color: #2B5487; }
.t-famille .bv-ic, .rep-tete.t-famille .rep-sceau { background: #F2E6E2; color: #A0473A; }
.t-foncier .bv-ic, .rep-tete.t-foncier .rep-sceau { background: #E2EEE8; color: #2F6F5B; }
.t-entreprise .bv-ic, .rep-tete.t-entreprise .rep-sceau { background: #F6EEDF; color: #86662C; }
.t-penal .bv-ic, .rep-tete.t-penal .rep-sceau { background: #EAE6F2; color: #5B4A8A; }
.t-constitution .bv-ic, .rep-tete.t-constitution .rep-sceau { background: #E8EDF0; color: #0F2540; }
.bv-note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--gris); }
.bienvenue.compacte { padding: 14px; }
.bienvenue.compacte .bv-tete { grid-template-columns: 46px minmax(0, 1fr); } .bienvenue.compacte .bv-embleme svg { width: 46px; height: 46px; }
.bienvenue.compacte .bv-titre { font-size: 17px; }
/* En-tête de la réponse : l'illustration du thème */
.rep-tete { padding: 11px 14px; }
.rep-sceau { width: 34px; height: 34px; border-radius: 11px; }
.rep-qui { display: grid; gap: 1px; font-size: 14.5px; }
.rep-qui small { font: 700 10px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.rep-section { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; font: 800 11px/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-3); }
.rep-section svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Étapes numérotées, reliées par un trait */
.rep-etapes { position: relative; counter-reset: none; }
.rep-etapes li { position: relative; }
.rep-etapes li:not(:last-child)::after { content: ""; position: absolute; left: 10.5px; top: 25px; bottom: -8px; width: 1.5px; background: rgba(47,111,91,.3); }
.rep-coche { font: 800 11.5px/1 var(--titre); }
/* Page /assistant */
.saisie-assistant textarea { min-width: 0; resize: none; }
.saisie-assistant .bouton { flex-shrink: 0; width: 52px; height: 52px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
@media (max-width: 999px) {
  .assistant { display: flex; flex-direction: column; padding-top: 16px; }
  .assistant > aside { order: 2; }
  .assistant > aside .question-type { display: none; }
  .assistant > aside > .surtitre:first-child { display: none; }
}
@media (max-width: 600px) {
  .assistant { padding-top: 0; }
  .conversation { margin: 0 calc(-1 * var(--gouttiere)); border-radius: 0; border-left: 0; border-right: 0; min-height: 0; }
  .conversation .tete { padding: 12px 14px; }
  .conversation .fil { height: calc(100dvh - 60px - 64px - 76px); max-height: none; padding: 12px; gap: 12px; }
  .saisie-assistant { position: sticky; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .saisie-assistant textarea { min-height: 46px; padding: 11px 16px; }
  .saisie-assistant .bouton { width: 46px; height: 46px; }
  .bv-txt small { display: none; }
}
/* ── 2.2.6 — La salle de l'assistant : une page qui ne contient que la conversation ── */
.page-assistant { background: var(--ivoire); }
.page-assistant .pied, .page-assistant .installer { display: none !important; }
.salle { --haut-site: 64px; display: flex; flex-direction: column; width: 100%; max-width: 860px; margin: 0 auto; height: calc(100dvh - var(--haut-site)); background: var(--papier); }
@media (min-width: 900px) { .salle { margin: 18px auto; height: calc(100dvh - var(--haut-site) - 36px); border-radius: 26px; border: 1px solid var(--filet); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(11,27,48,.55); } }
.salle-tete { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: radial-gradient(420px 160px at 85% 0%, rgba(201,160,92,.35), rgba(201,160,92,0) 70%), linear-gradient(120deg, #0B1B30, #16345A); color: #FFFFFF; }
.salle-embleme { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: var(--nuit); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(201,160,92,.22); }
.salle-titre { flex: 1; min-width: 0; }
.salle-titre h1 { margin: 0; font: 800 18px/1.15 var(--titre); color: #FFFFFF; letter-spacing: -.02em; }
.salle-titre .etat-ia { font-size: 12.5px; color: #C9D3DE; }
.salle-nouvelle { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #FFFFFF; font: 700 13px var(--titre); cursor: pointer; }
.salle-nouvelle:hover { border-color: var(--or); color: #E8D9B8; }
.salle-fil { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 14px; padding: 16px 14px 18px; scroll-behavior: smooth; }
.salle-fil > * { flex-shrink: 0; }
@media (min-width: 700px) { .salle-fil { padding: 24px 28px; } }
.salle-fil .bulle { max-width: 100%; }
.salle-fil .bulle-moi { max-width: 86%; padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: var(--bleu); color: #FFFFFF; font-weight: 500; font-size: 15.5px; line-height: 1.5; align-self: flex-end; animation: ouverture-monte .3s ease both; }
.salle-fil .bulle-ia:not(.bulle-rep) { align-self: flex-start; max-width: 92%; padding: 12px 16px; background: var(--blanc); border: 1px solid var(--filet); border-radius: 20px 20px 20px 6px; }
.salle-fil .bulle-rep { animation: ouverture-monte .35s ease both; }
.salle-saisie { flex-shrink: 0; display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 8px 8px 8px 16px; border-radius: 26px; background: var(--blanc); border: 1.5px solid var(--filet); box-shadow: 0 12px 30px -22px rgba(11,27,48,.55); }
.salle-saisie:focus-within { border-color: var(--or); }
.salle-saisie textarea { flex: 1; min-width: 0; min-height: 40px; max-height: 140px; resize: none; border: 0; outline: 0; background: transparent; padding: 9px 0; font: 400 16px/1.4 var(--sans); color: var(--encre); }
.salle-saisie button { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #E3C68E, var(--or)); color: var(--nuit); cursor: pointer; box-shadow: 0 8px 18px -10px rgba(122,92,36,.8); }
.salle-saisie button:disabled { opacity: .5; }
.salle-note { flex-shrink: 0; margin: 6px 0 calc(8px + env(safe-area-inset-bottom)); text-align: center; font-size: 11.5px; color: var(--gris); }
.salle .bienvenue { margin-top: 4px; }
@media (min-width: 700px) { .salle .bv-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .salle .bv-txt small { display: block; } }
/* Schéma du parcours dans la réponse */
.rep-schema { margin: 0 12px 12px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, #0F2540, #16345A); color: #FFFFFF; }
.rep-schema-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rep-schema-tete > svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--or); color: var(--nuit); flex-shrink: 0; }
.rep-schema-tete span { display: grid; gap: 2px; font: 800 15px/1.25 var(--titre); }
.rep-schema-tete small { font: 700 10px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.rep-flux { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rep-flux li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-bottom: 14px; }
.rep-flux li:last-child { padding-bottom: 0; }
.rep-flux li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: linear-gradient(var(--or), rgba(201,160,92,.25)); }
.rep-flux li:not(:last-child)::after { content: ""; position: absolute; left: 12px; bottom: 2px; border: 5px solid transparent; border-top: 6px solid rgba(201,160,92,.6); }
.rf-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--nuit); font: 800 14px var(--titre); box-shadow: 0 0 0 3px rgba(201,160,92,.45); position: relative; z-index: 1; }
.rep-flux li:last-child .rf-num { background: var(--or); }
.rf-carte { min-width: 0; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.rf-carte strong { display: block; font: 800 14px/1.3 var(--titre); color: #FFFFFF; }
.rf-carte span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #C9D3DE; }
@media (min-width: 700px) {
  .rep-flux { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
  .rep-flux li { grid-template-columns: 1fr; padding-bottom: 0; }
  .rep-flux li:not(:last-child)::before { left: 34px; right: -10px; top: 16px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--or), rgba(201,160,92,.25)); }
  .rep-flux li:not(:last-child)::after { left: auto; right: -8px; top: 11px; bottom: auto; border: 6px solid transparent; border-left: 7px solid rgba(201,160,92,.7); }
}
.rep-flux li { align-content: start; }
@media (min-width: 700px) { .rep-flux li { grid-template-rows: auto 1fr; } .rf-carte { height: 100%; } }
@media (max-width: 899px) { .salle { --haut-site: 59px; } }
@media (min-width: 900px) { .salle { --haut-site: 65px; } }

/* ==========================================================================
   2.2.9 — Photo de l'auteur · réseaux sociaux · lecteur protégé
   ========================================================================== */

/* Photo de l'auteur : fiche doctrine (colonne), article (signature), listes (pastille) */
.carte-auteur { display: flex; align-items: center; gap: 16px; padding: 18px; margin-bottom: 16px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-l); box-shadow: var(--ombre); }
.carte-auteur img { width: 84px; height: 84px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 3px solid var(--blanc); box-shadow: 0 0 0 2px var(--or); }
.carte-auteur div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.carte-auteur-sur, .signature-sur { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); }
.carte-auteur strong { font-family: var(--titre); font-size: 17px; line-height: 1.25; color: var(--encre); overflow-wrap: anywhere; }
.carte-auteur span:last-child:not(.carte-auteur-sur) { font-size: 13.5px; color: var(--gris); }

.signature-auteur { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; margin-bottom: 22px; background: var(--or-voile); border-radius: 999px; width: fit-content; max-width: 100%; }
.signature-auteur img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 2px solid var(--blanc); box-shadow: 0 0 0 2px var(--or); }
.signature-auteur div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.signature-auteur strong { font-family: var(--titre); font-size: 16px; color: var(--encre); }
.signature-auteur span:last-child:not(.signature-sur) { font-size: 13px; color: var(--gris); }
@media (max-width: 520px) { .signature-auteur { border-radius: var(--rayon-l); } }

.meta-auteur { display: inline-flex; align-items: center; gap: 7px; }
.meta-auteur img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--or); flex-shrink: 0; }

/* Administration : champ photo */
.adm-photo-auteur { display: flex; align-items: center; gap: 14px; }
.adm-photo-auteur img, .adm-photo-vide { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px var(--or); }
.adm-photo-vide { display: grid; place-items: center; background: var(--ivoire); color: var(--gris); }
.champ-reseau label { display: inline-flex; align-items: center; gap: 8px; }
.reseau-pastille { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bleu); color: var(--blanc); }

/* Pied de page : « Suivez-nous sur les réseaux sociaux » */
.pied-reseaux { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 36px; padding: 22px 0; border-top: 1px solid rgba(201,160,92,.28); }
.pied .pied-reseaux h2 { margin: 0; }
.pied-reseaux ul { display: flex; flex-wrap: wrap; gap: 12px; }
.pied .pied-reseaux li a.reseau { width: 46px; height: 46px; min-height: 46px; justify-content: center; border-radius: 50%; color: var(--or); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px rgba(201,160,92,.55); transition: background .2s, color .2s, transform .2s; }
.pied .pied-reseaux li a.reseau:hover, .pied .pied-reseaux li a.reseau:focus-visible { background: var(--or); color: var(--nuit); transform: translateY(-2px); }
@media (max-width: 600px) { .pied-reseaux { flex-direction: column; align-items: flex-start; } }

/* Fiche doctrine : mention sous le bouton de lecture */
.note-protege { display: flex; align-items: flex-start; gap: 7px; margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--gris); }
.note-protege svg { flex-shrink: 0; margin-top: 1px; color: var(--or-texte); }

/* Lecteur protégé */
.lecteur-page { background: #E9E5DC; min-height: 100vh; padding-bottom: 60px; }
.lecteur-tete { position: sticky; top: 0; z-index: 30; background: var(--bleu); color: var(--blanc); box-shadow: 0 8px 24px -16px rgba(0,0,0,.6); }
.lecteur-tete-in { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.lecteur-retour { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; color: var(--blanc); background: rgba(255,255,255,.08); }
.lecteur-retour:hover { background: rgba(255,255,255,.16); }
.lecteur-titre { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lecteur-sur { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.lecteur-titre strong { font-family: var(--titre); font-size: 15.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lecteur-auteur { font-size: 12.5px; color: #C9D3DE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lecteur-outils { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.lecteur-bouton { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--blanc); font-size: 20px; line-height: 1; cursor: pointer; }
.lecteur-bouton:hover { background: var(--or); color: var(--nuit); }
.lecteur-compteur { min-width: 74px; text-align: center; font-size: 12.5px; font-variant-numeric: tabular-nums; color: #E4EAF2; }
@media (max-width: 560px) { .lecteur-compteur { min-width: 0; font-size: 11.5px; } .lecteur-auteur { display: none; } }
.lecteur-bandeau { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; margin-bottom: 16px; padding-top: 12px; padding-bottom: 12px; background: var(--or-voile); border-radius: var(--rayon); color: var(--or-fonce); }
.lecteur-bandeau p { margin: 0; font-size: 13px; line-height: 1.45; }
.lecteur-bandeau svg { flex-shrink: 0; margin-top: 2px; }
.liseuse { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lecteur-pages { --lecteur-zoom: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 12px; overflow-x: auto; }
.lecteur-feuille { position: relative; width: calc(min(100%, 860px) * var(--lecteur-zoom)); max-width: none; flex-shrink: 0; background: var(--blanc); border-radius: 4px; box-shadow: 0 1px 2px rgba(11,27,48,.08), 0 10px 26px -14px rgba(11,27,48,.35); overflow: hidden; }
.lecteur-feuille canvas { display: block; width: 100% !important; height: auto !important; pointer-events: none; }
.lecteur-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titre); font-size: 26px; color: var(--filet-2); }
.lecteur-attente { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 70px 20px; }
.lecteur-attente[hidden] { display: none; }
.lecteur-roue { width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; border: 3px solid var(--or-clair); border-top-color: var(--or); animation: lecteur-tourne .9s linear infinite; }
@keyframes lecteur-tourne { to { transform: rotate(360deg); } }
.lecteur-message { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--nuit); color: var(--blanc); font-size: 13.5px; box-shadow: var(--ombre-forte); }
.lecteur-message[hidden] { display: none; }
.lecteur-impression { display: none; }
@media print {
  .liseuse, .lecteur-tete, .lecteur-bandeau { display: none !important; }
  .lecteur-impression { display: block !important; padding: 40px; font-size: 16px; }
}
.adm-photo-auteur label.case { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.adm-photo-auteur label.case input { width: auto; margin: 0; }

/* 2.2.10 — l'équipe en portraits (13 oct.) : grande photo verticale, nom posé sur la photo,
   texte court en dessous. Sur téléphone, on fait défiler les portraits du doigt (le suivant dépasse). */
.eq-rangee { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); justify-content: center; gap: 24px; margin-top: 30px; }
.eq-carte { display: flex; flex-direction: column; min-width: 0; }
.eq-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #173A64, #0A1628); box-shadow: 0 24px 50px -30px rgba(10,27,48,.65); }
.eq-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .6s ease; }
.eq-carte:hover .eq-portrait img { transform: scale(1.03); }
.eq-initiales { position: absolute; inset: 0; display: grid; place-items: center; font: 600 64px/1 var(--apparat); color: var(--or); }
.eq-legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 22px 20px; background: linear-gradient(to top, rgba(8,20,38,.94) 0%, rgba(8,20,38,.72) 45%, rgba(8,20,38,0) 100%); color: var(--blanc); }
.eq-fonction { display: block; margin-bottom: 6px; font: 700 10.5px/1.4 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.eq-legende h3 { margin: 0; font: 600 27px/1.08 var(--apparat); color: var(--blanc); letter-spacing: .005em; }
.eq-texte { margin: 16px 4px 0; font-size: 14.5px; line-height: 1.65; color: var(--ardoise); hyphens: manual; -webkit-hyphens: manual; }
.eq-replie { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eq-replie.eq-ouvert { display: block; -webkit-line-clamp: unset; }
.eq-suite { align-self: flex-start; margin: 8px 4px 0; padding: 0 0 2px; border: 0; border-bottom: 1.5px solid var(--or); background: none; font: 700 13px var(--titre); color: var(--encre); cursor: pointer; }
.eq-suite[hidden] { display: none; }
.eq-points { display: none; }
@media (max-width: 599px) {
  .eq-rangee { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 22px -16px 0; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .eq-rangee::-webkit-scrollbar { display: none; }
  .eq-carte { flex: 0 0 74%; scroll-snap-align: start; }
  .eq-rangee { scroll-padding-left: 16px; justify-content: flex-start; }
  .eq-portrait { aspect-ratio: 5 / 6; border-radius: 22px; }
  .eq-rangee:has(.eq-carte:only-child) .eq-carte { flex-basis: 100%; }
  .eq-legende h3 { font-size: 25px; }
  .eq-points { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
  .eq-points span { width: 7px; height: 7px; border-radius: 99px; background: var(--filet-2); transition: width .25s, background .25s; }
  .eq-points span.actif { width: 22px; background: var(--or); }
}

/* 2.2.10 — « Notre histoire » en chapitres (13 oct.) : sommaire, un chapitre par partie, cartes, engagements à part */
.hc-sommaire { position: sticky; top: 64px; z-index: 20; background: rgba(244,241,234,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--filet); }
.hc-sommaire { overflow: hidden; }
.hc-sommaire ol { display: flex; gap: 8px; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 12px 0; list-style: none; overflow-x: auto !important; scrollbar-width: none; }
.hc-sommaire ol::-webkit-scrollbar { display: none; }
.hc-sommaire a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); font: 600 13.5px var(--titre); color: var(--encre); text-decoration: none; transition: border-color .2s, background .2s; }
.hc-sommaire a:hover { border-color: var(--or); background: var(--or-voile); }
.hc-sommaire a span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px; background: var(--bleu); color: var(--or); font-size: 11.5px; font-weight: 800; }

.hist .hc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 56px 0; border-bottom: 1px solid var(--filet); scroll-margin-top: 140px; }
.hist .hc:first-child { padding-top: 40px; }
.hc-tete { display: flex; align-items: baseline; gap: 16px; }
.hc-num { font: 600 54px/1 var(--apparat); color: var(--or); flex-shrink: 0; }
.hc-tete h2 { margin: 0; font: 600 clamp(26px, 3vw, 36px)/1.1 var(--apparat); color: var(--encre); }
.hc-tete h2 em { font-style: italic; color: var(--or-fonce); }
.hc-corps { max-width: 720px; }
.hc-corps p { font-size: 16.5px; line-height: 1.75; color: var(--ardoise); margin: 0 0 16px; }
.hc-corps p strong { color: var(--encre); }
.hc-accroche { margin: 4px 0 14px; font: 600 clamp(21px, 2.3vw, 25px)/1.25 var(--titre); color: var(--encre); letter-spacing: -.01em; }
.hc-accroche + .hc-accroche { margin-top: -6px; font-size: 18px; color: var(--or-texte); }
.hc-corps p + .hc-accroche, .hc-corps ul + .hc-accroche, .hc-cartes + .hc-accroche { margin-top: 34px; }
.hc-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 10px 0 22px; }
.hc-carte { position: relative; padding: 20px 20px 18px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: 0 1px 2px rgba(11,27,48,.03); }
.hc-carte::before { content: ""; position: absolute; left: 20px; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--or); }
.hc-carte strong { display: block; margin-bottom: 6px; font: 700 15.5px/1.3 var(--titre); color: var(--encre); }
.hc-carte p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.hc-coches { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; gap: 10px; }
.hc-coches li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--ardoise); }
.hc-coches li svg { flex-shrink: 0; margin-top: 3px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--vert-voile); color: var(--vert); }

.hc-engagements { margin: 56px 0 8px; padding: 40px 28px; border-radius: 28px; background: radial-gradient(120% 140% at 100% 0%, #1B3F6B 0%, var(--nuit) 60%); color: var(--blanc); text-align: center; }
.hc-eng-sur { margin: 0 0 6px; font: 700 11.5px var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.hc-engagements h2 { margin: 0 0 24px; font: 600 clamp(26px, 3vw, 34px)/1.1 var(--apparat); color: var(--blanc); }
.hc-engagements ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 auto; padding: 0; max-width: 980px; list-style: none; text-align: left; }
.hc-engagements li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(201,160,92,.25); font: 600 15px/1.4 var(--titre); }
.hc-eng-ic { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--or); color: var(--nuit); }

@media (min-width: 960px) {
  .hist .hc { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding: 72px 0; }
  .hc-tete { flex-direction: column; gap: 10px; position: sticky; top: 150px; align-self: start; }
  .hc-num { font-size: 72px; }
}
@media (max-width: 599px) {
  .hc-sommaire { top: 58px; }
  .hist .hc { padding: 40px 0; }
  .hc-num { font-size: 44px; }
  .hc-corps p { font-size: 16px; }
  .hc-cartes { grid-template-columns: 1fr; }
  .hc-engagements { padding: 32px 18px; border-radius: 22px; }
}
.hist { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
.hist .hist-equipe { margin-top: 64px; }
.hist .pi-question { margin-top: 56px; }
@media (min-width: 600px) { .hc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hc-carte p::first-letter { text-transform: uppercase; }
.hc-engagements ul { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* 2.2.10 b — « Notre histoire », style B choisi par la fondatrice (13 oct., 19 h 49) :
   chaque chapitre est une grande bande pleine largeur, couleurs en alternance blanc / bleu nuit / or / ivoire. */
.hc-bandes .hc { padding: 64px 0; border-bottom: 0; scroll-margin-top: 130px; }
.hc-bandes .hc-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hc-bandes .hc-tete { flex-direction: column; align-items: flex-start; gap: 6px; }
.hc-bandes .hc-num { font: 600 76px/.9 var(--apparat); color: var(--or); }
.hc-bandes .hc-tete h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--titre); letter-spacing: -.015em; color: var(--encre); }
.hc-bandes .hc-tete h2 em { font-style: normal; color: inherit; }
.hc-blanc { background: var(--blanc); }
.hc-ivoire { background: var(--papier); }
.hc-or { background: #F1E6CF; }
.hc-nuit { background: radial-gradient(130% 120% at 100% 0%, #183B66 0%, var(--nuit) 62%); }
.hc-nuit .hc-tete h2, .hc-nuit .hc-accroche { color: var(--blanc); }
.hc-nuit .hc-corps p, .hc-nuit .hc-coches li { color: #C9D3DE; }
.hc-nuit .hc-corps p strong { color: var(--blanc); }
.hc-nuit .hc-accroche + .hc-accroche { color: var(--or); }
.hc-bandes .hc-carte { padding: 20px; border-radius: 18px; }
.hc-bandes .hc-carte::before { display: none; }
.hc-carte-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; background: var(--or); color: var(--nuit); }
.hc-carte-ic svg { stroke: currentColor; }
.hc-nuit .hc-carte { background: rgba(255,255,255,.06); border: 1px solid rgba(201,160,92,.35); box-shadow: none; }
.hc-nuit .hc-carte strong { color: var(--or); }
.hc-nuit .hc-carte p { color: #D5DCE6; }
.hc-or .hc-carte, .hc-ivoire .hc-carte { background: var(--blanc); border-color: rgba(201,160,92,.3); }
.hc-or .hc-coches li svg { background: var(--blanc); }
.hc-nuit .hc-coches li svg { background: rgba(255,255,255,.1); color: var(--or); }
@media (min-width: 960px) {
  .hc-bandes .hc { padding: 88px 0; }
  .hc-bandes .hc-in { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
  .hc-bandes .hc-tete { position: sticky; top: 150px; align-self: start; }
  .hc-bandes .hc-num { font-size: 96px; }
}
@media (max-width: 599px) {
  .hc-bandes .hc { padding: 44px 0; }
  .hc-bandes .hc-num { font-size: 60px; }
  .hc-bandes .hc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hc-bandes .hc-carte { padding: 14px; }
  .hc-bandes .hc-carte p { font-size: 13px; line-height: 1.5; }
  .hc-bandes .hc-carte strong { font-size: 14px; }
  .hc-carte-ic { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
}
.hc-bandes + .hist .hc-engagements { margin-top: 48px; }

/* 2.2.10 c — article et fiche : grande carte de l'auteur (photo agrandie), chapeau mis en valeur, intertitres soulignés d'or */
.auteur-carte { display: flex; align-items: center; gap: 22px; margin: 0 0 30px; padding: 18px; border-radius: 26px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: 0 22px 44px -32px rgba(11,27,48,.45); position: relative; overflow: hidden; }
.auteur-carte::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(201,160,92,.18), transparent 70%); pointer-events: none; }
.auteur-carte img { width: 150px; height: 150px; flex-shrink: 0; border-radius: 22px; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px var(--blanc), 0 0 0 6px var(--or); }
.auteur-carte-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.auteur-carte-sur { font: 700 11px var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); }
.auteur-carte strong { font: 600 clamp(24px, 3vw, 30px)/1.1 var(--apparat); color: var(--encre); }
.auteur-carte-qualite { font: 600 14.5px/1.4 var(--titre); color: var(--ardoise); }
.auteur-carte-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--gris); }
.auteur-carte-meta svg { color: var(--or-texte); }
@media (max-width: 599px) {
  .auteur-carte { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 18px 20px; }
  .auteur-carte img { width: 168px; height: 168px; border-radius: 50%; }
  .auteur-carte-txt { align-items: center; }
  .auteur-carte-meta { justify-content: center; }
}
.conteneur.etroit article > .chapo { padding: 4px 0 4px 18px; border-left: 3px solid var(--or); font-size: 18px; line-height: 1.6; color: var(--encre); }
.conteneur.etroit article .redaction h2 { position: relative; padding-bottom: 10px; margin-top: 36px; }
.conteneur.etroit article .redaction h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--or); }
/* Fiche doctrine : photo de l'auteur plus grande aussi */
.carte-auteur img { width: 108px; height: 108px; border-radius: 22px; object-position: 50% 20%; }

/* 2.2.12 — chapitres plus riches : devise, tuiles numérotées, encadré */
.hc-devise { margin: 0 0 22px !important; padding-left: 18px; border-left: 3px solid var(--or); font: 600 italic clamp(25px, 2.8vw, 33px)/1.2 var(--apparat) !important; color: var(--encre) !important; letter-spacing: .003em; }
.hc-nuit .hc-devise { color: var(--blanc) !important; }
.hc-tuiles { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; counter-reset: none; }
.hc-tuiles li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 18px; border-radius: 18px; background: var(--blanc); border: 1px solid rgba(201,160,92,.3); font: 600 15px/1.45 var(--titre); color: var(--encre); box-shadow: 0 14px 30px -26px rgba(11,27,48,.5); }
.hc-tuile-n { font: 600 40px/1 var(--apparat); color: var(--or); }
.hc-tuiles li span:last-child::first-letter { text-transform: uppercase; }
.hc-nuit .hc-tuiles li { background: rgba(255,255,255,.06); border-color: rgba(201,160,92,.35); color: var(--blanc); box-shadow: none; }
.hc-encart { display: flex; gap: 18px; align-items: flex-start; margin: 30px 0 6px; padding: 26px 24px; border-radius: 22px; background: radial-gradient(130% 140% at 100% 0%, #1B3F6B 0%, var(--nuit) 65%); color: var(--blanc); box-shadow: 0 26px 50px -30px rgba(11,27,48,.7); }
.hc-encart-ic { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--or); color: var(--nuit); }
.hc-encart h3 { margin: 0 0 8px; font: 600 26px/1.15 var(--apparat); color: var(--or); }
.hc-encart p { margin: 0 !important; color: #D5DCE6 !important; font-size: 16px; }
.hc-nuit .hc-encart { background: rgba(255,255,255,.06); border: 1px solid rgba(201,160,92,.35); box-shadow: none; }
@media (max-width: 599px) {
  .hc-tuiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hc-tuiles li { padding: 14px; font-size: 13.5px; gap: 6px; }
  .hc-tuile-n { font-size: 30px; }
  .hc-tuiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hc-encart { flex-direction: column; gap: 12px; padding: 22px 18px; }
}
.hc-corps ol.hc-tuiles, .redaction ol.hc-tuiles { padding-left: 0 !important; margin-left: 0 !important; }
.hc-corps ol.hc-tuiles li { margin: 0; }
.hc-bandes .hc-num { line-height: 1.05; padding-bottom: 8px; }

/* 2.2.12 — revue finale : boutons de la fiche texte (« Enregistrer dans ma bibliothèque » coupé sur téléphone) */
.outils-texte > a.bouton-petit { grid-column: 1 / -1; }
.outils-texte .bouton { white-space: normal; text-align: center; line-height: 1.25; min-height: 42px; height: auto; padding-top: 8px; padding-bottom: 8px; }
.outils-texte .bouton span { min-width: 0; }
/* 2.2.12 — jurisprudence encore vide : un vrai message d'attente */
.vide-bientot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; text-align: center; }
.vide-bientot p { max-width: 460px; margin: 0 0 6px; color: var(--gris); }
.vide-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--or-voile); color: var(--or-texte); }
/* 2.2.12 — actualité et fiches : deux colonnes sur ordinateur */
@media (min-width: 900px) {
  .conteneur.etroit .liste-cartes:has(> a.fiche-liste:nth-child(2)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
.conteneur.etroit:has(.liste-cartes) { max-width: 1080px; }
.liste-cartes .fiche-liste { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.liste-cartes .fiche-liste:hover { transform: translateY(-2px); border-color: rgba(201,160,92,.6); box-shadow: 0 20px 40px -30px rgba(11,27,48,.55); }

/* 2.2.13 — menu réorganisé (13 oct.) : familles, tuiles, carte de l'assistant, tout le site accessible */
.tiroir .panneau { width: min(92vw, 420px); gap: 16px; padding: 18px 18px 26px; }
.m2-rapide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m2-rapide a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--blanc); font: 700 13.5px var(--titre); text-decoration: none; }
.m2-rapide a svg { color: var(--or); }
.m2-rapide a[aria-current] { border-color: var(--or); }
.m2-section { display: flex; flex-direction: column; gap: 10px; }
.m2-titre { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font: 700 10.5px var(--titre); letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.m2-titre::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201,160,92,.45), transparent); }
.m2-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m2-tuile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; min-height: 92px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--blanc); text-decoration: none; transition: background .2s, border-color .2s; }
.m2-tuile:hover, .m2-ligne:hover { background: rgba(255,255,255,.1); }
.m2-tuile[aria-current], .m2-ligne[aria-current] { border-color: var(--or); background: rgba(201,160,92,.14); }
.m2-tuile .m2-txt strong { font: 700 14px/1.25 var(--titre); }
.m2-ic { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; background: rgba(201,160,92,.16); color: var(--or); }
.m2-liste { display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.m2-ligne { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid transparent; color: var(--blanc); text-decoration: none; }
.m2-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m2-txt strong { font: 700 14.5px/1.25 var(--titre); color: var(--blanc); }
.m2-txt small { font-size: 12px; line-height: 1.35; color: #B7C3D2; }
.m2-ia { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #E9C987, var(--or)); color: var(--nuit); text-decoration: none; box-shadow: 0 16px 34px -20px rgba(201,160,92,.8); }
.m2-ia .m2-ic { background: var(--nuit); color: var(--or); }
.m2-ia .m2-txt strong { color: var(--nuit); font-size: 15px; }
.m2-ia .m2-txt small { color: #3A3020; }
.m2-reseaux { display: flex; justify-content: center; gap: 10px; }
.m2-reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--or); box-shadow: inset 0 0 0 1.5px rgba(201,160,92,.5); }
.m2-legal { margin: 0; text-align: center; font-size: 11.5px; color: #8FA0B5; }
.m2-legal a { color: #B7C3D2; text-decoration: none; }
.tiroir .actions-tiroir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiroir .actions-tiroir .bouton { justify-content: center; letter-spacing: normal; text-transform: none; font-size: 14px; }
.tiroir .actions-tiroir .bouton:only-child { grid-column: 1 / -1; }
/* Sur ordinateur aussi : un bouton « Menu » ouvre ce tiroir (notre histoire, méthode, contact… y sont tous). */
.bouton-menu-libelle { display: none; }
@media (min-width: 1200px) {
  .entete .bouton-menu { display: inline-flex !important; }
  /* la place du bouton Menu : « Créer un compte » passe dans le menu et sur la page de connexion */
  .actions-entete a.bouton.lien-compte[href$="/inscription"] { display: none !important; }
}
@media (min-width: 1880px) {
  .actions-entete a.bouton.lien-compte[href$="/inscription"] { display: inline-flex !important; }
  .entete .bouton-menu { width: auto; gap: 8px; padding: 0 16px; border-radius: 999px; }
  .bouton-menu-libelle { display: inline; font: 700 13.5px var(--titre); }
}
.tiroir .actions-tiroir .bouton { letter-spacing: 0 !important; text-transform: none !important; font-family: var(--titre) !important; font-weight: 700 !important; }
/* 2.2.13 b — menu plus sobre et professionnel (13 oct., 20 h 06) : lignes fines, pas de grands blocs */
.tiroir .panneau { gap: 14px; }
.m2-rapide { gap: 6px; }
.m2-rapide a { min-height: 38px; border-radius: 11px; font-size: 13px; }
.m2-section { gap: 6px; }
.m2-titre { margin: 6px 0 0; padding-left: 4px; font-size: 10px; }
.m2-liste { gap: 0; padding: 0; border-radius: 16px; overflow: hidden; }
.m2-liste .m2-ligne { padding: 0 12px; min-height: 48px; border-radius: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.m2-liste .m2-ligne:last-child { border-bottom: 0; }
.m2-liste .m2-ligne > svg:last-child, .m2-ia > svg:last-child { margin-left: auto; flex-shrink: 0; color: rgba(255,255,255,.35); }
.m2-liste .m2-ligne[aria-current] { background: rgba(201,160,92,.14); box-shadow: inset 3px 0 0 var(--or); }
.m2-liste .m2-ligne[aria-current] .m2-txt strong { color: var(--or); }
.m2-ic { width: 30px; height: 30px; border-radius: 9px; }
.m2-ic svg { width: 16px; height: 16px; }
.m2-txt strong { font-size: 14px; font-weight: 600; }
.m2-ia { padding: 0 12px; min-height: 52px; border-radius: 16px; box-shadow: none; }
.m2-ia .m2-txt small { display: none; }
.m2-ia > svg:last-child { color: var(--nuit); }

/* 2.2.15 — menu compact choisi par la fondatrice : grille de 8 rubriques sur 2 colonnes, carte « Notre histoire », liens en 2 colonnes */
.tiroir .panneau { gap: 12px; padding: 16px 16px 22px; }
.tiroir .menu-recherche { background: #FBF7EE; border: 1.5px solid var(--or); border-radius: 999px; min-height: 46px; padding: 0 16px; color: var(--or-texte); }
.tiroir .menu-recherche input { color: var(--encre); font-size: 16px; }
.tiroir .menu-recherche input::placeholder { color: #8A8170; }
.m3-titre { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font: 800 10.5px var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.m3-titre::after { content: ""; flex: 1; height: 1px; background: rgba(201,160,92,.3); }
.m3-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m3-tuile { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: var(--blanc); text-decoration: none; font: 700 14px/1.2 var(--titre); transition: background .2s, border-color .2s; }
.m3-tuile:hover { background: rgba(255,255,255,.09); }
.m3-tuile[aria-current] { border-color: var(--or); background: rgba(201,160,92,.15); }
.m3-ic { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; border: 1.5px solid var(--or); color: var(--or); }
.m3-histoire { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #EED39A, var(--or)); color: var(--nuit); text-decoration: none; }
.m3-histoire-txt { display: flex; flex-direction: column; gap: 3px; }
.m3-histoire strong { font: 700 24px/1 var(--apparat); }
.m3-histoire small { font-size: 12.5px; line-height: 1.35; color: #3A3020; }
.m3-histoire-ic { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--nuit); color: var(--or); }
.m3-liens { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.m3-liens a { display: flex; align-items: center; min-height: 42px; border-bottom: 1px solid rgba(255,255,255,.08); color: #E4EAF2; text-decoration: none; font: 600 14px var(--titre); }
.m3-liens a:hover, .m3-liens a[aria-current] { color: var(--or); }
.tiroir .actions-tiroir { margin-top: 4px; }
.tiroir .actions-tiroir .bouton { min-height: 46px; border-radius: 14px; }
.m2-reseaux a { width: 36px; height: 36px; }
