.ds-contact-form {
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;

    border: 1px solid #d9dfdd;
    border-radius: 16px;

    font-family: Arial, sans-serif;
    color: #243634;
}
.ds-contact-form {
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #243634;
}

/* TITRE */

.ds-form-title {
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #d9dfdd;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #243634;
}

/* CHAMPS */

.ds-form-field {
    margin-bottom: 18px;
}

.ds-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #243634;
}

.ds-form-field input,
.ds-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b8c8c4;
    border-radius: 9px;
    background: #ffffff;
    font-size: 16px;
    color: #243634;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* HAUTEUR RÉDUITE DES CHAMPS */

.ds-form-field input {
    height: 42px;
    padding: 7px 12px;
}

.ds-form-field textarea {
    min-height: 100px;
    padding: 10px 12px;
    resize: vertical;
}

/* PLACEHOLDERS */

.ds-form-field input::placeholder,
.ds-form-field textarea::placeholder {
    color: #5F6F6C;
    opacity: 1;
}

/* FOCUS */

.ds-form-field input:focus,
.ds-form-field textarea:focus {
    border-color: #5F9C8A;
    box-shadow: 0 0 0 2px rgba(95, 156, 138, 0.12);
}

/* AJOUTER E-MAIL / MESSAGE */

.ds-form-more {
    margin: 2px 0 24px 0;
}

.ds-form-more summary {
    cursor: pointer;
    font-size: 17px;
    line-height: 1.4;
    color: #243634;
    list-style: none;
    transition: color 0.2s ease;
}

.ds-form-more summary::-webkit-details-marker {
    display: none;
}

.ds-form-more summary::before {
    content: "▶";
    display: inline-block;
    margin-right: 8px;
    font-size: 13px;
    color: #243634;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ds-form-more[open] summary::before {
    transform: rotate(90deg);
}

/* UNIQUEMENT AU SURVOL = #5F9C8A */

.ds-form-more summary:hover,
.ds-form-more summary:hover::before {
    color: #5F9C8A;
}

.ds-form-more summary span {
    font-weight: 400;
}

.ds-form-more-content {
    padding-top: 18px;
}

/* BOUTON */

.ds-form-submit {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: none;
    border-radius: 12px;

    background: #D6B56A;
    color: #243634;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    transition: color 0.2s ease;
}

/* HOVER :
   fond IDENTIQUE
   texte blanc
*/

.ds-form-submit:hover {
    background: #D6B56A;
    color: #FFFFFF;
}

.ds-form-submit:active {
    background: #D6B56A;
}

.ds-form-envelope {
    font-size: 19px;
    line-height: 1;
    color: inherit;
}

/* TEXTE SOUS LE BOUTON */

.ds-form-info {
    margin: 14px 0 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #243634;
}

/* MOBILE */

@media (max-width: 768px) {

    .ds-contact-form {
        max-width: 100%;
    }

    .ds-form-title {
        font-size: 19px;
    }

    .ds-form-field label {
        font-size: 16px;
    }

    .ds-form-field input {
        height: 40px;
    }

    .ds-form-more summary {
        font-size: 16px;
    }

    .ds-form-submit {
        min-height: 50px;
        font-size: 17px;
    }

    .ds-form-info {
        font-size: 14px;
    }
}

/* =========================================================
   BLOC GUTENBERG - MISE EN PAGE
   ========================================================= */

.mf-formulaire-wrap {
    display: block !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.mf-formulaire-wrap.mf-width-50 {
    width: 50% !important;
}

.mf-formulaire-wrap.mf-width-75 {
    width: 75% !important;
}

.mf-formulaire-wrap.mf-width-100 {
    width: 100% !important;
}

.mf-formulaire-wrap.mf-align-left {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.mf-formulaire-wrap.mf-align-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mf-formulaire-wrap.mf-align-right {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.mf-formulaire-wrap .ds-contact-form {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    background: var(--mf-form-background, #ffffff) !important;
    border-style: solid !important;
    border-color: var(--mf-form-border-color, #d9dfdd) !important;
    border-width: var(--mf-form-border-width, 1px) !important;
    border-radius: var(--mf-form-border-radius, 16px) !important;
}

@media (max-width: 768px) {
    .mf-formulaire-wrap,
    .mf-formulaire-wrap.mf-width-50,
    .mf-formulaire-wrap.mf-width-75,
    .mf-formulaire-wrap.mf-width-100 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* =========================================================
   CONDITIONS RESPONSIVES DU BLOC
   ========================================================= */

@media (min-width: 1025px) {
    .mf-formulaire-wrap.mf-hide-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mf-formulaire-wrap.mf-hide-tablet {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mf-formulaire-wrap.mf-hide-mobile {
        display: none !important;
    }
}

/* =========================================================
   APERÇU DANS L'ÉDITEUR GUTENBERG
   ========================================================= */

.mf-editor-preview input,
.mf-editor-preview textarea,
.mf-editor-preview button {
    pointer-events: none;
}
