/* ===== Pages légales (mentions légales + CGV) — identité v2 =====
 * Mêmes tokens que le reste du site : pastel, verre, Geist + Pixelify Sans.
 */

:root {
  --shell:  #fff5f0;
  --teal:   #7bc6c9;
  --teal-ink: #2e7377;
  --aqua:   #a5e1df;
  --coral:  #ffb199;
  --coral-deep: #ef8f6e;
  --peach:  #ffcdb2;
  --ink:    #26393c;
  --muted:  #5d7275;
  --line:   rgba(38, 57, 60, 0.16);
  --sans:    "Geist", -apple-system, "Helvetica Neue", sans-serif;
  --display: "Pixelify Sans", "Geist", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(58% 46% at 14% 6%, rgba(165, 225, 223, 0.5), transparent 70%),
    radial-gradient(50% 42% at 88% 30%, rgba(255, 205, 178, 0.45), transparent 72%),
    var(--shell);
  background-attachment: fixed;
  min-height: 100vh;
}

/* --- barre haute (verre, identique à la page récupération) --- */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 12px 32px rgba(123, 198, 201, 0.16);
}
.brand {
  font-family: var(--display);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.topbar-back {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.topbar-back:hover { color: var(--coral-deep); }

/* --- contenu --- */
.legal-main {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) 0 70px;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 1rem;
  text-align: center;
}
h1 {
  font-family: var(--display);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 2.4rem;
  text-align: center;
}
h1 em { font-style: normal; color: var(--coral-deep); }

.legal-panel {
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 22px 54px rgba(123, 198, 201, 0.16);
}
.legal-panel h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 2.2rem 0 0.7rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal-panel h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-panel p, .legal-panel li {
  line-height: 1.7;
  color: #3c5154;
  font-size: 0.96rem;
  margin: 0.5rem 0;
}
.legal-panel ul { padding-left: 1.2rem; }
.legal-panel strong { color: var(--ink); }
.legal-panel a { color: var(--coral-deep); text-decoration: none; }
.legal-panel a:hover { text-decoration: underline; }
.legal-date {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- pied de page --- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 22px;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--coral-deep); }
