/* Feuille commune à confidentialite.html et cgu.html.
   Jetons repris de index.html pour que les pages légales fassent partie du même site. */
:root {
  --gold: #D4AF37; --gold-light: #F5DEB3; --gold-20: rgba(212,175,55,0.20);
  --black: #0C0A09; --black-light: #1C1917; --black-mid: #292524;
  --neutral-700: #57534E; --neutral-600: #78716C; --neutral-500: #A8A29E;
  --neutral-400: #D6D3D1; --neutral-200: #E7E5E4; --white: #FAFAF9;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--neutral-200);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
header.topbar {
  border-bottom: 1px solid var(--gold-20); padding: 1rem 0;
  position: sticky; top: 0; z-index: 10;
  background: rgba(12,10,9,0.92); backdrop-filter: blur(8px);
}
header.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--white); }
.nav-logo:hover { text-decoration: none; }
.nav-logo-mark { width: 32px; height: 32px; display: block; }
.nav-back { font-size: 0.875rem; color: var(--neutral-500); }
main { padding: 3rem 0 4rem; }
h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--white); line-height: 1.2; margin: 0 0 0.4rem; }
.updated { color: var(--neutral-500); font-size: 0.9rem; margin: 0 0 2rem; }
.lede { font-size: 1.05rem; color: var(--neutral-400); margin-bottom: 2.5rem; }
h2 { font-family: var(--font-display); font-size: 1.45rem; color: var(--gold-light); margin: 3rem 0 0.75rem; scroll-margin-top: 5rem; }
h3 { font-size: 1.02rem; color: var(--white); margin: 1.75rem 0 0.4rem; }
ul, ol { padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.94rem; }
th, td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--black-mid); vertical-align: top; }
th { color: var(--gold-light); font-weight: 600; background: var(--black-light); }
.callout { background: var(--black-light); border-left: 3px solid var(--gold); padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 6px 6px 0; }
.callout p:first-child { margin-top: 0; } .callout p:last-child { margin-bottom: 0; }
.toc { background: var(--black-light); border: 1px solid var(--black-mid); border-radius: 8px; padding: 1.1rem 1.4rem; margin-bottom: 2.5rem; }
.toc p { margin: 0 0 0.6rem; color: var(--neutral-500); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a { color: var(--neutral-400); font-size: 0.9rem; }
/* Visible exprès : rien portant cette classe ne doit être publié. Chercher « A-CONFIRMER ». */
.todo { background: #7F1D1D; color: #FEE2E2; padding: 0.1em 0.45em; border-radius: 3px; font-weight: 600; font-size: 0.9em; }
footer.foot { border-top: 1px solid var(--black-mid); padding: 2rem 0 3rem; color: var(--neutral-600); font-size: 0.875rem; }
footer.foot a { color: var(--neutral-400); }
footer.foot .row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
@media (max-width: 640px) { main { padding: 2rem 0 3rem; } th, td { padding: 0.5rem; } table { font-size: 0.875rem; } }
