/* Form Pro (-fp) : styles runtime */

/* Honeypot : hors ecran, jamais display:none (certains bots le detectent) */
.form-fp .fp-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-fp .fp-feedback {
  margin-top: 1rem;
}

.form-fp .fp-submit[disabled] {
  opacity: 0.65;
  pointer-events: none;
}

/* Repli sans JS : form-pro.js pose data-fp-ready en fin d'init. Sans lui
   (JS desactive, script en echec), un message apparait et le bouton est
   neutralise, au lieu d'un rechargement silencieux qui laisse croire a un
   envoi. Delai de 2 s pour ne rien afficher pendant le chargement normal.
   Scope div.fp-wrap : dans le canvas Blocs le parent est <custombric>, la
   regle ne s'y applique donc pas. Texte generique (pas d'adresse) car le
   meme fichier part sur chaque site client. */
div.fp-wrap > form.form-fp:not([data-fp-ready])::after {
  content: "Ce formulaire n\E9 cessite JavaScript. Merci de nous contacter par email ou par t\E9 l\E9 phone.";
  display: block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.375rem;
  opacity: 0;
  animation: fp-nojs 0s linear 2s forwards;
}

div.fp-wrap > form.form-fp:not([data-fp-ready]) .fp-submit {
  animation: fp-nojs-btn 0s linear 2s forwards;
}

@keyframes fp-nojs {
  to { opacity: 1; }
}

@keyframes fp-nojs-btn {
  to { opacity: 0.65; pointer-events: none; }
}
