/* ── Indy Form – Front ── */

#indy-form-front-wrap {
  margin: 0;
  font-family: 'Suisse Int\'l', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(34, 44, 54, 0.8);
}

/* Layout 2 colonnes */
#indy-form-front-wrap .indy-front-layout {
  display: flex;
  padding: 40px;
  min-height: 580px;
  align-items: stretch;
  justify-content: space-between;
  gap: 52px;
}

#indy-form-front-wrap .indy-front-layout--terminal {
  display: block;
  padding: 0;
  min-height: auto;
  gap: 0;
}

#indy-form-front-wrap .indy-front-layout__terminal {
  width: 100%;
  min-height: 580px;
  padding: 40px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  animation: indy-front-fade-in 0.35s ease-out both;
}

#indy-form-front-wrap .indy-front-layout__terminal> :first-child {
  margin-top: 0;
}

#indy-form-front-wrap .indy-front-layout__terminal> :last-child {
  margin-bottom: 0;
}

/* ── Sidebar gauche ── */
#indy-form-front-wrap .indy-front-sidebar {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 88px;
  /*padding-right: 82px;*/
  box-sizing: border-box;
}

#indy-form-front-wrap .indy-front-sidebar__image {
  position: relative;
  width: 242px;
  height: 167px;
}

#indy-form-front-wrap .indy-front-sidebar__photo {
  display: block;
  width: 241.997px;
  height: 166.864px !important;
}

#indy-form-front-wrap .indy-front-sidebar__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.64px;
  margin: 0;
}

#indy-form-front-wrap .indy-front-sidebar__subtitle {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #000;
  margin: 0;
}

/* ── Formulaire droite ── */
#indy-form-front-wrap .indy-front-form {
  /*max-width: 432px;*/
  flex: 0 0 50%;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  box-shadow:
    0 2px 32px 0 rgba(237, 207, 166, 0.32),
    0 2px 8px 1px rgba(237, 207, 166, 0.16);
}

#indy-form-front-wrap .indy-front-form--terminal {
  animation: indy-front-fade-in 0.35s ease-out both;
}

@keyframes indy-front-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  #indy-form-front-wrap .indy-front-form {
    min-height: 616px;
  }
}

#indy-form-front-wrap .indy-front-mobile__title {
  display: none;
}

#indy-form-front-wrap .indy-front-form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

#indy-form-front-wrap .indy-front-form__row--half {
  display: flex;
  gap: 10px;
}

#indy-form-front-wrap .indy-front-form__row--half .indy-front-form__field {
  flex: 1;
  min-width: 0;
}

#indy-form-front-wrap .indy-front-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#indy-form-front-wrap .indy-front-form__label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(34, 44, 54, 0.8);
}

#indy-form-front-wrap input[type="text"].indy-front-form__input,
#indy-form-front-wrap input[type="email"].indy-front-form__input,
#indy-form-front-wrap input[type="tel"].indy-front-form__input,
#indy-form-front-wrap select.indy-front-form__select {
  width: 100%;
  height: 48px;
  padding: 12px 12px 12px 16px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.16px;
  color: #222c36;
  font-family: inherit;
  background: #fff;
  border: 1px solid #a6bacb;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

#indy-form-front-wrap input[type="text"].indy-front-form__input:focus,
#indy-form-front-wrap input[type="email"].indy-front-form__input:focus,
#indy-form-front-wrap input[type="tel"].indy-front-form__input:focus,
#indy-form-front-wrap select.indy-front-form__select:focus {
  border-color: #fa5d89;
  box-shadow: 0 0 0 3px rgba(250, 93, 137, 0.12);
}

#indy-form-front-wrap input[type="text"].indy-front-form__input::placeholder,
#indy-form-front-wrap input[type="email"].indy-front-form__input::placeholder,
#indy-form-front-wrap input[type="tel"].indy-front-form__input::placeholder,
#indy-form-front-wrap select.indy-front-form__select::placeholder {
  color: rgba(34, 44, 54, 0.5);
}

/* Select avec icône chevron */
#indy-form-front-wrap .indy-front-form__select-wrap {
  position: relative;
}

#indy-form-front-wrap .indy-front-form__select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

#indy-form-front-wrap .indy-front-form__select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: #222c36;
  pointer-events: none;
}

/* Radio group */
#indy-form-front-wrap .indy-front-form__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#indy-form-front-wrap .indy-front-form__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #a6bacb;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  user-select: none;
}

#indy-form-front-wrap .indy-front-form__radio:hover {
  border-color: #fa5d89;
}

#indy-form-front-wrap .indy-front-form__radio--active {
  border-color: #fa5d89;
  background: rgba(250, 93, 137, 0.06);
  box-shadow: 0 0 0 3px rgba(250, 93, 137, 0.12);
}

#indy-form-front-wrap .indy-front-form__radio-input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #fa5d89;
  cursor: pointer;
}

#indy-form-front-wrap .indy-front-form__radio-label {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(34, 44, 54, 0.8);
}

/* Legal note */
#indy-form-front-wrap .indy-front-form__legal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: default;
}

#indy-form-front-wrap .indy-front-form__legal-note-text {
  font-size: 12px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: rgba(34, 44, 54, 0.8);
}

/* Bouton CTA */
#indy-form-front-wrap .indy-front-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 40px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  font-family: inherit;
  color: #fff;
  background: #fa5d89;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

#indy-form-front-wrap .indy-front-form__submit:hover {
  background: #e8456f;
}

#indy-form-front-wrap .indy-front-form__submit:disabled,
#indy-form-front-wrap .indy-front-form__submit[disabled] {
  background: #f7b5c8;
  color: rgba(255, 255, 255, 0.9);
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

#indy-form-front-wrap .indy-front-form__submit:disabled:hover,
#indy-form-front-wrap .indy-front-form__submit[disabled]:hover {
  background: #f7b5c8;
}

#indy-form-front-wrap .indy-front-form__submit:active {
  transform: scale(0.97);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  #indy-form-front-wrap .indy-front-layout {
    flex-direction: column;
    padding: 0;
  }

  #indy-form-front-wrap .indy-front-layout--terminal {
    min-height: auto;
  }

  #indy-form-front-wrap .indy-front-layout--terminal .indy-front-layout__terminal {
    min-height: auto;
    padding: 24px 16px;
  }

  #indy-form-front-wrap .indy-front-sidebar {
    flex: none;
    padding-top: 0;
    padding-right: 0;
    align-items: center;
    text-align: center;
  }

  #indy-form-front-wrap .indy-front-sidebar__title {
    width: 100%;
    font-size: 24px;
    line-height: 32px;
  }

  #indy-form-front-wrap .indy-front-sidebar {
    display: none;
  }

  #indy-form-front-wrap .indy-front-form {
    max-width: none;
    gap: 24px;
    padding: 24px 16px;
  }

  #indy-form-front-wrap .indy-front-form__fields {
    gap: 16px;
  }

  #indy-form-front-wrap .indy-front-mobile__title {
    display: block;
    max-width: 251px;
    margin: 0;
    color: #000;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.384px;
  }

  #indy-form-front-wrap .indy-front-form__row--half {
    flex-direction: row;
    gap: 10px;
  }

  /*#indy-form-front-wrap .indy-front-form__legal-note-text {
    font-size: 12px;
  }*/
}

#indy-form-front-wrap #custom-calendly-embed {
  width: 100%;
  min-width: 320px;
  min-height: 700px;
  overflow-y: hidden;
}

@media (min-width: 768px) {
  #indy-form-front-wrap #custom-calendly-embed {
    min-height: 714px;
    overflow-y: hidden;
    /*overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;*/
  }

  /*#indy-form-front-wrap #custom-calendly-embed::-webkit-scrollbar {
    width: 0;
    height: 0;
  }*/
}