:root{--page-title-display:none;}/* Start custom CSS for wpforms, class: .elementor-element-5bb7028 *//* ============================================================
   OPTIMA AI — WPForms Styling pour Elementor
   Webinaire 18 juin 2026
   
   INSTALLATION :
   Coller dans Elementor > Widget WPForms > Avancé > CSS personnalisé
   OU dans Elementor Pro > Thème > CSS supplémentaire (global)
   ============================================================ */


/* ============================================================
   BLOC 1 — CENTRAGE UNIQUEMENT (priorité)
   Coller en premier si vous voulez juste centrer
   ============================================================ */

.wpforms-container {
  max-width: 620px;
  margin: 0 auto;
}


/* ============================================================
   BLOC 2 — STYLE COMPLET OPTIMA AI
   Coller après le bloc 1 pour le style complet
   ============================================================ */

/* --- Conteneur principal --- */
.wpforms-container {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 4px 24px rgba(26, 82, 118, 0.10);
  border-top: 4px solid #1A5276;
}

/* --- Titre du formulaire (si activé dans WPForms) --- */
.wpforms-title {
  font-family: 'Arial', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1A5276;
  text-align: center;
  margin-bottom: 6px;
}

.wpforms-description {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #7F8C8D;
  text-align: center;
  margin-bottom: 28px;
}

/* --- Labels --- */
.wpforms-field-label {
  font-family: 'Arial', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2C3E50 !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* --- Requis étoile --- */
.wpforms-required-label {
  color: #C0392B !important;
}

/* --- Inputs texte, email, téléphone --- */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field input[type="url"],
.wpforms-field select,
.wpforms-field textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  font-family: 'Arial', sans-serif !important;
  font-size: 14px !important;
  color: #2C3E50 !important;
  background-color: #F8FBFD !important;
  border: 1.5px solid #D5E8F0 !important;
  border-radius: 8px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

/* --- Focus sur les champs --- */
.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="tel"]:focus,
.wpforms-field input[type="number"]:focus,
.wpforms-field input[type="url"]:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
  border-color: #1A5276 !important;
  background-color: #EBF5FB !important;
  box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.12) !important;
  outline: none !important;
}

/* --- Placeholder --- */
.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
  color: #4A7A9B !important;
  font-size: 13px;
  font-style: italic;
}

/* Firefox */
.wpforms-field input::-moz-placeholder,
.wpforms-field textarea::-moz-placeholder {
  color: #4A7A9B !important;
  opacity: 1;
}

/* --- Select (flèche personnalisée) --- */
.wpforms-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A5276' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
  cursor: pointer;
}

/* --- Textarea --- */
.wpforms-field textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

/* --- Espacement entre les champs --- */
.wpforms-field {
  margin-bottom: 4px !important;
}

/* --- Checkbox et Radio (opt-in RGPD) --- */
.wpforms-field-checkbox ul li,
.wpforms-field-radio ul li {
  font-family: 'Arial', sans-serif !important;
  font-size: 13px !important;
  color: #2C3E50 !important;
  margin-bottom: 8px !important;
}

.wpforms-field-checkbox input[type="checkbox"],
.wpforms-field-radio input[type="radio"] {
  accent-color: #1A5276;
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px !important;
  vertical-align: middle;
}

/* Texte RGPD plus petit et discret */
.wpforms-field-checkbox .wpforms-field-label,
.wpforms-field-gdpr .wpforms-field-label {
  font-size: 11px !important;
  color: #7F8C8D !important;
  text-transform: none !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

/* --- Bouton de soumission --- */
.wpforms-submit-container {
  text-align: center !important;
  margin-top: 28px !important;
}

.wpforms-submit {
  display: inline-block !important;
  width: 100% !important;
  padding: 15px 32px !important;
  font-family: 'Arial', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background-color: #1A5276 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(26, 82, 118, 0.30) !important;
}

.wpforms-submit:hover {
  background-color: #154360 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(26, 82, 118, 0.40) !important;
}

.wpforms-submit:active {
  transform: translateY(0px) !important;
  box-shadow: 0 2px 8px rgba(26, 82, 118, 0.25) !important;
}

/* Texte sous le bouton (RGPD, notes) */
.wpforms-submit-container p {
  font-family: 'Arial', sans-serif !important;
  font-size: 11px !important;
  color: #AEB6BF !important;
  text-align: center;
  margin-top: 10px;
}

/* --- Messages d'erreur --- */
.wpforms-error-container,
label.wpforms-error {
  font-family: 'Arial', sans-serif !important;
  font-size: 12px !important;
  color: #C0392B !important;
  margin-top: 4px !important;
  display: block;
}

.wpforms-field input.wpforms-error,
.wpforms-field select.wpforms-error,
.wpforms-field textarea.wpforms-error {
  border-color: #C0392B !important;
  background-color: #FDEDEC !important;
}

/* --- Message de confirmation (après soumission) --- */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  background: linear-gradient(135deg, #EBF5FB 0%, #D5F5E3 100%) !important;
  border: 2px solid #27AE60 !important;
  border-radius: 12px !important;
  padding: 32px 40px !important;
  text-align: center !important;
  max-width: 620px;
  margin: 0 auto;
}

.wpforms-confirmation-container-full p,
.wpforms-confirmation-container p {
  font-family: 'Arial', sans-serif !important;
  font-size: 16px !important;
  color: #1E8449 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

/* Icône checkmark avant le message de confirmation */
.wpforms-confirmation-container-full::before,
.wpforms-confirmation-container::before {
  content: "✓";
  display: block;
  font-size: 36px;
  color: #27AE60;
  margin-bottom: 12px;
}

/* --- Responsive mobile --- */
@media (max-width: 640px) {
  .wpforms-container {
    padding: 24px 20px !important;
    border-radius: 8px !important;
    margin: 0 12px !important;
  }

  .wpforms-submit {
    font-size: 15px !important;
    padding: 14px 24px !important;
  }
}

/* ============================================================
   CENTRAGE DES CHAMPS ET LABELS
   ============================================================ */

/* Labels centrés */
.wpforms-field-label {
  text-align: center !important;
}

/* Champs de taille réduite (small/medium) : forcer pleine largeur + centrage */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field input[type="url"],
.wpforms-field select,
.wpforms-field textarea {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Wrapper de chaque champ centré */
.wpforms-field {
  text-align: center !important;
}

/* Réaligner le texte saisi à gauche dans les inputs (lisibilité) */
.wpforms-field input,
.wpforms-field select,
.wpforms-field textarea {
  text-align: left !important;
}

/* Checkbox opt-in : garder aligné à gauche pour la lisibilité */
.wpforms-field-checkbox,
.wpforms-field-gdpr,
.wpforms-field-radio {
  text-align: left !important;
}

/* ============================================================
   OPTIONNEL — Si le formulaire est sur fond coloré
   Décommenter et adapter si la section Elementor a un fond sombre
   ============================================================ */

/*
.wpforms-container {
  background: rgba(255, 255, 255, 0.98) !important;
}
*//* End custom CSS */