/* Feuille de style partagée par les 4 pages légales statiques
   (mentions-legales.html, cgu.html, cgv.html, confidentialite.html).
   Reprend exactement les tokens de couleur/typo de index.html pour que ces
   pages restent visuellement cohérentes avec le reste du site — ne PAS
   diverger de cette palette sans mettre à jour index.html en parallèle. */

:root {
  --navy: #14151a;
  --navy-soft: #1d1f27;
  --navy-line: rgba(247,241,230,0.14);
  --cream: #faf7f1;
  --cream-deep: #efe4cf;
  --paper: #ffffff;
  --ink: #221f1d;
  --ink-soft: #6f6759;
  --gold: #a1743a;
  --gold-bright: #c99a4f;
  --tan: #c9a063;
  --line: rgba(34,31,29,0.12);
  --shadow: 0 30px 60px -30px rgba(20,21,26,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ---------- TOPBAR (retour accueil) ---------- */
.legal-topbar {
  background: var(--navy);
  padding: 20px 0;
}
.legal-topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-brand img { width: 32px; height: 32px; border-radius: 8px; }
.legal-brand span {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--cream);
}
.legal-back {
  font-size: 14px;
  font-weight: 600;
  color: rgba(247,241,230,0.78);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.legal-back:hover { color: var(--gold-bright); }

/* ---------- HERO / TITRE ---------- */
.legal-hero {
  background: var(--cream);
  padding: 60px 0 38px;
  border-bottom: 1px solid var(--line);
}
.legal-hero .eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.legal-hero h1 {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 4.2vw, 42px);
  margin: 14px 0 10px;
  color: var(--ink);
}
.legal-updated {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CONTENU ---------- */
.legal-content { padding: 48px 0 72px; }
.legal-article { max-width: 70ch; margin: 0 auto; }
.legal-article h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 40px 0 14px;
}
.legal-article h2:first-of-type { margin-top: 0; }
.legal-article p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.legal-article p:last-child { margin-bottom: 0; }
.legal-article a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(161,116,58,0.35); }
.legal-article a:hover { text-decoration-color: var(--gold); }

/* ---------- FOOTER (liens croisés) ---------- */
.legal-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
}
.legal-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.legal-crosslinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
}
.legal-crosslinks a { color: var(--ink); }
.legal-crosslinks a:hover, .legal-crosslinks a.active { color: var(--gold); }
.legal-crosslinks span { color: var(--ink-soft); opacity: 0.5; }
.legal-copy {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
}
