/* monimmo — page Informations légales (legal.html) : même direction que le site public (index.html), sobre et lisible.
   Police Geist servie par monimmo (aucun appel à un tiers). */
/* Jetons de design communs à toute l'app (couleurs, rayons, ombres) */
@import url("jetons.css");
@font-face { font-family: Geist; src: url(geist-400.woff2) format('woff2'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: Geist; src: url(geist-600.woff2) format('woff2'); font-weight: 600 800; font-style: normal; font-display: swap; }
/* Écarts de la page publique par rapport à jetons.css (valeurs d'avant le lot B3, rendu inchangé) */
:root {
  --faint: #94a3b8; --warn: #9a5b00; --warn-soft: #fff5e1;
  --wm-taille: 1.35rem; /* mot-symbole de l'en-tête de la page publique */
  font-family: "Geist", system-ui, -apple-system, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg-app); font-size: 16px; line-height: 1.6; }
a { color: var(--info); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: var(--r-xs); }
.lg-conteneur { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* En-tête marine, comme les bandeaux de l'application */
.lg-haut { background: radial-gradient(700px 360px at 85% -10%, rgba(56,182,255,.35), transparent 70%), radial-gradient(600px 300px at 0% 120%, rgba(31,111,255,.35), transparent 70%), var(--primary); color: #fff; padding-bottom: 40px; }
.lg-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.logo .wm { font-weight: var(--wm-graisse); font-size: var(--wm-taille); letter-spacing: var(--wm-approche); line-height: 1; } /* même règle que l'app (jetons --wm-*) */
.logo .wm-point { color: var(--sky); }
.logo .logo-symbole svg { width: 30px; height: 30px; display: block; }
.logo .logo-symbole rect { fill: #fff; } .logo .logo-symbole path { stroke: var(--primary); }
.lg-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 11px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.lg-btn:hover { background: rgba(255,255,255,.2); }
.lg-titre h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; line-height: 1.05; margin: 24px 0 10px; font-weight: 650; }
.lg-titre p { margin: 0; color: rgba(255,255,255,.78); max-width: 640px; }

/* Sommaire collant et textes */
.lg-corps { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: -20px; padding-bottom: 64px; }
.lg-sommaire { position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 18px 12px; }
.lg-sommaire b { display: block; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.lg-sommaire ol { list-style: none; margin: 0; padding: 0; }
.lg-sommaire a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.lg-sommaire a small { display: block; color: var(--faint); font-size: .8125rem; font-weight: 400; }
.lg-sommaire a:hover, .lg-sommaire a[aria-current="true"] { background: var(--accent-soft); }
.lg-textes { min-width: 0; outline: none; }
.lg-charge { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; color: var(--muted); }
.lg-alerte { background: var(--warn-soft); border: 1px solid #f3d9a4; color: var(--warn); border-radius: var(--r-tile); padding: 14px 18px; margin-bottom: 20px; font-size: .92rem; }
.lg-texte { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 32px 36px; margin-bottom: 24px; }
.lg-texte > header { border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 18px; }
.lg-texte > header h2 { font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 6px; font-weight: 650; }
.lg-version { display: inline-block; font-size: .8125rem; color: var(--muted); background: var(--bg-app); border: 1px solid var(--border); border-radius: 99px; padding: 2px 10px; }
.lg-texte h3 { font-size: 1.12rem; margin: 28px 0 8px; letter-spacing: -.01em; font-weight: 650; }
.lg-texte p, .lg-texte li, .lg-texte dd { color: #24364f; }
.lg-texte ul { padding-left: 1.2em; } .lg-texte li { margin: 6px 0; }
.lg-texte .chapeau { font-size: 1.02rem; color: var(--ink); }
.lg-texte code { font-size: .86em; background: var(--bg-app); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 1px 6px; white-space: nowrap; }
.fiche { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 6px 18px; margin: 10px 0; }
.fiche dt { color: var(--muted); font-size: .92rem; } .fiche dd { margin: 0; }
.tableau { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; }
.tableau table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.tableau th { background: var(--bg-app); font-weight: 600; color: var(--muted); font-size: .82rem; }
.tableau tr:last-child td { border-bottom: 0; }
.encadre { background: var(--bg-app); border: 1px dashed #c9d6e6; border-radius: 12px; padding: 4px 18px; margin: 14px 0; }
.a-completer { background: var(--warn-soft); color: var(--warn); border-radius: var(--r-xs); padding: 0 6px; font-weight: 600; font-size: .92em; }
.lg-haut-page { display: inline-block; margin-top: 18px; font-size: .88rem; }

.lg-pied { border-top: 1px solid var(--border); background: #fff; padding: 24px 0; color: var(--muted); font-size: .88rem; }
.lg-pied .lg-conteneur { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .lg-corps { grid-template-columns: 1fr; margin-top: -16px; }
  .lg-sommaire { position: static; }
}
@media (max-width: 560px) {
  .lg-conteneur { padding: 0 16px; }
  .lg-texte { padding: 22px 18px; border-radius: 16px; }
  .fiche { grid-template-columns: 1fr; gap: 0; } .fiche dd { margin-bottom: 8px; }
  .lg-btn { height: 44px; }
}
@media print {
  .lg-haut, .lg-sommaire, .lg-pied, .lg-haut-page { display: none; }
  body { background: #fff; } .lg-corps { display: block; } .lg-texte { box-shadow: none; border: 0; break-before: page; }
}
