/* ----------- Structure globale (inchangé) ----------- */
body {
  font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
  background-color: #f7f9fc;
  margin: 0;
  padding: 0;
  color: #333;
}

.main-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 720px;
  margin: 50px auto;
  padding: 0 20px;
}

/* ----------- Carte de formulaire ----------- */
.form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 2.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.form-card h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2c3e50;
  font-weight: 600;
}

/* ----------- Champs ----------- */
.form-card label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  color: #34495e;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-top: 0.5rem;
  border: 1px solid #d1d9e6;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fdfdfd;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: #A87DB5;
  box-shadow: 0 0 5px rgba(168, 125, 181, 0.3);
  outline: none;
}

/* ----------- BOUTON D'ENVOI (spécifique au formulaire) ----------- */
.form-card button {
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, #A87DB5, #CFA8D8);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.1rem; /* plus haut */
  margin-top: 1.8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(168, 125, 181, 0.3);
}

.form-card button:hover {
  background: linear-gradient(135deg, #CFA8D8, #A87DB5);
  box-shadow: 0 6px 16px rgba(168, 125, 181, 0.4);
  transform: translateY(-2px);
}

.form-card button:active {
  transform: scale(0.98);
}

/* ----------- Responsive ----------- */
@media (max-width: 600px) {
  .form-card {
    padding: 1.5rem;
  }

  .form-card button {
    font-size: 1rem;
    padding: 1rem;
  }
}
