/* legal.css — pages légales Tacitum (mentions, CGV, confidentialité).
   Reprend la charte de index.html, simplifiée pour de la prose lisible. */
:root {
  --bg: #0a0c11;
  --surface: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #eef1f6;
  --muted: #9aa4b6;
  --faint: #8a93a6;
  --mint: #5eead4;
  --indigo: #818cf8;
  --grad: linear-gradient(120deg, #6ee7b7 0%, #818cf8 60%, #c084fc 100%);
  --radius: 16px;
  --maxw: 820px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(110,231,183,0.08), transparent 60%),
    radial-gradient(800px 600px at 95% 0%, rgba(129,140,248,0.10), transparent 55%),
    var(--bg);
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: rgba(10,12,17,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; flex: none; }
.nav-back { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-back:hover { color: var(--text); text-decoration: none; }

/* document */
main { padding: clamp(48px, 7vw, 80px) 0 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--mint); padding: 6px 13px; border: 1px solid var(--border);
  border-radius: 100px; background: var(--surface); margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.gradtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.updated { color: var(--faint); font-size: 13.5px; margin-bottom: 40px; }

article h2 {
  font-size: clamp(20px, 3vw, 25px); letter-spacing: -0.01em;
  margin: 44px 0 14px; padding-top: 8px;
}
article h3 { font-size: 17px; margin: 26px 0 8px; color: var(--text); }
article p { color: var(--muted); margin: 0 0 14px; }
article ul, article ol { color: var(--muted); margin: 0 0 16px; padding-left: 22px; }
article li { margin-bottom: 8px; }
article strong, article b { color: var(--text); font-weight: 600; }
article a { word-break: break-word; }

/* champ à compléter — visible, jamais raté avant mise en ligne */
.todo {
  background: rgba(251,191,36,0.14); color: #ffe9b3;
  border: 1px dashed rgba(251,191,36,0.5); border-radius: 6px;
  padding: 1px 7px; font-size: .94em; font-weight: 600;
}

/* encart d'avertissement / note */
.note {
  border-left: 3px solid var(--mint); background: var(--surface);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0 22px;
  color: var(--muted); font-size: 14.5px;
}
.note.warn { border-left-color: #fbbf24; }

/* table */
.tbl { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.tbl th { background: var(--surface); color: var(--text); font-weight: 600; }
.tbl td { color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 50px; margin-top: 60px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-note { color: var(--faint); font-size: 13px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 13px; }
.foot-links a:hover { color: var(--text); }
