/* ==========================================================
   FOOTER PHAR'EAUX
   ========================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    background-color: #06172D;
    color: #FFFFFF;
}

.site-footer a {
    color: inherit;
}

/* ==========================================================
   PARTENAIRES
   ========================================================== */

.footer-partners {
    padding: 96px 0;
    background-color: #06172D;
}

.footer-partners__title {
    margin: 0;

    color: #FFFFFF;

    font-family: "Gotham", sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.05;
}

.footer-partners__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;

    width: 100%;
}

.footer-partners__item {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1 1 0;
    min-width: 0;
}

.footer-partners__item img {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 80px;

    object-fit: contain;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
}

.footer-partners__item:hover img {
    transform: translateY(-4px);
    opacity: 0.82;
}

/* ==========================================================
   FOOTER PRINCIPAL
   ========================================================== */

.footer-main-section {
    padding: 96px 0 32px;
    background-color: #06172D;
}

.footer-main {
    align-items: flex-start;
}

.footer-column {
    color: #FFFFFF;
}

.footer-logo {
    display: inline-block;
    max-width: 200px;

    text-decoration: none;
}

.footer-logo img {
    display: block;

    width: 100%;
    max-width: 200px;
    height: auto;
}

/* Titres Navigation / Contact */
.footer-column__title {
    margin: 0 0 20px;

    color: #9AD3EE;

    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

/* ==========================================================
   MENU SECONDAIRE
   ========================================================== */

.footer-menu ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-menu ul a {
    margin: 0;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu li + li {
    margin-top: 10px;
}

.footer-menu a {
    display: inline-block;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
    color: #9AD3EE;
    transform: translateX(4px);
}

.footer-menu .sub-menu {
    margin-top: 10px;
    padding-left: 16px;
}

.footer-menu .sub-menu a {
    font-size: 1.4rem;
    opacity: 0.8;
}

/* ==========================================================
   CONTACT
   ========================================================== */

.footer-contact__line {
    margin: 0 0 12px;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
}

.footer-contact__line a {
    color: inherit;
    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-contact__line a:hover,
.footer-contact__line a:focus-visible {
    color: #9AD3EE;
}

.footer-contact__address,
.footer-contact__address p {
    margin: 0;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
}

.footer-contact__address p + p {
    margin-top: 4px;
}

/* ==========================================================
   CTA + RÉSEAUX
   ========================================================== */

.footer-column--cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-cta__btn.btn {
    background-color: #9AD3EE;
    border-color: #9AD3EE;
    color: #06172D;
}

.footer-cta__btn.btn:hover,
.footer-cta__btn.btn:focus-visible {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #06172D;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;

    margin-top: 24px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 12px;

    background-color: #2E73B7;
    color: #FFFFFF;

    transform: rotate(45deg);

    text-decoration: none;

    transition:
        background-color 0.3s ease,
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    transform: rotate(-45deg);
}

.footer-social__icon i {
    font-size: 2rem;
    line-height: 1;
}

.footer-social__icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
    background-color: #9AD3EE;
    color: #06172D;
    transform: rotate(45deg) scale(1.08);
}

/* ==========================================================
   LIGNE BASSE
   ========================================================== */

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;

    margin-top: 64px;
}

.footer-bottom__legal {
    margin: 0;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    line-height: 1.4;
}

.footer-bottom__legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;

    transition: color 0.3s ease;
}

.footer-bottom__legal a:hover,
.footer-bottom__legal a:focus-visible {
    color: #9AD3EE;
}

.footer-bottom__credit {
    display: inline-block;
    max-width: 120px;
}

.footer-bottom__credit img {
    display: block;

    width: 100%;
    max-width: 120px;
    height: auto;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1199.98px) {
    .footer-partners__list {
        gap: 32px;
    }
}

@media (max-width: 991.98px) {
    .footer-partners,
    .footer-main-section {
        padding: 80px 0;
    }

    .footer-partners__title {
        margin-bottom: 48px;
        font-size: 4rem;
    }

    .footer-partners__title br {
        display: none;
    }

    .footer-partners__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 48px;
    }

    .footer-partners__item {
        min-height: 72px;
    }

    .footer-partners__item img {
        max-height: 64px;
    }

    .footer-main {
        row-gap: 56px;
    }

    .footer-column--cta {
        align-items: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .footer-partners,
    .footer-main-section {
        padding: 64px 0;
    }

    .footer-partners__title {
        margin-bottom: 40px;
        font-size: 3.2rem;
    }

    .footer-partners__list {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-main {
        row-gap: 48px;
    }

    .footer-logo {
        max-width: 180px;
    }

    .footer-logo img {
        max-width: 180px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        margin-top: 56px;
    }
}

@media (max-width: 479.98px) {
    .footer-partners__list {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-partners__item {
        justify-content: flex-start;
    }

    .footer-partners__item img {
        max-width: 220px;
        max-height: 64px;
    }

    .footer-social__link {
        width: 44px;
        height: 44px;
    }
}
