.section-contact {
    margin-top: -2px;
    position: relative;
    height: 180vh;
    z-index: 2;
    overflow: clip;
}

.section-contact > img {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.section-contact__panel {
    position: relative;
    z-index: 2;
    margin-top: -30vh;
}

.section-contact__panel .container {
    display: flex;
    justify-content: flex-start;
}

.section-contact__content {
    width: min(100%, 692px);
    min-height: 720px;
    border-radius: 8px;
    background-color: var(--bleu);
    color: white;
    padding: 76px 48px 105px 39px;
    margin-left: clamp(24px, 18vw, 314px);
    box-sizing: border-box;
    position: relative;
    top: -100px;
}

.section-contact__content .surtitre {
    color: white;
}

.section-contact__content hr {
    width: 100%;
    border: 1px solid white !important;
    margin-bottom: 8px;
}

.section-contact__content h2 {
    margin: 28px 0 23px 0;
}

.section-contact__content a.bouton {
    background-color: white;
}

.section-contact__content a.bouton p {
    color: var(--bleu);
}

@media screen and (min-width: 1025px) {
    .section-contact {
        height: 165vh;
    }

    .section-contact__panel {
        margin-top: -22vh;
    }

    .section-contact__panel .container {
        width: 100%;
        max-width: none;
        padding-left: clamp(24px, 13vw, 236px);
        box-sizing: border-box;
    }

    .section-contact__content {
        min-height: 690px;
        margin-left: 0;
    }
}

@media screen and (max-width: 1024px) {
    .section-contact {
        height: auto;
        background: #4698CB !important;
        background-color: #4698CB !important;
        background-image: linear-gradient(#4698CB, #4698CB) !important;
        color-scheme: only light;
        forced-color-adjust: none;
        overflow: hidden;
    }

    .section-contact > img {
        position: static;
        width: 100%;
        height: auto;
    }

    .section-contact__panel {
        position: relative;
        margin-top: 0;
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        background: #4698CB !important;
        background-color: #4698CB !important;
        background-image: linear-gradient(#4698CB, #4698CB) !important;
        box-shadow: 0 0 0 100vmax #4698CB;
        clip-path: inset(0 -100vmax);
        color-scheme: only light;
        forced-color-adjust: none;
    }

    .section-contact__panel .container {
        display: block;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        background: transparent !important;
        background-color: transparent !important;
    }

    .section-contact__content {
        position: static;
        min-height: 0;
        border-radius: 0;
        margin-top: -5px;
        margin-left: 0;
        width: 100vw;
        box-sizing: border-box;
        padding: 70px 5% 105px 5%;
        background: transparent !important;
        background-color: transparent !important;
        color-scheme: only light;
    }
}

@media screen and (max-width: 600px) {
    .section-contact__content a.bouton {
        width: auto;
    }
}
