/* =========================================================
   TALENT D'OR FC — Formulaire de contact fonctionnel
   Compléments aux styles .v2form de main-v2.css : messages
   de succès, récapitulatif d'erreurs et erreurs par champ.
   ========================================================= */

.v2form__ok,
.v2form__err {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: .95rem;
  line-height: 1.4;
}
.v2form__ok .ico,
.v2form__err .ico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.v2form__ok b,
.v2form__err b {
  display: block;
}

/* Succès : vert sobre */
.v2form__ok {
  background: #e8f6ec;
  border: 1px solid #b7e2c4;
  color: #1c6b39;
}

/* Erreurs : ambre, non agressif */
.v2form__err {
  background: #fdf3e7;
  border: 1px solid #f2d2a8;
  color: #8a5015;
}

/* Erreur sous un champ */
.v2field__err {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-size: .82rem;
  font-weight: 600;
}

/* Champ en erreur : liseré rouge discret */
.v2field input.field-error,
.v2field textarea.field-error,
.v2field select.field-error {
  border-color: #c0392b;
}
