/* Conteneur général du formulaire */
form.wpcf7-form {
  background-color: #ffffff; /* Fond blanc */
  padding: 20px;
  border: 1px solid #e0e0e0; /* Bordure légère */
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Légère ombre */
  max-width: 600px; /* Largeur maximale */
  margin: 20px auto; /* Centré */
  font-family: 'Georgia', serif; /* Police élégante correspondant au site */
  overflow: hidden; /* Empêche les débordements */
}

/* Style des champs de formulaire */
.wpcf7-form-control {
  width: calc(100% - 20px); /* Adapte les champs à l'intérieur du conteneur */
  padding: 10px;
  margin: 10px auto;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #f9f9f9; /* Couleur légère pour s'intégrer */
  font-family: 'Arial', sans-serif;
  color: #333;
}

/* Corrige les dépassements */
.wpcf7-form-control-wrap {
  display: block;
}

/* Style des labels */
label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

/* Bouton noir comme le reste du site */
.wpcf7-form-control.wpcf7-submit {
  background-color: #000; /* Fond noir */
  color: #fff; /* Texte blanc */
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  display: block;
  margin: 20px auto 0;
  text-align: center;
  max-width: 200px; /* Largeur standard */
}

/* Effet au survol */
.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #333; /* Fond gris foncé au survol */
}

/* Style de la zone de réponse */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.wpcf7-response-output.wpcf7-validation-errors {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}