/* Styles généraux du pied de page */
.site-footer {
    position: relative;
    
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 100px 0 40px;
    /* augmente l'espacement haut/bas */
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* overlay plus sombre */
    z-index: 0;
}

.site-footer>* {
    position: relative;
    z-index: 1;
}

.site-footer .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Section supérieure du pied de page (colonnes) */
.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-column {
    flex: 1 1 100%;
    /* Par défaut, chaque colonne prend toute la largeur sur mobile */
    margin-bottom: 30px;
    padding-right: 20px;
    /* Espacement entre les colonnes */
}

/* Ajustements pour les écrans de taille moyenne (tablette) */
@media (min-width: 768px) {
    .footer-column {
        flex: 1 1 calc(50% - 20px);
        /* 2 colonnes sur tablette */
        margin-bottom: 40px;
    }

    .footer-column:nth-child(2n) {
        padding-right: 0;
        /* Pas de padding à droite pour la 2ème colonne de chaque ligne */
    }
}

/* Ajustements pour les grands écrans (desktop) */
@media (min-width: 1024px) {
    .footer-column {
        flex: 1 1 calc(25% - 20px);
        /* 4 colonnes sur desktop */
        margin-bottom: 0;
    }

    .footer-column:first-child {
        flex: 1 1 30%;
        /* La première colonne est un peu plus large */
    }

    .footer-column:last-child {
        padding-right: 0;
    }
}

/* Styles du logo et des informations de contact */
.footer-about .logo-img {
    max-width: 150px;
    /* Taille du logo */
    height: auto;
    margin-bottom: 20px;
}

.footer-widget__about-text {
    margin-top: 43px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

.footer-widget__contact-info .contact-item {
    display: flex;
    font-weight: bold;
    align-items: center;
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-widget__contact-info .contact-item .icon {
    margin-right: 10px;
    color: #ffffff;
    /* Couleur de l'icône */
    min-width: 16px;
    /* Empêche l'icône de se rétrécir */
}

/* Styles des titres de colonne */
.footer-widget__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-widget__title--highlight {
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Styles des listes de liens */
.footer-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget__list li {
    margin-bottom: 10px;
}

.footer-widget__list li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.footer-widget__list li a:hover {
    color: #ffffff;
}

/* Styles des icônes sociales */
.site-footer__social {
    display: flex;
    margin-top: 20px;
    /* Espacement au-dessus des icônes sociales */
}

.social-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    /* Fond blanc pour les icônes */
    border-radius: 4px;
    /* Bords légèrement arrondis */
    margin-right: 10px;
    color: #000000;
    /* Couleur des icônes */
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.social-icon-box:hover {
    background-color: #cccccc;
    /* Changement de couleur au survol */
}

.social-icon-box .social-icon {
    width: 16px;
    height: 16px;
}

/* Ligne de séparation */
.footer-divider {
    border: none;
    border-top: 1px solid #333333;
    /* Ligne fine grise */
    margin: 40px 0 20px;
    /* Espacement autour de la ligne */
}

/* Section inférieure du pied de page (copyright) */
.site-footer__bottom {
    padding-top: 20px;
    text-align: center;
}

.site-footer__bottom-text {
    font-size: 14px;
    color: #cccccc;
}

.site-footer__bottom-text a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer__bottom-text a:hover {
    text-decoration: underline;
}