/* ── HubSpot form – JDCSE ── */

fieldset.form-columns-1:has(.legal-consent-container) {
    order: 1;
    margin-top: 10px;
}
.legal-consent-container{
	font-size:11px;
}

/* 1. GÉNÉRAL */
.hs-form-jdcse .hs-form {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
	display: flex;
    flex-direction: column;
}

/* 2. FIELDSET – override HubSpot 500px + colonnes flex */
.hs-form-jdcse .hs-form fieldset {
  max-width: 100% !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .hs-form-jdcse .hs-form fieldset {
    display: flex !important;
    gap: 16px !important;
  }

  .hs-form-jdcse .hs-form fieldset .hs-form-field {
    flex: 1 !important;
    margin-bottom: 0 !important;
  }

  .hs-form-jdcse .hs-form .form-columns-2 .hs-form-field,
  .hs-form-jdcse .hs-form .form-columns-3 .hs-form-field {
    width: 100% !important;
    float: none !important;
  }
}

/* 3. CHAMPS */
.hs-form-jdcse .hs-form-field {
  margin-bottom: 16px !important;
  padding: 0 !important;
}

/* 4. LABELS */
.hs-form-jdcse label:not(.hs-error-msg) {
  display: inline-block;
  width: 100%;
  font-family: "KumbhSans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px !important;
  margin-top: 15px;
}

/* 5. INPUTS & SELECTS */
.hs-form-jdcse input[type="text"],
.hs-form-jdcse input[type="email"],
.hs-form-jdcse input[type="tel"],
.hs-form-jdcse input[type="number"],
.hs-form-jdcse select,
.hs-form-jdcse .hs-input:not([type="checkbox"]):not([type="radio"]):not(textarea) {
  width: 100% !important;
  height: 44px !important;
  background-color: #ffffff;
  border: 0.5px solid #c8c8c8;
  border-radius: 20px;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a1a1a;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* 6. SELECT – flèche custom */
.hs-form-jdcse select,
.hs-form-jdcse select.hs-input {
  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='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}

/* 7. TEXTAREA */
.hs-form-jdcse textarea,
.hs-form-jdcse textarea.hs-input {
  width: 100% !important;
  height: 120px !important;
  background-color: #ffffff;
  border: 0.5px solid #c8c8c8;
  border-radius: 20px;
  padding: 12px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a1a1a;
  outline: none;
  resize: none;
  box-sizing: border-box !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/



/* 9. PLACEHOLDER */
.hs-form-jdcse input::placeholder,
.hs-form-jdcse textarea::placeholder {
  color: #999;
  font-weight: 400;
}

/* 10. BOUTON */
.hs-form-jdcse .hs-submit {
  margin-top: 24px !important;
}

.hs-form-jdcse input[type="submit"],
.hs-form-jdcse .hs-button {
  display: block;
  margin: 0 auto;
  padding: 0 36px;
  height: 44px;
  border-radius: 100px;
  background: #C1503A;
  color: #ffffff;
  border: none;
  font-family: "KumbhSans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.15s;
}

.hs-form-jdcse input[type="submit"]:hover,
.hs-form-jdcse .hs-button:hover {
  background: #A8402C;
}

/* 11. ERREURS */
.hs-form-jdcse .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 16px;
}

.hs-form-jdcse .hs-error-msgs li,
.hs-form-jdcse .hs-error-msg {
  font-size: 12px !important;
  color: #C1503A !important;
  margin-top: 4px;
}

.hs-form-jdcse input.error,
.hs-form-jdcse select.error,
.hs-form-jdcse textarea.error {
  border-color: #C1503A !important;
}

/* 12. NOTE OBLIGATOIRE */
.hs-form-jdcse .hs-richtext,
.hs-form-jdcse .submitted-message {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

/* 13. MOBILE */
@media (max-width: 767px) {
  .hs-form-jdcse .hs-form fieldset {
    display: block !important;
  }

  .hs-form-jdcse .hs-form-field {
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .hs-form-jdcse .hs-button {
    width: 100%;
  }
}

.hs-form-jdcse .hs-form ul{
    list-style-type: none;
    padding:0px;
}

.hs-form-jdcse .hs-form ul input{
    margin-right: 5px;
}


/* Form appel d'offre */
.hs-form-appel-offre .hs_interet_produit ul{
	  display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	column-gap: 10px;
}