.footer {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 5vw;
    padding: 6vw;
    position: relative;
    z-index: 3;
}
.footer .sub-menu {
    display: none;
}
.footer .menu > li > a {
    color: var(--mColor);
    font-family: var(--ffMBo);
    font-size: var(--fsTitleH3);
    line-height: var(--fsTitleMore);
    text-transform: uppercase;
}
.footer .menu-secondary_menu-container > .menu > li > a {
    font-size: var(--fsCorpsLess);
    line-height: 1.4375rem;
}
.footer__logo {
    width: 40vw;
}
.footer > div > ul#menu-secondary_menu {
    gap: calc(var(--fsTitleH3) * 1.35);
    margin-top: 5vw;
}
.footer > div > ul {
    display: flex;
    flex-direction: column;
    gap: var(--fsTitleH3);
}
.footer__socials {
    display: flex;
    gap: 4vw;
    margin-top: 5vw;
    padding-inline: 2.5vw;
}
.footer__network {
    align-items: center;
    background-color: var(--whiteBis);
    border: .0625rem solid var(--mColor);
    border-radius: .25rem;
    display: flex;
    height: 3.75rem;
    justify-content: center;
    transition: all .25s ease;
    width: 3.75rem;
}
.footer__network:hover {
    background-color: var(--mColor);
    transition: all .25s ease;
}
.footer__logoNetwork {
    transition: all .25s ease;
}
.footer__network:hover .footer__logoNetwork {
    filter: brightness(0%) invert(1);
    transition: all .25s ease;
}
.footer__filigrane {
    margin-top: 5vw;
}

.footer__bottom {
    text-align: center;
    padding-inline: 10%;
}
.footer__bottom, .footer__bottom a{
    color: var(--mColor);
    font-family: var(--ffMRe);
    font-size: .75rem;
    line-height: .9375rem;
}
.footer--desktop {
    display: none;
}
.footer--desktop .filigrane__inner span {
    color: transparent;
    font-family: var(--ffSRe);
    font-size: 3.6875rem;
    line-height: 3.75rem;
    margin: 0 -5vw;
    text-align: center;
    -webkit-text-stroke: 1px var(--mColor);
}
.filigrane.footer--mobile {
    font-size: 3rem;
}

@media screen and (min-width: 575.98px) {
    .footer__logo {
        width: 30vw;
    }
}

@media screen and (min-width: 767.98px) {
    .footer__logo {
        width: 25vw;
    }
}

@media screen and (min-width: 991.98px) {
    .footer {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3.5vw 5vw;
        justify-content: space-between;
        padding: 6vw 4vw 4vw 4vw;
    }
    .footer__link--logo {
        width: 15vw;
    }
    .footer > div > ul {
        flex-direction: row;
    }
    .footer .menu > li > a {
        font-size: var(--fsCorpsLess);
        line-height: var(--fsTitleMore);
    }
    .footer__socials {
        gap: 1.4375rem;
        margin-top: 0;
        padding-inline: 0;
    }
    .footer__filigrane {
        margin-top: 0;
    }
    .footer__filigrane {
      position: relative;
      width: 100vw;
      overflow: hidden;
      margin-top: 5vw;
      pointer-events: none;
      white-space: nowrap;
      z-index: 1;
    }
    
    .filigrane__inner {
      display: inline-block;
      white-space: nowrap;
      animation: scroll-filigrane 40s linear infinite;
    }
    
    .filigrane__inner span {
      display: inline-block;
      padding-right: 2rem; /* petit espace entre les duplications si besoin */
      color: transparent;
      -webkit-text-stroke: 1px var(--mColor);
    }
    
    @keyframes scroll-filigrane {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }   
    .footer--desktop {
        display: block;
        margin-block: -3.5vw -2.5vw;
        margin-inline: -10vw;
        width: 100vw;
    }   
    .footer--mobile {
        display: none;
    }  
    .footer--desktop .filigrane__inner span {
        font-size: 6.5rem;
        line-height: 10.75rem;
        text-wrap: nowrap;
    }
    .footer--desktop .filigrane__inner span:last-child {
        margin-left: 1.5vw;
    }
    .footer > div > ul#menu-secondary_menu {
        margin-top: 0;
    }
    .footer__bottom {
        width: 100%;
    }
}

@media screen and (min-width: 1199.98px) {
    .footer {
        gap: 1.5vw 5vw;
        padding-inline: 9vw;
        padding-bottom: 2vw;
    }
    .footer--desktop {
        margin-block: -2.5vw -1.5vw;
    }
}

@media screen and (min-width: 1399.98px) {
    .footer {
        padding: 2vw 9vw;
    }
    .footer > div > ul#menu-tertiary_menu {
        justify-content: space-around;
        width: 60vw;
    }
    .footer > div > ul#menu-secondary_menu {
        gap: 5vw;
    }
    .footer--desktop {
        margin-block: -1.5vw -1vw;
    }
}

@media screen and (min-width: 1599.98px) {
    .footer__logo {
        width: 12.5vw;
    }
    .footer--desktop {
        margin-block: -1.5vw -1.5vw;
    }
}

@media screen and (min-width: 1799.98px) {
    .footer__link--logo {
        width: 12.5vw;
    }
    .footer {
        gap: 1.5vw 2vw;
        padding: 1.5vw 12vw;
    }
    .footer--desktop {
        margin-inline: -12.5vw;
    }   
}

@media screen and (min-width: 1919.98px) {
    .footer__logo {
        width: 10vw;
    }
    .footer > div > ul#menu-secondary_menu {
        gap: 3.5vw;
    }
    .footer {
        padding-block: 1vw;
    }
}

@media screen and (min-width: 2099.98px) {
    .footer {
        padding-inline: 15vw;
    }
    .footer > div > ul#menu-tertiary_menu {
        width: 50vw;
    }
    .footer__logo {
        width: 8vw;
    }
    .footer--desktop {
        margin-inline: -15vw;
    }   
}