/* ============================================================
   🌸 FORMULAIRES CONTACT / RAPPEL – Julie vous aide 44
   ============================================================ */

.jlb-form {
  background: #fff;
  border: 1px solid #f8cddd;
  border-radius: 15px;
  padding: 35px 40px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: 40px auto;
  font-family: "Inter", sans-serif;
}

.jlb-form h2 {
  text-align: center;
  color: #d65682;
  margin-bottom: 10px;
}

.jlb-form .intro {
  text-align: center;
  margin-bottom: 25px;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ============================================================
   ✏️ CHAMPS
   ============================================================ */
.jlb-form input[type="text"],
.jlb-form input[type="email"],
.jlb-form input[type="tel"],
.jlb-form input[type="number"],
.jlb-form input[type="password"],
.jlb-form select,
.jlb-form textarea {
  width: 100%;
  border: 1px solid #f6b8c8;
  border-radius: 6px;
  background: #fff7fa; /* 🌸 rose pastel très clair */
  padding: 10px 12px;
  font-size: 15px;
  color: #333;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.jlb-form input:focus,
.jlb-form select:focus,
.jlb-form textarea:focus {
  outline: none;
  border-color: #e55a8c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 90, 140, 0.12);
}

::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Labels */
.field label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

/* ============================================================
   ✅ CASES À COCHER / RGPD
   ============================================================ */
.field.checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.field.checkbox input[type="checkbox"] {
  accent-color: #d65682;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  margin-top: 3px;
}

.field.checkbox a {
  color: #e55a8c;
  text-decoration: underline;
  font-weight: 600;
}

.field.checkbox a:hover {
  color: #c04673;
}

/* Empêche le retour à la ligne intempestif */
.field.checkbox span {
  display: inline;
}

/* ============================================================
   🧱 GRILLE & STRUCTURE
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field.full,
.field.checkbox,
.actions,
.form-response {
  grid-column: 1 / -1;
}

/* ============================================================
   💬 MESSAGES / RÉPONSES
   ============================================================ */
.form-response {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  min-height: 1.4em;
}

/* ============================================================
   🚀 BOUTON
   ============================================================ */
.jlb-form button.cta-btn {
  background: #e55a8c;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.jlb-form button.cta-btn:hover {
  background: #c94c76;
  transform: translateY(-2px);
}

/* ============================================================
   📱 RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .jlb-form {
    padding: 25px 22px;
  }
}

/* ============================================================
   🌸 POPUP MAKER : bouton de fermeture
   ============================================================ */
[class*="pum-theme-"] .pum-close,
.pum-container .pum-close {
  position: absolute !important;
  top: 28px !important;
  right: 28px !important;
  width: 28px !important;
  height: 28px !important;
  background: #e55a8c !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease;
  z-index: 9999 !important;
}

[class*="pum-theme-"] .pum-close:hover,
.pum-container .pum-close:hover {
  background: #c04673 !important;
  transform: scale(1.05);
}

/* ============================================================
   💚 BANNIÈRE DE SUCCÈS (message AJAX)
   ============================================================ */
.jlb-banner-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #e6fff1;
  border-bottom: 2px solid #8ccda1;
  color: #2c662d;
  font-weight: 600;
  text-align: center;
  padding: 14px 10px;
  z-index: 99999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  animation: slideDownFade 0.4s ease-out;
}

.jlb-banner-success .icon {
  font-size: 20px;
  line-height: 1;
}

@keyframes slideDownFade {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   🎨 ÉTATS DE RÉPONSE : succès / erreur
   ============================================================ */
.form-response.success {
  color: #2c662d;
  background: #e6fff1;
  border: 1px solid #8ccda1;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 15px;
  animation: fadeIn 0.3s ease-out;
}

.form-response.error {
  color: #7a1f1f;
  background: #fdecea;
  border: 1px solid #f44336;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 15px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
