footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 3rem 2rem 0;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

#footer-row {
    margin-bottom: 2rem;
}

#logo-networks,
footer #contact,
#access,
#footer-third-col {
    margin-bottom: 2vw;
}

#contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer picture,
footer img:not(picture img) {
    width: initial;
}

@media screen and (min-width: 600px) {
    #logo-networks {
        margin-top: -20px;
    }
}

#logo-networks .networks a picture,
#logo-networks .networks a img:not(picture img) {
    margin: auto auto 6px;
    height: 22px;
}

.networks {
    display: flex;
    gap: 13px;
    align-items: center;
    max-width: 285px;
    min-width: 240px;
}

.networks span {
    position: relative;
}

.networks span {
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 16px;
    padding-bottom: 8px;
}

.footer-title {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2.4px;
    line-height: 22px;
}

address,
.mail-phone {
    display: flex;
    align-items: flex-start;
}

address {
    align-items: flex-start;
}

.mail-phone {
    align-items: center;
}

address div,
.mail-phone div {
    margin-right: 10px;
    width: 20px;
}

#access #footer-first-col {
    padding-top: 0;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.footer__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
    gap: 20px;
    border-right: 1px solid color-mix(in srgb, var(--color-foreground) 17%, transparent);
}

.footer__left a {
    width: fit-content;
}

.footer__right {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.footer__heading {
    font-family: var(--font-secondary);
    font-size: var(--font-size-calendar-days);
    line-height: 1.2;
    font-weight: 200;
    width: 80%;
    text-align: center;
}

.footer__images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__label,
.footer__certif,
.footer__ecolabel {
    height: 100px;
}

.footer__images img {
    height: 100%;
    width: auto;
}

.footer__button {
    background-color: var(--color-primary);
    box-shadow: none;
    outline: inherit;
    border: white 1px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 40px;
    cursor: pointer;
    color: #fff;
}

.footer__mezo {
    margin-top: 40px;
    width: 100%;
}

#footer-first-col,
#footer-sec-col,
#footer-third-col {
    display: flex;
    flex-direction: column;
}

.footer-bloc-liens {
    display: inline-flex;
    flex-direction: column;
    line-height: 15px;
}

#footer-sec-col p {
    margin-bottom: calc(3vh + 7px);
}

.overReserve {
    display: inline-block;
    margin-top: 1rem;
}

.reserve {
    -webkit-box-shadow: 0px 0px 10px #575555;
    box-shadow: 0px 0px 10px #575555;
    border: 2px solid var(--color-primary);
    padding: 20px 50px;
    font-weight: 500;
    background-color: white;
    color: #575555;
    letter-spacing: 2.4px;
}

.mentions {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-block: 1px solid color-mix(in srgb, var(--color-foreground) 17%, transparent);
    padding-block: 40px;
    column-gap: 15px;
}

.google-captcha-message {
    max-width: 500px;
}

#access a,
#footer-third-col a {
    display: inline-block;
}

.mentions a,
.mentions p,
.mentions span {
    font-weight: 500;
    font-size: var(--font-size-sm);
    letter-spacing: 2.4px;
    line-height: 23px;
}

.google-captcha-message p,
.google-captcha-message p a {
    font-size: 10px;
    line-height: 12px;
}

address {
    font-size: 16px;
}

.footer__link {
    font-weight: 300;
}

@media screen and (min-width: 540px) and (max-width: 767px) {
    #footer-row {
        gap: 4%;
    }
}

@media screen and (max-width: 1279px) {
    .mentions {
        flex-wrap: wrap;
    }

    .google-captcha-message {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 1023px) {
    #logo-networks {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    footer p {
        font-size: 13px;
    }

    footer {
        max-height: 1000px;
    }

    #footer-first-col {
        order: 1;
    }

    #footer-third-col {
        order: 3;
        padding: 0;
    }

    #contact {
        align-items: center;
        order: 2;
    }

    .networks {
        justify-content: center;
    }

    .footer__top {
        flex-direction: column;
        gap: 50px !important;
        text-align: center;
        justify-content: center;
    }

    .footer__right>* {
        width: 33%;
    }

    .footer__left {
        align-items: center;
        justify-content: center;
    }

    .footer__right,
    .footer__left {
        width: 100%;
        border: none;
    }

    .mentions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 50px;
        text-align: center;
        justify-items: center;
    }

    .google-captcha-message {
        grid-column: 1 / 4;
    }

    .footer__button {
        grid-column: 3;
    }
}

@media screen and (max-width: 767px) {
    footer {
        max-height: 1100px;
    }

    .footer-title {
        text-align: center;
    }

    #footer-row {
        flex-direction: column;
    }

    #footer-first-col,
    #footer-sec-col,
    #footer-third-col {
        text-align: center;
    }

    #footer-first-col,
    #footer-sec-col {
        padding-left: 0;
    }
}

@media screen and (max-width: 560px) {
    footer {
        max-height: 1450px;
    }

    .footer__top {
        text-align: left;
    }

    .footer__left {
        align-items: flex-start;
    }

    .footer__heading {
        font-size: var(--font-size-2xl);
        text-transform: uppercase;
        width: 100%;
        text-align: center;
    }

    .footer__left a {
        width: 100%;
        font-size: var(--font-size-base);
        text-transform: uppercase;
        text-align: center;
    }

    .footer__right {
        flex-direction: column;
    }

    .footer__right>* {
        width: 100%;
        align-items: flex-start
    }

    .footer-bloc-liens {
        align-items: flex-start;
        line-height: 21px;
    }

    #contact {
        order: 0;
        align-items: flex-start;
    }

    .networks {
        justify-content: flex-start;
    }

    #footer-row {
        margin-bottom: 0;
    }

    #footer-third-col {
        padding: 1rem 0;
        margin: 0;
    }

    .footer__button {
        position: absolute;
        bottom: 40px;
        right: 0;
        width: 30px;
        height: 30px;
    }

    .mentions {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 10px;
        justify-items: flex-start;
        text-align: left;
        position: relative;
    }

    .mentions p,
    .mentions a {
        font-weight: 300;
        letter-spacing: 1.2px;
    }

    .google-captcha-message {
        grid-column: auto;
    }

    .footer__images {
        justify-content: center;
    }

    .footer__mezo {
        width: 100vw;
        max-width: none;
        transform: translateX(-2rem);
    }
}

@media screen and (min-width: 768px) {
    .footer-title {
        margin-top: 0;
        margin-bottom: 3vh;
    }
}

@media screen and (min-width: 1024px) {
    .networks span::after,
    footer a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0.1em;
        background-color: #fff;
        opacity: 0;
        -webkit-transition: opacity 300ms, -webkit-transform 300ms;
        transition: opacity 300ms, -webkit-transform 300ms;
        -o-transition: opacity 300ms, transform 300ms;
        transition: opacity 300ms, transform 300ms;
        transition: opacity 300ms, transform 300ms, -webkit-transform 300ms;
        opacity: 1;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        -webkit-transform-origin: center;
        -ms-transform-origin: center;
        transform-origin: center;
    }

    footer a:hover::after,
    footer a:focus::after,
    footer a:hover::after,
    footer a:focus::after {
        opacity: 1;
        -webkit-transform: translate3d(0, 0.2em, 0);
        transform: translate3d(0, 0.2em, 0);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    .reserve {
        text-transform: uppercase;
    }

    .reserve::after {
        content: none;
    }

    .networks .button {
        transition: 0.3s;
    }

    .reserve:hover {
        transition: 0.3s;
        background-color: var(--color-secondary);
    }

    .networks .button:hover img {
        color: white;
        filter: drop-shadow(2px 2px 5px black);
    }

    .networks .button::after {
        display: none;
    }

    address,
    .mail-phone {

        margin-bottom: 0;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1450px) {
    #footer-third-col,
    footer #contact,
    #access,
    #logo-networks {
        flex: 0 0 25%;
        max-width: 25%;
    }

    #footer-first-col {
        max-width: initial;
        flex: unset;
    }
}

@media screen and (min-width: 1400px) {
    footer {
        padding: 140px var(--spacing-xl) 0px;
    }
}

@media screen and (max-width: 1450px) {

    address,
    footer a {
        font-size: 13px;
    }

    #access .row {
        flex-direction: column;
    }

    #footer-sec-col>p:nth-child(1) {
        display: none;
    }
}

@media screen and (min-width: 1451px) {
    footer a {
        line-height: 1.5;
    }
}


@media screen and (min-width: 2000px) {
    footer.from-now {
        opacity: 1;
    }


}