/* Menu holo — intégration au site (suite de /menu-holo.css, après /menu-holo-effets.css dans l'ordre du document). */
/* =====================================================================
   INTÉGRATION AU SITE
   ===================================================================== */
/* le menu occupe toute la largeur de la page (annule le retrait du conteneur de page) */
.shell > .holo, .it-shell > .holo { grid-column: 1 / -1; margin: -1.5rem -1.5rem 0; text-align: left; }
@media (max-width: 960px) { .it-shell > .holo { margin: -1.2rem -1rem 0; } }
@media (max-width: 380px) { .shell > .holo { margin-left: -1rem; margin-right: -1rem; } }

/* logo : « Big Shoulders Display Repli » (repli métrique local, déclaré dans le <style> inline des pages, cf. /singularity)
   avant Arial Narrow : même boîte de texte avant et après l'arrivée de la police web (CLS /sequence, M4). Sans la
   déclaration, la pile retombe sur Arial Narrow comme avant. */
/* rangée haute : mêmes logo, liens, langue et FICHE sur toutes les pages du menu */
.holo .logo { display: flex; align-items: center; gap: 0.45rem; margin: 0; font-family: "Big Shoulders Display", "Big Shoulders Display Repli", "Arial Narrow", sans-serif; font-weight: 700; line-height: 0.84; letter-spacing: 0.06em; }
.holo .logo .word { color: var(--blanc); white-space: nowrap; }
.holo .logo .word.corp { color: var(--sang); }
.holo .logo .bar { width: 2px; height: 0.72em; background: var(--sang); box-shadow: 0 0 12px rgba(225, 6, 0, 0.65); }
.holo .head-links { display: flex; align-items: center; gap: 1.15rem; }
.holo .head-charter, .holo .head-registre { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; line-height: 1; text-decoration: none; white-space: nowrap; color: var(--gris-texte); }
.holo .head-registre { color: var(--blanc); }
.holo .head-charter:hover, .holo .head-registre:hover, .holo .head-charter:focus-visible, .holo .head-registre:focus-visible, .holo .transmit:hover, .holo .transmit:focus-visible { color: var(--sang-texte); }
.holo .lang { display: flex; align-items: center; gap: 0.45rem; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.holo .lang button { padding: 0; border: 0; background: transparent; color: var(--gris-texte); font: inherit; letter-spacing: inherit; text-transform: inherit; }
.holo .lang button[aria-pressed="true"] { color: #b7aaa8; }
.holo .lang button:hover, .holo .lang button:focus-visible { color: var(--sang-texte); }
.holo .profile-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; border: 1px solid rgba(225, 6, 0, 0.45); color: var(--sang-texte); background: transparent; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }
.holo .profile-btn:hover, .holo .profile-btn:focus-visible { color: var(--sang-clair); background: rgba(225, 6, 0, 0.14); border-color: var(--sang-vif); box-shadow: 0 0 22px rgba(225, 6, 0, 0.35); }
/* au-dessus du contenu des salles : le panneau de résultats de la recherche passe devant tout (#94) */
.holo { z-index: 40; isolation: isolate; min-width: 0; max-width: 100vw; overflow-x: clip; color: var(--blanc); font-family: var(--mono); }
.holo-bar { z-index: auto; }
@media (min-width: 900px) { .hl-stage { position: relative; z-index: 2; } }
.hl-search { z-index: 40; }
.holo .rm { position: relative; z-index: 40; display: flex; align-items: center; gap: 0.6rem; padding-left: 1.3rem; border-left: 1px solid rgba(225, 6, 0, 0.45); }
.holo .rm-panel { z-index: 60; isolation: isolate; background: #080405; }
.holo .rm-input:focus-visible, .holo .rm-toggle:focus-visible { outline: 2px solid var(--sang-vif); outline-offset: 2px; }
.holo .rm-opt[aria-selected="true"] { box-shadow: inset 2px 0 0 var(--sang-vif); }
@media (max-width: 899px) {
  .hl-search { position: static; }
  .holo .rm { position: static; padding-left: 0; border-left: 0; }
  .holo .rm-input, .holo .rm-toggle { min-height: 44px; } /* cibles tactiles */
}
.holo .hl-pane { cursor: pointer; }
.holo-crumb-sep { color: #8a8082; }

/* focus clavier : le même rouge que le survol (menu-holo.js pose .is-hot au focus) ; repli sans script */
.holo .hl-pane:focus-visible { outline: 2px solid var(--sang-vif); outline-offset: 3px; color: var(--sang-vif); }
.holo .hl-pane:focus-visible .hl-label, .holo .hl-pane:focus-visible .hl-sub, .holo .hl-pane:focus-visible .hl-idx { color: var(--sang-vif); }
.holo .logo:focus-visible, .holo .lang button:focus-visible, .holo .profile-btn:focus-visible,
.holo .head-charter:focus-visible, .holo .head-registre:focus-visible, .holo .transmit:focus-visible { outline: 1px solid var(--sang-vif); outline-offset: 3px; }

/* hors écran, onglet caché (.is-paused) ou menu au repos sans pointeur (.is-idle) : animations du menu figées */
.holo.is-paused, .holo.is-paused *, .holo.is-paused *::before, .holo.is-paused *::after,
.holo.is-idle, .holo.is-idle *, .holo.is-idle *::before, .holo.is-idle *::after { animation-play-state: paused !important; }

/* sans -webkit-box-reflect (Firefox) : pas de reflet, le sol garde son liseré et son dégradé */
@supports not (-webkit-box-reflect: below 0) {
  .is-3d .hl-floor { background: linear-gradient(to bottom, rgba(225, 6, 0, 0.07), transparent 80%); }
}

/* mouvement réduit : ni 3D, ni animation au survol ; le survol ne déplace rien (seule la couleur change) */
@media (prefers-reduced-motion: reduce) {
  .holo .hl-pane, .holo .hl-pane:hover, .holo .hl-pane:focus-visible, .holo .hl-pane.is-hot {
    transform: none !important; translate: none !important; scale: none !important; animation: none !important; transition: none !important;
  }
  .holo .hl-pane *, .holo .hl-pane *::before, .holo .hl-pane *::after, .holo .hl-pane::before, .holo .hl-pane::after { transition: none !important; animation: none !important; }
  .holo .hl-glow { box-shadow: inset 0 0 14px rgba(225, 6, 0, 0.4); }
  .holo-grain, .holo-sweep { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  .holo .hl-deck { gap: 1rem; }
  .holo .hl-formats { padding: 0.85rem 0.8rem; }
  .holo .hl-format, .holo .hl-format:first-of-type { min-width: 0; margin-left: 0.3rem; padding: 0.55rem 0.8rem 0.5rem; }
  .holo .hl-format:first-of-type { margin-left: 0; }
  .holo .hl-duo { min-width: 0; padding-right: 1rem; }
}

/* =====================================================================
   PALIERS BUREAU 900–1599 px : tout le pont et la recherche tiennent sur UNE ligne
   (aucun retour à la ligne) ; on serre tailles et espacements par palier, effets holo conservés.
   ===================================================================== */
@media (min-width: 900px) {
  .holo-bar { flex-wrap: nowrap; }
  .hl-deck { flex-wrap: nowrap; }
  .hl-search { margin-left: auto; }
}
/* 1280–1439 : on resserre un peu, champ de recherche plus court (sans élargissement au focus) */
@media (min-width: 900px) and (max-width: 1439px) {
  .holo .rm-input, .holo .rm-input:focus { width: 9.5rem; }
  .holo .rm { padding-left: 1rem; gap: 0.4rem; }
  .holo-bar { gap: 1rem; }
  .holo.is-3d .hl-format { min-width: 5.6rem; padding-left: 0.8rem; padding-right: 0.65rem; }
  .holo.is-3d .hl-format .hl-label { font-size: 14px; letter-spacing: 0.1em; }
  .holo.is-3d .hl-duo { min-width: 6.9rem; padding-right: 1rem; }
  .is-3d .hl-deck { gap: 0.95rem; }
  .is-3d .hl-formats { padding-left: 3.4rem; padding-right: 0.7rem; }
}
/* 1280–1365 : marge de sécurité (WebKit écarte un peu plus les formats) */
@media (min-width: 1280px) and (max-width: 1365px) {
  .holo .rm-input, .holo .rm-input:focus { width: 7.5rem; }
  .holo.is-3d .hl-format { min-width: 5.2rem; }
  .is-3d .hl-deck { gap: 0.85rem; }
}
/* 1100–1279 : plus serré encore */
@media (min-width: 900px) and (max-width: 1279px) {
  .holo .rm-input, .holo .rm-input:focus { width: 7.5rem; }
  .holo.is-3d .hl-format, .holo .hl-format { min-width: 0; padding-left: 0.7rem; padding-right: 0.6rem; }
  .holo.is-3d .hl-format .hl-label, .holo .hl-label { font-size: 13px; letter-spacing: 0.08em; }
  .holo.is-3d .hl-duo, .holo .hl-duo { min-width: 0; padding-left: 0.8rem; padding-right: 0.9rem; }
  .holo .hl-sub { font-size: 0.62rem; letter-spacing: 0.1em; }
  .is-3d .hl-deck, .hl-deck { gap: 0.8rem; }
  .is-3d .hl-formats, .hl-formats { padding-left: 3.3rem; padding-right: 0.6rem; }
  .is-3d .hl-pair, .hl-pair { gap: 0.15rem; }
  .hl-link { width: 1rem; }
}
/* 900–1099 : la recherche se replie derrière la loupe (cible 44 px) ; ouverte, champ et liste en surimpression
   sous la barre, à droite (la page et le pont ne bougent pas). */
@media (min-width: 900px) and (max-width: 1099px) {
  .holo-bar { position: relative; gap: 0.8rem; }
  .hl-search { position: static; }
  .holo .rm { position: static; padding-left: 0.8rem; }
  .holo .rm-toggle { display: inline-flex; width: 44px; height: 44px; min-height: 44px; }
  .holo .rm-field { display: none; }
  .holo .rm-key, .holo .rm-foot { display: none; }
  .holo .rm.is-open .rm-field {
    display: flex; position: absolute; top: calc(100% + 0.5rem); right: 0; width: min(26rem, 60vw); z-index: 61;
    padding: 0 0.9rem; border: 1px solid rgba(225, 6, 0, 0.45); border-bottom: 0; background: #080405;
  }
  .holo .rm.is-open .rm-input, .holo .rm.is-open .rm-input:focus { width: 100%; min-height: 44px; font-size: 16px; padding-right: 0.2rem; }
  .holo .rm-panel { top: calc(100% + 0.5rem + 45px); right: 0; width: min(26rem, 60vw); }
  .holo.is-3d .hl-format, .holo .hl-format { padding-left: 0.55rem; padding-right: 0.5rem; }
  .holo.is-3d .hl-format .hl-label, .holo .hl-label { font-size: 12px; letter-spacing: 0.06em; }
  .holo.is-3d .hl-duo, .holo .hl-duo { padding-left: 0.6rem; padding-right: 0.7rem; }
  .holo .hl-sub { font-size: 0.58rem; letter-spacing: 0.06em; }
  .holo .hl-idx { display: none; }
  .is-3d .hl-deck, .hl-deck { gap: 0.6rem; }
  .is-3d .hl-formats, .hl-formats { padding-left: 3rem; padding-right: 0.5rem; }
  .hl-link { width: 0.7rem; }
}

/* formats légèrement écartés : aucun recouvrement, que la perspective soit peinte (Safari) ou ignorée (WebKit sans compositing 3D) */
/* re-QA #105 : marges positives partout (Atrium/Séquence, formats entre eux, Terminal/Itération) sans élargir le pont :
   l'écart pris sous l'Atrium est rendu à droite des formats (où il reste ≥ 12 px) ; sous WebKit, les écarts entre
   formats sont dosés par palier et compensés de même, sinon la recherche débordait aux débuts de palier (cran is-tight-1). */
@media (min-width: 900px) {
  .holo.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 0.75rem; }
  .holo.is-3d .hl-formats { margin-right: -0.75rem; }
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: 0.7rem; }
  /* WebKit : sans compensation au-delà de 0,35rem (sinon Terminal/Itération se recouvrent quand la perspective n'est pas peinte) */
  .holo.is-wk.is-3d .hl-formats { margin-right: -0.35rem; }
}
/* 900–1099 Chromium : la face « Itération » de la page courante avance un peu, on lui laisse ≥ 4 px */
@media (min-width: 900px) and (max-width: 1099px) { .holo.is-3d:not(.is-wk) .hl-formats { margin-right: -0.35rem; } }
@media (min-width: 1700px) {
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: 0.85rem; } /* la compensation croît avec la largeur */
}
@media (min-width: 1440px) and (max-width: 1599px) { .holo.is-wk .rm-input, .holo.is-wk .rm-input:focus { width: 9rem; } }
/* 1600–1699 : début du palier grand écran (panneaux agrandis) ; champ plus court pour garder une seule ligne */
@media (min-width: 1600px) and (max-width: 1699px) {
  .holo .rm-input, .holo .rm-input:focus { width: 8.5rem; }
  .holo .rm { padding-left: 1rem; }
  .is-3d .hl-deck { gap: 1.4rem; }
}
/* mouvement réduit (rendu à plat) entre 900 et 1279 px : mêmes économies que le palier 3D */
@media (prefers-reduced-motion: reduce) and (min-width: 900px) and (max-width: 1279px) {
  .holo .hl-deck { gap: 0.5rem; }
  .holo .hl-format, .holo .hl-format:first-of-type { margin-left: 0.2rem; padding: 0.5rem 0.5rem 0.45rem; }
  .holo .hl-format:first-of-type { margin-left: 0; }
  .holo .hl-formats { padding: 0.7rem 0.5rem; }
  .holo .hl-duo { padding-right: 0.6rem; }
}

/* crans de secours posés par menu-holo.js quand la ligne déborde encore (police de secours, zoom texte…) */
@media (min-width: 900px) {
  .holo.is-tight-1 .rm-input, .holo.is-tight-1 .rm-input:focus { width: 6rem; }
  .holo.is-tight-1 .hl-label, .holo.is-tight-1.is-3d .hl-format .hl-label { letter-spacing: 0.04em; }
  .holo.is-tight-1 .hl-deck { gap: 0.5rem; }
  .holo.is-tight-1 .hl-formats { padding-right: 0.4rem; }
  .holo.is-tight-1 .hl-format, .holo.is-tight-1.is-3d .hl-format { min-width: 0; padding-left: 0.5rem; padding-right: 0.45rem; }
  .holo.is-tight-1 .hl-duo, .holo.is-tight-1.is-3d .hl-duo { min-width: 0; padding-left: 0.55rem; padding-right: 0.6rem; }
  .holo.is-tight-2 .holo-bar { position: relative; }
  .holo.is-tight-2 .hl-search, .holo.is-tight-2 .rm { position: static; }
  .holo.is-tight-2 .rm { padding-left: 0.6rem; }
  .holo.is-tight-2 .rm-toggle { display: inline-flex; width: 44px; height: 44px; min-height: 44px; }
  .holo.is-tight-2 .rm-field, .holo.is-tight-2 .rm-key, .holo.is-tight-2 .rm-foot { display: none; }
  .holo.is-tight-2 .rm.is-open .rm-field {
    display: flex; position: absolute; top: calc(100% + 0.5rem); right: 0; width: min(26rem, 60vw); z-index: 61;
    padding: 0 0.9rem; border: 1px solid rgba(225, 6, 0, 0.45); border-bottom: 0; background: #080405;
  }
  .holo.is-tight-2 .rm.is-open .rm-input, .holo.is-tight-2 .rm.is-open .rm-input:focus { width: 100%; min-height: 44px; font-size: 16px; padding-right: 0.2rem; }
  .holo.is-tight-2 .rm-panel { top: calc(100% + 0.5rem + 45px); right: 0; width: min(26rem, 60vw); }
  .holo.is-tight-3 .hl-sub, .holo.is-tight-3 .hl-idx { display: none; }
  .holo.is-tight-3 .hl-label, .holo.is-tight-3.is-3d .hl-format .hl-label { font-size: 11px; }
}

/* ---------- Contraste ≥ 4,5:1 mesuré sur le fond réel (QA #105) — bureau ; le mobile était déjà conforme ---------- */
@media (min-width: 900px) {
  /* panneau survolé : verre presque noir derrière le texte, halos et reflets réduits ; le rouge sang reste au bord */
  .holo .hl-pane .hl-glow {
    background:
      radial-gradient(ellipse 80% 78% at 45% 55%, rgba(5, 1, 2, 0.97), rgba(7, 3, 4, 0.95) 68%, rgba(36, 4, 8, 0.9)),
      rgba(6, 1, 2, 0.95);
    box-shadow:
      inset 0 0 8px rgba(225, 6, 0, 0.35),
      inset 0 1px 0 rgba(255, 120, 120, 0.2),
      0 0 18px rgba(225, 6, 0, 0.55),
      0 0 46px rgba(225, 6, 0, 0.28);
  }
  .holo .hl-pane.is-hot::after { opacity: 0.2; }
  .holo .hl-pane.is-hot .hl-fx { opacity: 0.45; }
  .holo .hl-pane.is-hot .hl-spec i { opacity: 0.3; }
  .holo .hl-pane.is-hot, .holo.is-3d .hl-format.is-hot { opacity: 1; } /* jamais de brume sur le panneau survolé */
  .holo .hl-pane.is-hot .hl-label, .holo.is-3d .hl-format.is-hot .hl-label, .holo .hl-pane.is-hot .hl-sub,
  .holo .hl-pane.is-hot .hl-idx, .holo .hl-pane.is-hot .hl-sub::before,
  .holo .hl-pane:focus-visible .hl-label, .holo .hl-pane:focus-visible .hl-sub, .holo .hl-pane:focus-visible .hl-idx { color: var(--sang-texte); }
  .holo .hl-pane.is-hot .hl-label,
  .holo .hl-pane.is-hot.is-wave .hl-label, .holo .hl-pane.is-hot.is-aberr .hl-label { text-shadow: 0 0 1px #000, 0 0 5px rgba(255, 42, 51, 0.4); }
  .holo .hl-pane.is-hot .hl-sub, .holo .hl-pane.is-hot .hl-idx { text-shadow: 0 0 1px #000; }
  /* au repos : sous-titres plus clairs ; voisins d'un survol moins atténués */
  .holo .hl-sub { color: rgba(222, 210, 210, 0.92); }
  .holo .hl-sub::before { color: rgba(201, 184, 184, 0.7); }
  .holo .hl-deck.has-hot .hl-pane:not(.is-hot), .holo.is-3d .hl-deck.has-hot .hl-pane:not(.is-hot) { opacity: 0.8; }
  /* fil d'Ariane : rouge vif (≈ 5,4:1 sur le noir) au lieu du rouge sang #e10600 (4,0:1) */
  .holo .hl-crumb b { color: var(--sang-texte); }
  .holo .hl-crumb, .holo .holo-crumb-sep { color: #a9a0a2; } /* gris clair : ≥ 4,5:1 même sous le halo d'un panneau survolé */
}

/* un seul rouge à la fois : si la souris survole un autre panneau, le panneau qui a le focus clavier
   reste neutre et garde un contour pâle (le focus reste visible, le survol prime pour le rouge) */
.holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) { color: var(--blanc); outline: 2px solid var(--pale); outline-offset: 3px; }
.holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) .hl-label { color: rgb(226, 212, 212); }
.holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) .hl-sub { color: rgba(222, 210, 210, 0.92); }
.holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) .hl-idx { color: rgba(201, 184, 184, 0.6); }

/* mobile : zones tactiles ≥ 44 px pour le logo et le lien de transmission, sans rien déplacer
   (rembourrage compensé par une marge négative ; les boutons de langue, peints après, restent au-dessus) */
@media (max-width: 899px) {
  .holo .logo { padding-top: 14px; padding-bottom: 4px; margin-top: -14px; margin-bottom: -4px; }
  /* re-QA #105 (CLS mobile) : largeur du logo fixée en em (mesurée avec Big Shoulders : 5,02–5,07 em) ; la police de
     secours, plus large, ne repousse plus les liens sous le logo pendant le chargement (0,18 → 0) */
  .holo .logo { flex: none; width: 5.08em; min-height: 44px; white-space: nowrap; overflow: visible; }
  /* re-QA #105 : la zone du lien ne descend plus sous FR/EN — largeur bornée à gauche des outils (le texte passe à la
     ligne dans la zone libre, sans pousser la page : une seule ligne comptée), hauteur 44 px au-dessous, rien au-dessus */
  .holo .transmit {
    display: block; box-sizing: content-box; max-width: calc(100vw - 14rem);
    white-space: normal; height: 1.4em; padding: 0 0 calc(44px - 1.4em); margin: 0 0 calc(1.4em - 44px);
  }
  .holo .transmit:empty { display: none; } /* compteur pas encore reçu : aucune cible vide */
}
/* QA mobile 380 : sur deux lignes (« TRANSMISSION — 24 ENTRÉES EN / ASSIMILATION »), le lien et sa zone de 44 px recouvraient
   FR / EN et « CHOISIR UN MANDAT » : la hauteur réelle (2 lignes réservées, sans marge négative) repousse la rangée suivante */
@media (max-width: 899px) {
  .holo .transmit { height: auto; min-height: 24px; max-height: 2.8em; overflow: hidden; padding: 0; margin: 0 0 6px; line-height: 1.4; }
}
/* re-QA M5 (t788s3953) : la zone tactile du logo (rembourrage bas 4 px compensé) chevauchait de 4 px le haut du lien de
   transmission à 360 / 390 px : le lien descend de 4 px et reprend ces 4 px sur sa marge basse (6 → 2 px), la rangée suivante
   ne bouge pas ; à 430 px il passait aussi sous la zone de RÈGLEMENT (195 px) : largeur bornée à 10rem, à gauche de RÈGLEMENT
   à toutes les largeurs mobiles */
@media (max-width: 899px) {
  .holo .transmit { margin: 4px 0 2px; max-width: min(calc(100vw - 14rem), 10rem); }
}

/* placeholder « RECHERCHE… » entier dans les champs raccourcis (900–1439, 1600–1699, WebKit 1440–1599) */
@media (min-width: 900px) and (max-width: 1439px) {
  .holo .rm-input::placeholder { font-size: 13px; letter-spacing: 0.05em; }
}
@media (min-width: 1600px) and (max-width: 1699px) {
  .holo .rm-input::placeholder { font-size: 14px; letter-spacing: 0.08em; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
  .holo.is-wk .rm-input::placeholder { font-size: 14px; letter-spacing: 0.08em; }
}
/* cran de secours 1 (champ à 6rem) : raccourci « / » masqué, placeholder resserré */
@media (min-width: 900px) {
  .holo.is-tight-1 .rm-input, .holo.is-tight-1 .rm-input:focus { padding-right: 0.3rem; }
  .holo.is-tight-1 .rm-key { display: none; }
  .holo.is-tight-1 .rm-input::placeholder { font-size: 12px; letter-spacing: 0.02em; }
}

/* CLS : la place du menu 3D est réservée avant que menu-holo.js n'injecte les socles (et indépendamment des polices) */
.hl-crumb { line-height: 14px; min-height: 14px; }
@media (min-width: 900px) {
  .holo .holo-top { min-height: 30px; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .holo .holo-bar { min-height: 7.6rem; }
  /* avant .is-3d : mêmes marges que la scène 3D, et la place du sol (.hl-floor, 2,4rem − 0,2rem) */
  .holo:not(.is-3d) { padding-bottom: 0.8rem; }
  .holo:not(.is-3d) .holo-bar { margin-top: 0.6rem; margin-bottom: 2.4rem; } /* fusionne avec la marge du fil d'Ariane */
  .holo:not(.is-3d) .hl-crumb-row { margin-top: 0.2rem; }
}
@media (min-width: 1600px) and (prefers-reduced-motion: no-preference) {
  .holo .holo-bar { min-height: 8rem; }
}
/* hauteurs indépendantes de la police (Google Fonts arrive après coup) */
.holo .hl-sub, .holo .hl-idx { line-height: 1.25; }

/* fluidité (QA #105 : survol 32 fps sans GPU) : plus aucun flou recalculé à chaque image en 3D ;
   verre un peu plus opaque à la place, flou de profondeur retiré, will-change sur les seuls socles animés */
@media (min-width: 900px) {
  .holo.is-3d .hl-pane:not(.is-far), .holo.is-3d .hl-pane.is-far {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background:
      linear-gradient(160deg, rgba(247, 241, 241, 0.085), rgba(247, 241, 241, 0.02) 45%, rgba(201, 184, 184, 0.02)),
      rgba(14, 8, 10, 0.86);
  }
  .holo.is-3d .hl-pane.is-far { filter: none; }
  .holo.is-3d.is-live:not(.is-idle) .hl-slot { will-change: transform; }
  .holo .hl-pane.is-hot .hl-fx::before { animation-duration: 2.8s; }
}
/* en 3D, Chromium ne peint pas le contour (outline) des faces du socle : anneau de focus en box-shadow, en plus du contour */
@media (min-width: 900px) {
  .holo.is-3d .hl-pane:focus-visible { box-shadow: inset 0 0 0 2px var(--sang-vif), 0 0 0 1px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.55); }
  .holo.is-3d .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) { box-shadow: inset 0 0 0 2px var(--pale), 0 0 0 1px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.55); }
}
/* formats les plus profonds : brume plus légère (contraste ≥ 4,5:1 mesuré aussi sous WebKit) */
@media (min-width: 900px) {
  .holo.is-3d .hl-format { opacity: calc(0.97 - var(--i) * 0.02); }
  .holo.is-3d .hl-format .hl-label { color: rgba(232, 220, 220, calc(1 - var(--i) * 0.015)); }
  .holo.is-3d .hl-deck.has-hot .hl-pane.is-hot, .holo.is-3d .hl-format.is-hot { opacity: 1; }
  /* WebKit : la tranche rouge transparaît sous le verre survolé, rouge de texte un ton plus clair */
  .holo.is-wk .hl-pane.is-hot .hl-label, .holo.is-wk.is-3d .hl-format.is-hot .hl-label, .holo.is-wk .hl-pane.is-hot .hl-sub,
  .holo.is-wk .hl-pane.is-hot .hl-idx, .holo.is-wk .hl-pane:focus-visible .hl-label, .holo.is-wk .hl-pane:focus-visible .hl-sub { color: #ff4d55; }
}
/* LCP (re-QA #105) : sans flou sur le verre, Chromium projetait mal le rectangle du numéro (.hl-idx, en absolu dans une face 3D)
   et le comptait comme ~370 000 px² à la fin de l'allumage (≈ 3,2 s) → LCP faux. contain: layout isole la face
   (bloc conteneur et contexte d'empilement propres), sans rogner les halos ni changer la mise en page. */
@media (min-width: 900px) {
  .holo.is-3d .hl-pane { contain: layout; }
}
/* WebKit : l'Atrium atténué (survol d'un voisin) reste ≥ 4,5:1 sur son verre plus clair (re-QA, /iteration 1100 : 4,37) */
@media (min-width: 900px) {
}
/* fit() : mesures des crans sans transitions (re-QA : sous WebKit, cran manqué sur /iteration pendant la transition du champ) */
.holo.is-fitting, .holo.is-fitting *, .holo.is-fitting *::before, .holo.is-fitting *::after { transition: none !important; }

/* =====================================================================
   re-QA #105 (v5) — une seule ligne SANS cran de secours et écart visible ≥ 6 px entre panneaux, Chromium et WebKit,
   à 900 / 1024 / 1100 / 1280 / 1440 / 1600 / 1920 px (audit Playwright, rectangles projetés).
   - Chromium : la perspective rapproche d'autant plus les formats qu'ils sont profonds (Séquence/Clichés tombait à 0,5 px) ;
     l'écart entre socles décroît donc avec l'indice --i au lieu d'être constant.
   - WebKit (profondeur réduite, les faces gardent presque leur taille) : le pont était ~25 px trop large aux débuts de
     palier (900, 1100, 1600) → cran is-tight-1 ou débordement de la recherche. Écarts entre formats dosés par indice
     (≈ 7,5 px chacun au lieu de 9–10,5), écarts du pont et champ de recherche un peu réduits sur ces seuls paliers.
   ===================================================================== */
@media (min-width: 900px) {
  .holo.is-3d:not(.is-wk) .hl-slot-format + .hl-slot-format { margin-left: calc(6px - var(--i) * 1.35px); }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .holo.is-3d:not(.is-wk) .hl-slot-format + .hl-slot-format { margin-left: calc(7px - var(--i) * 1.1px); }
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: calc(7.7px + var(--i) * 0.45px); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .holo.is-3d:not(.is-wk) .hl-formats { margin-right: -0.2rem; } /* Terminal / Itération (page courante, avancée) ≥ 6 px */
  .holo.is-wk.is-3d .hl-deck { gap: 0.2rem; }
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: calc(7.2px + var(--i) * 0.45px); }
  .holo.is-wk.is-3d .hl-format .hl-label { letter-spacing: 0.045em; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .holo.is-3d:not(.is-wk) .hl-formats > .hl-slot-format:first-child { margin-left: 0.9rem; } /* Atrium / Séquence */
  .holo.is-wk.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 0.95rem; }
  .holo.is-wk.is-3d .hl-deck { gap: 0.5rem; }
  .holo.is-wk .rm-input, .holo.is-wk .rm-input:focus { width: 6.5rem; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
  .is-3d .hl-deck { gap: 0.95rem; }
  .holo.is-wk.is-3d .hl-deck { gap: 0.8rem; }
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: calc(8px + var(--i) * 0.8px); }
}
@media (min-width: 1600px) and (max-width: 1699px) {
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: calc(8px + var(--i) * 0.9px); }
  .holo.is-wk.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 0.5rem; }
  .holo.is-wk.is-3d .hl-deck { gap: 0.9rem; }
  .holo.is-wk .rm-input, .holo.is-wk .rm-input:focus { width: 7.5rem; }
}
/* WebKit sans perspective peinte (repli) : Terminal, poussé par sa compensation --tx, ne doit pas toucher Itération ;
   le duo est décalé (marge du duo) et la flèche raccourcie pour garder la ligne : ≥ 6 px avec ou sans perspective. */
@media (min-width: 900px) and (max-width: 1099px) {
  .holo.is-wk.is-3d .hl-pair { margin-left: 0.675rem; }
  .holo.is-wk.is-3d .hl-link { width: 0.35rem; }
  .holo.is-wk.is-3d .hl-format .hl-label { letter-spacing: 0.03em; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .holo.is-wk.is-3d .hl-pair { margin-left: 0.375rem; }
  .holo.is-wk.is-3d .hl-link { width: 0.5rem; }
}
@media (min-width: 1280px) and (max-width: 1699px) {
  .holo.is-wk.is-3d .hl-pair { margin-left: 0.125rem; }
}
/* placeholder « RECHERCHER » entier (WebKit 1100–1279, champ 6,5rem) ; champ 9rem à 1440–1599 pour tous ;
   anglais (« SEARCH », sous-titres plus longs) : champ plus court et Atrium/Sequence ≥ 6 px, sans cran */
@media (min-width: 1100px) and (max-width: 1279px) {
  .holo.is-wk .rm-input::placeholder { font-size: 12px; letter-spacing: 0.02em; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
  .holo .rm-input, .holo .rm-input:focus { width: 9rem; }
  .holo .rm-input::placeholder { font-size: 14px; letter-spacing: 0.08em; }
}
@media (min-width: 1100px) and (max-width: 1439px) {
  html[lang^="en"] .holo .rm-input, html[lang^="en"] .holo .rm-input:focus { width: 6rem; }
}
@media (min-width: 1440px) and (max-width: 1799px) {
  html[lang^="en"] .holo .rm-input, html[lang^="en"] .holo .rm-input:focus { width: 7rem; }
}
@media (min-width: 1280px) and (max-width: 1599px) {
  html[lang^="en"] .holo.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 1rem; }
}
/* re-QA #105 (v7) : anglais 1100–1279, Atrium/Sequence ≥ 7 px (Chromium et WebKit) ; WebKit 1700–1799 : la compensation
   du palier 1600–1699 se prolonge (sinon, à 1700 pile, écarts remis à 0,85rem + champ pleine largeur → cran is-tight-1) */
@media (min-width: 1100px) and (max-width: 1279px) {
  html[lang^="en"] .holo.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 1rem; }
  html[lang^="en"] .holo.is-wk.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 1.15rem; }
}
@media (min-width: 1700px) and (max-width: 1799px) {
  .holo.is-wk.is-3d .hl-slot-format + .hl-slot-format { margin-left: calc(8px + var(--i) * 0.9px); }
  .holo.is-wk.is-3d .hl-formats > .hl-slot-format:first-child { margin-left: 0.5rem; }
  .holo.is-wk.is-3d .hl-deck { gap: 1.2rem; }
  .holo.is-wk .rm-input, .holo.is-wk .rm-input:focus { width: 9rem; }
  .holo.is-wk .rm-input::placeholder { font-size: 14px; letter-spacing: 0.08em; }
}
/* CLS (re-QA #105) : scène invisible jusqu'aux polices du site (menu-holo.js pose .is-ready, au plus tard 1,2 s) ;
   l'allumage (holo-on) se joue pendant ce temps, la recherche et le fil d'Ariane restent visibles */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .holo:not(.is-ready) .hl-stage { visibility: hidden; }
}

/* LCP (fix/csp-blob-maquette) : sous Chromium, le reflet (-webkit-box-reflect de .hl-stage) fait projeter tout texte du menu
   sur ~320 000–400 000 px² (rectangle réel d'un numéro : 14 × 13 px) ; un texte peint pour la première fois à opacité 0
   (allumage holo-on, double « glitch ») n'est pas compté, puis l'est au premier repaint visible : ondulation .is-wave
   (4,5–9 s) ou survol → nouvel élément LCP vers 5 s, souvent span.hl-idx. Correctifs sans changement visible :
   - holo-on et le double ::after partent de 0,01 au lieu de 0 : chaque texte est compté dès l'apparition
     de la scène (≈ 0,5 s), une seule fois ; ondulation et survol ne créent plus de candidat ;
   - le numéro .hl-idx vient après le nom dans le HTML : à taille projetée égale, le nom est compté le premier. */

/* =====================================================================
   HEADER NOIR (feat/header-noir) — fond noir pur identique à la page, boutons noirs à bordure rouge fine,
   survol plein #FF2A33 / texte noir (5,63:1, jamais de texte noir sur #E10600), focus en anneau blanc,
   logo à gauche, menu au centre, RECHERCHER à droite. Préfixe #holo (id posé sur les trois pages) : passe
   devant tous les paliers précédents sans les réécrire ; 3D, animations, mobile et mouvement réduit conservés.
   ===================================================================== */
#holo {
  --hn-noir: #000;
  --hn-bord: #e10600;   /* bordure fine au repos (3,99:1 sur le noir, ≥ 3:1 exigé pour un contour) */
  --hn-survol: #ff2a33; /* fond plein au survol : texte noir 5,63:1 */
  --hn-texte: #fff;
  --hn-anneau: #fff;
}
/* fond : plus aucun dégradé, scanline, grain, balayage, grille, faisceau ni ombre ; transparent = le noir (et la
   vignette) de la page, au pixel près */
#holo { background: transparent; box-shadow: none; border-bottom-color: transparent; }
#holo::after, #holo .holo-grain, #holo .holo-sweep, #holo .holo-space { display: none; }
#holo .hl-floor { background: none; border-top-color: transparent; }
#holo .hl-stage { -webkit-box-reflect: unset; }

/* ---------- boutons du menu : repos ---------- */
#holo .hl-pane {
  background: var(--hn-noir);
  border: 1px solid var(--hn-bord);
  box-shadow: none;
  color: var(--hn-texte);
  opacity: 1;
  -webkit-backdrop-filter: none; backdrop-filter: none; filter: none;
}
#holo .hl-pane::after, #holo .hl-iris, #holo .hl-spec, #holo .hl-pane .hl-c { display: none; }
#holo .hl-pane .hl-label, #holo.is-3d .hl-format .hl-label { color: var(--hn-texte); text-shadow: none; }
#holo .hl-pane .hl-sub, #holo .hl-pane .hl-sub::before { color: var(--hn-texte); }
#holo .hl-pane .hl-idx { color: #c9b8b8; } /* numéro : gris clair, 12,6:1 sur le noir */
/* aucune brume : chaque bouton garde exactement noir / #E10600 / blanc, même voisin d'un survol */
#holo .hl-deck.has-hot .hl-pane:not(.is-hot), #holo.is-3d .hl-format { opacity: 1; }
/* tranches 3D : rouge sang sombre au repos (épaisseur visible), rouge vif sur le bouton survolé */
#holo.is-3d .hl-edge { background: linear-gradient(to bottom, rgba(225, 6, 0, 0.32), rgba(225, 6, 0, 0.1)); }
#holo.is-3d .hl-et { background: linear-gradient(to right, rgba(225, 6, 0, 0.32), rgba(225, 6, 0, 0.1)); }
#holo.is-3d .hl-edge::after { background: var(--hn-survol); }

/* ---------- survol (et .is-hot posé par menu-holo.js) : fond plein #FF2A33, texte noir ---------- */
#holo .hl-pane .hl-glow {
  inset: -1px; border: 1px solid var(--hn-survol);
  background: var(--hn-survol);
  box-shadow: 0 0 18px rgba(255, 42, 51, 0.5), 0 0 42px rgba(255, 42, 51, 0.22);
}
#holo .hl-pane.is-hot { color: #000; }
#holo .hl-pane.is-hot .hl-label, #holo.is-3d .hl-format.is-hot .hl-label, #holo.is-wk .hl-pane.is-hot .hl-label,
#holo .hl-pane.is-hot .hl-sub, #holo .hl-pane.is-hot .hl-sub::before, #holo .hl-pane.is-hot .hl-idx,
#holo .hl-pane.is-hot.is-wave .hl-label, #holo .hl-pane.is-hot.is-aberr .hl-label { color: #000; text-shadow: none; }
#holo .hl-pane.is-hot .hl-fx { opacity: 0.35; }
#holo .hl-pane::before { background: var(--hn-survol); box-shadow: none; }
/* le double « glitch » passe en noir : jamais de rouge sur rouge */
#holo .hl-pane.is-hot .hl-label::after { color: #000; mix-blend-mode: normal; }

/* ---------- focus clavier : anneau blanc détaché (noir puis blanc), distinct du survol ---------- */
#holo .hl-pane:focus-visible, #holo.is-3d .hl-pane:focus-visible,
#holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot), #holo.is-3d .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) {
  outline: 2px solid var(--hn-anneau); outline-offset: 4px; box-shadow: inset 0 0 0 1px var(--hn-bord);
}
/* en 3D, Chromium ne peint pas l'outline des faces et les tranches du socle masquent une ombre extérieure :
   anneau intérieur blanc (2 px, doublé de noir) dessiné par ::after, au-dessus du fond rouge comme du fond noir */
@media (min-width: 900px) {
  #holo .hl-pane:focus-visible::after {
    display: block; content: ""; position: absolute; z-index: 3; inset: 3px; pointer-events: none;
    background: none; opacity: 1; border: 2px solid var(--hn-anneau); box-shadow: 0 0 0 2px #000, inset 0 0 0 1px #000;
  }
}
/* focus sans fond rouge (sans script, ou mobile avant .is-hot) : texte blanc sur noir ; avec .is-hot, noir sur #FF2A33 */
#holo .hl-pane:focus-visible:not(.is-hot) .hl-label, #holo .hl-pane:focus-visible:not(.is-hot) .hl-sub,
#holo.is-wk .hl-pane:focus-visible:not(.is-hot) .hl-label, #holo.is-wk .hl-pane:focus-visible:not(.is-hot) .hl-sub { color: var(--hn-texte); }
#holo .hl-pane:focus-visible:not(.is-hot) .hl-idx { color: #c9b8b8; }
#holo .hl-pane.is-hot:focus-visible .hl-label, #holo .hl-pane.is-hot:focus-visible .hl-sub, #holo .hl-pane.is-hot:focus-visible .hl-idx,
#holo.is-wk .hl-pane.is-hot:focus-visible .hl-label, #holo.is-wk .hl-pane.is-hot:focus-visible .hl-sub { color: #000; }
/* focus sans .is-hot (la souris survole un autre bouton) : le bouton reste noir, texte blanc, anneau seul */
#holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) .hl-label,
#holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) .hl-sub { color: var(--hn-texte); }
#holo .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) .hl-idx { color: #c9b8b8; }
/* repli sans script (pas de .hl-glow) : survol et focus peints sur le bouton lui-même */
#holo .hl-pane:not(:has(.hl-glow)):hover { background: var(--hn-survol); }
#holo .hl-pane:not(:has(.hl-glow)):hover .hl-label, #holo .hl-pane:not(:has(.hl-glow)):hover .hl-sub,
#holo .hl-pane:not(:has(.hl-glow)):hover .hl-sub::before, #holo .hl-pane:not(:has(.hl-glow)):hover .hl-idx { color: #000; }

/* ---------- RECHERCHER : même bouton (noir, bordure rouge fine, texte blanc, même survol) ---------- */
#holo .rm { border-left: 0; }
#holo .rm-input {
  padding-top: 0.35rem; padding-bottom: 0.35rem;
  border: 1px solid var(--hn-bord);
  background: var(--hn-noir);
  color: var(--hn-texte);
  transition: width 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
#holo .rm-input::placeholder { color: var(--hn-texte); opacity: 1; }
#holo .rm-key { border-color: rgba(255, 255, 255, 0.6); color: var(--hn-texte); }
#holo .rm-field:hover .rm-input:not(:focus) { background: var(--hn-survol); border-color: var(--hn-survol); color: #000; }
#holo .rm-field:hover .rm-input:not(:focus)::placeholder { color: #000; }
#holo .rm-field:hover .rm-input:not(:focus) + .rm-key { border-color: #000; color: #000; }
#holo .rm-input:focus { border-color: var(--hn-bord); }
@media (min-width: 900px) { #holo .rm-input { min-height: 2.4rem; } }
#holo .rm.is-open .rm-input { min-height: 44px; } /* champ déplié derrière la loupe (900–1099, cran 2) : 44 px */
@media (max-width: 899px) { #holo .rm-input { min-height: 44px; } }
#holo .rm-input:focus-visible { outline: 2px solid var(--hn-anneau); outline-offset: 3px; }
#holo .rm-toggle { background: var(--hn-noir); border: 1px solid var(--hn-bord); color: var(--hn-texte); }
#holo .rm-toggle:hover, #holo .rm-toggle[aria-expanded="true"] { background: var(--hn-survol); border-color: var(--hn-survol); color: #000; }
#holo .rm-toggle:focus-visible { outline: 2px solid var(--hn-anneau); outline-offset: 3px; }
/* un seul rouge à la fois : RECHERCHER survolé, le bouton du menu qui garderait .is-hot (focus clavier) repasse au noir */
#holo:has(.rm-field:hover) .hl-pane.is-hot .hl-glow, #holo:has(.rm-toggle:hover) .hl-pane.is-hot .hl-glow { opacity: 0; }
#holo:has(.rm-field:hover) .hl-pane.is-hot :is(.hl-label, .hl-sub, .hl-sub::before),
#holo:has(.rm-toggle:hover) .hl-pane.is-hot :is(.hl-label, .hl-sub) { color: var(--hn-texte); }

/* ---------- FR / EN : cible ≥ 24 px sur ordinateur (44 px sur mobile, palier < 900 px ci-dessus) ---------- */
#holo .lang { gap: 0.1rem; }
#holo .lang button { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 28px; padding: 0 0.3rem; }
#holo .lang button:focus-visible { outline: 2px solid var(--hn-anneau); outline-offset: 1px; }
@media (max-width: 899px) { #holo .lang button { min-width: 44px; min-height: 44px; } }

/* ---------- bureau : logo à gauche (rangée haute), menu au centre, RECHERCHER à droite ----------
   de 900 à 1699 px le pont occupe déjà presque toute la largeur (centrage < 1 cm, et le pont pivote au survol) :
   disposition d'origine (pont calé à gauche sous le logo, recherche à droite) ; centrage réel à partir de 1700 px */
@media (min-width: 1700px) {
  #holo .holo-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1fr); align-items: center; column-gap: 0; }
  #holo .hl-burger { display: none; }
  #holo .hl-stage { grid-column: 2; min-width: 0; }
  /* marge réservée à gauche de RECHERCHER : le pont pivote et s'écarte au survol (ressorts de menu-holo.js) ;
     le centrage n'utilise que la place restante, sans jamais rapprocher Remix de la recherche au survol */
  #holo .hl-search { grid-column: 3; justify-self: end; margin-left: 0.8rem; }
}
@media (min-width: 1700px) { #holo .hl-search { margin-left: 5rem; } }

/* ---------- mobile (< 900 px) : liste de boutons noirs à bordure rouge, survol plein #FF2A33 ---------- */
@media (max-width: 899px) {
  #holo .hl-stage { background: #000; border-color: var(--hn-bord); }
  #holo .hl-deck { gap: 6px; padding: 0.6rem; }
  #holo .hl-pane, #holo .hl-atrium, #holo .hl-format, #holo .hl-duo { border: 1px solid var(--hn-bord); padding: 0.6rem 0.8rem; }
  #holo .hl-pane:last-child { border-bottom: 1px solid var(--hn-bord); }
  #holo .hl-pane:hover, #holo .hl-pane.is-hot { background: var(--hn-survol); border-color: var(--hn-survol); }
  #holo .hl-pane:hover .hl-label, #holo .hl-pane:hover .hl-sub, #holo .hl-pane:hover .hl-sub::before { color: #000; }
  #holo .hl-pane:focus-visible { outline: 2px solid var(--hn-anneau); outline-offset: -5px; box-shadow: none; }
  #holo .hl-burger { background: #000; border-color: var(--hn-bord); color: var(--hn-texte); }
  #holo .hl-burger:hover, #holo .hl-burger[aria-expanded="true"] { background: var(--hn-survol); border-color: var(--hn-survol); color: #000; }
  #holo .hl-burger:focus-visible { outline: 2px solid var(--hn-anneau); outline-offset: 2px; }
}
/* marges latérales du champ en spécificité de classe : les crans de secours (.is-tight-1 : 0,3rem à droite) passent devant ;
   largeur utile ≥ celle d'origine malgré la bordure complète (placeholder « RECHERCHER » entier, test M2) */
.holo .rm-input { padding-left: 0.25rem; padding-right: 1.4rem; }

/* =====================================================================
   QA #110 (Apollyon) — M1 à M8
   ===================================================================== */
@media (min-width: 900px) {
  /* M1 : plus de ligne en dégradé ni de halo rouge sous le menu : le fond reste au pixel celui de la page */
  #holo .hl-deck::before { display: none; }
  /* M3 : numéros plus grands (9 → 12 px) et épaissis au survol : au survol, noir sur #FF2A33 ≥ 4,5:1 au pixel malgré le lissage 3D */
  #holo .hl-pane .hl-idx { font-size: 12px; letter-spacing: 0.02em; top: 0.32rem; right: 0.42rem; z-index: 4; }
  /* suivi #110 (M3) : trait de 1,2 px (0,8 px avant) dans la couleur du texte (currentColor, pas un noir fixe) : le cœur du
     glyphe atteint le noir malgré le lissage 3D de Chromium (pixel le plus sombre ≥ 5,6:1, 25e percentile sombre ≥ 5,3:1,
     médiane du cœur ≥ 4,8:1 à 1100–1920) ; le trait suit la couleur du numéro (gris au repos, noir au survol) */
  #holo .hl-pane.is-hot .hl-idx { -webkit-text-stroke: 1.2px currentColor; }
  /* suivi #110 : espace visible ≥ 4 px entre le libellé et le numéro (« ITÉRATION 07 », « ATRIUM 00 ») : marge réservée à
     droite du libellé des boutons à deux lignes (le numéro y est à hauteur du libellé) ; sans numéro (cran 3), plus de marge */
  /* Chromium : 9 px (12 px sous 1280, plus bas) ; WebKit : 8 px (au-delà, le pont déborde à 1366–1440 et pose .is-tight-1) ;
     à 1366 en Chromium, 12 px faisaient sortir la recherche du header d'1 px */
  #holo .hl-duo .hl-label { margin-right: 9px; }
  #holo.is-wk .hl-duo .hl-label { margin-right: 8px; }
  #holo.is-tight-3 .hl-duo .hl-label { margin-right: 0; }
  /* suivi #110 : focus, l'anneau blanc passe au-dessus du numéro (z-index 5 > 4) et s'en écarte d'1 px (inset 3 → 2 px) */
  #holo .hl-pane:focus-visible::after { z-index: 5; inset: 2px; }
  /* M5 : RÈGLEMENT / REGISTRE / TRANSMISSION : zone cliquable de 24 px de haut, sans rien déplacer (rangée haute ≥ 30 px) */
  #holo .head-charter, #holo .head-registre, #holo .transmit { display: inline-flex; align-items: center; min-height: 24px; }
  /* M8 : en 3D, Chromium ne peint qu'une partie de l'outline (trait bas / droite) : anneau intérieur seul */
  #holo.is-3d .hl-pane:focus-visible, #holo.is-3d .hl-deck.has-hot .hl-pane:focus-visible:not(.is-hot) { outline: none; }
}
/* suivi #110 : 1100–1279 px, Chromium, le « 07 » n'est qu'à 3 px du N avec 9 px : 12 px (spécificité plus faible que les
   règles .is-wk et .is-tight-3 ci-dessus, qui l'emportent) */
@media (min-width: 900px) and (max-width: 1279px) { #holo .hl-duo .hl-label { margin-right: 12px; } }
/* QA #112 : 1100–1365 px, le « 00 » d'Atrium chevauchait le M d'ATRIUM en largeur (−3 à −4 px) à 0–3 px en hauteur, et le
   touchait au survol (trait épaissi) : le numéro remonte de 0,24rem et se décale de 0,22rem vers la droite, sans changer la
   largeur du bouton (ligne unique, crans .is-tight et recherche inchangés) ; encre ≥ 5 px du M (Chromium et WebKit, repos et survol) */
/* QA #112 (suite) : 1280–1360 px, le palier « desktop étroit » (.hl-pane, 0,8rem de chaque côté) garde ATRIUM à 28 px : le M
   finit à 12,8 px du bord et touchait le « 00 » (encre 0–1 px). Le libellé glisse de 3,2 px vers la gauche (0,6rem / 1rem) et son
   interlettrage passe de 0,12em à 0,1em (−3,36 px, rendus au padding droit) : largeur du bouton identique au pixel, ligne unique et
   crans inchangés ; encre du « 00 » ≥ 6 px du M (Chromium et WebKit, repos et survol, FR et EN) */
/* M4 : bordure de 2 px #E10600 au repos (1 px de bordure + 1 px d'ombre intérieure : aucune largeur ajoutée, la ligne
   unique 900–1920 est inchangée) ; au survol la couche rouge pleine la recouvre */
#holo .hl-pane { box-shadow: inset 0 0 0 1px var(--hn-bord); }
@media (max-width: 899px) { #holo .hl-pane, #holo .hl-atrium, #holo .hl-format, #holo .hl-duo { box-shadow: inset 0 0 0 1px var(--hn-bord); } }
#holo .rm-input { box-shadow: inset 0 0 0 1px var(--hn-bord); }
#holo .rm-field:hover .rm-input:not(:focus) { box-shadow: none; }
#holo .rm-toggle { box-shadow: inset 0 0 0 1px var(--hn-bord); }
#holo .rm-toggle:hover, #holo .rm-toggle[aria-expanded="true"] { box-shadow: none; }
/* M7 (WebKit) : champ court à 1100–1279 et 1600–1799 : raccourci « / » masqué (il fonctionne toujours), placeholder entier */
@media (min-width: 1100px) and (max-width: 1279px), (min-width: 1600px) and (max-width: 1799px) {
  .holo.is-wk .rm-key { display: none; }
  .holo.is-wk .rm-input { padding-right: 0.3rem; }
}

/* ---------- rubrique ouverte en avant (aria-current="page") ----------
   Le style « premier plan » suit la rubrique ouverte : le panneau courant prend le filet clair et le fond éclairci et
   avance (profondeur : menu-holo.js) ; les autres, Atrium compris, restent au style et à la profondeur d'un format. */
#holo .hl-pane[aria-current="page"], #holo.is-3d .hl-pane[aria-current="page"] {
  background: rgba(225, 6, 0, 0.82);
  border: 1px solid #e10600;
  box-shadow: inset 0 0 0 1px #e10600, 0 0 18px rgba(225, 6, 0, 0.35);
  color: #f7f1f1;
  opacity: 1;
}
#holo .hl-pane[aria-current="page"] .hl-label,
#holo .hl-pane[aria-current="page"] .hl-sub,
#holo .hl-pane[aria-current="page"] .hl-sub::before,
#holo .hl-pane[aria-current="page"] .hl-idx { color: #f7f1f1; text-shadow: none; }
/* survol de la rubrique ouverte : le fond plein #FF2A33 du survol passe dessous, donc tout le texte passe en noir comme
   sur les autres rubriques (5,63:1) ; sinon « 00 » et le sous-titre restaient clairs sur le rouge (3,34:1) */
#holo .hl-pane[aria-current="page"].is-hot .hl-label,
#holo .hl-pane[aria-current="page"].is-hot .hl-sub,
#holo .hl-pane[aria-current="page"].is-hot .hl-sub::before,
#holo .hl-pane[aria-current="page"].is-hot .hl-idx { color: #000; text-shadow: none; }
/* barre rouge sous l'onglet ouvert (ordinateur) */
@media (min-width: 900px) {
  #holo .hl-pane[aria-current="page"]::before {
    display: block; top: auto; bottom: -5px; left: 0; right: 0; height: 2px;
    background: #e10600; box-shadow: 0 0 8px rgba(225, 6, 0, 0.6); opacity: 1; transform: none; z-index: 6;
  }
}
/* l'onglet avancé grossit en perspective : ses voisins s'écartent (aucun chevauchement) */
@media (min-width: 900px) {
  #holo.is-3d .hl-slot:has(> .hl-pane[aria-current="page"]) { margin-right: 0.6rem; }
  #holo.is-3d .hl-slot:has(+ .hl-slot > .hl-pane[aria-current="page"]) { margin-right: 0.6rem; }
}
/* mouvement réduit : pas de 3D, marquage par le fond rouge, la barre et un filet clair intérieur */
@media screen and (prefers-reduced-motion: reduce) {
  #holo .hl-pane[aria-current="page"], #holo.is-3d .hl-pane[aria-current="page"] { box-shadow: inset 0 0 0 1px #f7f1f1; }
}
@media (max-width: 899px) {
  #holo .hl-pane[aria-current="page"] { background: #e10600; border-color: #e10600; box-shadow: none; }
}

/* ---------- Atrium = un format (classe hl-format, --i:0) : aucune règle de taille propre ----------
   « // le siège » masqué à partir de 900 px : même hauteur sur une ligne que les autres onglets (visible en liste mobile). */
@media (min-width: 900px) { #holo .hl-atrium .hl-sub { display: none; } }

/* ---------- largeur commune des onglets (ordinateur) ----------
   --hl-w = largeur naturelle de l'onglet le plus long (menu-holo.js, equalize()) : texte centré, police inchangée. */
@media (min-width: 900px) {
  #holo .hl-deck .hl-pane { width: var(--hl-w, auto); min-width: 0; box-sizing: border-box; align-items: center; text-align: center; }
  #holo .hl-deck .hl-pane, #holo.is-3d .hl-deck .hl-pane { padding-left: 0.6rem; padding-right: 0.6rem; }
  /* boutons à deux lignes : libellé et sous-titre calés en bas, sous le numéro (angle haut) : le libellé centré n'a plus
     à lui réserver de marge à droite ; sous-titre sur une ligne, interlettrage resserré (taille de police inchangée) */
  #holo .hl-deck .hl-duo { justify-content: flex-end; padding-bottom: 0.45rem; }
  #holo .hl-duo .hl-label, #holo.is-wk .hl-duo .hl-label { margin-right: 0; }
  #holo .hl-deck .hl-sub { margin: 0.2rem -0.35rem 0; letter-spacing: 0.04em; }
  #holo.is-eq-wrap .hl-deck .hl-sub { white-space: normal; line-height: 1.1; }
}
/* 900–1279 : marges intérieures resserrées (la largeur commune suit « ITÉRATION ») pour garder une ligne sans cran */
@media (min-width: 900px) and (max-width: 1279px) {
  #holo .hl-deck .hl-pane, #holo.is-3d .hl-deck .hl-pane { padding-left: 0.45rem; padding-right: 0.45rem; }
}
/* WebKit (Safari, compensations .is-wk plus larges) : avec les moteurs actuels (WebKit 27.2, polices Google du jour), la ligne
   ne tenait plus sans cran de secours à 900–1115 et 1280 (cran is-tight-1, jusqu'à is-tight-3 à 900) ; l'interlettrage des
   libellés est resserré (ce que faisait le cran 1) et, à 900–1099, les marges intérieures aussi ; taille de police inchangée */
@media (min-width: 900px) and (max-width: 1099px) {
  #holo.is-wk.is-3d .hl-deck .hl-pane { padding-left: 0.35rem; padding-right: 0.35rem; }
  #holo.is-wk.is-3d .hl-deck .hl-label { letter-spacing: 0.01em; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  #holo.is-wk.is-3d .hl-deck .hl-label { letter-spacing: 0.04em; }
  /* anglais : « SEARCH » (41 px) tient dans 5,5rem ; à 1110 px le champ de 6rem dépassait le pont de 0,8 px */
  html[lang^="en"] .holo.is-wk .rm-input, html[lang^="en"] .holo.is-wk .rm-input:focus { width: 5.5rem; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  #holo.is-wk.is-3d .hl-deck .hl-label { letter-spacing: 0.08em; }
}
