/* ==========================================================================
   Acephal — legal pages (/confidentialite/, /mentions-legales/)
   Loaded after home.css and projet.css (compact header, breadcrumb, tokens).
   ========================================================================== */

.legal {
    max-width: 46rem;
    margin-inline: auto;
    padding: var(--space-6) var(--space-5);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
    color: var(--text-body);
    line-height: 1.65;
}

.legal h2 {
    margin-top: var(--space-6);
    font-size: 1.15rem;
    font-weight: var(--weight-bold);
    line-height: 1.3;
    color: var(--text-strong);
}

.legal > h2:first-of-type {
    margin-top: var(--space-5);
}

.legal p,
.legal ul {
    margin-top: var(--space-3);
}

.legal ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.legal li::marker {
    color: var(--accent-on-light);
}

.legal li + li {
    margin-top: var(--space-2);
}

.legal strong {
    color: var(--text-strong);
}

.legal a {
    color: var(--accent-on-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal__updated {
    font-size: 0.85rem;
}

/* Information still to be supplied by Acephal, shown as "En cours de traitement".
   The class is kept to find these spots easily once the details are known. */
.todo {
    font-style: italic;
}

@media (min-width: 600px) {
    .legal {
        padding: var(--space-7) var(--space-6);
    }
}
