
/* ============================================================
   VARIABLES CHARTE C21 NLGIM
============================================================ */
:root {
  --obsessed-grey: #252526;
  --relentless-gold: #BEAF88;
  --warm-gold: #D4C99A;
  --gold-pale: #E8DFC4;
  --text-main: #252526;
  --text-secondary: #5F5E5A;
  --text-muted: #8A8884;
  --bg-light: #F1EFE8;
  --bg-cream: #FFFAEB;
  --bg-white: #FFFFFF;
  --border-cream: #F8F2DE;
  --border-light: #E5E3DC;
  --success: #2D7A4D;
  --warning: #C28A1A;
  --error: #B83227;
  --shadow-card: 0 4px 20px rgba(37, 37, 38, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(37, 37, 38, 0.12);
  --radius: 6px;
  --radius-sm: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET + BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding-bottom: 80px; /* Espace pour sticky CTA mobile */
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
a { color: inherit; }

/* ============================================================
   HEADER — Bandeau noir + logo
============================================================ */
.est-header {
  background: var(--obsessed-grey);
  padding: 18px 20px;
  text-align: center;
  border-bottom: 2px solid var(--relentless-gold);
}
.est-header__logo {
  color: var(--relentless-gold);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 6px;
  margin: 0;
}
.est-header__sub {
  color: var(--warm-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ============================================================
   BANDEAU ACCROCHE OR
============================================================ */
.est-band {
  background: var(--relentless-gold);
  color: var(--obsessed-grey);
  text-align: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   HERO + CONTAINER
============================================================ */
.est-main { padding: 24px 16px 40px; }
.est-container { max-width: 720px; margin: 0 auto; }

.est-hero { text-align: center; padding: 24px 0 32px; }
.est-hero__h1 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--obsessed-grey);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.est-hero__h1 em {
  font-style: normal;
  color: var(--relentless-gold);
  border-bottom: 2px solid var(--relentless-gold);
  padding-bottom: 2px;
}
.est-hero__tag {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}
.est-hero__chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.est-chip {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.est-chip strong { color: var(--obsessed-grey); font-weight: 700; }

/* ============================================================
   CARD FORM
============================================================ */
.est-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}
.est-card__body { padding: 28px 22px; }

.est-form__field { margin-bottom: 22px; position: relative; }
.est-form__field:last-of-type { margin-bottom: 28px; }
.est-form__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.est-form__input {
  width: 100%;
  padding: 14px 14px;
  font-size: 15px;
  color: var(--text-main);
  background: var(--bg-cream);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.est-form__input:focus {
  outline: none;
  border-color: var(--relentless-gold);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(190, 175, 136, 0.15);
}
.est-form__input::placeholder { color: var(--text-muted); }

/* Radios custom (pills) */
.est-radios {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.est-radio {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}
.est-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.est-radio__label {
  display: block;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-cream);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  user-select: none;
}
.est-radio input:checked + .est-radio__label {
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
  border-color: var(--obsessed-grey);
}
.est-radio__label:hover {
  border-color: var(--relentless-gold);
}
.est-radio input:focus-visible + .est-radio__label {
  box-shadow: 0 0 0 3px rgba(190, 175, 136, 0.25);
}

.est-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Submit button */
.est-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: 2px solid var(--obsessed-grey);
}
.est-btn:hover {
  background: #1a1a1b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 37, 38, 0.25);
}
.est-btn:active { transform: translateY(0); }
.est-btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.est-btn__arrow { font-size: 18px; }

.est-btn--outline {
  background: transparent;
  color: var(--obsessed-grey);
  border: 2px solid var(--obsessed-grey);
}
.est-btn--outline:hover {
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
}

/* ============================================================
   Option A — 2 boutons côte à côte (HOT or franc + WARM or pâle)
============================================================ */
.est-cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}
.est-cta-row.has-warm {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .est-cta-row.has-warm { grid-template-columns: 1fr; }
}

/* Bouton avec label + sub */
.est-btn-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s var(--ease);
  border: 2px solid;
  font-family: inherit;
}
.est-btn-stack__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}
.est-btn-stack__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: none;
  opacity: 0.85;
  line-height: 1.3;
}

/* HOT — or franc sur fond noir */
.est-btn-stack--hot {
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
  border-color: var(--obsessed-grey);
}
.est-btn-stack--hot:hover {
  background: #1a1a1b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 37, 38, 0.28);
}
.est-btn-stack--hot:active { transform: translateY(0); }

/* WARM — or pâle sur fond noir (charté D4C99A) */
.est-btn-stack--warm {
  background: var(--obsessed-grey);
  color: var(--warm-gold, #D4C99A);
  border-color: var(--obsessed-grey);
}
.est-btn-stack--warm:hover {
  background: #1a1a1b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 37, 38, 0.22);
}
.est-btn-stack--warm:active { transform: translateY(0); }

/* ============================================================
   AUTOCOMPLETE BAN dropdown
============================================================ */
.est-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 1.5px solid var(--relentless-gold);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(37, 37, 38, 0.15);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.est-autocomplete.is-open { display: block; }
.est-autocomplete__item {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  border-bottom: 1px solid var(--border-cream);
  transition: background 0.15s;
}
.est-autocomplete__item:last-child { border-bottom: none; }
.est-autocomplete__item:hover,
.est-autocomplete__item.is-active {
  background: var(--bg-cream);
}
.est-autocomplete__item strong { color: var(--obsessed-grey); }
.est-autocomplete__item small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* ============================================================
   LOADING multi-étapes
============================================================ */
.est-loading {
  display: none;
  padding: 40px 24px;
  text-align: center;
}
.est-loading.is-active { display: block; }
.est-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 28px;
  border: 3px solid var(--bg-cream);
  border-top-color: var(--relentless-gold);
  border-radius: 50%;
  animation: est-spin 0.8s linear infinite;
}
@keyframes est-spin { to { transform: rotate(360deg); } }
.est-step {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
  text-align: left;
  padding-left: 28px;
  position: relative;
}
.est-step::before {
  content: "○";
  position: absolute;
  left: 0;
  font-size: 14px;
  color: var(--border-light);
}
.est-step.is-visible { opacity: 1; transform: translateY(0); }
.est-step.is-active { color: var(--text-main); font-weight: 500; }
.est-step.is-active::before { content: "●"; color: var(--relentless-gold); }
.est-step.is-done { color: var(--success); }
.est-step.is-done::before { content: "✓"; color: var(--success); font-weight: 700; }

/* ============================================================
   RESULT — Hero range
============================================================ */
.est-result {
  display: none;
  animation: est-fade-in 0.5s var(--ease);
}
.est-result.is-active { display: block; }
@keyframes est-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.est-result__hero {
  background: var(--obsessed-grey);
  color: var(--warm-gold);
  padding: 36px 24px 30px;
  text-align: center;
}
.est-result__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-gold);
  opacity: 0.85;
  margin-bottom: 8px;
}
.est-result__addr {
  font-size: 14px;
  color: var(--warm-gold);
  opacity: 0.7;
  margin-bottom: 18px;
  font-style: italic;
}
.est-result__range {
  font-size: 26px;
  font-weight: 700;
  color: var(--relentless-gold);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.est-result__range strong {
  display: inline-block;
  font-size: 28px;
}
.est-result__range-dash {
  display: inline-block;
  margin: 0 8px;
  opacity: 0.6;
  font-weight: 300;
}
.est-result__central {
  font-size: 14px;
  color: var(--warm-gold);
  opacity: 0.85;
  margin-top: 4px;
}
.est-result__central strong { color: var(--relentless-gold); font-weight: 700; }

.est-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 22px 0 8px;
  overflow: hidden;
  position: relative;
}
.est-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--warm-gold), var(--relentless-gold));
  width: 0;
  transition: width 1s var(--ease);
  border-radius: 4px;
}
.est-bar.is-full .est-bar__fill { width: 65%; }
.est-bar__legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--warm-gold);
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.est-result__stats {
  background: var(--bg-cream);
  padding: 16px 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-cream);
}
.est-result__stats strong { color: var(--obsessed-grey); font-weight: 700; }

.est-warning {
  background: #FFF6E1;
  border-left: 3px solid var(--warning);
  padding: 12px 16px;
  font-size: 13px;
  color: #6B4E0A;
}
.est-warning strong { color: var(--warning); }

/* ============================================================
   Badge confiance (V4 dvf_estimate)
   3 variants dynamiques selon secteur.niveau_confiance
============================================================ */
.est-confidence {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 18px 0 0 0;
  border-left: 4px solid var(--relentless-gold);
  background: var(--bg-cream);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.est-confidence__icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.est-confidence__body { flex: 1; min-width: 0; }
.est-confidence__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--obsessed-grey);
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.est-confidence__sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.45;
}
.est-confidence__sub strong { color: var(--obsessed-grey); font-weight: 700; }

/* Variant HAUTE — vert/or premium, signal de qualité */
.est-confidence--haute {
  background: #F4F7EE;
  border-left-color: #6B9456;
}
.est-confidence--haute .est-confidence__title { color: #2D5A1F; }

/* Variant MOYENNE — or pâle, factuel/transparent */
.est-confidence--moyenne {
  background: var(--bg-cream);
  border-left-color: var(--warm-gold);
}

/* Variant FAIBLE — rouge clair, driver vers le RDV Nadège */
.est-confidence--faible {
  background: #FFF1EC;
  border-left-color: #C97A5C;
}
.est-confidence--faible .est-confidence__title { color: #8C3E1F; }
.est-confidence--faible .est-confidence__sub strong { color: #8C3E1F; }

/* Ventes refs cards */
.est-refs { padding: 24px 22px; }
.est-refs__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-align: center;
}
.est-refs__list { display: flex; flex-direction: column; gap: 10px; }
.est-ref {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-cream);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--relentless-gold);
}
.est-ref__info { flex: 1; min-width: 0; }
.est-ref__addr {
  font-size: 14px;
  font-weight: 700;
  color: var(--obsessed-grey);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.est-ref__meta {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.est-ref__meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--text-muted);
}
.est-ref__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--obsessed-grey);
  text-align: right;
  flex-shrink: 0;
}
.est-ref__price small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* CTA Block */
.est-cta-block {
  padding: 28px 22px 24px;
  background: var(--bg-cream);
  border-top: 1px solid var(--border-cream);
  text-align: center;
}
.est-cta-block__intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}
.est-cta-block__intro strong { color: var(--obsessed-grey); }
.est-cta-stack { display: flex; flex-direction: column; gap: 10px; }
.est-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--obsessed-grey);
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--obsessed-grey);
  background: transparent;
  transition: all 0.2s var(--ease);
}
.est-cta-secondary:hover {
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
}
.est-cta-secondary__icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.est-reset {
  display: block;
  margin: 16px auto 0;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
  letter-spacing: 0.5px;
  background: none;
  border: none;
}
.est-reset:hover { color: var(--obsessed-grey); }

/* ============================================================
   ERROR view
============================================================ */
.est-error {
  display: none;
  padding: 32px 24px;
  text-align: center;
}
.est-error.is-active { display: block; }
.est-error__icon { font-size: 36px; margin-bottom: 12px; }
.est-error__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--obsessed-grey);
  margin-bottom: 8px;
}
.est-error__message {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.55;
}
.est-error__phone {
  display: inline-block;
  color: var(--obsessed-grey);
  font-weight: 700;
  border-bottom: 1px dashed var(--relentless-gold);
}

/* ============================================================
   Sections info & Nadège
============================================================ */
.est-section { padding: 36px 16px; }
.est-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--obsessed-grey);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}
.est-section__title em {
  font-style: normal;
  color: var(--relentless-gold);
}

.est-proofs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}
.est-proof {
  background: var(--bg-white);
  padding: 18px 14px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-cream);
}
.est-proof__big {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--relentless-gold);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.est-proof__txt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.est-nadege {
  background: var(--obsessed-grey);
  color: var(--warm-gold);
  padding: 36px 22px;
  text-align: center;
}
.est-nadege__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--relentless-gold);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.est-nadege__role {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-gold);
  opacity: 0.8;
  margin-bottom: 16px;
}
.est-nadege__bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--warm-gold);
  max-width: 520px;
  margin: 0 auto 22px;
  opacity: 0.95;
}
.est-nadege__stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.est-nadege__stat {
  font-size: 12px;
  color: var(--warm-gold);
  opacity: 0.8;
}
.est-nadege__stat strong {
  display: block;
  font-size: 22px;
  color: var(--relentless-gold);
  font-weight: 700;
  margin-bottom: 2px;
}
.est-nadege__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--relentless-gold);
  color: var(--obsessed-grey);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.est-nadege__cta:hover {
  background: var(--warm-gold);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER + mentions légales
============================================================ */
.est-footer {
  background: #1a1a1b;
  color: rgba(255,255,255,0.6);
  padding: 28px 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}
.est-footer__legal {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 11px;
  opacity: 0.85;
}
.est-footer__legal strong { color: var(--warm-gold); }
.est-footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.est-footer__links a {
  color: var(--warm-gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.est-footer__links a:hover { opacity: 0.7; }
.est-footer__copy {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.5px;
}

/* ============================================================
   STICKY CTA mobile
============================================================ */
.est-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(37, 37, 38, 0.08);
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.est-sticky.is-visible { transform: translateY(0); }
.est-sticky__btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE — Desktop (min-width: 768px)
============================================================ */
@media (min-width: 768px) {
  .est-header { padding: 22px 32px; }
  .est-header__logo { font-size: 26px; letter-spacing: 9px; }
  .est-header__sub { font-size: 12px; letter-spacing: 6px; }
  .est-main { padding: 32px 24px 60px; }
  .est-hero { padding: 36px 0 40px; }
  .est-hero__h1 { font-size: 40px; }
  .est-hero__tag { font-size: 17px; }
  .est-card__body { padding: 36px 36px; }
  .est-result__hero { padding: 48px 32px 36px; }
  .est-result__range { font-size: 36px; }
  .est-result__range strong { font-size: 38px; }
  .est-refs { padding: 32px; }
  .est-section { padding: 56px 24px; }
  .est-section__title { font-size: 26px; }
  .est-proofs { grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 720px; }
  .est-nadege { padding: 56px 32px; }
  .est-cta-stack {
    flex-direction: row;
    justify-content: center;
    max-width: 540px;
    margin: 0 auto;
  }
  .est-cta-stack .est-btn,
  .est-cta-stack .est-cta-secondary { flex: 1; }
  .est-sticky { display: none; } /* sticky mobile uniquement */
  body { padding-bottom: 0; }
}

/* ============================================================
   Email capture (mini-form) + divider + CTA tertiary
============================================================ */
.est-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 18px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}
.est-divider::before, .est-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-cream);
}
.est-email-capture {
  background: var(--bg-white);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 14px;
}
.est-email-capture__intro {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.5;
}
.est-email-capture__intro strong { color: var(--obsessed-grey); }
.est-email-form__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.est-email-form__row .est-form__input { flex: 1; min-width: 0; }
.est-email-form__btn {
  width: auto !important;
  flex-shrink: 0;
  padding: 12px 18px !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
}
.est-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 12px;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.est-consent__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--obsessed-grey);
  cursor: pointer;
}
.est-consent__text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
}
/* Popup WIIFM — tentative incomplete. Pop-up centree, standard visuel officiel. */
.est-wiifm {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(37, 37, 38, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.est-wiifm.is-open { display: flex; }
.est-wiifm__card {
  background: var(--bg-white);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(37, 37, 38, 0.28);
  max-width: 420px;
  width: 100%;
  padding: 26px 24px 22px;
  text-align: center;
}
.est-wiifm__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--obsessed-grey);
  margin: 0 0 12px;
  line-height: 1.25;
}
.est-wiifm__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.est-wiifm__reassure {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.est-wiifm__cta {
  width: 100%;
  padding: 14px 20px;
  background: var(--obsessed-grey);
  color: var(--relentless-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--obsessed-grey);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
}
.est-email-capture__legal {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}
/* ===== GATE V2 — estimation JUSTE gratuite, SEULS les comparables floutés ===== */
.est-result.is-locked #est-refs-list {
  filter: blur(7px);
  -webkit-filter: blur(7px);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  min-height: 120px;
  transition: filter 0.6s var(--ease);
}
/* overlay carotte par-dessus les comparables floutés */
.est-refs { position: relative; }
.est-refs__veil {
  display: none;
  position: absolute;
  inset: 56px 22px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,250,235,0.86) 38%, rgba(255,250,235,0.96) 100%);
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 16px;
  gap: 8px;
}
.est-result.is-locked .est-refs__veil { display: flex; }
.est-refs__veil-lock { font-size: 24px; }
.est-refs__veil-title { font-size: 14px; font-weight: 700; color: var(--obsessed-grey); line-height: 1.35; max-width: 320px; }
.est-refs__veil-cta {
  font-size: 13px; font-weight: 700; color: var(--obsessed-grey);
  background: var(--relentless-gold); border: none; border-radius: 999px;
  padding: 10px 20px; cursor: pointer; transition: transform .15s var(--ease);
}
.est-refs__veil-cta:hover { transform: translateY(-1px); }
.est-gate-banner {
  background: #FFFAEB;
  border: 1px solid #BEAF88;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-align: center;
  margin: 0 0 14px;
}
.est-gate-banner__title {
  font-size: 15px;
  font-weight: 700;
  color: #252526;
  margin: 0 0 4px;
}
.est-gate-banner__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}
.est-email-success {
  background: #E8F5EC;
  border: 1px solid #B8DCC4;
  color: #1F5235;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  animation: est-fade-in 0.4s var(--ease);
}
.est-email-success__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  margin-right: 6px;
  vertical-align: middle;
}
.est-email-error {
  background: #FCEBE9;
  border: 1px solid #F2C5C0;
  color: #6C1F18;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
}
.est-cta-tertiary {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--obsessed-grey);
  text-decoration: none;
  padding: 12px;
  margin-top: 14px;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.est-cta-tertiary:hover {
  background: var(--bg-cream);
}

@media (min-width: 768px) {
  .est-email-form__row { gap: 12px; }
}

/* Accessibilité — reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ============================================================
   V2 — WIZARD · HERO LOSS · INTERSTITIEL WEBVIEW
============================================================ */
.est-hero__loss {
  font-size: clamp(15px, 4.2vw, 19px);
  color: var(--relentless-gold);
  font-weight: 600;
  margin: -4px 0 14px;
  font-style: italic;
}
.est-hero__loss em { color: var(--obsessed-grey); font-style: normal; font-weight: 800; }

/* Wizard */
.est-wiz__progress {
  height: 6px; background: var(--bg-light); border-radius: 999px;
  overflow: hidden; margin: 0 0 8px;
}
.est-wiz__progress-fill {
  display: block; height: 100%; width: 20%;
  background: var(--relentless-gold); border-radius: 999px;
  transition: width 0.4s var(--ease);
}
.est-wiz__counter {
  font-size: 12px; color: var(--text-muted); text-align: right;
  margin: 0 0 18px; letter-spacing: 0.02em;
}
.est-wstep { display: none; animation: est-fade-in 0.35s var(--ease); }
.est-wstep.is-active { display: block; }
.est-wstep__hint { font-size: 13px; color: var(--text-muted); margin: 8px 2px 0; line-height: 1.4; }
.est-wstep__hint.is-error { color: #8C3E1F; font-weight: 600; }
.est-wiz__nav { display: flex; gap: 10px; margin-top: 26px; }
.est-wiz__nav .est-wiz__back { flex: 0 0 auto; width: auto; padding-left: 20px; padding-right: 20px; }
.est-wiz__nav .est-wiz__next { flex: 1 1 auto; }
.est-radios--col { grid-template-columns: 1fr; }

/* Interstitiel webview (Instagram/Facebook in-app) */
.est-webview-banner {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--obsessed-grey); color: #fff;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.est-webview-banner.is-visible { display: block; animation: est-fade-in 0.3s var(--ease); }
.est-webview-banner__txt { font-size: 13.5px; line-height: 1.45; margin: 0 0 10px; }
.est-webview-banner__txt strong { color: var(--relentless-gold); }
.est-webview-banner__row { display: flex; gap: 8px; align-items: center; }
.est-webview-banner__btn {
  flex: 1 1 auto; text-align: center; background: var(--relentless-gold);
  color: var(--obsessed-grey); font-weight: 700; font-size: 14px;
  border: none; border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer;
}
.est-webview-banner__close {
  flex: 0 0 auto; background: none; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; cursor: pointer;
}
