.footer {
    width: 100%;
    padding: 80px max(5vw, 30px) 30px;
    background: #0a0a0a;
    color: #ffffff;
}

.footer *,
.footer *::before,
.footer *::after {
    box-sizing: border-box;
}

.footer-contenu {
    display: grid;
    grid-template-columns: minmax(280px, 1.3fr) minmax(180px, 0.7fr) minmax(280px, 1fr);
    gap: 70px;
    width: min(1400px, 100%);
    margin: 0 auto;
    padding-bottom: 60px;
}

.footer-presentation {
    max-width: 470px;
}

.footer-logo-lien {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    border-radius: 8px;
}

.footer-logo-lien:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 5px;
}

.footer-logo {
    display: block;
    width: min(100%, 220px);
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.footer-description {
    margin: 0;
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.8;
}

.footer-navigation h2,
.footer-contact h2 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.footer-navigation nav {
    display: grid;
    gap: 15px;
}

.footer-navigation a {
    width: fit-content;
    color: #b8b8b8;
    font-size: 15px;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-navigation a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-navigation a:focus-visible,
.footer-contact a:focus-visible,
.footer-bas a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.4);
    outline-offset: 4px;
}

.footer-coordonnees {
    display: grid;
    gap: 25px;
    margin: 0;
    font-style: normal;
}

.footer-contact-ligne {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.footer-contact-ligne img {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 10px;
    background: #202020;
    object-fit: contain;
    filter: grayscale(1) brightness(2);
}

.footer-contact-ligne div {
    display: grid;
    gap: 5px;
}

.footer-contact-ligne strong {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 16px;
}

.footer-contact-ligne span {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.5;
}

.footer-contact-telephone {
    display: grid;
    gap: 7px;
    padding-left: 59px;
}

.footer-contact-telephone span {
    color: #7d7d7d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact-telephone a {
    width: fit-content;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.footer-contact-telephone a:hover {
    text-decoration: underline;
}

.footer-bas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(1400px, 100%);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #292929;
}

.footer-bas p {
    margin: 0;
    color: #858585;
    font-size: 13px;
}

.footer-bas-liens {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-bas-liens a {
    color: #a3a3a3;
    font-size: 13px;
    text-decoration: none;
}

.footer-bas-liens a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.mentions-legales-resume {
    width: 100%;
    padding: 18px max(5vw, 30px);
    background: #000000;
    text-align: center;
}

.mentions-legales-resume p {
    width: min(1400px, 100%);
    margin: 0 auto;
    color: #686868;
    font-size: 11px;
    line-height: 1.6;
}

@media screen and (max-width: 950px) {
    .footer-contenu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px;
    }

    .footer-presentation {
        grid-column: 1 / -1;
        max-width: 700px;
    }
}

@media screen and (max-width: 650px) {
    .footer {
        padding: 60px 20px 25px;
    }

    .footer-contenu {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 45px;
    }

    .footer-presentation {
        grid-column: auto;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-contact-telephone {
        padding-left: 0;
    }

    .footer-bas {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-bas-liens {
        gap: 18px;
    }

    .mentions-legales-resume {
        padding: 16px 20px;
        text-align: left;
    }
}

@media screen and (max-width: 400px) {
    .footer {
        padding-top: 50px;
    }

    .footer-description {
        font-size: 15px;
    }

    .footer-contact-ligne {
        gap: 14px;
    }

    .footer-contact-ligne img {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-navigation a {
        transition: none;
    }
}