/* ==============================
   ðŸŒ Styles globaux
============================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 15px;
}
/* Section contact */
    .contact-section {
      background: white;
      padding: 3rem 1rem;
      margin-top: 3rem;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }
    .contact-section h2 {
      color: #1e40af;
      margin-bottom: 1.5rem;
    }
    .contact-info p {
      font-size: 1.2rem;
      margin: 0.7rem 0;
    }
    .contact-info a {
      color: #2563eb;
      text-decoration: none;
    }
    .contact-info a:hover {
      text-decoration: underline;
    }
/* Conteneur du formulaire */
.container {
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease;
}

/* Animation d'apparition */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Titre */
.container h1,
.container h2 {
  font-size: 26px;
  margin-bottom: 25px;
  text-align: center;
  color: #0b3d91;
}

/* Champs de formulaire */
.field {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-size: 15px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #0b57d0;
  box-shadow: 0 0 0 3px rgba(11,87,208,0.15);
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox & radio */
.checkbox-field,
.radio-group {
  margin: 15px 0;
  font-size: 15px;
}
.checkbox-field input,
.radio-group input {
  margin-right: 8px;
}

/* Boutons */
button {
  background-color: #0b57d0;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
  background-color: #083a8c;
  transform: translateY(-2px);
}

/* Messages de succÃ¨s/erreur */
.alert {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 6px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.alert.success { background: #28a745; }
.alert.error { background: #dc3545; }

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 25px;
  }
  .container h1,
  .container h2 {
    font-size: 22px;
  }
}