/*
 * [AUDIT] Fichier extrait de footer.php (lignes 81-281)
 * Le CSS inline reste en place dans le PHP — ce fichier est créé pour migration future.
 * NE PAS enqueue ce fichier tant que le <style> inline n'a pas été supprimé.
 */

    /* [AUDIT] CODE MORT — CSS scrollToTop : le bouton HTML #scrollToTop est commenté (lignes 73-76),
       donc ce CSS est orphelin. Commenté pour cohérence. */
    /*
    .scroll-to-top {
        position: fixed;
        bottom: 65px;
        left: 20px;
        background-color: #e65f0d;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        font-size: 24px;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
    }
    */

    .footer-bottom-nav {
        background-color: #000;
        padding: 15px 10px;
        text-align: center;
    }

    .footer-bottom-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-bottom-menu li a {
        color: #fff;
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-bottom-menu li a:hover {
        color: #e65f0d;
    }

    @media (max-width: 600px) {
        .footer-bottom-menu {
            flex-direction: column;
            gap: 10px;
        }

        .footer-bottom-menu li a {
            font-size: 0.85rem;
        }
    }


    /* ========== BANNIÈRES STICKY BOTTOM ========== */
    /* ========== BANNIÈRES STICKY BOTTOM ========== */
    .sticky-ad {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /*  RETIRÉ : background et padding */
        z-index: 998;
        text-align: center;
        transition: all 0.3s ease;
    }

    .sticky-ad.hidden {
        display: none !important;
        /*  CHANGÉ : display none au lieu de transform */
    }

    /* Quand au footer : position relative */
    .sticky-ad.at-footer {
        position: relative;
        bottom: auto;
        width: max-content;
        max-width: 40%;
        margin: auto;
        margin-bottom: -40px;
    }

    .sticky-ad.sticky-ad-mobile img,
    .sticky-ad.at-footer img {
        margin: 0;
    }

    /* Bouton de fermeture - POSITIONNÉ SUR LA PUB */
    .sticky-ad-close {
        position: absolute;
        top: 0;
        /*  Plus haut pour être visible sur la pub */
        right: 0;
        width: 30px;
        height: 30px;
        background: rgba(0, 0, 0, 0.8);
        /*  Plus opaque pour contraster avec la pub */
        color: #fff;
        border: 2px solid #fff;
        /*  Bordure blanche pour plus de visibilité */
        border-radius: 50%;
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        line-height: 1;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        /*  Ombre pour détacher du fond */
    }

    .sticky-ad-close:hover {
        background: rgba(230, 95, 13, 0.9);
        /*  Couleur orange de votre site au survol */
        transform: scale(1.1);
    }

    /* Contenu de la pub */
    .sticky-ad-content {
        text-align: center;
        line-height: 0;
        font-size: 0;
        position: relative;
        /*  Pour que la croix se positionne par rapport à la pub */
    }

    .sticky-ad-content * {
        line-height: 0 !important;
    }

    .sticky-ad-content div[data-lebar-trackid],
    .sticky-ad-content div[id^="lebar-"] {
        line-height: 0 !important;
        font-size: 0 !important;
    }

    .sticky-ad-content img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }

    /* Desktop visible, Mobile caché par défaut */
    .sticky-ad-desktop {
        display: block;
        width: 40%;
        margin: auto;
    }

    .sticky-ad-mobile {
        display: none;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .sticky-ad-desktop {
            display: none;
        }

        .sticky-ad-mobile {
            display: block;
        }

        .sticky-ad-close {
            top: 5px;
            right: 5px;
            width: 28px;
            height: 28px;
            font-size: 18px;
        }
    }

    /* Padding body - inchangé */
    body.has-sticky-ad {
        padding-bottom: 100px;
        /*  Réduit un peu */
    }

    @media (max-width: 768px) {
        body.has-sticky-ad {
            padding-bottom: 60px;
            /*  Réduit un peu */
        }
    }

