/* ============================================
   PAGES LÉGALES — style_legal.css
   ============================================ */

/* ---------- Base (reprend les variables du site) ---------- */
:root {
  --color-bg:      #000000;
  --color-text:    #f5f5f5;
  --color-muted:   #888888;
  --color-border:  #1f1f1f;
  --color-alpha:   rgba(0, 0, 0, .7);

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --fs-h2:     clamp(2rem, 5vw, 4rem);
  --fs-body:   clamp(.95rem, 1vw, 1.05rem);
  --fs-small:  .85rem;

  --space-xs:  clamp(.5rem, 1vw, .75rem);
  --space-sm:  clamp(.75rem, 1.5vw, 1.25rem);
  --space-md:  clamp(1.25rem, 3vw, 2rem);
  --space-lg:  clamp(1.5rem, 3vw, 2rem);
  --space-xl:  clamp(3rem, 10vw, 8rem);

  --container: min(1200px, 92vw);
  --header-h:  64px;
  --ease:      cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Background parallaxe (fixe, pas de JS ici) ---------- */
.bg-parallax {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000 url('../img/background.jpg') center top / cover no-repeat;
  pointer-events: none;
}

/* ---------- Header simplifié (logo seul) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 var(--space-md);
  background: var(--color-alpha);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
}

.brand-logo {
  display: block;
  height: clamp(20px, 2.6vw, 28px);
  width: auto;
}

/* ---------- Contenu de la page légale ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-md) var(--space-xl);
}

.legal-title {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
}

.legal-content {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.legal-content p {
  margin: 0 0 var(--space-sm);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 var(--space-sm);
}

.legal-content li {
  margin-bottom: .35rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  opacity: .8;
}

/* Lien retour */
.legal-back {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.legal-back a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back a:hover {
  opacity: .8;
}

/* ---------- Footer simplifié (mentions uniquement) ---------- */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: var(--fs-small);
  line-height: 1.3;
  color: var(--color-text);
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.3;
}

.footer-links a {
  color: var(--color-text);
  /* Pas de rollover */
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}