/* DataSAI - Mentions légales, confidentialité et conditions : polices du site (Instrument Serif, Inter, IBM Plex Mono),
   navigation visible sur mobile, retours vers le site et l'Académie, encadré « L'essentiel ». Le texte juridique n'est pas mis en forme autrement. */
html body { font-family: 'Inter', system-ui, sans-serif !important; }
html body :is(p, li, a, span, b, strong, td, th) { font-family: inherit; }
html body h1, html body h2, html body h3 { font-family: 'Instrument Serif', Georgia, serif !important; font-weight: 400 !important; letter-spacing: -.005em !important; }
html body h1 { font-size: clamp(36px, 4.6vw, 56px) !important; line-height: 1.04 !important; }
html body h2 { font-size: clamp(28px, 3vw, 36px) !important; line-height: 1.1 !important; }
html body h3 { font-size: 22px !important; line-height: 1.2 !important; }
html body .eyebrow { font-family: 'IBM Plex Mono', monospace !important; letter-spacing: .12em !important; }
html body .lead { font-size: 17px !important; line-height: 1.7 !important; }
html body .toc a { font-family: 'Inter', sans-serif !important; border-radius: 999px !important; }
html body .updated { font-family: 'IBM Plex Mono', monospace !important; font-size: 12.5px !important; }

/* Navigation : le menu du site (balisage de la page À propos), avec menu mobile et choix de la langue */

/* Retours vers le site et l'Académie */
.lg-retours { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.lg-retours a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font: 600 13.5px 'Inter', sans-serif; text-decoration: none;
  color: #0b1220; background: #fff; border: 1px solid #e3d8c2; box-shadow: 0 6px 16px rgba(20,30,50,.06); }
.lg-retours a:hover { border-color: #c9a86a; }

/* L'essentiel en bref */
.lg-essentiel { margin: 26px 0 30px; padding: 26px 26px 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(70% 70% at 100% 0%, rgba(231,217,182,.14), transparent 60%), linear-gradient(165deg, #16233f 0%, #0b142a 48%, #060a16 100%);
  border: 1px solid rgba(231,217,182,.25); }
.lg-essentiel h2 { margin: 0 0 16px !important; color: #fff !important; font-size: clamp(26px, 2.6vw, 32px) !important; }
.lg-essentiel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lg-essentiel li a { display: block; height: 100%; padding: 14px 16px; border-radius: 14px; text-decoration: none; background: rgba(255,255,255,.05); border: 1px solid rgba(231,217,182,.16); transition: border-color .2s; }
.lg-essentiel li a:hover { border-color: rgba(231,217,182,.5); }
.lg-essentiel b { display: block; margin-bottom: 4px; font: 600 11.5px 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #e7d9b6; }
.lg-essentiel span { display: block; font-size: 14.5px; line-height: 1.55; color: rgba(226,232,240,.85); }
.lg-essentiel > p { margin: 14px 0 0 !important; font-size: 12.5px !important; color: rgba(226,232,240,.55) !important; }
@media (max-width: 900px) { .lg-essentiel ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lg-essentiel { padding: 22px 16px 14px; } .lg-essentiel ul { grid-template-columns: 1fr; } }
