.contact-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #333;
}

/* === FORMULAIRE === */
.contact-form {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* === GROUPES === */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

/* === LABELS === */
.contact-form label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

/* === INPUT & TEXTAREA === */
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* === FOCUS UX === */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f1c40f;
  box-shadow: 0 0 0 2px rgba(241, 196, 15, 0.25);
}

/* === BOUTON === */
.contact-form button {
  margin-top: 0.5rem;
}

/* === INFO CONTACT === */
.contact-info {
  margin-top: 3rem;
  text-align: center;
  color: #444;
}

/* === MESSAGE FEEDBACK === */
.form-feedback,
#form-feedback {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* SUCCESS */
.form-feedback.success,
#form-feedback.show {
  color: #1f7a1f;
  opacity: 1;
  transform: translateY(0);
}

/* ERROR */
.form-feedback.error {
  color: #c0392b;
  opacity: 1;
  transform: translateY(0);
}

/* === SPINNER BOUTON === */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


