/* -------------------------- MOTIFS -------------------------- */
.pageContact {
    --motif-largeur: 1723.7px;
    --motif-hauteur: 995.93px;
    padding-bottom: 105px;
    position: relative;
    overflow: hidden;
}

.pageContact::before, .pageContact::after {
    content: '';
    position: absolute;
    left: 50%;
    width: var(--motif-largeur);
    height: var(--motif-hauteur);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.pageContact::before {
    top: calc(854px - var(--motif-hauteur));
    margin-left: calc(var(--motif-largeur) / -2 - 23px);
    background-image: url('../../img/contact/motif-haut.svg');
    transform: scaleY(-1);
}

.pageContact::after {
    bottom: calc(263px - var(--motif-hauteur));
    margin-left: calc(var(--motif-largeur) / -2);
    background-image: url('../../img/contact/motif-bas.svg');
    transform: scaleX(-1);
}

.pageContact > * {
    position: relative;
    z-index: 1;
}

/* -------------------------- CONTACT -------------------------- */
.pageContactSection {
    padding-top: 306px;
    padding-bottom: 120px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 120px;
}

.contactTexte, .contactFormulaire {
    min-width: 0;
}

.contactTexte h2 {
    font-size: 52px;
}

.contactParagraphe {
    margin-top: 36px;
    font-size: 13px;
    line-height: 20px;
}

.contactPhrase {
    margin-top: 20px;
    font-family: 'Noir Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.contactTelephone {
    display: inline-flex;
    margin-top: 46px;
    padding: 12px 24px;
    border-radius: 36px;
    background: #0e0e0e;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.contactCarte {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #0e0e0e;
    border-radius: 30px;
}

.contactCarte iframe {
    display: block;
    width: 100%;
    height: 168px;
    border: 0;
}

.contactFormulaire {
    background: #9cd6eb;
    border-radius: 40px;
    padding: 50px;
}

.contactFormulaire .wpcf7 form {
    gap: 18px;
}

.contactFormulaire .wpcf7 form label {
    gap: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 17.5px;
}

.contactFormulaire .wpcf7 input:not([type=submit]), .contactFormulaire .wpcf7 textarea {
    display: block;
    width: 100%;
    border: .5px solid #0e0e0e;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    color: #0e0e0e;
}

.contactFormulaire .wpcf7 input:not([type=submit]) {
    height: 42px;
}

.contactFormulaire .wpcf7 textarea {
    height: 138px;
    resize: vertical;
}

.contactFormulaire .wpcf7 input[type=submit] {
    display: block;
    margin-left: auto;
    border: 0;
    border-radius: 36px;
    padding: 14px 24px;
    background: #0e0e0e;
    color: #fff;
    font-family: 'Noir Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .pageContactSection {
        gap: 60px;
    }

    .contactFormulaire {
        padding: 30px;
    }
}

/* -------------------------- TAILLES RESPONSIVES -------------------------- */
@media (max-width: 1600px) {
    .contactTexte h2 {
        font-size: 48px;
    }
}

@media (max-width: 1400px) {
    .contactTexte h2 {
        font-size: 44px;
    }
}

@media (max-width: 992px) {
    .contactTexte h2 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .pageContactSection {
        display: flex;
        flex-direction: column;
        gap: 90px;
        padding: 99px 30px 100px;
    }

    .contactTexte h2 {
        font-size: 36px;
    }

    .contactFormulaire {
        margin: 0 -30px;
        padding: 50px 30px;
    }

}

/* -------------------------- MOTIFS RESPONSIVES -------------------------- */
@media (max-width: 1400px) {
    .pageContact {
        --motif-largeur: 1550px;
        --motif-hauteur: 895.57px;
    }
}

@media (max-width: 992px) {
    .pageContact {
        --motif-largeur: 1280px;
        --motif-hauteur: 739.56px;
    }
}

@media (max-width: 767px) {
    .pageContact {
        --motif-largeur: 1119px;
        --motif-hauteur: 646px;
        padding-bottom: 273px;
    }

    .pageContact::before, .pageContact::after {
        margin-left: -570px;
        background-image: url('../../img/contact/motif-mobile.svg');
    }

    .pageContact::before {
        top: 77px;
        transform: scaleY(-1);
    }

    .pageContact::after {
        bottom: -358px;
        transform: none;
    }
}
