/* ==========================================================================
   Move&Shine — legal.css
   Pages légales (politique de confidentialité, CGU, CGV, mentions légales).
   Chargé conditionnellement par les shortcodes [ms_politique_confidentialite],
   [ms_cgu], [ms_cgv], [ms_mentions_legales] — voir inc/ms-legal-pages.php.
   ========================================================================== */

.ms-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-6) var(--sp-9);
}

.ms-legal__header {
  text-align: center;
  margin-bottom: var(--sp-7);
}

.ms-legal__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: #f6f1e6;
  margin: 0 0 var(--sp-3);
}

.ms-legal__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.ms-legal__section {
  padding: var(--sp-6) 0;
}

.ms-legal__section:first-of-type {
  padding-top: 0;
}

.ms-legal__section + .ms-legal__section {
  border-top: 1px solid var(--rule);
}

.ms-legal__heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 var(--sp-4);
}

.ms-legal__body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #b8ad97;
  margin: 0 0 var(--sp-4);
}

.ms-legal__body p:last-child {
  margin-bottom: 0;
}

.ms-legal__body strong {
  color: #f6f1e6;
  font-weight: 700;
}

/* Note temporaire (ex: mention de préouverture) — à retirer du contenu quand elle n'a plus lieu d'être */
.ms-legal__body .ms-legal__note {
  color: rgba(255, 255, 255, 0.35);
}

/* Tableau (ex: liste des cookies déposés) */
.ms-legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--sp-4);
  font-family: var(--font-body);
  font-size: 15px;
}

.ms-legal__table th,
.ms-legal__table td {
  padding: var(--sp-2) var(--sp-3);
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.ms-legal__table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.ms-legal__table td {
  color: #b8ad97;
}

.ms-legal__body ul {
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
}

.ms-legal__body li {
  position: relative;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #b8ad97;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
}

.ms-legal__body li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: var(--r-circle);
  background: var(--gold-500);
}

.ms-legal__body a {
  color: var(--gold-500);
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, 0.4);
  border-bottom: none;
  transition: color var(--dur-fast) var(--ease);
}

.ms-legal__body a:hover {
  color: var(--gold-300);
  border-bottom: none;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .ms-legal {
    padding: var(--sp-6) var(--sp-4) var(--sp-7);
  }

  .ms-legal__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .ms-legal__section {
    padding: var(--sp-5) 0;
  }

  .ms-legal__table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
