
/* Formulaire de contact
 */

.wpmj-cf-wrapper {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 900px;
}

.wpmj-cf-image {
  flex: 1 1 40%;
  min-width: 300px;
  background-color: #f8f8f8;
}

.wpmj-cf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wpmj-cf-form {
  flex: 1 1 60%;
  padding: 2rem;
}

.wpmj-cf-form form {
  display: flex;
  flex-direction: column;
}

.wpmj-cf-form input,
.wpmj-cf-form textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.wpmj-cf-form input[type="submit"] {
  background-color: #444;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.wpmj-cf-form input[type="submit"]:hover {
  background-color: #000;
}

@media (max-width: 768px) {
  .wpmj-cf-wrapper {
    flex-direction: column;
  }

  .wpmj-cf-image,
  .wpmj-cf-form {
    flex: 1 1 100%;
  }
}

