/* Pages légales IA LAB — thème sombre, lisible, responsive. Servies en statique
   via rewrites Next (next.config.ts) sur /mention-legale, /cgv,
   /politique-de-confidentialite. */
:root {
  --bg: #0a0a0d;
  --card: #121216;
  --text: #e9e9ec;
  --muted: #a2a2ad;
  --accent: #d97757;
  --line: rgba(255, 255, 255, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 40px 22px 96px; }
header.lg {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
header.lg img { height: 30px; width: auto; opacity: 0.92; }
header.lg a.home { color: var(--muted); text-decoration: none; font-size: 14px; }
header.lg a.home:hover { color: var(--text); }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; font-weight: 800; }
.updated { color: var(--muted); font-size: 13.5px; margin-bottom: 36px; }
h2 {
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
  margin: 38px 0 12px; color: #fff;
}
h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; color: #fff; }
p, li { color: var(--text); margin-bottom: 12px; }
.muted, .muted * { color: var(--muted); }
ul, ol { padding-left: 22px; margin-bottom: 12px; }
li { margin-bottom: 7px; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #e8896a; }
strong { color: #fff; }
.box {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin: 16px 0;
}
.box p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #fff; font-weight: 600; }
td { color: var(--muted); }
footer.lg {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center;
  font-size: 14px;
}
footer.lg a { color: var(--muted); text-decoration: none; }
footer.lg a:hover { color: var(--text); }
footer.lg .sep { color: rgba(255,255,255,0.18); }
@media (max-width: 480px) { h1 { font-size: 25px; } .wrap { padding: 28px 18px 72px; } }
