/* ═══ Pages légales (mentions, conditions de vente, confidentialité, contact) ═
   Même langage visuel que les autres pages publiques (Rajdhani, voiles
   anthracite, filets or), mais volontairement plus sobre : ce sont des textes
   qu'on lit, pas des pages de présentation. Pas d'image de fond ici, un dégradé
   suffit et évite de charger un asset pour une page consultée rarement. */

html { background: var(--bg); }
body.page-legal { background: transparent; }

.page-bg-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201,147,58,0.10) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #07070a 0%, #000 100%);
  pointer-events: none;
}

.legal-page {
  padding-top: 64px;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  --ink: #eef1f7;
  --sub: #b3bccb;
  --faint: #8a94a6;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.legal-hero {
  position: relative;
  padding: 104px 0 56px;
  border-bottom: 1px solid var(--border);
}
.legal-title {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  margin: 10px 0 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.legal-sub {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0 0 18px;
}
.legal-updated {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}

/* ── Mise en page : sommaire à gauche, document à droite ────────────── */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 96px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  border-left: 2px solid var(--border);
  padding-left: 18px;
}
.legal-nav-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245,216,133,0.78);
  margin: 0 0 14px;
}
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav li { margin-bottom: 10px; }
.legal-nav a {
  color: var(--sub);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.15s ease;
}
.legal-nav a:hover { color: var(--gold-lt); }
.legal-nav a.active { color: var(--gold); font-weight: 600; }

/* ── Corps du document ──────────────────────────────────────────────── */
.legal-doc { max-width: 78ch; }

.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }

.legal-section h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border2);
  letter-spacing: 0.01em;
}

.legal-section p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--sub);
  margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-section li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--sub);
  margin-bottom: 10px;
}
.legal-section li::marker { color: var(--gold-dk); }
.legal-section strong { color: var(--ink); font-weight: 600; }

.legal-section a {
  color: var(--gold-lt);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,147,58,0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.legal-section a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Mobile : le sommaire repasse au-dessus, en ligne ───────────────── */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .legal-nav {
    position: static;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding-left: 0;
    padding-bottom: 20px;
  }
  .legal-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .legal-nav li { margin-bottom: 0; }
  .legal-hero { padding: 84px 0 40px; }
  .legal-doc { max-width: none; }
}
