/* KORIUM · V5 · sélecteur de langue FR · EN · NL (24/11), posé par outils/langues_v5.py */
.lgs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; margin-right: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lgs a { display: grid; place-items: center; min-width: 30px; height: 28px; padding: 0 7px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: inherit; opacity: 0.72; text-decoration: none; transition: opacity 0.2s, background 0.2s, color 0.2s; }
.lgs a:hover { opacity: 1; }
.lgs a[aria-current] { opacity: 1; background: #0B2A4A; color: #fff; box-shadow: 0 2px 8px rgba(11, 42, 74, 0.25); }
.lgs a:focus-visible { outline: 2px solid #3FA5EE; outline-offset: 2px; }
.lgs--flottant { position: fixed; z-index: 300; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(11, 42, 74, 0.82); color: #fff; }
@media (max-width: 700px) {
  .lgs { margin-right: 4px; padding: 2px; }
  .lgs a { min-width: 26px; height: 26px; padding: 0 5px; font-size: 11px; }
}
/* mots composés néerlandais très longs (« waterbehandelingsinstallatie ») : césure dans les titres, jamais de débordement */
html[lang="nl-BE"] :is(h1, h2, h3, .mot, .cg__val, .cg__phrase, .vo__t), html[lang="en"] :is(h1, h2, h3, .mot) { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
html[lang="nl-BE"] .mot { overflow-wrap: anywhere; }
/* en-tête du 1er jet : le logo ne doit jamais s'écraser, le sélecteur reste lisible sur fond clair */
.nav__brand { flex-shrink: 0; }
.nav__actions .lgs { color: #0B2A4A; background: rgba(255, 255, 255, 0.78); box-shadow: 0 0 0 1px rgba(11, 42, 74, 0.1), 0 4px 14px rgba(11, 42, 74, 0.08); }
@media (min-width: 1181px) and (max-width: 1440px) { .nav__links a, .nav__links .drop__btn { padding-inline: 10px; } }
/* ordinateur (menu complet affiché) : sélecteur compact, les autres langues au survol ou au clavier */
.lgs__plus { display: contents; }
@media (min-width: 1181px) {
  .lgs { position: relative; }
  .lgs__plus { display: grid; gap: 2px; position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, -4px); padding: 4px; border-radius: 14px; background: #fff; color: #0B2A4A;
    box-shadow: 0 0 0 1px rgba(11, 42, 74, 0.08), 0 12px 30px rgba(11, 42, 74, 0.16); opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
  .lgs__plus::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .lgs:hover .lgs__plus, .lgs:focus-within .lgs__plus { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .lgs__plus a { opacity: 0.8; }
}
/* libellés anglais et néerlandais plus longs : menu un peu plus serré entre 1181 et 1440 px */
@media (min-width: 1181px) and (max-width: 1440px) {
  html:is([lang="nl-BE"], [lang="en"]) .nv__a { padding-inline: 9px; }
  html:is([lang="nl-BE"], [lang="en"]) .nv__links ul { gap: 0; }
}
/* place pour le sélecteur entre 1181 et 1440 px (mesuré le 24/11 : 1366 et 1280 débordaient de 20 à 55 px) */
@media (min-width: 1181px) and (max-width: 1440px) {
  .nv__tel span { display: none; } .nv__tel { padding: 0 12px; }
  .nav__links .drop__btn, .nav__links > a { padding-inline: 9px !important; }
  .nav__links { gap: 0 !important; }
}
@media (min-width: 1181px) and (max-width: 1440px) {
  .lgs { margin-right: 2px; }
  .nv__a { padding-inline: 8px !important; }
  .nav__links .drop__btn, .nav__links > a { padding-inline: 7px !important; }
}
/* 24/11 (retour d'Alex) : lien vers Korium Group sur toutes les pages, à côté du sélecteur de langue */
.kgrp { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 9px; margin-right: 6px; border-radius: 99px; color: inherit; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; opacity: 0.85; box-shadow: inset 0 0 0 1px rgba(127, 160, 190, 0.35); transition: opacity 0.2s, background 0.2s; }
.kgrp:hover { opacity: 1; background: rgba(63, 165, 238, 0.1); }
.kgrp:focus-visible { outline: 2px solid #3FA5EE; outline-offset: 2px; }
.kgrp svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.kgrp span { display: none; }
/* en dessous de 1700 px, l'en-tête est plein (mesuré le 24/11) : Korium Group passe par le menu Korium et le pied de page */
@media (max-width: 1699px) { .kgrp { display: none; } }
.nav__actions .kgrp { color: #0B2A4A; background: rgba(255, 255, 255, 0.78); }
@media (min-width: 1900px) { .kgrp span { display: inline; } }
/* néerlandais : libellés plus longs, « La Bande » ne revient dans l'en-tête qu'à 1640 px (1560 débordait de 14 px, mesuré le 24/11) */
@media (max-width: 1639px) { html[lang="nl-BE"] .nv__bande { display: none; } }
/* téléphone, en-tête du 1er jet : « La Bande » reste sur une ligne (vu le 24/11 : il passait sur deux lignes à 390 px) */
@media (max-width: 700px) { .nav__actions .nav__bande { white-space: nowrap; padding-inline: 10px; font-size: 12.5px; } .nav__actions { gap: 6px; } }
/* petits téléphones (360 px, Samsung Galaxy ; 320 px) : sélecteur plus serré, « La Bande » reste dans le menu (mesuré le 24/11 : le burger dépassait de 6 à 8 px) */
@media (max-width: 380px) {
  .lgs { margin-right: 2px; gap: 0; padding: 2px; }
  .lgs a { min-width: 21px; height: 24px; padding: 0 3px; font-size: 10.5px; letter-spacing: 0; }
  .nav__actions .nav__bande { display: none; }
  .nv__end, .nav__actions { gap: 4px; }
}
@media (max-width: 335px) { .lgs__plus a:last-child { display: none; } }
