/* Pages légales (mentions légales, politique de confidentialité) */
:root {
  --orange: #fe4608;
  --pale: #dae3fd;
  --white: #ffffff;
  --bg: #050818;
  --grad-text: linear-gradient(90deg, #e9104d 0%, #e7461d 50%, #fe4608 100%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'neulis-neue', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HEADER ── */
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 48px;
  border-bottom: 1px solid rgba(218, 227, 253, 0.06);
}
.legal-header img { display: block; height: 32px; width: auto; }
.legal-back {
  font-size: 13px;
  color: rgba(216, 227, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .legal-back:hover { color: var(--white); }
}

/* ── CONTENT ── */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.legal-intro {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(216, 227, 255, 0.78);
  margin-bottom: 48px;
}
.legal-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(216, 227, 255, 0.06);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.legal-section h3 {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  margin: 18px 0 8px;
}
.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(216, 227, 255, 0.78);
}
.legal-section p { margin-bottom: 10px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.legal-section ul:last-child { margin-bottom: 0; }
.legal-section li {
  padding-left: 14px;
  position: relative;
}
.legal-section li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--orange);
}
.legal-section a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(254, 70, 8, 0.4);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.legal-section a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}
.legal-section strong { color: var(--white); font-weight: 600; }
.legal-updated {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(216, 227, 255, 0.4);
  font-style: italic;
}

/* ── FOOTER ── */
.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 48px;
  border-top: 1px solid rgba(218, 227, 253, 0.06);
  font-size: 12px;
  color: rgba(216, 227, 255, 0.55);
}
.legal-footer ul { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.legal-footer a {
  font-size: 13px;
  color: rgba(216, 227, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.legal-footer a[aria-current="page"] { color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .legal-footer a:hover { color: var(--white); }
}

@media (max-width: 760px) {
  .legal-header { padding: 20px 16px; }
  .legal-header img { height: 26px; }
  .legal-page { padding: 48px 16px 72px; }
  .legal-title { font-size: 32px; }
  .legal-footer { padding: 32px 16px; }
  .legal-footer ul { gap: 20px; }
}
