/* SECTION CONTACT */
.contact-section {
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 900px;
  width: 100%;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 50px;
}

/*traitement image andicap*/
.hadicap-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 0 0 0px;
  transition: transform 0.3s ease;
}

/*gerer image cote a cote avec le label */
.handicap-info {
  display: flex;
  align-items: center; /* centre verticalement image et texte */
  gap: 12px; /* espace entre image et texte */
  margin-bottom: 15px; /* espace en dessous du bloc */
  flex-wrap: wrap; /* sur mobile, passe en colonne */
}

.handicap-icon {
  width: 60px !important;
  height: 60px !important;
  flex-shrink: 0; /* empêche l’image de se compresser */
  object-fit: contain;
}
.handicap-info {
  display: flex;
  align-items: center; /* centre verticalement image et texte */
  gap: 12px; /* espace entre image et texte */
  margin-bottom: 15px; /* espace en dessous du bloc */
  flex-wrap: wrap; /* sur mobile, passe en colonne */
}
/*gerer le logo contat et le titre principal*/
.contact-icon {
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0; /* empêche l’image de se compresser */
  object-fit: contain;
}
.contact-info {
  display: flex;
  align-items: center; /* centre verticalement image et texte */
  gap: 12px; /* espace entre image et texte */

  flex-wrap: wrap; /* sur mobile, passe en colonne */
}

/* TITRE */
.contact-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;

  background: linear-gradient(90deg, #3a0ca3, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* FORMULAIRE */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.full-width {
  flex: 100%;
}

/* LABELS */
.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #3a0ca3, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* INPUTS + SELECT + TEXTAREA */
.form-input,
.form-select,
.form-textarea {
  border: 2px solid #d3d3f5;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #3a0ca3;
  box-shadow: 0 0 10px rgba(67, 97, 238, 0.25);
  outline: none;
}

/* TEXTE D’INFO */
.form-info {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

/* SEPARATEUR */
.form-separator {
  height: 1px;
  background: #eaeaea;
  margin: 20px 0;
}

/* CHECKBOX */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #3a0ca3;
}

.checkbox-label {
  font-size: 0.95rem;
  color: #333;
}

.checkbox-label a {
  background: linear-gradient(90deg, #3a0ca3, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* BOUTON */
.submit-button {
  width: 100%;
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #6a0dad 0%, #d8b3ff 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 13, 173, 0.3);
}

/* MESSAGES */
.form-message {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 10px;
  display: none;
}

.success-message {
  color: #2e7d32;
}

.error-message {
  color: #d32f2f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contact-title {
    font-size: 1.6rem;
  }
  .contact-info {
    flex-direction: column;
    text-align: center;
  }

  .handicap-info {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon,
  .handicap-icon {
    margin-bottom: 10px;
  }
}

/* WRAPPER DU FORMULAIRE */
.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  border: 2px solid transparent; /* contour moderne */
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #3a0ca3, #4361ee);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* SÉPARATEUR MODERNE */
.form-separator {
  height: 2px;
  background: linear-gradient(90deg, #3a0ca3, #4361ee);
  margin: 30px 0;
  border-radius: 50px;
  opacity: 0.8;
}
