/* =========================================================
   DIMDAM TRAVAUX — PAGES LÉGALES
   (Mentions légales / CGV / Politique de confidentialité)
========================================================= */

.legal-page-title {
  padding: calc(var(--header-height) + clamp(2rem, 5vw, 3.5rem)) var(--gutter) 3rem;
  background: var(--white);
  text-align: center;
}

.legal-page-title h1 {
  color: var(--purple);
  font-size: clamp(2.1rem, 1rem + 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.legal-page-title h1 span {
  color: var(--orange);
  font-style: italic;
}

.legal-page-title p {
  max-width: 600px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-content {
  padding: 1rem var(--gutter) clamp(4rem, 8vw, 6rem);
  background: var(--white);
}

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

.legal-content-inner section {
  margin-bottom: 2.6rem;
}

.legal-content-inner h2 {
  color: var(--purple);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(43, 19, 64, 0.1);
}

.legal-content-inner h3 {
  color: var(--purple);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.2rem 0 0.5rem;
}

.legal-content-inner p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.legal-content-inner ul {
  margin: 0.4rem 0 0.8rem 1.3rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

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

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

.legal-content-inner a {
  color: var(--orange);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.legal-updated {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: var(--cream);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 20px;
}

.legal-placeholder {
  background: rgba(240, 125, 10, 0.1);
  color: #b35e00;
  padding: 0.05rem 0.4rem;
  border-radius: 3px;
  font-weight: 600;
}
