/* Pages secondaires (mentions légales, confidentialité) */
.page-legal .site-header { position: sticky; }
.page-legal .site-header::after { display: none; }
.legal { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.legal-container { max-width: 820px; }
.legal .h2 { margin-bottom: 48px; }
.legal h2:not(.h2) {
    margin: 44px 0 12px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--olive);
}
.legal p, .legal li { color: var(--anthracite); }
.legal p + p, .legal [data-exploitant] + p { margin-top: 10px; }
.legal [data-exploitant] { margin-top: 10px; color: var(--anthracite); }
.legal a { text-underline-offset: 3px; }
.credits { margin: 14px 0; padding-left: 18px; font-size: .92rem; }
.credits li + li { margin-top: 6px; }
.site-footer-compact { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.site-footer-compact .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 900px) {
    .page-legal .header-inner .btn { display: inline-flex; }
}

/* Conditions générales */
.cgl-wait { padding: 32px; background: var(--white); border: 1px solid var(--line); }
.cgl-wait p + p { margin-top: 12px; }
.cgl-wait .btn { margin-top: 12px; }
.cgl-draft { margin-bottom: 36px; padding: 18px 20px; border-radius: 8px; background: #f8ecc4; color: #3b2c00; font-size: .9rem; line-height: 1.55; }
.cgl-draft code { font-size: .85em; }
.todo { display: inline; padding: 2px 8px; border-radius: 4px; background: #f6d9d2; color: #7a2214; font-size: .86em; font-weight: 400; }
.cgl-toc { margin-bottom: 24px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); }
.cgl-toc ol { columns: 2; column-gap: 32px; padding-left: 20px; font-size: .88rem; }
.cgl-toc li { break-inside: avoid; padding: 3px 0; }
.cgl-article h2 .draft-badge { letter-spacing: .1em; }
.cgl-article .dash-list { margin-top: 8px; }
.cgl-article p + p, .cgl-article .dash-list + p { margin-top: 10px; }
.cgl-version { margin-top: 48px; color: var(--stone); }
@media (max-width: 700px) { .cgl-toc ol { columns: 1; } .cgl-wait { padding: 22px; } }
