/* footer */

.site-footer {
    padding: 0px 20px 60px;
    overflow: hidden;
}

.footer-disclaimer {
    text-align: center;
    margin: 0 auto 70px;
    font-size: 13.5px;
    line-height: 1;
    font-weight: 400;
    color: #999999;
}

.footer-divider {
    position: relative;
    margin-bottom: 85px;
}

.footer-divider:before {
    content: "";
    position: absolute;
    top: 0;
    height: 35px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-image: url("../imgs/ligne-footer.svg");
    pointer-events: none;
    z-index: 0;
    left: 0;
    right: 0;
}

.footer-divider:after {
    content: "";
    position: absolute;
    left: -100vw;
    right: 100%;
    bottom: 0;
    background-color: #101010;
    height: 1px;
}

.footer-divider .footer-divider-line {
    height: 35px;
    position: relative;
    display: flex;
    justify-content: space-between;
    --padding-line: 128px;
    padding: 0 var(--padding-line);
}

.footer-divider .footer-divider-line:before {
    content: "";
    position: absolute;
    left: calc(var(--padding-line) + 20px);
    right: calc(var(--padding-line) + 44px);
    height: 1px;
    background: #101010;
    top: 0;
}

.footer-divider .footer-divider-line:after {
    content: "";
    position: absolute;
    left: calc(100% - var(--padding-line));
    right: -100vw;
    height: 1px;
    background: #101010;
    top: 0;
}

.footer-divider-line-point {
    /* position: absolute; */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #101010;
    transform: translateY(-10px);
}

.footer-divider-line-point-full {
    /* position: absolute; */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #101010;
    transform: translateY(-22px);
    position: relative;
}

.footer-divider-line-point-full:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: #101010;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding-bottom: 90px;
}

.footer-logo {
    font-size: 25px;
    margin-bottom: 16px;
}

.footer-logo-img {
    display: block;
    height: 31px;
    width: auto;
    margin-bottom: 30px;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 45px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    color: #0e0b0b;
}

.footer-col h4 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-brand ul,
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 0;
    margin: 0;
}

.footer-brand ul a,
.footer-col ul a {
    font-weight: 400;
    color: #000000;
}

.footer-brand ul a:hover,
.footer-col ul a:hover {
    text-decoration: underline;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    border-radius: 9px;
    padding: 34px 20px;
    background-color: #FFF;
    border: 1px solid #FFF;
    gap: 16px;
    position: relative;
}

.footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    color: #a0a0a0;
    background: transparent;
    padding: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    outline: none;
}

.footer-newsletter-form input:focus {
    background: transparent;
    outline: none;
}

.footer-newsletter-form.error {
    border-color: red;
}

.footer-newsletter-form .msg-form {
    font-size: 12px;
    line-height: 13px;
    position: absolute;
    bottom: -20px;
    color: red;
}

.footer-newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.footer-newsletter-form button svg {
    width: 100%;
    height: 100%;
    transition: transform .2s ease;
}

.footer-newsletter-form button:hover svg {
    transform: translateX(3px);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #726d6a;
    gap: 24px;
}

.footer-bottom .lang-switch-toggle {
    font-weight: 400;
    font-weight: 18px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-left .footer-copyright {
    color: #000;
    font-weight: 400;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #696969;
}

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

@media screen and (max-width: 767px) {
    .site-footer {
        padding-bottom: 60px;
    }

    .footer-disclaimer {
        text-align: left;
        font-size: 10px;
        line-height: 13px;
        margin-bottom: 40px;
    }

    .footer-divider {
        margin-bottom: 60px;
    }

    .footer-divider:before {
        left: -20px;
    }

    .footer-divider .footer-divider-line {
        --padding-line: 108px;
    }

    .footer-divider .footer-divider-line:before {
        right: calc(var(--padding-line) + 36px);
    }

    .footer-divider-line-point-full {
        width: 36px;
        height: 36px;
    }

    .footer-divider-line-point-full:after {
        width: 11px;
        height: 11px;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 60px 20px;
        padding-bottom: 75px;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        margin-top: 15px;
    }

    .footer-logo-img {
        height: 30px;
        margin-bottom: 30px;
    }

    .footer-col h4 {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .footer-brand ul,
    .footer-col ul {
        gap: 18px;
    }

    .footer-newsletter-form {
        padding: 17px 20px 17px 10px;
        border-radius: 4px;
    }

    .footer-newsletter-form input {
        font-size: 14px;
    }

    /* Glyphes : f haut de 30px, in haut de 27px, alignés en bas (les viewBox ont des marges différentes). */
    .footer-social {
        align-items: flex-end;
        gap: 22px;
        margin-top: 35px;
    }

    .footer-social a {
        width: auto;
        height: auto;
    }

    .footer-social svg {
        display: block;
        height: 37px;
        width: auto;
    }

    .footer-social a + a svg {
        height: 31px;
        margin-bottom: -3px;
    }

    .footer-bottom,
    .footer-bottom-left,
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-bottom .lang-switch-toggle {
        padding: 0;
    }
}
