.ly-footer-wrapper {
    /* Rapatriement des variables globales nécessaires au footer */
    --primary: #D32F2F;
    --white: #ffffff;

    /* --- TECHNIQUE DE DÉBORDEMENT FORCÉ (Breakout) --- */
    /* Force le footer à prendre 100% de l'écran, même s'il est coincé dans un container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
}

/* --- 12. FOOTER PERMANENT --- */
.ly-footer-wrapper .footer-permanent {
    background: #111;
    /* Noir très profond */
    color: #eee;
    padding: 80px 5% 40px;
    font-family: 'Poppins', sans-serif;
}

.ly-footer-wrapper .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.ly-footer-wrapper .footer-col h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.ly-footer-wrapper .footer-col ul {
    list-style: none;
    padding: 0;
}

.ly-footer-wrapper .footer-col ul li {
    margin-bottom: 12px;
}

.ly-footer-wrapper .footer-col ul li a {
    color: #aaa;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-decoration: none;
    /* Sécurité Bootstrap */
}

.ly-footer-wrapper .footer-col ul li a:hover {
    color: var(--primary);
}

.ly-footer-wrapper .footer-description {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 20px 0;
}

/* Ajuster l'espacement et l'alignement des icônes */
.ly-footer-wrapper .footer-socials {
    display: flex;
    justify-content: center;
    /* Centre les icônes entre elles */
    gap: 15px;
    margin-top: 10px;
    /* Espace entre le texte et les icônes */
    width: 100%;
    /* Assure que le flexbox occupe toute la largeur pour le centrage */
}

.ly-footer-wrapper .footer-socials a {
    color: #888;
    font-size: 1.2rem;
    transition: color 0.3s;
    text-decoration: none;
}

.ly-footer-wrapper .footer-socials a:hover {
    color: var(--primary);
}

.ly-footer-wrapper .footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
}

.ly-footer-wrapper .footer-bottom .copyright {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Cibler spécifiquement la première colonne du footer */
.ly-footer-wrapper .footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centre tout le contenu de la colonne horizontalement */
    text-align: center;
    /* Aligne le texte de la description au centre */
}

.ly-footer-wrapper .footer-logo img {
    max-height: 45px;
    width: auto;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 900px) {
    .ly-footer-wrapper .container-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .ly-footer-wrapper .container-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ly-footer-wrapper .footer-socials {
        justify-content: center;
    }
}