/* Lien « CHOISIR UN MANDAT » du menu (à côté de FICHE / de FR-EN).
   Style exact des boutons du header noir (menu-holo.css l.1167-1264) : fond #000, bordure #e10600, texte blanc ;
   survol plein #e10600 + halo, texte blanc (4,97:1) ; focus anneau blanc 2 px. Rayon 0. */
.mandat-nav {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2rem; padding: 0.4rem 0.8rem;
  border: 1px solid #e10600; background: #000; color: #fff;
  font-family: "Share Tech Mono", "Share Tech Mono Repli", ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.2em; line-height: 1;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mandat-nav:hover { background: #e10600; border-color: #e10600; color: #fff; box-shadow: 0 0 18px rgba(225, 6, 0, 0.5), 0 0 42px rgba(225, 6, 0, 0.22); }
.mandat-nav:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px !important; }
.mandat-nav[hidden], [data-mandat="actif"] .mandat-nav { display: none !important; }
@media (prefers-reduced-motion: reduce) { .mandat-nav { transition: none; } }
@media (max-width: 899px) { .mandat-nav { min-height: 44px; padding: 0 0.7rem; font-size: 0.66rem; letter-spacing: 0.12em; } }

/* menu holo (singularity, iteration*) : dans .holo-tools, avant FICHE */
.holo .holo-tools .mandat-nav { order: 0; }
/* fiche publique et détail (.head-tools en colonne) : FR/EN en haut, puis CHOISIR UN MANDAT + FICHE côte à côte */
.head-tools:has(> .mandat-nav) { display: grid; grid-template-columns: auto auto; justify-content: end; justify-items: end; align-items: center; column-gap: 0.5rem; row-gap: 0.7rem; }
.head-tools:has(> .mandat-nav) > .lang { grid-column: 1 / -1; }
/* pages publiques à rangée haute (registre, règlement) : poussé à droite, avant la place réservée à FR/EN */
.top > .mandat-nav { margin-left: auto; }
/* accueil : fixe, à gauche de FR/EN ; sous FR/EN en mobile */
.mandat-nav--fixed { position: fixed; z-index: 6; top: 0.85rem; right: 7.4rem; }
@media (max-width: 600px) { .mandat-nav--fixed { top: 3.2rem; right: 0.6rem; } }
