/* UX client — parcours simple & lisible */

/* ── Hero : 3 étapes visuelles ── */
.hero-path {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 18px 0 4px;
  max-width: 420px;
}

.hero-path__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4a4740;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(184, 149, 106, 0.25);
  border-radius: 999px;
  padding: 8px 14px;
}

.hero-path__step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2a241c;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-path__step--active {
  background: rgba(196, 165, 116, 0.38);
  border-color: rgba(184, 149, 106, 0.55);
  color: #3d3830;
}

.hero-path__step--active span {
  background: #2a241c;
}

.hero-lead--short {
  font-size: 16px !important;
  max-width: 420px;
  color: #6d6b64 !important;
  margin-top: 32px !important;
  line-height: 1.55 !important;
}

.hero-trust-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 16px;
  font-size: 12px;
  color: #6d6b64;
}

.hero-trust-mini span {
  white-space: nowrap;
}

/* ── Header bouton devis (mobile) ── */
.wiz-header-devis {
  display: none;
  margin-left: auto;
  margin-right: 8px;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-dark, #1a5c3a);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .wiz-header-devis {
    display: inline-flex;
    align-items: center;
  }

  .wiz-nav {
    display: none;
  }

  .wiz-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--wiz-header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px 16px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
    z-index: 999;
  }

  .wiz-nav.is-open a {
    width: 100%;
    padding: 14px 12px;
    justify-content: flex-start;
  }

  .wiz-header__inner {
    position: relative;
    flex-wrap: wrap;
    padding: 0 16px;
    gap: 12px;
  }
}

/* ── Devis : intro & progression ── */
.section-intro--simple h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.section-intro--simple p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  color: #6d6b64;
}

.progress-wrap .progress-step small {
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
}

.panel-heading h3 {
  font-size: clamp(1.25rem, 3.5vw, 1.55rem) !important;
  line-height: 1.25 !important;
}

.welcome-panel .panel-heading p {
  font-size: 14px;
  color: #6d6b64;
  max-width: 360px;
  margin: 0 auto;
}

.estimate-price {
  font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
}

.panel-actions .button-primary {
  min-height: 52px;
  font-size: 15px;
  flex: 1;
}

/* ── Formulaire simplifié ── */
.form-hint-simple {
  font-size: 13px;
  color: #6d6b64;
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.5;
}

/* ── Villes : replié par défaut ── */
.local-cities-nav details,
details.local-cities-nav {
  border: none;
  background: transparent;
}

.local-cities-nav summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark, #1a5c3a);
  padding: 8px 0;
}

.local-cities-nav summary::-webkit-details-marker {
  display: none;
}

.local-cities-nav summary::after {
  content: " ▾";
  font-size: 11px;
  opacity: 0.7;
}

.local-cities-nav[open] summary::after {
  content: " ▴";
}

.local-cities-links {
  margin-top: 8px;
}

/* ── Barre mobile ── */
.mobile-cta-bar .mobile-cta-devis {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    gap: 10px;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
  }

  .mobile-cta-bar .mobile-cta-devis {
    flex: 1;
    min-height: 48px;
    border-radius: 999px;
  }

  .mobile-cta-bar .mobile-cta-wa-link {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }
}
