.pix-site-footer {
    background:linear-gradient(to top, #073B21, #106E3F 90%);
    position: relative;

    display: flex;
    flex-direction: row;
}

.pix-site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1920 / 136;
    z-index: 10;
    background: url('i/footer-top.svg') no-repeat center top;
    background-size: 100% auto;
    pointer-events: none;
    user-select: none;
}


.pix-wrapper-footer {
    width: 100%;
    background: #CCDCD4 url('i/bg-footer.webp') center center/cover;
    padding: clamp(100px, 15vw, 240px) 0 60px;

    mask-image: url('i/mask-footer.svg');
    mask-position: right center;
    mask-size: auto 100%;
}

@media 
(-webkit-min-device-pixel-ratio: 1.5), 
(min-resolution: 144dpi) {
    .pix-wrapper-footer {
        background-image: url('i/bg-footer-2x.webp');
    }
}

.pix-wrapper-footer a:hover {
    color: #106E3F!important;
}

.pix-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1540px;
    margin: 0 auto;
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    gap: clamp(30px, 7vw, 140px);
}

.pix-footer-1,
.pix-footer-2 {
    width: 50%;
}

.pix-footer-1 {
    text-align: right;
}
.pix-footer-2 {
    text-align: left;
}

.pix-footer-inner {
    display: inline-block;
    max-width: 300px;
    padding: 0 20px;
    text-align: inherit;
    position: relative;
    z-index: 1;
}

.pix-footer-inner h3 {
    font-family: "Marcellus", serif; 
    font-size: 30px;
    color: #333333;
    font-weight: 400;
    text-transform: none;
    margin-top: 0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
}

.pix-footer-inner h3::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 4px;
    background-color: #C53B39;
}

.pix-footer-2 .pix-footer-inner h3::after {
    left: 0;
    right: auto;
}

.pix-footer-inner a.pix-footer-lien {
    font-weight: 700;
    color: currentColor;
    display: inline-flex;
    align-items: center;
    column-gap: 14px;
    margin-bottom: 10px;
}

.pix-wrapper-footer-reseaux {
    display: inline-flex;
    align-items: center;
    column-gap: 12px;
    margin-top: 20px;
}

.pix-footer-reseaux {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.pix-footer-reseaux img {
    vertical-align: top;
    width: auto;
    height: 32px;
}

.pix-footer-reseaux:hover {
    filter: brightness(0) saturate(100%) invert(33%) sepia(14%) saturate(3035%) hue-rotate(102deg) brightness(91%) contrast(87%);
}


#pix-menu-footer {
    list-style: none;
    padding: 0;
}

#pix-menu-footer a {
    color: #333333;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 400;
    font-family: "Marcellus", serif; 
}





.pix-wrapper-mentions {
    color: #5A5858;
    text-align: center;
    font-size: 17px;
    position: relative;

    padding: 0 2em;

    margin-top: clamp(50px, 15vw, 240px);
}

.pix-wrapper-mentions a {
    color: #5A5858;
    font-weight: 500;
}
.pix-wrapper-mentions a:hover {
    color: #5A5858;
}



.pix-wrapper-footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-shrink: 0;
    padding-right: 60px;
    padding-left: 20px;
}


.pix-wrapper-footer-logo img {
    vertical-align: top;
}


@media (max-width: 1250px) {

    .pix-footer {
        gap: 10px;
    }

    .pix-wrapper-footer-right {
        padding-right: 30px;
        padding-left: 0;
    }

    .pix-wrapper-footer-logo {
        max-width: 200px;
    }
}

@media (max-width: 950px) {
    .pix-footer {
        flex-direction: column;
    }
    
    .pix-footer-1, .pix-footer-2 {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .pix-footer-inner {
        max-width: 450px;
        width: 100%;
        text-align: left;
    }

    
    .pix-footer-inner h3::after {
        right: auto;
        left: 0;
    }
}

@media (max-width: 700px) {
    .pix-site-footer {
        flex-direction: column-reverse;
        background: linear-gradient(to top, #073B21 50%, #106E3F 90%);
    }
    .pix-wrapper-footer {
        background-image: url('i/bg-footer-mobile.webp');
        mask-image: url('i/mask-footer-mobile.svg');
        mask-position: top center;
        mask-size: 100% auto;
    }
    .pix-wrapper-footer-right {
        padding: clamp(60px, 8vw, 100px) 20px 20px;
    }
    .pix-wrapper-footer-logo {
        max-width: 150px;
    }

    .pix-footer-inner {
        text-align: center;
    }

    .pix-footer-inner h3::after,
    .pix-footer-2 .pix-footer-inner h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media 
(-webkit-min-device-pixel-ratio: 1.5) and (max-width: 700px), 
(min-resolution: 144dpi) and (max-width: 700px) {
    .pix-wrapper-footer {
        background-image: url('i/bg-footer-mobile-2x.webp');
    }
}

@media (max-width: 580px) {

    .pix-footer-inner h3 {
        margin-bottom: 15px;
        font-size: 22px;
    }


    .pix-footer {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .pix-wrapper-footer-padding {
        padding-inline: 0;
    }
}

