/* =====================================================
   MAXIME DUFLOT — Mentions légales
   ===================================================== */

/* ── Page wrapper ── */
.ml-page {
  background: var(--paper-soft);
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ── Hero ── */
.ml-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) var(--gutter) clamp(40px, 5vw, 64px);
}

.ml-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 20px;
}

.ml-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 24px;
}

.ml-title em {
  font-style: italic;
  color: var(--rust);
}

.ml-hero-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.7;
  margin: 0 0 40px;
  letter-spacing: 0.02em;
}

.ml-rule {
  width: 48px;
  height: 1.5px;
  background: var(--rust);
  opacity: 0.5;
}

/* ── Body container ── */
.ml-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(60px, 8vw, 100px);
}

/* ── Section ── */
.ml-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 32px;
  padding: clamp(36px, 4vw, 52px) 0;
  border-top: 1px solid rgba(28, 24, 20, 0.09);
}

.ml-section:first-child {
  border-top: none;
}

/* Numéro de section */
.ml-section-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--rust);
  opacity: 0.55;
  padding-top: 6px;
  text-align: right;
  letter-spacing: 0.03em;
  user-select: none;
}

/* ── Titre de section ── */
.ml-section-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.25;
}

.ml-intro {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

/* ── Liste définitions ── */
.ml-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.ml-dl-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 24, 20, 0.06);
  align-items: baseline;
}

.ml-dl-row:last-child {
  border-bottom: none;
}

.ml-dl dt {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.65;
}

.ml-dl dd {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

.ml-dl dd a {
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.ml-dl dd a:hover {
  border-bottom-color: var(--rust);
}

/* ── Prose ── */
.ml-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ml-prose p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
  max-width: 62ch;
}

.ml-prose a {
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 93, 58, 0.35);
  transition: border-color 0.2s;
}

.ml-prose a:hover {
  border-bottom-color: var(--rust);
}

/* ── Séparateur décoratif ── */
.ml-divider {
  padding: clamp(20px, 3vw, 32px) 0;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ml-divider::before,
.ml-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(183, 93, 58, 0.2), transparent);
}

.ml-divider-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--rust);
  opacity: 0.4;
  letter-spacing: 0.2em;
}

/* ── Lien retour ── */
.ml-back {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
}

.ml-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.ml-back-link:hover {
  color: var(--rust);
  gap: 14px;
}

.ml-back-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.ml-back-link:hover .ml-back-arrow {
  transform: translateX(-3px);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .ml-hero,
  .ml-body,
  .ml-back {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ml-section {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .ml-section-label {
    text-align: left;
    padding-top: 0;
  }

  .ml-dl-row {
    grid-template-columns: 1fr;
    gap: 3px 0;
  }

  .ml-dl dt {
    font-size: 11px;
    opacity: 0.55;
  }

  .ml-dl dd {
    font-size: 14px;
  }
}
