/**
 * Eco Move Estimator — eco-move-estimator.css v1.3.0
 * Design system : Eco Bioma brand — vert #2d4a35, or #c4a882, crème #faf8f4
 */

/* ── VARIABLES ──────────────────────────────────────────────────────────── */
.ebw-move-estimator {
  --ebw-green:       #2d4a35;
  --ebw-green-dark:  #1e3324;
  --ebw-green-light: #e8f0ea;
  --ebw-gold:        #c4a882;
  --ebw-gold-light:  #f5efe6;
  --ebw-cream:       #faf8f4;
  --ebw-white:       #ffffff;
  --ebw-text:        #2c2c2c;
  --ebw-text-muted:  #666666;
  --ebw-border:      #e0dcd5;
  --ebw-radius:      10px;
  --ebw-radius-sm:   6px;
  --ebw-shadow:      0 2px 16px rgba(0,0,0,0.07);
  --ebw-shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
  --ebw-transition:  0.2s ease;

  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ebw-text);
  background: var(--ebw-white);
  border: 1px solid var(--ebw-border);
  border-radius: var(--ebw-radius);
  max-width: 920px;
  margin: 24px auto;
  box-shadow: var(--ebw-shadow-lg);
  overflow: hidden;
  position: relative;
}
.ebw-move-estimator *, .ebw-move-estimator *::before, .ebw-move-estimator *::after {
  box-sizing: border-box;
}

/* ── EN-TÊTE ────────────────────────────────────────────────────────────── */
.ebw-header {
  background: linear-gradient(135deg, var(--ebw-green) 0%, var(--ebw-green-dark) 100%);
  color: var(--ebw-white);
  padding: 36px 40px 32px;
  position: relative;
  overflow: hidden;
}
.ebw-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(196,168,130,.08);
  border-radius: 50%;
  pointer-events: none;
}
.ebw-header-inner { position: relative; z-index: 1; }

.ebw-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: var(--ebw-gold);
  border: 1px solid rgba(196,168,130,.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.ebw-title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ebw-white);
}
.ebw-sub {
  margin: 0 0 18px;
  font-size: 1rem;
  opacity: 0.88;
  max-width: 560px;
}
.ebw-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.ebw-trust-item {
  font-size: 0.82rem;
  color: var(--ebw-gold);
  font-weight: 500;
}

/* ── PROGRESSION ────────────────────────────────────────────────────────── */
.ebw-progress-container {
  height: 5px;
  background: #e8e4de;
}
.ebw-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ebw-gold) 0%, #e0c49e 100%);
  width: 25%;
  transition: width 0.4s ease;
  border-radius: 0 3px 3px 0;
}

/* ── NAVIGATION ÉTAPES ──────────────────────────────────────────────────── */
.ebw-steps-nav {
  display: flex;
  background: var(--ebw-cream);
  border-bottom: 1px solid var(--ebw-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ebw-steps-nav::-webkit-scrollbar { display: none; }

.ebw-step-tab {
  flex: 1;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 13px 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--ebw-text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--ebw-transition);
  white-space: nowrap;
}
.ebw-step-tab:hover { color: var(--ebw-green); background: rgba(45,74,53,.04); }
.ebw-step-tab.active {
  color: var(--ebw-green);
  font-weight: 700;
  border-bottom-color: var(--ebw-green);
  background: rgba(45,74,53,.05);
}
.ebw-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ebw-border);
  color: var(--ebw-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  transition: all var(--ebw-transition);
}
.ebw-step-tab.active .ebw-step-num,
.ebw-step-tab.done .ebw-step-num {
  background: var(--ebw-green);
  color: var(--ebw-white);
}

/* ── CORPS ──────────────────────────────────────────────────────────────── */
.ebw-body { padding: 32px 36px; }

.ebw-step { display: none; }
.ebw-step.active { display: block; animation: ebwFade 0.35s ease; }
@keyframes ebwFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── INTRO SECTION ──────────────────────────────────────────────────────── */
.ebw-section-intro { margin-bottom: 24px; }
.ebw-section-intro h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--ebw-green);
  font-weight: 700;
}
.ebw-section-intro p {
  margin: 0;
  color: var(--ebw-text-muted);
  font-size: 0.92rem;
}

.ebw-section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
  color: var(--ebw-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.ebw-section-divider::before, .ebw-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ebw-border);
}

/* ── FORMULAIRE ─────────────────────────────────────────────────────────── */
.ebw-field { position: relative; }
.ebw-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--ebw-green);
}
.ebw-req { color: var(--ebw-gold); margin-left: 2px; }
.ebw-optional { font-weight: 400; color: var(--ebw-text-muted); font-size: 0.8rem; }
.ebw-field-hint {
  font-size: 0.78rem;
  color: var(--ebw-text-muted);
  margin-top: 5px;
  display: block;
}
.ebw-move-estimator input[type="text"],
.ebw-move-estimator input[type="email"],
.ebw-move-estimator input[type="tel"],
.ebw-move-estimator input[type="date"],
.ebw-move-estimator input[type="number"],
.ebw-move-estimator select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ebw-border);
  border-radius: var(--ebw-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ebw-text);
  background: var(--ebw-white);
  transition: border-color var(--ebw-transition), box-shadow var(--ebw-transition);
  appearance: none;
  -webkit-appearance: none;
}
.ebw-move-estimator select {
  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='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.ebw-move-estimator input:focus,
.ebw-move-estimator select:focus {
  outline: none;
  border-color: var(--ebw-green);
  box-shadow: 0 0 0 3px rgba(45,74,53,.1);
}
.ebw-error-msg {
  display: block;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 4px;
}
.ebw-input-row { display: flex; gap: 18px; }
.ebw-input-row .ebw-field { flex: 1; }
.ebw-mt-sm { margin-top: 14px; }
.ebw-mt-md { margin-top: 20px; }
.ebw-mt-lg { margin-top: 30px; }

/* ── SÉLECTION MODE ─────────────────────────────────────────────────────── */
.ebw-mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ebw-mode-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--ebw-border);
  border-radius: var(--ebw-radius);
  background: var(--ebw-white);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all var(--ebw-transition);
}
.ebw-mode-card:hover { border-color: var(--ebw-gold); box-shadow: var(--ebw-shadow); }
.ebw-mode-card.selected { border-color: var(--ebw-green); background: var(--ebw-green-light); }
.ebw-mode-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.ebw-mode-card-content { flex: 1; }
.ebw-mode-card-content strong { display: block; font-size: 0.95rem; color: var(--ebw-text); }
.ebw-mode-card-content p { margin: 2px 0 0; font-size: 0.8rem; color: var(--ebw-text-muted); }
.ebw-mode-check { color: var(--ebw-green); font-size: 1.1rem; flex-shrink: 0; }
.ebw-mode-card:not(.selected) .ebw-mode-check { opacity: 0; }

/* ── INDICATEUR VOLUME ──────────────────────────────────────────────────── */
.ebw-volume-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--ebw-green-light);
  border-radius: var(--ebw-radius-sm);
  font-size: 0.88rem;
  color: var(--ebw-green);
  font-weight: 500;
  animation: ebwFade 0.3s ease;
}
.ebw-volume-icon { font-size: 1.1rem; }
.ebw-volume-truck { margin-left: auto; font-size: 0.78rem; color: var(--ebw-text-muted); }

/* ── GRILLE PIÈCES ──────────────────────────────────────────────────────── */
.ebw-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.ebw-room-card {
  border: 1.5px solid var(--ebw-border);
  border-radius: var(--ebw-radius-sm);
  padding: 12px 10px;
  text-align: center;
  background: var(--ebw-white);
  transition: border-color var(--ebw-transition);
}
.ebw-room-card:has(.js-ebw-room-qty:not([textContent="0"])) { border-color: var(--ebw-green); }
.ebw-room-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.ebw-room-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ebw-text); }
.ebw-room-desc { display: block; font-size: 0.7rem; color: var(--ebw-text-muted); margin-bottom: 8px; }
.ebw-room-controls { display: flex; justify-content: center; align-items: center; gap: 10px; }
.ebw-room-ctrl {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--ebw-border);
  background: var(--ebw-white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--ebw-green);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ebw-transition);
}
.ebw-room-ctrl:hover { background: var(--ebw-green); color: white; border-color: var(--ebw-green); }
.ebw-room-qty { font-weight: 700; font-size: 1rem; color: var(--ebw-green); min-width: 16px; text-align: center; }

/* ── AUTOCOMPLETE ───────────────────────────────────────────────────────── */
.ebw-autocomplete-wrapper { position: relative; }
.ebw-autocomplete-results {
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: var(--ebw-white);
  border: 1.5px solid var(--ebw-green);
  border-radius: var(--ebw-radius-sm);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--ebw-shadow);
}
.ebw-autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0ece6;
  transition: background var(--ebw-transition);
}
.ebw-autocomplete-item:last-child { border-bottom: none; }
.ebw-autocomplete-item:hover { background: var(--ebw-green-light); color: var(--ebw-green); }

/* ── DIAGNOSTIC GRID ────────────────────────────────────────────────────── */
.ebw-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.ebw-info-card {
  padding: 20px;
  border: 1.5px solid var(--ebw-border);
  border-radius: var(--ebw-radius);
  background: var(--ebw-white);
}
.ebw-info-card-highlight {
  border-color: var(--ebw-gold);
  background: var(--ebw-gold-light);
}
.ebw-card-title {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ebw-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ebw-diag-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #ede9e3;
  font-size: 0.88rem;
}
.ebw-diag-item:last-of-type { border-bottom: none; }
.ebw-diag-label { color: var(--ebw-text-muted); }
.ebw-diag-value { font-weight: 700; color: var(--ebw-text); }

.ebw-price-hero {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ebw-green);
  margin: 10px 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.ebw-price-sub {
  font-size: 0.85rem;
  color: var(--ebw-text-muted);
  margin-bottom: 14px;
}
.ebw-price-sub strong { color: var(--ebw-text); }

.ebw-market-block { margin-top: 12px; }
.ebw-market-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 4px 0;
  color: var(--ebw-text-muted);
}
.ebw-market-eco { color: var(--ebw-green); font-weight: 600; }
.ebw-disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--ebw-text-muted);
  font-style: italic;
  line-height: 1.4;
}

.ebw-action-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 0.88rem;
}
.ebw-action-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: var(--ebw-text);
}
.ebw-action-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ebw-green);
  font-weight: 700;
}

.ebw-distance-adjust { margin-top: 8px; }
.ebw-link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 0.78rem; color: var(--ebw-green);
  text-decoration: underline; text-underline-offset: 2px;
}
.ebw-distance-edit { display: flex; gap: 8px; margin-top: 6px; align-items: center; }
.ebw-inline-input { width: 90px !important; }
.ebw-btn-sm {
  padding: 6px 12px;
  background: var(--ebw-green);
  color: white;
  border: none;
  border-radius: var(--ebw-radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
}

.ebw-promo-note {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ebw-green-light);
  border-radius: var(--ebw-radius-sm);
  font-size: 0.88rem;
  color: var(--ebw-green);
  margin-bottom: 8px;
}
.ebw-promo-icon { font-size: 1.1rem; flex-shrink: 0; }

.ebw-reco-tag {
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--ebw-green);
  color: white;
  border-radius: var(--ebw-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* ── SERVICES GRID ──────────────────────────────────────────────────────── */
.ebw-homebuyer-block {
  background: var(--ebw-gold-light);
  border: 1.5px solid var(--ebw-gold);
  border-radius: var(--ebw-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.ebw-switch-label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.ebw-switch { flex-shrink: 0; }
.ebw-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ebw-switch-track {
  display: block;
  width: 44px; height: 24px;
  background: var(--ebw-border);
  border-radius: 24px;
  position: relative;
  transition: background var(--ebw-transition);
}
.ebw-switch-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform var(--ebw-transition);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.ebw-switch input:checked + .ebw-switch-track { background: var(--ebw-green); }
.ebw-switch input:checked + .ebw-switch-track::after { transform: translateX(20px); }
.ebw-homebuyer-copy strong { display: block; font-size: 0.92rem; color: var(--ebw-text); }
.ebw-homebuyer-reward { font-size: 0.82rem; color: var(--ebw-green); font-weight: 600; }

.ebw-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.ebw-service-card {
  border: 1.5px solid var(--ebw-border);
  border-radius: var(--ebw-radius);
  padding: 22px 18px;
  cursor: pointer;
  position: relative;
  background: var(--ebw-white);
  transition: all var(--ebw-transition);
  outline: none;
}
.ebw-service-card:hover {
  border-color: var(--ebw-gold);
  transform: translateY(-2px);
  box-shadow: var(--ebw-shadow);
}
.ebw-service-card.selected {
  border: 2px solid var(--ebw-green);
  background: var(--ebw-green-light);
}
.ebw-service-card:focus-visible { box-shadow: 0 0 0 3px rgba(45,74,53,.25); }

.ebw-service-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--ebw-border);
  color: var(--ebw-text-muted);
  margin-bottom: 10px;
}
.ebw-service-tag-featured {
  background: var(--ebw-green);
  color: white;
}
.ebw-service-name { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--ebw-text); }
.ebw-service-desc { font-size: 0.85rem; color: var(--ebw-text-muted); margin: 0 0 14px; line-height: 1.4; }

.ebw-service-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.ebw-service-price { font-size: 1.6rem; font-weight: 800; color: var(--ebw-green); }
.ebw-service-from { font-size: 0.72rem; color: var(--ebw-text-muted); }
.ebw-service-price-meta {
  width: 100%;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--ebw-green);
  font-weight: 600;
  font-style: italic;
}

.ebw-pack-list { list-style: none; padding: 0; margin: 0 0 12px; font-size: 0.82rem; color: var(--ebw-text); }
.ebw-pack-list li { padding: 3px 0 3px 18px; position: relative; }
.ebw-pack-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ebw-green); }

.ebw-service-ideal { font-size: 0.78rem; color: var(--ebw-text-muted); margin: 8px 0 0; font-style: italic; }
.ebw-service-roi {
  font-size: 0.78rem;
  color: var(--ebw-green);
  margin: 8px 0 0;
  padding: 6px 10px;
  background: rgba(45,74,53,.07);
  border-radius: 4px;
}
.ebw-service-select-indicator {
  display: none;
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ebw-green);
}
.ebw-service-card.selected .ebw-service-select-indicator { display: block; }

.ebw-pricing-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--ebw-cream);
  border-left: 3px solid var(--ebw-gold);
  border-radius: 0 var(--ebw-radius-sm) var(--ebw-radius-sm) 0;
  font-size: 0.85rem;
  color: var(--ebw-text-muted);
  line-height: 1.5;
}
.ebw-pricing-note strong { color: var(--ebw-text); }

/* ── RÉCAPITULATIF ──────────────────────────────────────────────────────── */
.ebw-recap-card {
  background: var(--ebw-cream);
  border: 1.5px solid var(--ebw-border);
  border-radius: var(--ebw-radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.ebw-recap-title { margin: 0 0 14px; font-size: 0.88rem; font-weight: 700; color: var(--ebw-green); }
.ebw-recap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.ebw-recap-item { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; }
.ebw-recap-label { color: var(--ebw-text-muted); font-size: 0.78rem; }
.ebw-recap-item strong { font-size: 1rem; color: var(--ebw-text); }
.ebw-recap-saving { color: var(--ebw-green) !important; }

/* ── CONTACT FORM ───────────────────────────────────────────────────────── */
.ebw-contact-form { margin-bottom: 20px; }

.ebw-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ebw-text-muted);
  padding: 10px 0;
}
.ebw-checkbox-label input { flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--ebw-green); }

/* ── RÉASSURANCE ────────────────────────────────────────────────────────── */
.ebw-reassurance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}
.ebw-reassurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ebw-text-muted);
}
.ebw-reassurance-check { color: var(--ebw-green); font-weight: 700; }

/* ── BOUTONS ────────────────────────────────────────────────────────────── */
.ebw-step-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ebw-step-note { font-size: 0.78rem; color: var(--ebw-text-muted); margin: 0; text-align: center; }

.ebw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ebw-green);
  color: var(--ebw-white);
  border: none;
  padding: 13px 28px;
  border-radius: 40px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--ebw-transition);
  text-decoration: none;
  align-self: flex-start;
}
.ebw-btn-primary:hover { background: var(--ebw-green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(45,74,53,.25); }
.ebw-btn-primary:active { transform: none; }
.ebw-btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.ebw-btn-lg { padding: 15px 36px; font-size: 1rem; align-self: stretch; justify-content: center; }
.ebw-btn-cta { background: linear-gradient(135deg, var(--ebw-green) 0%, var(--ebw-green-dark) 100%); }

.ebw-btn-ghost {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ebw-text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}
.ebw-btn-ghost:hover { color: var(--ebw-text); }

/* Spinner sur le bouton CTA */
.ebw-btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: ebwSpin 0.7s linear infinite;
}
@keyframes ebwSpin { to { transform: rotate(360deg); } }

/* ── ALERTE INLINE ──────────────────────────────────────────────────────── */
.ebw-inline-alert {
  padding: 12px 16px;
  background: #fef0ee;
  border: 1px solid #f5c6bb;
  border-radius: var(--ebw-radius-sm);
  font-size: 0.88rem;
  color: #c0392b;
  margin-bottom: 16px;
}

/* ── HONEYPOT ───────────────────────────────────────────────────────────── */
.ebw-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ── SUCCESS ────────────────────────────────────────────────────────────── */
.ebw-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  animation: ebwFade 0.5s ease;
}
.ebw-success.active { display: block; }
.ebw-success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.ebw-success-title { font-size: 1.6rem; color: var(--ebw-green); margin: 0 0 12px; }
.ebw-success-txt { font-size: 0.95rem; color: var(--ebw-text-muted); max-width: 480px; margin: 0 auto 20px; }
.ebw-success-ref {
  display: inline-block;
  background: var(--ebw-green-light);
  border: 1px solid var(--ebw-green);
  color: var(--ebw-green);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.ebw-success-next {
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
  padding: 20px;
  background: var(--ebw-cream);
  border-radius: var(--ebw-radius);
  font-size: 0.88rem;
  color: var(--ebw-text-muted);
}
.ebw-success-next p { margin: 0 0 8px; color: var(--ebw-text); }
.ebw-success-next ol { margin: 0; padding-left: 20px; }
.ebw-success-next li { margin-bottom: 6px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ebw-header { padding: 24px 20px; }
  .ebw-body { padding: 22px 18px; }
  .ebw-trust-row { gap: 10px; }
  .ebw-mode-cards,
  .ebw-diagnostic-grid,
  .ebw-services-grid { grid-template-columns: 1fr; }
  .ebw-input-row { flex-direction: column; gap: 0; }
  .ebw-recap-grid { grid-template-columns: 1fr; }
  .ebw-steps-nav { overflow-x: auto; }
  .ebw-step-label { display: none; }
  .ebw-step-tab { min-width: 50px; }
}
@media (max-width: 480px) {
  .ebw-title { font-size: 1.4rem; }
  .ebw-room-grid { grid-template-columns: repeat(2, 1fr); }
  .ebw-reassurance-row { gap: 8px; }
}
