/* ─── Page mentions légales ─── */
.legal-page {
  overflow: auto;
}

.legal-page header {
  position: sticky;
  top: 0;
}

.back-link {
  text-decoration: none;
  color: var(--text);
  transition: opacity .2s;
}
.back-link:hover { opacity: .55; }

.legal-wrapper {
  min-height: calc(100vh - 56px);
  display: flex;
  justify-content: center;
  padding: 80px 48px 64px;
}

.legal-content {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.legal-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.025em;
}

.legal-title .i {
  color: var(--text);
  font-weight:400;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
}

.legal-section a {
  color: var(--a2);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.legal-section a:hover { opacity: .7; }

.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.legal-footer a:hover { color: var(--text); }

@media (max-width: 768px) {
  .legal-wrapper { padding: 48px 24px 48px; }
  .legal-title { font-size: clamp(40px, 12vw, 64px); }
}
