/* Popup « Mentions légales » du pied de page (module mod_popupbox_j6 n° 154, texte écrit par
   Projets/humiditeliegej6/refonte/integration/silo/mentions_legales.py). Charte : Projets/humiditeliegej6/DESIGN.md
   (carte blanche à 14 px comme le popup de devis, trait corail 56 × 5 px, Newsreader pour le titre, Hanken pour le reste,
   séparateur = filet interrompu par la goutte du logo). Chargée sur toutes les pages : le lien est dans le pied de page commun. */

.pbj6-root:has(.ml) .pbj6-overlay { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pbj6-root .pbj6-box:has(.ml) { max-width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overscroll-behavior: contain; }
.pbj6-root .pbj6-box:has(.ml) .pbj6-close { top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 8px; }
.pbj6-root .pbj6-box:has(.ml) .pbj6-close:hover { background: var(--bleu-pale); opacity: 1; }
.pbj6-root .pbj6-box:has(.ml) .pbj6-close:focus-visible { outline: 2px solid var(--encre); outline-offset: 1px; }

.ml { padding: 40px 44px 36px; font: 400 17px/1.5 var(--f-texte); color: var(--encre); }

.ml__titre { margin: 0 48px 10px 0; font: 500 34px/1.15 var(--f-titre); letter-spacing: -.012em; color: var(--encre); text-wrap: balance; }
.ml__titre::before { content: ""; display: block; width: 56px; height: 5px; margin-bottom: 18px; background: #FF6F59; }
.ml__intro { margin: 0 0 22px; font-size: 15.5px; color: var(--encre-douce); }

.ml__liste { margin: 0; border-top: 1px solid var(--trait); }
.ml__ligne { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 0 24px; padding: 11px 0; border-bottom: 1px solid var(--trait); }
.ml__ligne dt { margin: 0; font: 600 15px/1.45 var(--f-texte); color: var(--encre-douce); }
.ml__ligne dd { margin: 0; font: 500 17px/1.45 var(--f-texte); }
/* Zone cliquable de 44 px de haut (cible tactile), sans rien déplacer : le remplissage est repris par une marge négative. */
.ml__ligne a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--encre); text-decoration: underline; text-decoration-color: #FF6F59; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ml__ligne a:hover { text-decoration-color: var(--encre); }
.ml__ligne a:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; border-radius: 2px; }

/* Filet interrompu par la goutte du logo (DESIGN.md, §6). */
.ml__sep { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; }
.ml__sep::before, .ml__sep::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
.ml__goutte { width: 14px; height: 23px; flex: none; }

.ml__sous { margin: 0 0 10px; font: 600 15px/1.45 var(--f-texte); color: var(--encre-douce); }
.ml__membres { margin: 0; padding: 0; list-style: none; }
.ml__membres li { position: relative; padding: 4px 0 4px 21px; font-weight: 500; }
.ml__membres li::before { content: ""; position: absolute; left: 0; top: calc(4px + .75em - 4.5px); width: 9px; height: 9px; border-radius: 50%; background: var(--bleu-fonce); }

@media (max-width: 560px) {
	.ml { padding: 32px 22px 26px; }
	.ml__titre { font-size: 28px; }
	.ml__ligne { grid-template-columns: minmax(0, 1fr); padding: 10px 0; }
}
