/* ═══════════════════════════════════════════════
   PÔLE SPORTIF SLS — Pages légales
   CSS additionnel (à charger après styles.css)
═══════════════════════════════════════════════ */

/* Nav simplifiée pour les pages légales */
.legal-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.legal-nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.legal-nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.legal-nav-logo span {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--cream);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.legal-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cream2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .3s ease;
}

.legal-nav-back:hover {
  color: var(--cream);
  border-color: var(--blue3);
  background: var(--noir3);
}

.legal-nav-back svg {
  width: 14px;
  height: 14px;
}

/* Hero des pages légales */
.legal-hero {
  position: relative;
  padding: 160px 40px 80px;
  background: var(--noir2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 138, 238, 0.12) 0%, rgba(43, 138, 238, 0) 70%);
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--blue3);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}

.legal-hero-eyebrow::before {
  content: '';
  width: 38px; height: 1.5px;
  background: var(--blue3);
}

.legal-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--cream);
  margin: 0;
}

.legal-hero-title em {
  font-style: normal;
  color: var(--blue3);
}

.legal-hero-subtitle {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream2);
  font-weight: 300;
  max-width: 680px;
  margin-top: 24px;
}

/* Contenu principal des pages légales */
.legal-content {
  padding: 80px 40px 120px;
}

.legal-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.5px;
  margin: 64px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  position: relative;
}

.legal-content h2::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--blue3);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h2:first-child::before {
  display: none;
}

.legal-content h3 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 36px 0 14px;
}

.legal-content p {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--cream2);
  margin-bottom: 18px;
}

.legal-content strong {
  color: var(--cream);
  font-weight: 600;
}

.legal-content em {
  font-style: italic;
  color: var(--cream);
}

.legal-content ul,
.legal-content ol {
  margin: 18px 0;
  padding-left: 28px;
}

.legal-content li {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--cream2);
  margin-bottom: 10px;
}

.legal-content li::marker {
  color: var(--blue3);
  font-weight: 700;
}

.legal-content a {
  color: var(--blue3);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 138, 238, 0.4);
  transition: all .2s ease;
}

.legal-content a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* Bloc d'information mis en avant */
.legal-info-block {
  background: var(--noir3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue3);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 6px;
}

.legal-info-block p {
  margin-bottom: 10px;
}

.legal-info-block p:last-child {
  margin-bottom: 0;
}

.legal-info-block-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cream3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Table d'infos clés */
.legal-info-table {
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.legal-info-table-label,
.legal-info-table-value {
  padding: 16px 24px;
  background: var(--noir3);
}

.legal-info-table-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cream3);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.legal-info-table-value {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--cream);
  font-weight: 500;
}

/* Date mise à jour */
.legal-last-update {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cream3);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-top: 48px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.legal-last-update::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--blue3);
  border-radius: 50%;
}

/* Footer simplifié pour pages légales */
.legal-footer {
  padding: 50px 40px;
  background: var(--noir1);
  border-top: 1px solid var(--line);
  text-align: center;
}

.legal-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 24px;
}

.legal-footer-links a {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cream2);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .2s;
}

.legal-footer-links a:hover {
  color: var(--blue3);
}

.legal-footer-copy {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cream3);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .legal-nav {
    padding: 14px 20px;
  }

  .legal-nav-back {
    padding: 10px 16px;
    font-size: 10px;
  }

  .legal-nav-back-label {
    display: none;
  }

  .legal-hero {
    padding: 130px 24px 60px;
  }

  .legal-hero-title {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .legal-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .legal-content {
    padding: 60px 24px 80px;
  }

  .legal-content h2 {
    font-size: 24px;
    margin: 48px 0 16px;
  }

  .legal-info-table {
    grid-template-columns: 1fr;
  }

  .legal-info-table-label {
    border-bottom: 1px solid var(--line);
  }

  .legal-footer {
    padding: 40px 24px;
  }

  .legal-footer-links {
    gap: 20px;
  }
}
