/* ═══════════════════════════════════════════
   ARTSCÈNE — legal.css
   Style dédié aux pages mentions légales
   et politique des cookies
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:          #000000;
  --white:       #ffffff;
  --white-dim:   rgba(255,255,255,0.55);
  --white-faint: rgba(255,255,255,0.10);
  --gold:        #c9a84c;
  --gold-dim:    rgba(201,168,76,0.3);
  --font-ui:     'Nunito', sans-serif;
  --font-body:   'Nunito', sans-serif;
  --header-h:    64px;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --max-w:       720px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.legal-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-faint);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-out);
}
.legal-back:hover { color: var(--gold); }
.legal-back svg { transition: transform 0.3s var(--ease-out); }
.legal-back:hover svg { transform: translateX(-3px); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.logo-text {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════
   MAIN
═══════════════════════════════════════════ */
.legal-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--header-h) + 72px) 40px 100px;
}

/* ── Intro ── */
.legal-intro {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--white-faint);
}

.legal-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.legal-title {
  font-family: var(--font-ui);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  line-height: 1.1;
}

/* ── Sections ── */
.legal-content { margin-bottom: 56px; }

.legal-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--white-faint);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-dim);
}

.legal-section h3 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  margin-top: 28px;
  text-transform: uppercase;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-dim);
  margin-bottom: 14px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.legal-section ul li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-dim);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.legal-section ul li:last-child { border-bottom: none; }

.legal-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-size: 11px;
  opacity: 0.7;
}

.legal-section strong {
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.legal-section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  transition: border-color 0.3s, color 0.3s;
}
.legal-section a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Placeholder */
.placeholder {
  color: var(--gold);
  font-style: italic;
  opacity: 0.65;
  font-size: 12px;
  background: rgba(201,168,76,0.08);
  padding: 1px 6px;
  border-radius: 3px;
}

/* Date de mise à jour */
.legal-update {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-align: right;
  padding-top: 32px;
  border-top: 1px solid var(--white-faint);
}

/* ═══════════════════════════════════════════
   FOOTER LÉGAL
═══════════════════════════════════════════ */
.legal-footer {
  border-top: 1px solid var(--white-faint);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

.legal-footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px solid transparent;
}
.legal-footer a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}
