/* legal.css — feuille partagée par les quatre pages légales.
   Reprend l'identité de landing.html (gris royal assombri, or, cyan) en
   version sobre : ces pages se lisent, elles ne séduisent pas. */

:root {
  --bg-royal-center: #44525f;
  --bg-royal-edge: #1a242e;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

html {
  background: radial-gradient(circle at 50% 0%, var(--bg-royal-center) 0%, var(--bg-royal-edge) 100%);
  color: #f1f5f9;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
  background: transparent;
  padding: 40px 24px 80px;
}

.legal-wrap { max-width: 780px; margin: 0 auto; }

.legal-retour {
  display: inline-block;
  margin-bottom: 34px;
  color: #8ceeff;
  text-decoration: none;
  font-size: 1rem;
}
.legal-retour:hover { text-decoration: underline; }

h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 10px;
}

.legal-maj { color: #cbd5e1; font-size: 1.02rem; margin-bottom: 40px; }

h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: #ffd98a;
  margin: 38px 0 14px;
}

h3 { font-size: 1.15rem; color: #8ceeff; margin: 24px 0 10px; }

p, li { color: #f1f5f9; margin-bottom: 14px; }
ul, ol { padding-left: 24px; margin-bottom: 18px; }
li { margin-bottom: 8px; }

a { color: #8ceeff; }

strong { color: #ffd98a; }

.legal-encadre {
  border: 1px solid rgba(252, 211, 77, 0.4);
  border-radius: 18px;
  padding: 24px 26px;
  margin: 28px 0;
  background: rgba(2, 5, 10, 0.35);
}

/* Le cadre a defilement des tableaux. Le liseré lateral n'est pas decoratif :
   il signale qu'il y a quelque chose a droite, sans quoi personne ne devine
   qu'on peut faire glisser. */
.legal-table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 12px;
  background:
    linear-gradient(to right, rgba(255,255,255,0.10), rgba(255,255,255,0) 14px),
    linear-gradient(to left,  rgba(255,255,255,0.10), rgba(255,255,255,0) 14px);
}

.legal-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 1rem; min-width: 460px; }
.legal-table th {
  text-align: left; padding: 11px 12px; color: #ffd98a;
  border-bottom: 2px solid rgba(252, 211, 77, 0.35);
}
.legal-table td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,0.12); }

footer {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 1.02rem;
  font-weight: 500;
  color: #e2e8f0;
}
footer a { margin-right: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
