/* =========================
   PAGES LÉGALES
   (mentions légales, vie privée, cookies)
========================= */

.legal-section,
.privacy-section,
.cookies-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 190px 20px 100px;
    font-family: Arial, sans-serif;
    color: #2b2b2b;
}

.legal-kicker,
.privacy-label,
.cookies-label {
    display: inline-block;
    color: #5a8fcb;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.legal-container h1,
.privacy-container h1,
.cookies-container h1 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
}

.legal-version,
.privacy-version,
.cookies-version {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.legal-container h2,
.privacy-container h2,
.cookies-container h2 {
    font-size: 24px;
    font-weight: 600;
    color: #5a8fcb;
    margin: 40px 0 14px;
}

.legal-container p,
.privacy-container p,
.cookies-container p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-container a,
.privacy-container a,
.cookies-container a {
    color: #5a8fcb;
    text-decoration: underline;
}

/* =========================
   MENTIONS LÉGALES (grille clé / valeur)
========================= */
.legal-grid {
    margin-top: 30px;
    border-top: 1px solid #e3e3e3;
}

.legal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e3e3e3;
}

.legal-label {
    flex: 0 0 320px;
    font-weight: 700;
    color: #111;
}

.legal-value {
    flex: 1;
    color: #2b2b2b;
}

.legal-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e3e3e3;
    font-size: 14px;
    color: #666;
}

.legal-footer p {
    margin-bottom: 6px;
}

/* =========================
   VIE PRIVÉE (adresse + tableau RGPD)
========================= */
.privacy-address {
    margin: 0 0 20px;
    line-height: 1.6;
}

.privacy-table-wrapper {
    overflow-x: auto;
    margin: 20px 0 30px;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.privacy-table th,
.privacy-table td {
    text-align: left;
    padding: 14px 16px;
    border: 1px solid #e3e3e3;
    vertical-align: top;
}

.privacy-table th {
    background: #5a8fcb;
    color: #fff;
    font-weight: 600;
}

.privacy-table tbody tr:nth-child(even) {
    background: #f7f9fc;
}

/* =========================
   COOKIES (encart de notice)
========================= */
.cookies-notice {
    background: #f1f6fb;
    border-left: 4px solid #5a8fcb;
    padding: 16px 20px;
    margin: 20px 0 30px;
    font-size: 15px;
    color: #2b2b2b;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-section,
    .privacy-section,
    .cookies-section {
        padding: 150px 16px 70px;
    }

    .legal-container h1,
    .privacy-container h1,
    .cookies-container h1 {
        font-size: 28px;
    }

    .legal-label {
        flex: 0 0 100%;
    }
}
