/* ================================================== */
/*  PYXIDA Patrimoine — Pages légales                 */
/*  Surcharge minimale du theme dark V5               */
/* ================================================== */

.legal-page {
  background: var(--brun-bg);
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.legal-page::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(173, 147, 104, 0.08), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.legal-container {
  max-width: 880px;
  position: relative;
}

.legal-head {
  margin-bottom: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--rule);
}

.legal-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--creme);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-soft);
}

.legal-section {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--creme);
  margin-bottom: 18px;
  line-height: 1.2;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 24px;
}

.legal-section h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--dore-bright);
  margin: 24px 0 10px;
  letter-spacing: 0.02em;
}

.legal-section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 14px;
  max-width: 70ch;
}

.legal-section p strong {
  color: var(--creme);
  font-weight: 600;
}

.legal-list {
  margin: 14px 0 18px;
  padding-left: 0;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 70ch;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--dore-bright);
}

.legal-list li strong {
  color: var(--creme);
  font-weight: 600;
}

.legal-section .inline-link {
  color: var(--dore-bright);
  border-bottom: 1px solid var(--dore-bright);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.legal-section .inline-link:hover {
  color: var(--creme);
}
