/* =====================================================
   FOOTER — CIME
===================================================== */

.site-footer {
    width: 100%;

    background: #111820;

    color: #ffffff;

    padding: 64px 0 25px;

    border-top: 3px solid #075cae;
}


/* =====================================================
   CONTENEUR PRINCIPAL
===================================================== */

.footer-container {
    width: min(1500px, calc(100% - 140px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1.2fr;

    gap: 65px;

    padding-bottom: 65px;
}


/* =====================================================
   CIME RDC
===================================================== */

.footer-brand {
    max-width: 460px;
}


/* Titre CIME RDC */

.footer-title {
    display: inline-block;

    margin-bottom: 24px;

    color: #ffffff;

    font-size: 32px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0;

    text-decoration: none;
}

.footer-title strong {
    color: #ffffff;

    font-weight: 800;

    letter-spacing: 1px;
}


/* Description */

.footer-brand p {
    max-width: 450px;

    margin: 0;

    color: #aebbc8;

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   LOGO EN BAS DE L'IDENTITÉ
===================================================== */

.footer-logo {
    display: block;

    width: 78px;

    height: auto;

    margin-top: 30px;

    object-fit: contain;
}


/* =====================================================
   COLONNES
===================================================== */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}


/* Titres */

.footer-column h3 {
    position: relative;

    margin: 0 0 12px;

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.3;
}


/* Petite ligne bleue */

.footer-column h3::after {
    content: "";

    display: block;

    width: 28px;

    height: 2px;

    margin-top: 9px;

    background: #0871c9;
}


/* Liens et informations */

.footer-column a,
.footer-column p {
    margin: 0;

    color: #91a0af;

    font-size: 14px;

    line-height: 1.6;

    text-decoration: none;
}


/* Animation légère des liens */

.footer-column a {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}


/* =====================================================
   CONTACT
===================================================== */

.footer-contact p {
    color: #91a0af;
}


/* =====================================================
   LIGNE INFÉRIEURE
===================================================== */

.footer-bottom {
    width: min(1360px, calc(100% - 140px));

    margin: 0 auto;

    padding-top: 27px;

    border-top: 1px solid rgba(255, 255, 255, 0.13);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* Copyright */

.footer-bottom p {
    margin: 0;

    color: #71808f;

    font-size: 13px;

    line-height: 1.5;
}


/* =====================================================
   RÉSEAUX SOCIAUX
===================================================== */

.footer-social {
    display: flex;

    align-items: center;

    gap: 25px;
}

.footer-social a {
    color: #ffffff;

    font-size: 14px;

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.footer-social a:hover {
    color: #2d8bd3;
}


/* =====================================================
   PETITE TOUCHE DES COULEURS DU LOGO
===================================================== */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #075cae 0%,
            #075cae 72%,
            #f2c400 72%,
            #f2c400 84%,
            #d71920 84%,
            #d71920 100%
        );
}


/* =====================================================
   TABLETTE
===================================================== */

@media (max-width: 900px) {

    .footer-container {
        width: calc(100% - 70px);

        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }

    .footer-bottom {
        width: calc(100% - 70px);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .site-footer {
        padding: 55px 0 22px;
    }

    .footer-container {
        width: calc(100% - 40px);

        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 45px;
    }

    .footer-title {
        font-size: 29px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-bottom {
        width: calc(100% - 40px);

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .footer-social {
        gap: 20px;
    }

}