.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1000px;
}

/* Style général du formulaire */
.wpcf7 form {
    background-color: #f9f9f9; /* Fond clair */
    border-radius: 8px; /* Coins arrondis */
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Ombre légère */
    margin: 0 auto; /* Centré */
    font-family: 'Arial', sans-serif;
    font-size: 16px;
}

/* Titre du formulaire */
.wpcf7 form .wpcf7-response-output {
    display: none;
}

.wpcf7 h2 {
    color: #333; /* Couleur foncée pour le titre */
    font-size: 24px;
    margin-bottom: 20px;
}

.wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    width: calc( 100% - 26px );
}

/* Champ de texte */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd; /* Bordure légère */
    border-radius: 6px; /* Coins arrondis */
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    transition: all 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: #0092f7; /* Bordure bleue lors du focus */
    outline: none;
    box-shadow: 0px 0px 8px rgba(0, 115, 230, 0.2); /* Légère ombre bleue */
}

/* Style du bouton de soumission */
.wpcf7 input[type="submit"] {
    background-color: #0092f7; /* Couleur du bouton */
    color: #fff;
    padding: 14px 30px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #005bb5; /* Couleur du bouton au survol */
    transform: translateY(-2px); /* Légère élévation au survol */
}

/* Message d'erreur */
.wpcf7 .wpcf7-not-valid-tip {
    color: #ff0000; /* Rouge pour l'erreur */
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Style des labels */
.wpcf7 label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Style des champs sélectionnables */
.wpcf7 select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

.wpcf7 select:focus {
    border-color: #0092f7;
    box-shadow: 0px 0px 8px rgba(0, 115, 230, 0.2);
}

/* Style pour le textarea */
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical; /* Permet à l'utilisateur de redimensionner */
}

/* Message de succès */
.wpcf7 .wpcf7-mail-sent-ok {
    background-color: #d4edda; /* Fond vert clair */
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
}

/* Style pour les petits champs (ex. checkbox) */
.wpcf7 input[type="checkbox"] {
    margin-right: 10px;
}

.wpcf7 .wpcf7-acceptance {
    margin-top: 10px;
}

/* En général, appliquer un padding à tous les champs du formulaire */
.wpcf7 .wpcf7-form-control {
    margin-bottom: 15px;
}
