/*
 * assets/css/legal.css
 * Styles communs aux pages légales : CGU, mentions légales, confidentialité.
 */

.mc-legal {
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 0 20px;
  font: 16px/1.75 'Inter', system-ui, sans-serif;
  color: #0f172a;
}

.mc-legal h1 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: #0c4a6e;
  margin-bottom: 8px;
}

.mc-legal-updated {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 28px;
  font-style: italic;
}

.mc-legal h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0c4a6e;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.mc-legal h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 20px 0 8px;
}

.mc-legal p {
  margin: 0 0 14px;
  color: #334155;
  line-height: 1.75;
}

.mc-legal ul,
.mc-legal ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #475569;
}

.mc-legal li { margin-bottom: 6px; }

.mc-legal a {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
}
.mc-legal a:hover { text-decoration: underline; }

/* Sommaire */
.mc-legal-toc {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 28px;
}
.mc-legal-toc strong { display: block; font-size: 13px; font-weight: 800; color: #0369a1; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.mc-legal-toc ol { margin: 0; padding-left: 18px; }
.mc-legal-toc li { margin-bottom: 4px; font-size: 14px; }
.mc-legal-toc a { color: #0369a1; font-weight: 500; }

@media (max-width: 640px) {
  .mc-legal { padding: 0 14px; margin-top: 24px; }
}
