/* =========================================================
   PAGE CONTACT
   ========================================================= */

.contact-section {
    width: min(1500px, calc(100vw - 80px)) !important;
    max-width: none !important;
    margin: 70px auto;
    box-sizing: border-box;
}

.contact-colonnes {
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: stretch !important;
}



/* ---------------------------------------------------------
   Coordonnées
   --------------------------------------------------------- */

.contact-coordonnees {
    background: #f5f7fa;
    border-radius: 28px;
    padding: 55px 60px;
    box-sizing: border-box;
    height: 100%;
}   


.contact-coordonnees p {
    color: #254150;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 8px;
}

.contact-coordonnees p:first-child {
    color: #159447;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.contact-coordonnees h2 {
    color: #159447;
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 55px;
    margin-bottom: 25px;
}


/* ---------------------------------------------------------
   WPForms
   --------------------------------------------------------- */

.contact-section .wpforms-container {
    margin: 0 !important;
}

.contact-section .wpforms-field {
    padding: 0 0 24px !important;
}

.contact-section .wpforms-field-label {
    color: #254150 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    border: 1px solid #d7dde1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #254150 !important;
    padding: 13px 15px !important;
}

.contact-section textarea {
    min-height: 180px !important;
    resize: vertical;
}

.contact-section input:focus,
.contact-section textarea:focus {
    border-color: #159447 !important;
    box-shadow: 0 0 0 1px #159447 !important;
    outline: none !important;
}


/* Bouton Envoyer */

.contact-section .wpforms-submit {
    background: #159447 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 30px !important;
    padding: 14px 32px !important;
    min-height: auto !important;
    font-weight: 700 !important;
    cursor: pointer;
}

.contact-section .wpforms-submit:hover {
    background: #80b827 !important;
}

/* Message de confirmation WPForms */

.contact-section .wpforms-confirmation-container-full {
    background: #f5f7fa !important;
    border: 1px solid #159447 !important;
    border-radius: 18px !important;
    padding: 25px 30px !important;
    color: #254150 !important;
}

.contact-section .wpforms-confirmation-container-full p {
    margin: 0 !important;
    color: #254150 !important;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .contact-section {
        width: calc(100vw - 40px) !important;
        margin-top: 45px;
        margin-bottom: 45px;
    }

    .contact-colonnes {
        grid-template-columns: 1fr !important;
        gap: 45px;
    }

    .contact-coordonnees {
        padding: 40px;
    }
}

@media (max-width: 600px) {

    .contact-section {
        width: calc(100vw - 30px) !important;
    }

    .contact-coordonnees {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .contact-section .wpforms-submit {
        width: 100% !important;
    }
}