/* ==========================================================================
   Legal pages (mentions legales, CGU, CGV, politique confidentialite)
   ========================================================================== */

.legal-page { max-width: 800px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-updated { color: var(--secondary-color); font-size: 0.85rem; margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--dark-color); }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p, .legal-content li { line-height: 1.7; color: var(--color-text); }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.25rem; }

/* Contrat de sous-traitance : encadrés et bandeau d'acceptation. */
.legal-callout {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--color-primary, #4361ee);
    background: var(--color-surface-alt, #f8f9fa);
    border-radius: 0 4px 4px 0;
}
.legal-callout-ok {
    border-left-color: #1a7f4b;
    background: #f1f8f4;
}
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout label { display: block; margin-bottom: 0.75rem; cursor: pointer; }

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border, #e9ecef);
    text-align: left;
}
.legal-table th {
    background: var(--color-primary, #4361ee);
    color: #fff;
    font-weight: 600;
}
.legal-table tbody tr:nth-child(even) { background: var(--color-surface-alt, #f8f9fa); }
