/* ====================================================================
   Jeunesse 2027 — page mentions légales / RGPD
   Charte sobre lisible : fond navy, texte blanc, accent acid
   ================================================================== */

@font-face {
  font-family: "CyGrotesk Grand";
  src: url("../fonts/CyGroteskStd-GrandRegular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CyGrotesk Grand";
  src: url("../fonts/CyGroteskStd-GrandMedium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CyGrotesk Grand";
  src: url("../fonts/CyGroteskStd-GrandBold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CyGrotesk Grand";
  src: url("../fonts/CyGroteskStd-GrandHeavy.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --navy:   #1a0a3d;
  --navy-2: #241452;
  --acid:   #c8f402;
  --green:  #11d761;
  --white:  #ffffff;
  --muted:  rgba(255,255,255,.72);
  --line:   rgba(255,255,255,.18);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "CyGrotesk Grand", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--green); }

.legal-header {
  padding: 1.4rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.legal-back {
  display: inline-flex; align-items: center; gap: .8rem;
  color: var(--white); text-decoration: none;
  font-weight: 700;
}
.legal-back:hover { opacity: .85; color: var(--white); }
.legal-back span { font-size: 1.4rem; line-height: 1; }
.legal-back img  { display: block; height: 32px; width: auto; }

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}

h1 {
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  text-transform: lowercase;
}
.lede {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.lede strong { color: var(--white); }

section { margin: 2.5rem 0; }
h2 {
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -.01em;
  text-transform: lowercase;
  color: var(--acid);
  margin: 0 0 1rem;
}
h3 {
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: lowercase;
  letter-spacing: .02em;
  margin: 1.5rem 0 .5rem;
}
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.4rem; }
li { margin: .35rem 0; }
strong { font-weight: 700; }

.legal-foot {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.legal-foot p { margin: .3rem 0; }
