/* Conteneur général du formulaire */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: linear-gradient(135deg, #f0f4ff, #dfe9f3);
  padding: 5px;
}

/* Le formulaire */
form {
  background-color: white;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Chaque champ du formulaire */
.position-input div {
  display: flex;
  flex-direction: column;
}

/* Les labels */
label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

/* Les inputs et textarea */
input[type="email"],
textarea {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Effet focus */
input:focus,
textarea:focus {
  border-color: #6b8eff;
  box-shadow: 0 0 5px rgba(107, 142, 255, 0.3);
  outline: none;
}

/* Le bouton */
button {
  background-color: #6b8eff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  margin-top: 2px;
}

/* Effet hover sur le bouton */
button:hover {
  background-color: #5a79e0;
  transform: scale(1.02);
}
