﻿/* ========================================= */
/* ================ Footer ================= */
/* ========================================= */
.site-footer {
    width: 100%;
    background-color: #020c0e;
    color: #fff;
    font-family: Bai_Jamjuree;
    font-size: 17px;
}

.site-footer__container {
    width: 100%;
    max-width: 1432px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.site-footer__items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.site-footer__item {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 60px 15px 30px;
    border-left: 1px solid rgba(128, 128, 128, 0.2);
    box-sizing: border-box;
}

.site-footer__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.site-footer__icon {
    max-width: 100%;
    max-height: 50px;
    margin-bottom: 0;
}

.site-footer__item p {
    margin-bottom: 0;
}

.site-footer__copyright {
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #c99d53;
}

.site-footer__legal-link {
    color: inherit;
    text-decoration: none;
}

    .site-footer__legal-link:hover {
        /* Couleur différente du fond doré (#c99d53) de .site-footer__copyright :
           sans cette règle, la règle globale "a:hover { color: #c99d53 }"
           s'appliquait et rendait le texte invisible (doré sur doré). */
        color: #020c0e;
        text-decoration: underline;
    }

/* ========================================= */
/* ============= Mode mobile ============== */
/* ========================================= */
@media only screen and (max-width: 980px) {

    .site-footer__container {
        padding: 0;
    }

    .site-footer__items {
        flex-direction: column;
        width: 100%;
    }

    .site-footer__item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 10px 15px;
        border: 0px solid rgba(128, 128, 128, 0.2);
    }

    .site-footer__copyright {
        width: 100%;
        max-width: 100%;
        padding: 10px 1rem;
        box-sizing: border-box;
    }
}
