/* Sélecteur de langue du site public (drapeaux seuls, PLAN-TRADUCTION-EN-NL.md § 3 et décision D9) : un bouton drapeau
   (<details>) dans l'en-tête ; sur téléphone, une ligne de drapeaux au bas du menu (l'en-tête n'a pas la place d'un
   quatrième élément à 320 px). Modèle « disclosure » : la liste reste utilisable sans JavaScript. */
.lm-langue { position: relative; flex: none; }
.lm-langue__bouton { display: flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 8px;
  border-radius: 999px; list-style: none; cursor: pointer; }
.lm-langue__bouton::-webkit-details-marker { display: none; }
.lm-langue__bouton:focus-visible, .lm-langue__liste a:focus-visible, .lm-menu__langues a:focus-visible { outline: 3px solid #204057; outline-offset: 2px; }
.lm-drapeau { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(32, 64, 87, .35); }
.lm-langue__chevron { flex: none; width: 10px; height: 7px; fill: none; stroke: #204057; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.lm-langue[open] .lm-langue__chevron { transform: rotate(180deg); }
.lm-langue__liste { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; display: grid; gap: 2px; margin: 0;
  padding: 6px; list-style: none; background: #ffffff; border: 1px solid #e2e1d9; border-radius: 12px;
  box-shadow: 0 18px 38px rgba(32, 64, 87, .18); }
.lm-langue__liste a, .lm-menu__langues a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 10px; }
.lm-langue__liste a:hover, .lm-menu__langues a:hover { background: #f3f2ec; }
.lm-langue__liste a[aria-current="page"], .lm-menu__langues a[aria-current="page"] { background: #e2e1d9; }
.lm-menu__langues { display: flex; justify-content: center; gap: 12px; }
@media (max-width: 699px) { .lm-header .lm-langue { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .lm-langue[open] .lm-langue__liste { animation: lm-langue-ouvre .25s cubic-bezier(.16, 1, .3, 1); }
  @keyframes lm-langue-ouvre { from { opacity: 0; transform: translateY(-4px); } }
}
