/* /public/css/estimate-wizard.css
 * DT-ENERDIAG — socle wizard public 18L-bis
 */

.estimate-wizard {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(15, 54, 91, 0.58), rgba(7, 25, 45, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 42px rgba(0, 8, 20, 0.18);
  backdrop-filter: blur(13px) saturate(1.08);
  -webkit-backdrop-filter: blur(13px) saturate(1.08);
}

.estimate-wizard__progress {
  display: grid;
  grid-template-columns: auto minmax(28px, 1fr) auto minmax(28px, 1fr) auto;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
}

.estimate-wizard__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(203, 213, 225, 0.68);
  font-size: 0.76rem;
  font-weight: 760;
  white-space: nowrap;
}

.estimate-wizard__step b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(191, 219, 254, 0.2);
  border-radius: 999px;
  color: rgba(219, 234, 254, 0.78);
  background: rgba(30, 64, 175, 0.12);
  font-size: 0.72rem;
}

.estimate-wizard__step.is-active {
  color: rgba(248, 250, 252, 0.98);
}

.estimate-wizard__step.is-active b {
  color: #ffffff;
  border-color: rgba(147, 197, 253, 0.48);
  background: linear-gradient(135deg, rgba(20, 92, 157, 0.94), rgba(30, 64, 175, 0.82));
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.18);
}

.estimate-wizard__connector {
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.18), rgba(219, 234, 254, 0.42), rgba(125, 211, 252, 0.18));
}

.estimate-wizard__form {
  display: grid;
  gap: 16px;
}

.estimate-wizard__choice-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.28fr);
  gap: 14px;
}

.estimate-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.estimate-choice-group legend,
.estimate-field > span,
.estimate-field > label,
.estimate-field__label-row label {
  display: block;
  margin: 0 0 7px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.72rem;
  font-weight: 790;
  line-height: 1.2;
}

.estimate-choice-group__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.estimate-choice-group--wide .estimate-choice-group__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.estimate-choice-group label {
  display: block;
  cursor: pointer;
}

.estimate-choice-group input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.estimate-choice-group label span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.8rem;
  font-weight: 740;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.estimate-choice-group input:checked + span {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.48);
  background: linear-gradient(135deg, rgba(16, 74, 127, 0.88), rgba(30, 64, 175, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 18px rgba(0, 8, 20, 0.14);
}

.estimate-choice-group input:focus-visible + span {
  outline: 2px solid rgba(147, 197, 253, 0.9);
  outline-offset: 2px;
}

.estimate-wizard__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.estimate-field {
  position: relative;
  display: block;
  min-width: 0;
}

.estimate-field--full {
  grid-column: 1 / -1;
}

.estimate-field input,
.estimate-field select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 11px;
  color: rgba(15, 23, 42, 0.96);
  -webkit-text-fill-color: rgba(15, 23, 42, 0.96);
  background: rgba(248, 250, 252, 0.94);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 620;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
  outline: none;
}

.estimate-field input:focus,
.estimate-field select:focus {
  border-color: rgba(125, 211, 252, 0.96);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.estimate-field input::placeholder {
  color: rgba(71, 85, 105, 0.7);
  -webkit-text-fill-color: rgba(71, 85, 105, 0.7);
}

.estimate-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.estimate-field__label-row label {
  margin: 0;
}

.estimate-help {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 999px;
  color: rgba(219, 234, 254, 0.98);
  background: rgba(59, 130, 246, 0.13);
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.estimate-help:hover,
.estimate-help:focus-visible,
.estimate-help[aria-expanded="true"] {
  border-color: rgba(147, 197, 253, 0.66);
  background: rgba(59, 130, 246, 0.24);
  outline: none;
}

.estimate-help-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  left: 0;
  width: min(310px, calc(100vw - 42px));
  padding: 9px 11px;
  border: 1px solid rgba(191, 219, 254, 0.28);
  border-radius: 11px;
  color: rgba(241, 245, 249, 0.97);
  background: rgba(5, 20, 36, 0.97);
  box-shadow: 0 14px 32px rgba(0, 7, 18, 0.34);
  font-size: 0.74rem;
  font-weight: 560;
  line-height: 1.45;
}

.estimate-field__unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: rgba(248, 250, 252, 0.94);
}

.estimate-field__unit input {
  border-radius: 11px 0 0 11px;
}

.estimate-field__unit > span {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 45px;
  padding-inline: 10px;
  color: rgba(51, 65, 85, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
}

.estimate-documents {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.estimate-documents[hidden] {
  display: none !important;
}

.estimate-documents label {
  display: block;
  cursor: pointer;
}

.estimate-documents input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.estimate-documents label span {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  color: rgba(226, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.estimate-documents input:checked + span {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.46);
  background: rgba(14, 116, 144, 0.25);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.estimate-documents input:focus-visible + span {
  outline: 2px solid rgba(147, 197, 253, 0.9);
  outline-offset: 2px;
}

.estimate-wizard__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 42px;
}

.estimate-wizard__status {
  margin-right: auto;
  padding: 8px 11px;
  border-radius: 10px;
  color: rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-weight: 650;
}

.estimate-wizard__status--error {
  color: rgba(254, 226, 226, 0.98);
  background: rgba(185, 28, 28, 0.18);
}

.estimate-wizard__status--success {
  color: rgba(220, 252, 231, 0.98);
  background: rgba(22, 101, 52, 0.18);
}

.estimate-wizard__continue {
  min-width: 132px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(14, 88, 153, 0.98), rgba(30, 64, 175, 0.9));
  box-shadow: 0 9px 22px rgba(0, 8, 20, 0.2);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.estimate-wizard__continue:hover,
.estimate-wizard__continue:focus-visible {
  border-color: rgba(191, 219, 254, 0.72);
  box-shadow: 0 11px 26px rgba(0, 8, 20, 0.26), 0 0 0 3px rgba(56, 189, 248, 0.1);
  outline: none;
}

.estimate-wizard__continue:disabled {
  cursor: default;
  opacity: 0.7;
  box-shadow: none;
}

.public-luminous-divider {
  width: min(820px, 84%);
  height: 1px;
  margin: clamp(24px, 4vw, 38px) auto;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.68), rgba(255, 255, 255, 0.8), rgba(125, 211, 252, 0.68), transparent);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.24);
}

/* Autocomplétion : même moteur que l’intranet, rendu public Glass. */
.public-addr-suggest[hidden],
.public-addr-suggest:empty {
  display: none !important;
}

.page-home .address-search-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.page-home .address-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-home .address-search-modal__card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(76vh, 680px);
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, 0.24);
  border-radius: 18px;
  background: rgba(6, 23, 41, 0.97);
  box-shadow: 0 24px 70px rgba(0, 6, 16, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-home .address-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .address-search-modal__head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
}

.page-home .address-search-modal__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
  cursor: pointer;
}

.page-home .address-search-modal__body {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.page-home .address-search-modal__field {
  display: grid;
  gap: 6px;
}

.page-home .address-search-modal__field > span {
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.72rem;
  font-weight: 760;
}

.page-home .address-search-modal__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 11px;
  color: rgba(15, 23, 42, 0.96);
  background: rgba(248, 250, 252, 0.96);
  font: inherit;
  outline: none;
}

.page-home .address-search-modal__input:focus {
  border-color: rgba(125, 211, 252, 0.96);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.page-home .address-search-modal__query {
  min-height: 18px;
  color: rgba(148, 163, 184, 0.86);
  font-size: 0.7rem;
}

.page-home .address-search-modal__list {
  display: grid;
  gap: 6px;
  max-height: 330px;
  overflow: auto;
}

.page-home .address-search-modal .addr-suggest-item {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(241, 245, 249, 0.96);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  cursor: pointer;
}

.page-home .address-search-modal .addr-suggest-item:hover,
.page-home .address-search-modal .addr-suggest-item:focus-visible {
  border-color: rgba(125, 211, 252, 0.38);
  background: rgba(59, 130, 246, 0.13);
  outline: none;
}

.page-home .address-search-modal .addr-suggest-main {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 730;
}

.page-home .address-search-modal .addr-suggest-sub,
.page-home .address-search-modal__empty {
  color: rgba(203, 213, 225, 0.76);
  font-size: 0.7rem;
}

.page-home .address-search-modal__empty {
  margin: 0;
  padding: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .estimate-wizard__choice-row,
  .estimate-wizard__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimate-field--full {
    grid-column: 1 / -1;
  }

  .estimate-documents {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px), (hover: none) and (pointer: coarse) {
  .estimate-wizard {
    gap: 14px;
    padding: 13px;
    border-radius: 17px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .estimate-wizard__progress {
    gap: 6px;
  }

  .estimate-wizard__step {
    gap: 5px;
    font-size: 0.68rem;
  }

  .estimate-wizard__step b {
    width: 24px;
    height: 24px;
    font-size: 0.66rem;
  }

  .estimate-wizard__choice-row,
  .estimate-wizard__grid {
    grid-template-columns: 1fr;
  }

  .estimate-choice-group--wide .estimate-choice-group__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .estimate-choice-group label span {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 0.74rem;
  }

  .estimate-documents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimate-wizard__footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .estimate-wizard__status {
    margin: 0;
  }

  .estimate-wizard__continue {
    width: 100%;
  }

  .public-luminous-divider {
    width: 92%;
    margin-block: 22px;
  }

  .page-home .address-search-modal {
    align-items: end;
    padding: 10px;
  }

  .page-home .address-search-modal__card {
    width: 100%;
    max-height: 82vh;
    border-radius: 18px 18px 13px 13px;
  }
}

/* 18L-ter — ouverture progressive du wizard. */
.estimate-wizard--collapsed {
  display: block;
  padding: 0;
  overflow: hidden;
}

.estimate-wizard__launcher {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 104px;
  padding: 24px clamp(22px, 4vw, 42px);
  border: 0;
  border-radius: inherit;
  color: #ffffff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.estimate-wizard__launcher:hover,
.estimate-wizard__launcher:focus-visible {
  background: linear-gradient(110deg, rgba(255,255,255,.035), rgba(56,189,248,.08));
  outline: none;
}

.estimate-wizard__launcher:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(147, 197, 253, 0.72);
}

.estimate-wizard__launcher-title {
  grid-column: 2;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.estimate-wizard__launcher-action {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(219, 234, 254, 0.96);
  font-size: 0.8rem;
  font-weight: 780;
  white-space: nowrap;
}

.estimate-wizard__launcher-action span {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform 0.18s ease;
}

.estimate-wizard__launcher:hover .estimate-wizard__launcher-action span,
.estimate-wizard__launcher:focus-visible .estimate-wizard__launcher-action span {
  transform: translateX(4px);
}

.estimate-wizard__content {
  display: grid;
  gap: 18px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.estimate-wizard__content[hidden] {
  display: none !important;
}

.estimate-wizard__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .estimate-wizard__content,
  .estimate-wizard__launcher-action span {
    transition: none;
  }
}

@media (max-width: 680px), (hover: none) and (pointer: coarse) {
  .estimate-wizard__launcher {
    grid-template-columns: 1fr;
    min-height: 94px;
    padding: 17px;
    gap: 8px;
    text-align: center;
  }

  .estimate-wizard__launcher-title,
  .estimate-wizard__launcher-action {
    grid-column: 1;
    justify-self: center;
  }

  .estimate-wizard__launcher-title {
    font-size: 0.96rem;
  }

  .estimate-wizard__launcher-action {
    font-size: 0.74rem;
  }
}

/* 18M — étape Diagnostics + estimation publique */
.estimate-diagnostics[hidden],
.estimate-diagnostics__loading[hidden],
#publicEstimateDiagnosticsContent[hidden] {
  display: none !important;
}

.estimate-diagnostics {
  display: grid;
  gap: 16px;
}

.estimate-diagnostics__loading {
  min-height: 132px;
  place-items: center;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.82rem;
  font-weight: 720;
}

.estimate-diagnostics__loading:not([hidden]) {
  display: grid;
}

.estimate-diagnostics__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.estimate-diagnostic-card {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: rgba(241, 245, 249, 0.96);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.estimate-diagnostic-card:hover {
  border-color: rgba(125, 211, 252, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.estimate-diagnostic-card input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.estimate-diagnostic-card__check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(191, 219, 254, 0.3);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.22);
}

.estimate-diagnostic-card input:checked + .estimate-diagnostic-card__check {
  border-color: rgba(125, 211, 252, 0.62);
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.9), rgba(30, 64, 175, 0.8));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.13);
}

.estimate-diagnostic-card input:checked + .estimate-diagnostic-card__check::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.estimate-diagnostic-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.estimate-diagnostic-card__body strong {
  color: rgba(248, 250, 252, 0.98);
  font-size: 0.8rem;
  line-height: 1.2;
}

.estimate-diagnostic-card__body small {
  color: rgba(191, 219, 254, 0.72);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
}

.estimate-diagnostic-card.is-selected {
  border-color: rgba(125, 211, 252, 0.34);
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.12), rgba(30, 64, 175, 0.1));
}

.estimate-diagnostic-card.is-unavailable {
  cursor: default;
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(120, 53, 15, 0.08);
}

.estimate-diagnostic-card.is-unavailable .estimate-diagnostic-card__check {
  border-color: rgba(251, 191, 36, 0.28);
}

.estimate-diagnostic-card.is-unavailable .estimate-diagnostic-card__body small {
  color: rgba(253, 230, 138, 0.86);
}

.estimate-diagnostics__summary {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid rgba(125, 211, 252, 0.18);
  border-bottom: 1px solid rgba(125, 211, 252, 0.18);
  text-align: center;
}

.estimate-diagnostics__price-label {
  color: rgba(203, 213, 225, 0.8);
  font-size: 0.74rem;
  font-weight: 700;
}

.estimate-diagnostics__price {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 840;
  letter-spacing: -0.035em;
  text-shadow: 0 0 18px rgba(125, 211, 252, 0.14);
}

.estimate-diagnostics__warnings {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  color: rgba(254, 243, 199, 0.94);
  background: rgba(120, 53, 15, 0.1);
  font-size: 0.72rem;
  font-weight: 620;
}

.estimate-diagnostics__warnings[hidden] {
  display: none !important;
}

.estimate-diagnostics__warnings p {
  margin: 0;
}

.estimate-wizard__footer--diagnostics {
  justify-content: flex-start;
}

.estimate-wizard__back {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 11px;
  color: rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 740;
  cursor: pointer;
}

.estimate-wizard__back:hover,
.estimate-wizard__back:focus-visible {
  border-color: rgba(147, 197, 253, 0.48);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

@media (max-width: 820px) {
  .estimate-diagnostics__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .estimate-diagnostics__list {
    grid-template-columns: 1fr;
  }

  .estimate-diagnostics__summary {
    display: grid;
    gap: 5px;
  }
}

/* 18N — coordonnées, fermeture publique et confirmation REQ */
.estimate-availability {
  width: fit-content;
  max-width: 100%;
  margin: -2px auto 0;
  padding: 7px 12px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 999px;
  color: rgba(254, 243, 199, 0.96);
  background: rgba(120, 53, 15, 0.1);
  font-size: 0.72rem;
  font-weight: 720;
  text-align: center;
}

.estimate-availability[hidden],
.estimate-contact[hidden],
.estimate-confirmation[hidden],
#publicRequesterCompanyField[hidden],
#publicEstimateTurnstileWrap[hidden] {
  display: none !important;
}

.estimate-contact {
  display: grid;
  gap: 16px;
}

.estimate-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.73rem;
  font-weight: 620;
  line-height: 1.4;
  cursor: pointer;
}

.estimate-consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #0e7490;
}

.estimate-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.estimate-turnstile {
  min-height: 65px;
}

.estimate-confirmation {
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: clamp(24px, 5vw, 54px) 18px;
  color: rgba(241, 245, 249, 0.96);
  text-align: center;
}

.estimate-confirmation:not([hidden]) {
  display: grid;
}

.estimate-confirmation__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border: 1px solid rgba(134, 239, 172, 0.34);
  border-radius: 999px;
  color: rgba(220, 252, 231, 0.98);
  background: rgba(22, 101, 52, 0.16);
  font-size: 1.15rem;
  font-weight: 900;
}

.estimate-confirmation strong {
  color: #ffffff;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 820;
}

.estimate-confirmation p {
  max-width: 620px;
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.82rem;
  line-height: 1.55;
}

.estimate-confirmation small {
  margin-top: 5px;
  color: rgba(191, 219, 254, 0.7);
  font-size: 0.68rem;
  font-weight: 680;
}

.estimate-wizard__footer--diagnostics {
  justify-content: space-between;
}

@media (max-width: 680px), (hover: none) and (pointer: coarse) {
  .estimate-contact .estimate-wizard__choice-row,
  .estimate-contact .estimate-wizard__grid {
    grid-template-columns: 1fr;
  }

  .estimate-turnstile {
    overflow-x: auto;
  }

  .estimate-wizard__footer--diagnostics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .estimate-wizard__back,
  .estimate-wizard__footer--diagnostics .estimate-wizard__continue {
    width: 100%;
  }
}

/* 18N-bis — action volontaire de remise à zéro du wizard. */
.estimate-wizard__tools {
  display: flex;
  justify-content: flex-end;
  min-height: 28px;
}

.estimate-wizard__reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(191, 219, 254, 0.16);
  border-radius: 9px;
  color: rgba(203, 213, 225, 0.74);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.estimate-wizard__reset:hover,
.estimate-wizard__reset:focus-visible {
  color: rgba(248, 250, 252, 0.98);
  border-color: rgba(147, 197, 253, 0.36);
  background: rgba(59, 130, 246, 0.08);
  outline: none;
}

@media (max-width: 680px), (hover: none) and (pointer: coarse) {
  .estimate-wizard__tools {
    min-height: 24px;
  }

  .estimate-wizard__reset {
    min-height: 26px;
    font-size: 0.66rem;
  }
}

/* 20C — coordonnées du demandeur / recherche d'entreprise. */
.estimate-professional-fields {
  display: grid;
  gap: 12px;
}

.estimate-professional-fields[hidden] {
  display: none !important;
}

.estimate-professional-fields__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.estimate-company-search {
  position: relative;
}

.estimate-company-search__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.estimate-company-search__control button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 11px;
  color: #f8fbff;
  background: rgba(30, 64, 175, 0.58);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 780;
  cursor: pointer;
}

.estimate-company-search__control button:hover,
.estimate-company-search__control button:focus-visible {
  border-color: rgba(191, 219, 254, 0.78);
  background: rgba(37, 99, 235, 0.7);
  outline: none;
}

.estimate-company-search__control button:disabled {
  cursor: default;
  opacity: 0.62;
}

.estimate-company-search__results {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.estimate-company-search__results[hidden] {
  display: none !important;
}

.estimate-company-search__result {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 10px;
  color: rgba(241, 245, 249, 0.98);
  background: rgba(8, 47, 83, 0.72);
  text-align: left;
  cursor: pointer;
}

.estimate-company-search__result strong,
.estimate-company-search__result span {
  display: block;
}

.estimate-company-search__result strong {
  font-size: 0.82rem;
}

.estimate-company-search__result span {
  margin-top: 3px;
  color: rgba(219, 234, 254, 0.8);
  font-size: 0.72rem;
}

.estimate-company-search__result:hover,
.estimate-company-search__result:focus-visible {
  border-color: rgba(125, 211, 252, 0.72);
  background: rgba(14, 88, 153, 0.82);
  outline: none;
}

.estimate-company-search__empty {
  margin: 2px 0 0;
  color: rgba(219, 234, 254, 0.78);
  font-size: 0.75rem;
}

@media (max-width: 720px) {
  .estimate-professional-fields__grid,
  .estimate-company-search__control {
    grid-template-columns: 1fr;
  }
}
