/* ===== Container ===== */
.custom-form .elementor-form {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 20px;
}

/* chaque champ prend toute la largeur par défaut */
.custom-form .elementor-field-group {
  display: flex;
  align-items: stretch;
}

/* Email + Nom sur la même ligne */
.custom-form .elementor-field-group.elementor-col-50 {
  width: calc(50% - 10px);
}
.custom-form .elementor-field-group.elementor-col-100 {
  width: 100%;
}

/* ===== Labels ===== */
.custom-form .elementor-field-label {
  font-weight: 700;
  font-size: 15px;
  color: #1a1533;
  margin-bottom: 8px !important;
  display: block;
}
/* astérisque des champs requis */
.custom-form .elementor-field-required .elementor-field-label:after {
  content: "*";
  color: #1a1533;
  margin-left: 2px;
}

/* ===== Inputs / textarea ===== */
.custom-form .elementor-field-textual {
  border: 1px solid #e2e0ea !important;
  border-radius: 10px !important;
  padding: 6px !important;
  font-size: 12px;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: border-color .2s, box-shadow .2s;
}
.custom-form textarea.elementor-field-textual {
  min-height: 120px;
  resize: vertical;
}
.custom-form .elementor-field-textual::placeholder {
  color: transparent;
}
.custom-form .elementor-field-textual:focus {
  outline: none;
  border-color: #4299d5 !important;
  box-shadow: 0 0 0 1px #4299d5;
}

/* ===== Checkboxes (CGU / newsletter) ===== */
.custom-form .elementor-field-subgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.custom-form .elementor-field-option label {
  font-size: 14px;
  color: #4a4658;
}

/* ===== Bouton ===== */
.custom-form .elementor-button {
	background: linear-gradient(to bottom, #00267F, #4299d5) !important;
	color: #fff !important;
	padding: 12px 14px;
	text-decoration: none !important;
	border: none;
	transition: transform 0.2s ease;
  font-weight: bold !important;
  border-radius: 8px !important;
}
.custom-form .elementor-button:hover {
  background: #4299d5 !important;
}
.custom-form .elementor-button:active {
  transform: translateY(1px);
}

.btn-form-custom .elementor-button {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #00267F !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  color: #00267F !important;
}

.btn-form-custom .elementor-button:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .custom-form .elementor-field-group.elementor-col-50 {
    width: 100%;
  }
}