/* Simulateur Eauxigen V10 — reprise fonctionnelle et visuelle de la V9. */
.simulator-page {
  background: #fff;
}

.simulator-page [hidden] {
  display: none !important;
}

.simulator-heading {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.simulator-heading .sec-title {
  margin-bottom: 18px;
  text-transform: none;
}

.sim-intro {
  max-width: 940px;
  margin: 0 auto;
  color: var(--body-color, #666);
  font-size: 17px;
  line-height: 1.75;
}

.sim-urgence {
  display: block;
  margin-top: 8px;
  color: #5b6b7a;
}

.sim-urgence i,
.sim-urgence a {
  color: var(--theme-color, #139ff7);
}

.sim-urgence a {
  font-weight: 700;
  white-space: nowrap;
}

.simulator,
.sim-result {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #dce9f3;
  border-radius: 20px;
  box-shadow: 0 14px 48px rgba(0, 31, 69, 0.09);
}

.simulator {
  padding: 38px 42px;
  background: #fff;
}

.sim-step {
  margin-bottom: 28px;
}

.sim-step:last-child {
  margin-bottom: 0;
}

.sim-step__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: var(--title-color, #001f35);
  font-family: var(--title-font, "Inter", sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.sim-step__num {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--theme-color2, #fee74a);
  color: var(--title-color, #001f35);
  font-size: 14px;
}

.sim-service-select,
.sim-address-input,
.sim-lead .form-control {
  width: 100%;
  height: auto;
  min-height: 54px;
  padding: 13px 16px;
  border: 2px solid #cce3f5;
  border-radius: 10px;
  background-color: #f6faff;
  color: #123047;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
}

.sim-service-select {
  padding-right: 46px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23139ff7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.sim-service-select:hover,
.sim-address-input:hover,
.sim-lead .form-control:hover {
  border-color: var(--theme-color, #139ff7);
}

.sim-service-select:focus,
.sim-address-input:focus,
.sim-lead .form-control:focus {
  outline: 3px solid rgba(19, 159, 247, 0.16);
  outline-offset: 1px;
  border-color: var(--theme-color, #139ff7);
  background-color: #fff;
}

.sim-address-input {
  max-width: none;
}

.sim-address-help,
.sim-address-note {
  color: #647786;
  line-height: 1.6;
}

.sim-address-help {
  margin: 0 0 10px;
  font-size: 15px;
}

.sim-address-note {
  margin: 8px 0 13px;
  font-size: 13px;
}

#sim-main {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e2eaf0;
}

.sim-range {
  width: 100%;
  height: 7px;
  cursor: pointer;
  accent-color: var(--theme-color, #139ff7);
}

.sim-range__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #6b7b88;
  font-size: 13px;
}

.sim-m2-out {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #123047;
  font-weight: 700;
}

.sim-m2-input {
  width: 86px;
  padding: 6px 9px;
  border: 1.5px solid #bfe0fb;
  border-radius: 8px;
  background: #fff;
  color: var(--theme-color, #139ff7);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.sim-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-opt {
  margin: 0;
  cursor: pointer;
}

.sim-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sim-opt__box {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px solid #d7e1ea;
  border-radius: 999px;
  background: #fff;
  color: #123047;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s ease;
}

.sim-opt input:hover + .sim-opt__box {
  border-color: var(--theme-color, #139ff7);
}

.sim-opt input:checked + .sim-opt__box {
  border-color: var(--theme-color, #139ff7);
  background: var(--theme-color, #139ff7);
  color: #fff;
}

.sim-opt input:focus-visible + .sim-opt__box {
  outline: 3px solid rgba(19, 159, 247, 0.2);
  outline-offset: 2px;
}

.sim-submit,
.sim-lead__submit {
  border: 2px solid var(--theme-color, #139ff7);
  border-radius: 6px;
  background: var(--theme-color, #139ff7);
  color: #fff;
  font-family: var(--title-font, "Inter", sans-serif);
  font-weight: 700;
}

.sim-submit {
  margin-top: 6px;
  padding: 13px 28px;
}

#sim-estimate-btn,
#sim-devis-btn {
  margin-top: 24px;
}

.sim-submit:hover,
.sim-submit:focus-visible,
.sim-lead__submit:hover,
.sim-lead__submit:focus-visible {
  border-color: var(--theme-color2, #fee74a);
  background: var(--theme-color2, #fee74a);
  color: var(--title-color, #001f35);
}

.sim-submit:disabled,
.sim-lead__submit:disabled,
#sim-address-continue:disabled {
  border-color: #dbe6f0;
  background: #eef2f6;
  color: #9db0c0;
  cursor: not-allowed;
  opacity: 1;
}

.sim-result {
  margin-top: 28px;
  padding: 34px 42px;
  border-color: #bfe0fb;
  background: #edf7ff;
  text-align: center;
}

.sim-result__kicker {
  margin: 0 0 6px;
  color: var(--theme-color, #139ff7);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-result__range {
  margin: 0 0 12px;
  color: var(--title-color, #001f35);
  font-family: var(--title-font, "Inter", sans-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.sim-result__note,
.sim-result__devis {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: #4a5b68;
  line-height: 1.65;
}

.sim-result__note {
  margin-bottom: 20px;
  font-size: 14px;
}

.sim-result__devis {
  margin-bottom: 22px;
  font-size: 17px;
  font-weight: 600;
}

.sim-lead {
  position: relative;
  margin-top: 26px;
  padding-top: 25px;
  border-top: 1px solid #bfe0fb;
  text-align: left;
}

.sim-lead__title {
  margin: 0 0 7px;
  color: var(--title-color, #001f35);
  font-size: 23px;
}

.sim-lead__intro {
  margin: 0 0 20px;
  color: #4a5b68;
  font-size: 14px;
  line-height: 1.65;
}

.sim-lead__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.sim-lead__grid .iti {
  display: block;
  width: 100%;
}

.sim-lead__grid .iti .form-control {
  width: 100%;
}

.sim-lead .form-control {
  margin-bottom: 12px;
}

.sim-lead__grid .form-control {
  margin-bottom: 0;
}

.sim-lead__message {
  min-height: 110px;
  resize: vertical;
}

.sim-lead__typeclient,
.sim-lead__photos {
  margin-bottom: 14px;
}

.sim-lead__label,
.sim-lead__photos-label {
  display: block;
  margin-bottom: 7px;
  color: var(--title-color, #001f35);
  font-size: 14px;
  font-weight: 700;
}

.sim-lead__photos-note {
  margin: 0 0 10px;
  padding: 11px 14px;
  border: 1px solid #cce3f5;
  border-radius: 9px;
  background: #f6faff;
  color: #4a5b68;
  font-size: 13px;
  line-height: 1.55;
}

.sim-lead__file {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed #8fc7ee;
  border-radius: 9px;
  background: #fff;
  color: #4a5b68;
  font-size: 14px;
}

.sim-lead__file::file-selector-button {
  margin-right: 12px;
  padding: 8px 15px;
  border: 0;
  border-radius: 5px;
  background: var(--theme-color, #139ff7);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.sim-lead__photos-error,
.field-error-msg {
  margin: 6px 0 10px;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
}

.sim-lead .cf-turnstile {
  margin: 8px 0 14px;
}

.sim-privacy-note {
  margin: 10px 0 0;
  color: #4a5b68;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.sim-privacy-note a {
  color: var(--theme-color, #139ff7);
  font-weight: 700;
  text-decoration: underline;
}

.sim-lead__submit {
  width: 100%;
  padding: 14px 24px;
}

.sim-lead__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.eauxigen-form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.eauxigen-form-message--success {
  background: #e9f8ef;
  color: #17633a;
}

.eauxigen-form-message--error {
  background: #fff0ee;
  color: #9d241c;
}

.sim-disclaimer,
.sim-contact-fallback {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  color: #536776;
  line-height: 1.7;
}

.sim-disclaimer {
  margin-top: 24px;
  font-size: 13px;
}

.sim-contact-fallback {
  margin-top: 24px;
  padding: 21px 26px;
  border: 2px solid #cce3f5;
  border-radius: 14px;
  background: #f6faff;
  font-size: 16px;
  text-align: center;
}

.sim-contact-fallback a {
  color: var(--theme-color, #139ff7);
  font-weight: 700;
}

.pac-container {
  z-index: 100000;
  border-radius: 0 0 10px 10px;
  font-family: var(--body-font, "Poppins", sans-serif);
}

@media (max-width: 767px) {
  .simulator-heading .sec-title {
    font-size: 30px;
  }

  .sim-intro {
    font-size: 15px;
    line-height: 1.65;
  }

  .simulator,
  .sim-result {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .sim-step__label {
    flex-wrap: wrap;
    font-size: 16px;
  }

  .sim-m2-out {
    width: 100%;
    margin: 4px 0 0 40px;
  }

  .sim-options {
    gap: 8px;
  }

  .sim-opt__box {
    padding: 9px 14px;
    font-size: 14px;
  }

  .sim-result__range {
    font-size: 30px;
  }

  .sim-lead__grid {
    grid-template-columns: 1fr;
  }

  .sim-lead .cf-turnstile {
    max-width: 100%;
    overflow: hidden;
  }
}
