/* ============================================================
   Mentions legales
   ============================================================ */

.ml-wrap { max-width: 780px; margin: 0 auto; }

.ml-update {
  font-family: var(--font-spartan); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 3rem;
  display: flex; align-items: center; gap: 0.6rem;
}

.ml-update::before {
  content: ''; width: 24px; height: 1px;
  background: rgba(255,255,255,0.3); flex-shrink: 0;
}

.ml-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .ml-layout { grid-template-columns: 190px 1fr; gap: 3.5rem; }
}

/* Sommaire */
.ml-toc {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); padding: 1.2rem 1rem;
}
@media (min-width: 768px) {
  .ml-toc { position: sticky; top: calc(var(--nav-h) + 8px); }
}
.ml-toc-head {
  font-family: var(--font-spartan); font-weight: 700;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 0.8rem; padding-left: 0.4rem;
}
.ml-toc a {
  display: block; font-size: 0.8rem; color: rgba(255,255,255,0.45);
  padding: 0.26rem 0.5rem; border-radius: 8px; line-height: 1.45;
  transition: color 0.18s, background 0.18s; margin-bottom: 0.12rem;
}
.ml-toc a:hover { color: var(--magenta); background: rgba(var(--magenta-light-rgb),0.06); }
.ml-toc-sep {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 0.6rem 0.5rem;
}

/* Articles */
.ml-art { scroll-margin-top: calc(var(--nav-h) + 16px); margin-bottom: 2.8rem; }
.ml-art:last-child { margin-bottom: 0; }

.ml-art h2 {
  font-family: var(--font-spartan); font-weight: 800;
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 0.6rem;
  line-height: 1.3;
}
.ml-art h3 {
  font-family: var(--font-spartan); font-weight: 700;
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  margin: 1.1rem 0 0.45rem;
}
.ml-num {
  font-family: var(--font-spartan); font-weight: 900;
  font-size: 0.6rem; letter-spacing: 0.06em;
  background: var(--gradient); padding: 0.1rem 0.45rem;
  border-radius: 6px; color: var(--blanc); flex-shrink: 0;
  -webkit-text-fill-color: var(--blanc);
}

.ml-art p {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  line-height: 1.85; margin-bottom: 0.65rem;
}
.ml-art p:last-child { margin-bottom: 0; }
.ml-art strong { color: rgba(255,255,255,0.88); font-weight: 600; }
.ml-art a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.ml-art a:hover { opacity: 0.8; }
.ml-art ul, .ml-art ol {
  padding-left: 1.3rem; margin-bottom: 0.65rem;
}
.ml-art li {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  line-height: 1.8; margin-bottom: 0.28rem;
}

/* Encadrés */
.ml-box {
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  margin: 0.9rem 0; font-size: 0.86rem;
  color: rgba(255,255,255,0.7); line-height: 1.75;
}
.ml-box-ok {
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.2);
}
.ml-box-info {
  background: rgba(var(--violet-tint-rgb),0.08);
  border: 1px solid rgba(var(--violet-tint-rgb),0.2);
}
.ml-box-warn {
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.2);
}
.ml-box strong { color: rgba(255,255,255,0.9); }

/* Tableau */
.ml-table-wrap { overflow-x: auto; margin: 0.9rem 0; }
.ml-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.84rem; min-width: 500px;
}
.ml-table th {
  font-family: var(--font-spartan); font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--magenta); padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left;
}
.ml-table td {
  padding: 0.55rem 0.9rem; color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: top;
  line-height: 1.6;
}
.ml-table tr:last-child td { border-bottom: none; }
.ml-table a { color: var(--magenta); }
