/* ========================================
   PAGES D'INFORMATIONS LÉGALES
======================================== */

.legal-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 60px !important;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

/* Titre principal */

.legal-page > h1 {
    text-align: center;
    color: rgb(158, 30, 44);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px !important;
    line-height: 1.3;
}

/* Sous-titres */

.legal-page > h2 {
    color: rgb(158, 30, 44);
    font-size: 21px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(158, 30, 44, 0.18);
    text-align: left;
}

/* Paragraphes */

.legal-page p {
    margin-bottom: 18px;
    text-align: justify;
}

/* Listes */

.legal-page ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

.legal-page li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.legal-page li::marker {
    color: rgb(158, 30, 44);
}

/* Liens */

.legal-page a {
    color: rgb(158, 30, 44);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.legal-page a:hover {
    color: rgb(115, 22, 33);
}

/* Adaptation tablette */

@media (max-width: 768px) {
    .legal-page {
        padding: 35px 25px !important;
        font-size: 15px;
    }

    .legal-page > h1 {
        font-size: 27px;
        margin-bottom: 30px !important;
    }

    .legal-page > h2 {
        font-size: 19px;
        margin-top: 28px;
    }
}

/* Adaptation mobile */

@media (max-width: 480px) {
    .legal-page {
        padding: 25px 18px !important;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1.7;
    }

    .legal-page > h1 {
        font-size: 23px;
    }

    .legal-page > h2 {
        font-size: 18px;
    }

    .legal-page p {
        text-align: left;
    }
}
