/* Formulaire de devis isopek.com (module formulaire-contact-brevo, 18/11/2026).
   Reprend l'aspect de l'ancien formulaire : section sombre #2D3436, champs translucides, bouton rouge #E00200.
   Indépendant de Tailwind. Contrastes mesurés (outils/contraste.py) : libellés 8,71:1, mention 7,09:1,
   saisie 9,30:1, bordure des champs 3,89:1, erreur sous un champ 7,47:1, bouton 5,03:1. */
.fcb-isopek {
  color: #fff;
  font-size: .875rem;
  line-height: 1.5;
}
.fcb-isopek .fcb-formulaire { display: grid; gap: 1rem; }
.fcb-isopek .fcb-champ { display: grid; gap: .25rem; }
.fcb-isopek .fcb-champ label {
  color: rgba(255, 255, 255, .8);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.fcb-isopek .fcb-champ input,
.fcb-isopek .fcb-champ select,
.fcb-isopek .fcb-champ textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .75rem 1rem;
  font: inherit;
  font-size: .875rem;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: .25rem;
  transition: border-color .15s;
}
.fcb-isopek .fcb-champ select option { color: #2D3436; background: #fff; }
.fcb-isopek .fcb-champ textarea { resize: vertical; min-height: 6rem; }
.fcb-isopek .fcb-champ input:focus,
.fcb-isopek .fcb-champ select:focus,
.fcb-isopek .fcb-champ textarea:focus { border-color: #fff; }
.fcb-isopek .fcb-champ input:focus-visible,
.fcb-isopek .fcb-champ select:focus-visible,
.fcb-isopek .fcb-champ textarea:focus-visible,
.fcb-isopek .fcb-bouton:focus-visible,
.fcb-isopek a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fcb-isopek .fcb-champ-erreur input,
.fcb-isopek .fcb-champ-erreur select,
.fcb-isopek .fcb-champ-erreur textarea { border: 2px solid #ffb4ab; }
.fcb-isopek .fcb-erreur { margin: 0; color: #ffb4ab; font-weight: 600; }
.fcb-isopek .fcb-obligatoire { color: inherit; }
.fcb-isopek .fcb-aide,
.fcb-isopek .fcb-note,
.fcb-isopek .fcb-mention { margin: 0; font-size: .75rem; color: rgba(255, 255, 255, .7); }
.fcb-isopek .fcb-mention a { color: #fff; text-decoration: underline; }
.fcb-isopek .fcb-erreurs,
.fcb-isopek .fcb-succes,
.fcb-isopek.fcb-indisponible {
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid currentColor;
  border-radius: .25rem;
  font-weight: 600;
}
.fcb-isopek .fcb-erreurs { color: #9b0016; background: #fdecee; }
.fcb-isopek .fcb-erreurs ul { margin: .4rem 0 0; padding-left: 1.2rem; list-style: disc; }
.fcb-isopek .fcb-erreurs a { color: inherit; text-decoration: underline; }
.fcb-isopek .fcb-succes { color: #1e6b34; background: #e9f5ec; }
.fcb-isopek.fcb-indisponible { color: #fff; background: rgba(255, 255, 255, .1); }
.fcb-isopek.fcb-indisponible a { color: #fff; text-decoration: underline; }
.fcb-isopek .fcb-erreurs p,
.fcb-isopek .fcb-succes p,
.fcb-isopek.fcb-indisponible p { margin: 0; }
.fcb-isopek .fcb-bouton {
  width: 100%;
  padding: 1rem 1.5rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background: #E00200;
  border: 0;
  border-radius: .25rem;
  cursor: pointer;
  transition: background-color .15s;
}
.fcb-isopek .fcb-bouton:hover { background: #b30000; }
.fcb-piege { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) {
  .fcb-isopek .fcb-formulaire { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .fcb-isopek .fcb-note,
  .fcb-isopek .fcb-champ-email,
  .fcb-isopek .fcb-champ-textarea,
  .fcb-isopek .fcb-mention,
  .fcb-isopek .fcb-bouton { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .fcb-isopek .fcb-champ input,
  .fcb-isopek .fcb-champ select,
  .fcb-isopek .fcb-champ textarea,
  .fcb-isopek .fcb-bouton { transition: none; }
}
