.legal-main {
  min-height: 70vh;
  background:
    linear-gradient(145deg, rgba(92,13,25,.13) 0 19%, transparent 19.2%),
    #0b090a;
}

.legal-container {
  width: min(100%, 960px);
  margin: 0 auto;
}

.legal-header {
  padding: calc(var(--header-h) + 74px) var(--pad) 46px;
  border-bottom: 1px solid rgba(239,181,77,.18);
}

.legal-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5.5vw, 5.1rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.legal-content {
  padding: 58px var(--pad) clamp(86px, 9vw, 126px);
}

.legal-sections {
  display: grid;
  gap: 0;
}

.legal-sections > section {
  padding: 34px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.legal-sections > section:first-child { padding-top: 0; }
.legal-sections > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-sections h2 {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.legal-sections p {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-sections p:last-child { margin-bottom: 0; }
.legal-sections strong { color: #fff; }
.legal-sections a {
  color: #f4eee7;
  text-decoration: underline;
  text-decoration-color: rgba(239,181,77,.5);
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.legal-sections a:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold-bright);
}
.legal-placeholder { color: #f4eee7; }
.footer-legal a[aria-current="page"] { color: var(--gold-bright); }

@media (max-width: 640px) {
  .legal-header {
    padding: calc(var(--header-h) + 48px) 20px 34px;
  }
  .legal-header h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }
  .legal-content {
    padding: 42px 20px 78px;
  }
  .legal-sections > section {
    padding: 27px 0 29px;
  }
  .legal-sections h2 { font-size: .7rem; }
  .legal-sections p {
    font-size: .95rem;
    line-height: 1.7;
  }
}

/* Conditions Générales de Vente */
.legal-document-meta {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(239,181,77,.18);
}
.legal-document-meta p {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.68;
}
.legal-document-meta p:last-child { margin-bottom: 0; }
.legal-document-meta strong { color: #fff; }
.legal-document-meta a {
  color: #f4eee7;
  text-decoration: underline;
  text-decoration-color: rgba(239,181,77,.5);
  text-underline-offset: 3px;
}
.cgv-page .legal-sections h2 {
  color: var(--gold-bright);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: .035em;
  text-transform: none;
}
.cgv-page .legal-sections ul {
  max-width: 820px;
  margin: 8px 0 0;
  padding-left: 1.35rem;
  color: var(--muted);
}
.cgv-page .legal-sections li {
  margin: 0 0 9px;
  padding-left: .25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.cgv-page .legal-sections li:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .legal-document-meta { margin-top: 26px; padding-top: 22px; }
  .legal-document-meta p { font-size: .9rem; line-height: 1.65; }
  .cgv-page .legal-sections h2 { font-size: .92rem; }
  .cgv-page .legal-sections li { font-size: .95rem; line-height: 1.65; }
}


/* Politique de confidentialité */
.privacy-page .legal-sections ul {
  max-width: 820px;
  margin: 8px 0 18px;
  padding-left: 1.35rem;
  color: var(--muted);
}
.privacy-page .legal-sections li {
  margin: 0 0 8px;
  padding-left: .25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.privacy-page .legal-sections li:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .privacy-page .legal-sections li {
    font-size: .95rem;
    line-height: 1.65;
  }
}
