/* ==========================================================================
   FOOTER — LONS ENTREPRENEURS
   ========================================================================== */

.site-footer {
    position: relative;

    padding: 88px 0 28px;

    background: #0E2434;

    color: #FFFFFF;
}

.footer-inner {
    position: relative;
}


/* ==========================================================================
   LIGNE PRINCIPALE
   ========================================================================== */

.footer-main {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 48px;

    padding-bottom: 28px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .10);
}


/* ==========================================================================
   LOGO
   ========================================================================== */

.footer-main__logo {
    flex: 0 0 auto;
}

.footer-logo {
    display: inline-flex;

    align-items: center;

    margin: 0;

    text-decoration: none;

    transition:
        opacity .3s ease,
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.footer-logo:hover {
    opacity: .85;

    transform: translateY(-1px);
}

.footer-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 112px;
    max-height: 66px;

    object-fit: contain;
}

.footer-logo__fallback {
    color: #FFFFFF;

    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}


/* ==========================================================================
   PARTIE DROITE
   ========================================================================== */

.footer-main__right {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 26px;

    min-width: 0;
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.footer-navigation__list {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 4px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-navigation__item {
    margin: 0;
}

.footer-navigation__link {
    position: relative;

    display: inline-flex;

    align-items: center;

    padding: 8px 11px;

    color: #FFFFFF;

    font-family: "Poppins", sans-serif;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.3;

    text-decoration: none;

    transition:
        color .3s ease;
}

.footer-navigation__link::after {
    content: "";

    position: absolute;

    left: 11px;
    right: 11px;
    bottom: 3px;

    height: 2px;

    border-radius: 8px;

    background: #2EA3F2;

    opacity: 0;

    transform: scaleX(.35);

    transition:
        opacity .3s ease,
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.footer-navigation__link:hover,
.footer-navigation__link:focus-visible {
    color: #FFFFFF;
}

.footer-navigation__link:hover::after,
.footer-navigation__link:focus-visible::after {
    opacity: 1;

    transform: scaleX(1);
}


/* ==========================================================================
   RÉSEAUX SOCIAUX
   ========================================================================== */

.footer-socials {
    display: flex;

    align-items: center;

    gap: 16px;

    flex: 0 0 auto;
}

.footer-socials__item {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 28px;

    padding: 0;

    color: #FFFFFF;

    font-size: 2rem;

    line-height: 1;

    text-decoration: none;

    transition:
        color .3s ease,
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.footer-socials__item:hover,
.footer-socials__item:focus-visible {
    color: #2EA3F2;

    transform: translateY(-2px);
}


/* ==========================================================================
   BARRE BASSE
   ========================================================================== */

.footer-bottom-row {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 32px;

    padding-top: 24px;
}

.footer-bottom__mentions-line {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 4px;

    margin: 0;

    color:
        rgba(255, 255, 255, .88);

    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.5;
}

.footer-bottom__link {
    color: #FFFFFF;

    text-decoration: underline;

    text-underline-offset: 2px;

    transition:
        color .3s ease;
}

.footer-bottom__link:hover,
.footer-bottom__link:focus-visible {
    color: #2EA3F2;
}

.footer-bottom__sep {
    opacity: .65;
}


/* ==========================================================================
   CRÉDIT MY PRODUCTION
   ========================================================================== */

.footer-bottom__credit {
    display: inline-flex;

    align-items: center;

    flex: 0 0 auto;

    margin: 0;

    opacity: .95;

    transition:
        opacity .3s ease,
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.footer-bottom__credit:hover {
    opacity: 1;

    transform: translateY(-1px);
}

.footer-bottom__credit img {
    display: block;

    width: auto;
    height: auto;

    max-width: 92px;
    max-height: 34px;

    object-fit: contain;
}


/* ==========================================================================
   APPARITION AU SCROLL
   ========================================================================== */

.js-footer [data-animate="footer"] {
    opacity: 0;

    will-change:
        opacity,
        transform;
}


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

@media (max-width: 991.98px) {

    .site-footer {
        padding: 64px 0 26px;
    }

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

        gap: 36px;
    }

    .footer-main__right {
        align-items: flex-end;

        flex-direction: column;

        gap: 20px;
    }

    .footer-navigation__list {
        justify-content: flex-end;
    }

}


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

@media (max-width: 767.98px) {

    .site-footer {
        padding: 52px 0 24px;
    }

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

        flex-direction: column;

        gap: 32px;

        padding-bottom: 28px;
    }

    .footer-main__right {
        align-items: flex-start;

        width: 100%;
    }

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

        gap: 4px;
    }

    .footer-navigation__link {
        padding:
            6px
            0;

        font-size: 1.6rem;
    }

    .footer-navigation__link::after {
        left: 0;
        right: 0;
        bottom: 0;
    }

    .footer-socials {
        gap: 18px;
    }

    .footer-bottom-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 24px;
    }

    .footer-bottom__mentions-line {
        font-size: 1.1rem;
    }

}


/* ==========================================================================
   PETIT MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .site-footer {
        padding: 44px 0 22px;
    }

    .footer-logo img {
        max-width: 100px;
        max-height: 60px;
    }

}


/* ==========================================================================
   ACCESSIBILITÉ
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .js-footer [data-animate="footer"] {
        opacity: 1 !important;

        transform: none !important;

        will-change: auto;
    }

    .footer-logo,
    .footer-navigation__link,
    .footer-navigation__link::after,
    .footer-socials__item,
    .footer-bottom__link,
    .footer-bottom__credit {
        transition: none !important;
    }

}
