/*!
 * Leandro : estimateur de revenus intégré au site (v2.2.0, octobre 2026)
 * Reprise fidèle de l’interface de l’estimateur d’origine (estimation.leandroconciergerie.fr).
 * Tout est préfixé .le-est / .le- pour ne jamais toucher aux styles du site.
 */

.le-mounted { display: block; }

.le-est {
  --le-primary: #862209;
  --le-black: #08090b;
  --le-text: #15171b;
  --le-muted: #717782;
  --le-muted-2: #9aa0aa;
  --le-surface: #f8f9fb;
  --le-line: #e6e8ec;
  --le-card-border: #e5e7eb;
  --le-control: #dfe2e7;
  --le-button: #1f1f1f;
  --le-button-hover: #34373d;
  --le-soft: #faf7f6;
  --le-danger: #b42318;
  --le-danger-soft: #fff2f0;
  /* Police système, comme l’estimateur d’origine (San Francisco sur Mac et iPhone, Segoe UI sur Windows). */
  --le-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  position: relative;
  width: 100%;
  margin: 0 auto;
  font-family: var(--le-font);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  color: var(--le-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.le-est *,
.le-est *::before,
.le-est *::after { box-sizing: border-box; }

.le-est [hidden] { display: none !important; }

/* Neutralise les styles de base du site (titres, paragraphes, libellés, boutons). */
.le-est h2,
.le-est h3,
.le-est p {
  margin: 0;
  padding: 0;
  font-family: inherit;
  text-transform: none;
}

.le-est button,
.le-est input {
  margin: 0;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.le-est a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.le-est .le-svg {
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.le-est button:focus-visible,
.le-est a:focus-visible,
.le-est summary:focus-visible {
  outline: 2px solid var(--le-primary);
  outline-offset: 3px;
}

/* ---------- Carte du formulaire ---------- */

.le-est .le-card {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--le-card-border);
  border-radius: 20px;
  box-shadow: none;
}

/* ---------- Contenu de la carte ---------- */

.le-est .le-body {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  /* Même retrait en haut et en bas que sur les côtés (14 px sur ordinateur, 0 sur mobile). */
  padding-block: max(0px, calc((100% - 560px) / 2));
}

.le-est .le-panel {
  display: flex;
  flex-direction: column;
  animation: le-panel-in .2s ease;
}

@keyframes le-panel-in {
  from { opacity: 0; transform: translateX(4px); }
  to { opacity: 1; transform: none; }
}

.le-est .le-q {
  margin: 0 0 12px;
  text-align: left;
}

.le-est .le-kicker {
  display: block;
  margin: 0 0 4px;
  color: #62656c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.le-est .le-h2 {
  margin: 0;
  color: var(--le-black);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  outline: none;
}

.le-est .le-q p {
  margin: 4px 0 0;
  color: var(--le-muted);
  font-size: 10.5px;
  line-height: 1.4;
}

/* Deuxième section de la carte : « Vos coordonnées », séparée par un filet. */
.le-est .le-section-contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #edf0f2;
}

/* ---------- Champs ---------- */

.le-est .le-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.le-est .le-full { grid-column: 1 / -1; }

.le-est .le-field {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
}

.le-est .le-label {
  display: block;
  margin: 0;
  padding: 0;
  color: #4d525a;
  font-size: 9px;
  font-weight: 740;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  cursor: default;
}

.le-est .le-input {
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--le-control);
  border-radius: 12px;
  background: #fff;
  color: var(--le-black);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  outline: none;
  box-shadow: none;
  transition: border .16s, box-shadow .16s;
  -webkit-appearance: none;
  appearance: none;
}

.le-est .le-input::placeholder { color: #727780; opacity: 1; }

.le-est .le-input:focus {
  border-color: var(--le-primary);
  box-shadow: 0 0 0 4px rgba(134, 34, 9, .08);
}

.le-est .le-input-icon { position: relative; }

.le-est .le-input-icon > .le-svg {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 16px;
  height: 16px;
  color: #4f5661;
  pointer-events: none;
}

.le-est .le-input-icon .le-input {
  padding-left: 40px;
  padding-right: 72px;
}

.le-est .le-clear {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a9099;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.le-est .le-clear:hover { background: var(--le-surface); }

.le-est .le-loader {
  position: absolute;
  right: 44px;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid #d9dee8;
  border-top-color: var(--le-primary);
  border-radius: 50%;
  animation: le-spin .7s linear infinite;
}

@keyframes le-spin { to { transform: rotate(360deg); } }

.le-est .le-suffix { position: relative; }

.le-est .le-suffix .le-input { padding-right: 40px; }

.le-est .le-suffix > span {
  position: absolute;
  right: 12px;
  top: 14px;
  color: var(--le-muted);
  font-size: 11px;
  line-height: normal;
  pointer-events: none;
}

.le-est .le-error {
  margin: 0;
  color: var(--le-danger);
  font-size: 9px;
  line-height: 1.25;
}

/* ---------- Suggestions d’adresse ---------- */

.le-est .le-combo { position: relative; }

.le-est .le-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid var(--le-line);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .14);
}

.le-est .le-sug {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.le-est .le-sug:hover,
.le-est .le-sug.is-active { background: var(--le-soft); }

.le-est .le-sug strong {
  display: block;
  color: var(--le-black);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.le-est .le-sug small {
  display: block;
  margin-top: 4px;
  color: var(--le-muted);
  font-size: 9px;
}

.le-est .le-sug-code {
  flex: 0 0 auto;
  color: var(--le-muted-2);
  font-size: 9px;
}

.le-est .le-sug-empty {
  padding: 12px;
  color: var(--le-muted);
  font-size: 11px;
}

/* ---------- Type de bien ---------- */

.le-est .le-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.le-est .le-choice {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--le-control);
  border-radius: 12px;
  background: #fff;
  color: var(--le-text);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
  -webkit-user-select: none;
  user-select: none;
}

.le-est .le-choice:hover { border-color: #bcc2cc; }

/* Bordure de 2 px à la sélection : le contenu ne bouge pas (marge interne compensée). */
.le-est .le-choice.is-selected {
  padding: 7px 11px;
  border: 2px solid var(--le-primary);
  background: rgba(134, 34, 9, .035);
  color: var(--le-primary);
}

.le-est .le-choice-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--le-surface);
  color: #252a31;
}

.le-est .le-choice-icon .le-svg { width: 18px; height: 18px; }

.le-est .le-choice strong,
.le-est .le-choice small { display: block; }

.le-est .le-choice strong {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.le-est .le-choice small {
  margin-top: 4px;
  color: var(--le-muted);
  font-size: 8px;
}

.le-est .le-choice.is-selected strong { color: var(--le-primary); }
.le-est .le-choice.is-selected small { color: #62656c; }

.le-est .le-choice.is-selected .le-choice-icon {
  background: rgba(134, 34, 9, .05);
  color: var(--le-primary);
}

/* ---------- Chambres / capacité ---------- */

.le-est .le-stepper {
  min-height: 44px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--le-control);
  border-radius: 12px;
  background: #fff;
  -webkit-user-select: none;
  user-select: none;
}

.le-est .le-stepper button {
  height: 100%;
  min-height: 42px;
  padding: 1px 6px;
  border: 0;
  background: transparent;
  color: #505761;
  font-size: 18px;
  line-height: normal;
  cursor: pointer;
}

.le-est .le-stepper button:hover { background: var(--le-surface); }

.le-est .le-stepper button:disabled {
  color: #c3c7cd;
  background: transparent;
  cursor: default;
}

.le-est .le-stepper-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.le-est .le-stepper-value strong {
  color: var(--le-text);
  font-size: 14px;
  font-weight: 700;
}

.le-est .le-stepper-value small {
  color: var(--le-muted);
  font-size: 8px;
}

/* ---------- Standing (liste déroulante) ---------- */

.le-est .le-select { position: relative; }

.le-est .le-select-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--le-control);
  border-radius: 12px;
  background: #fff;
  color: var(--le-text);
  font-size: 12px;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
  transition: border .16s, box-shadow .16s;
}

.le-est .le-select-trigger .le-svg {
  width: 16px;
  height: 16px;
  color: #60656e;
}

.le-est .le-select-trigger[aria-expanded="true"] {
  border-color: var(--le-primary);
  box-shadow: 0 0 0 4px rgba(134, 34, 9, .08);
}

.le-est .le-menu {
  position: absolute;
  z-index: 55;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--le-line);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
}

.le-est .le-menu button {
  width: 100%;
  display: block;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--le-text);
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.le-est .le-menu button:hover,
.le-est .le-menu button:focus-visible,
.le-est .le-menu button.is-selected {
  background: var(--le-soft);
  color: var(--le-primary);
  outline: none;
}

/* ---------- Boutons ---------- */

.le-est .le-actions {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.le-est .le-actions.is-single { grid-template-columns: 1fr; }

.le-est .le-primary {
  position: relative;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--le-button);
  color: #fff;
  font-size: 12px;
  font-weight: 780;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s, background .16s;
}

.le-est .le-primary:hover { background: var(--le-button-hover); color: #fff; }
.le-est .le-primary:active { transform: scale(.995); }
.le-est .le-primary .le-svg { width: 16px; height: 16px; }

.le-est .le-primary:disabled {
  cursor: wait;
  opacity: .62;
}

/* Calcul en cours : la flèche laisse place à un petit indicateur. */
.le-est .le-primary.is-busy .le-svg { display: none; }

.le-est .le-primary.is-busy::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: le-spin .7s linear infinite;
}

.le-est .le-back {
  min-height: 48px;
  padding: 0 6px;
  border: 1px solid var(--le-line);
  border-radius: 12px;
  background: #fff;
  color: #555c66;
  font-size: 11px;
  font-weight: 720;
  cursor: pointer;
}

.le-est .le-back:hover { background: var(--le-surface); }

.le-est .le-consent {
  margin: 12px 0 0;
  color: var(--le-muted);
  font-size: 9px;
  line-height: 1.45;
}

.le-est .le-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.le-est .le-alert {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--le-danger-soft);
  color: var(--le-danger);
  font-size: 10px;
  line-height: 1.4;
}

.le-est .le-alert strong { font-weight: 700; }

.le-est .le-nowrap { white-space: nowrap; }

.le-est .le-alert a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.le-est .le-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px auto 0;
  color: #7b818b;
  font-size: 8.5px;
}

.le-est .le-trust i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7cbd1;
}

/* ---------- Chargement ---------- */

.le-est .le-loading {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--le-card-border);
  border-radius: 20px;
}

.le-est .le-loading-badge {
  display: inline-flex;
  margin: 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--le-line);
  border-radius: 999px;
  background: var(--le-surface);
  color: #565963;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.le-est .le-loading h2 {
  margin: 12px 0 4px;
  color: var(--le-text);
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -.04em;
}

.le-est .le-loading p {
  margin: 0;
  color: var(--le-muted);
  font-size: 12px;
}

.le-est .le-loading-track {
  width: min(272px, 100%);
  height: 4px;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 99px;
  background: #edf0f4;
}

.le-est .le-loading-track span {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: var(--le-primary);
  transition: width .45s ease;
}

/* ---------- Résultat ---------- */

.le-est .le-result {
  width: min(100%, 800px);
  margin: 0 auto;
  animation: le-step-in .2s cubic-bezier(.2, .7, .2, 1);
}

@keyframes le-step-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.le-est .le-res-hero {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--le-card-border);
  border-radius: 20px;
}

.le-est .le-res-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.le-est .le-res-badge {
  display: inline-flex;
  color: #6b7280;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.le-est .le-res-summary {
  margin: 8px 0 0;
  color: #8a909a;
  font-size: 11px;
}

.le-est .le-confidence {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #e5e5e7;
  border-radius: 999px;
  background: #f5f5f6;
  color: #565963;
  font-size: 8px;
  font-weight: 760;
  line-height: normal;
  white-space: nowrap;
}

.le-est .le-confidence[data-confidence="high"] { background: #edf8f1; border-color: #c5e4d1; color: #1e7148; }
.le-est .le-confidence[data-confidence="medium"] { background: #fff5e8; border-color: #f2d6af; color: #98500f; }
.le-est .le-confidence[data-confidence="low"] { background: #fff1f0; border-color: #f1cac5; color: #b42318; }

.le-est .le-res-title {
  max-width: 480px;
  margin: 16px 0 0;
  color: #474d56;
  font-size: 16px;
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -.025em;
  outline: none;
}

.le-est .le-revenue {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}

.le-est .le-revenue strong {
  color: var(--le-black);
  font-size: clamp(50px, 9vw, 68px);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.07em;
}

.le-est .le-revenue span {
  color: #5f6670;
  font-size: 13px;
  font-weight: 650;
}

.le-est .le-range {
  margin-top: 4px;
  padding: 12px 16px;
  background: var(--le-surface);
  border: 1px solid var(--le-card-border);
  border-radius: 12px;
}

.le-est .le-range-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.le-est .le-range-top span {
  color: #6f7580;
  font-size: 8.5px;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.le-est .le-range-top small {
  color: #62656c;
  font-size: 10px;
  white-space: nowrap;
}

.le-est .le-range-track {
  position: relative;
  height: 8px;
  margin: 20px 6px 0;
  border-radius: 999px;
  background: #eee7e4;
}

.le-est .le-range-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,
    #eee7e4 0%,
    #c59c8f calc(var(--range-position, 50%) - 20%),
    var(--le-primary) var(--range-position, 50%),
    #c59c8f calc(var(--range-position, 50%) + 20%),
    #eee7e4 100%);
}

.le-est .le-range-marker {
  position: absolute;
  left: var(--range-position, 50%);
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--le-primary);
  box-shadow: 0 0 0 1px rgba(134, 34, 9, .24);
}

.le-est .le-range-labels {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  align-items: start;
  gap: 8px;
  margin-top: 12px;
}

.le-est .le-range-labels > div {
  display: grid;
  gap: 5px;
  padding-top: 8px;
}

.le-est .le-range-labels > div:last-child { text-align: right; }

.le-est .le-range-labels span {
  color: #62656c;
  font-size: 10px;
  line-height: 1.3;
}

.le-est .le-range-labels strong {
  color: #4b4d52;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.le-est .le-range-labels .le-range-target {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(134, 34, 9, .05);
  text-align: center;
}

.le-est .le-range-target span { color: var(--le-primary); font-weight: 650; }
.le-est .le-range-target strong { color: var(--le-primary); font-size: 16px; }

/* Indicateurs : une couleur par indicateur (valeur, pictogramme, mini-graphique). */
.le-est .le-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.le-est .le-metric-price { --kpi-ink: #9b531a; --kpi-color: #cd853f; --kpi-soft: #fcf2e8; }
.le-est .le-metric-occupancy { --kpi-ink: #216b52; --kpi-color: #4b9a78; --kpi-soft: #eaf6ef; }
.le-est .le-metric-nights { --kpi-ink: #6950a0; --kpi-color: #8c7ad5; --kpi-soft: #f2eefb; }
.le-est .le-metric-annual { --kpi-ink: #a0475d; --kpi-color: #bb687e; --kpi-soft: #fcf0f3; }

.le-est .le-metric {
  min-width: 0;
  min-height: 136px;
  display: grid;
  grid-template-rows: 32px 1fr 32px;
  /* Colonne à la largeur du contenu : mini-graphiques compacts, comme l’original. */
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--le-card-border);
  border-radius: 16px;
  transition: transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .le-est .le-metric:hover { transform: translateY(-1px); }
}

.le-est .le-metric-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 32px;
}

.le-est .le-metric-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--kpi-soft);
  color: var(--kpi-ink);
}

.le-est .le-metric-icon .le-svg { width: 16px; height: 16px; }

.le-est .le-metric-label {
  max-width: 92px;
  color: var(--le-muted);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.25;
}

.le-est .le-metric-value {
  display: flex;
  align-items: flex-end;
  min-height: 34px;
}

.le-est .le-metric-value strong {
  display: block;
  color: var(--kpi-ink);
  font-size: 23px;
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.le-est .le-metric-visual {
  height: 32px;
  min-height: 32px;
  align-self: end;
  overflow: hidden;
}

.le-est .le-spark {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.le-est .le-spark-area { fill: rgba(205, 133, 63, .12); stroke: none; }

.le-est .le-spark-line {
  fill: none;
  stroke: var(--kpi-color);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.le-est .le-metric-occupancy .le-metric-visual {
  display: flex;
  align-items: flex-end;
}

.le-est .le-occ {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.le-est .le-occ i {
  display: block;
  width: 7px;
  flex: 0 0 7px;
  border-radius: 4px 4px 0 0;
  background: #dcebe3;
}

.le-est .le-occ i.is-active { background: var(--kpi-color); }
.le-est .le-occ i:nth-child(1) { height: 10px; }
.le-est .le-occ i:nth-child(2) { height: 14px; }
.le-est .le-occ i:nth-child(3) { height: 19px; }
.le-est .le-occ i:nth-child(4) { height: 25px; }
.le-est .le-occ i:nth-child(5) { height: 28px; }
.le-est .le-occ i:nth-child(6) { height: 23px; }
.le-est .le-occ i:nth-child(7) { height: 17px; }
.le-est .le-occ i:nth-child(8) { height: 12px; }

.le-est .le-segs {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 4px;
}

.le-est .le-segs i {
  display: block;
  min-width: 0;
  border-radius: 4px 4px 0 0;
  background: #d3caed;
}

.le-est .le-segs i:nth-child(5),
.le-est .le-segs i:nth-child(6),
.le-est .le-segs i:nth-child(7) { background: var(--kpi-color); }
.le-est .le-segs i:nth-child(1) { height: 32%; }
.le-est .le-segs i:nth-child(2) { height: 46%; }
.le-est .le-segs i:nth-child(3) { height: 62%; }
.le-est .le-segs i:nth-child(4) { height: 74%; }
.le-est .le-segs i:nth-child(5) { height: 84%; }
.le-est .le-segs i:nth-child(6) { height: 90%; }
.le-est .le-segs i:nth-child(7) { height: 86%; }
.le-est .le-segs i:nth-child(8) { height: 76%; }
.le-est .le-segs i:nth-child(9) { height: 66%; }
.le-est .le-segs i:nth-child(10) { height: 54%; }
.le-est .le-segs i:nth-child(11) { height: 43%; }
.le-est .le-segs i:nth-child(12) { height: 35%; }

.le-est .le-bars {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
}

.le-est .le-bars i {
  display: block;
  flex: 1;
  max-width: 20px;
  border-radius: 4px 4px 0 0;
  background: #e6c2cb;
}

.le-est .le-bars i:nth-child(1) { height: 36%; }
.le-est .le-bars i:nth-child(2) { height: 55%; }
.le-est .le-bars i:nth-child(3) { height: 46%; }
.le-est .le-bars i:nth-child(4) { height: 78%; background: #cf8fa0; }
.le-est .le-bars i:nth-child(5) { height: 68%; background: var(--kpi-color); }

/* Marché */
.le-est .le-market {
  margin-top: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--le-card-border);
  border-radius: 16px;
  color: var(--le-text);
}

.le-est .le-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.le-est .le-mini-label {
  display: inline;
  color: var(--le-muted);
  font-size: 8px;
  font-weight: 730;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.le-est .le-market h3 {
  margin: 4px 0 0;
  color: var(--le-black);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -.025em;
}

.le-est .le-market-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf0f2;
}

.le-est .le-market-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f3f4f6;
  color: #4d535c;
}

.le-est .le-market-icon .le-svg { width: 16px; height: 16px; }

.le-est .le-market-row small,
.le-est .le-market-row strong { display: block; }

.le-est .le-market-row small {
  color: var(--le-muted);
  font-size: 8.5px;
}

.le-est .le-market-row strong {
  margin-top: 4px;
  color: var(--le-black);
  font-size: 11px;
  font-weight: 700;
}

/* Actions */
.le-est .le-res-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.le-est .le-edit {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
  border: 1px solid #dde1e6;
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  color: #4e555f;
  font-size: 10.5px;
  font-weight: 720;
  cursor: pointer;
}

.le-est .le-edit:hover { background: #fff; border-color: #cfd4da; }
.le-est .le-edit .le-svg { width: 14px; height: 14px; }

/* Rappel */
.le-est .le-callback {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--le-card-border);
  border-radius: 16px;
  color: #5d636d;
}

.le-est .le-callback-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f3f4f6;
  color: #555b64;
}

.le-est .le-callback-icon .le-svg { width: 14px; height: 14px; }

.le-est .le-callback p {
  margin: 0;
  color: #666d77;
  font-size: 9.5px;
  line-height: 1.45;
}

.le-est .le-callback p strong {
  display: inline;
  color: #252a31;
  font-weight: 700;
}

.le-est .le-callback a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.le-est .le-callback.is-warning {
  background: var(--le-danger-soft);
  border-color: #f1cac5;
}

.le-est .le-callback.is-warning p strong { color: var(--le-danger); }

/* Mention légale dépliable */
.le-est .le-disclaimer {
  margin: 12px 8px 0;
  color: #969ca6;
  font-size: 8px;
  line-height: 1.5;
}

.le-est .le-disclaimer summary {
  display: inline;
  list-style: none;
  color: #969ca6;
  cursor: pointer;
}

.le-est .le-disclaimer summary::-webkit-details-marker { display: none; }
.le-est .le-disclaimer summary::marker { content: ""; }

.le-est .le-disclaimer-link {
  display: inline;
  margin-left: 4px;
  color: #59606a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.le-est .le-disclaimer[open] .le-disclaimer-link { font-size: 0; }

.le-est .le-disclaimer[open] .le-disclaimer-link::after {
  content: " — Réduire";
  font-size: 8px;
}

.le-est .le-disclaimer > p {
  margin: 8px 0 0;
  color: #969ca6;
  font-size: 8px;
  line-height: 1.55;
}

/* ---------- Écrans plus étroits (mêmes seuils que l’original) ---------- */

@media (max-width: 760px) {
  .le-est .le-result { width: min(100%, 620px); }
  .le-est .le-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .le-est .le-choice { min-height: 52px; padding: 8px; }
  .le-est .le-choice.is-selected { padding: 7px; }
  .le-est .le-choice small { display: none; }
}

@media (max-width: 430px) {
  /* 16 px : évite le zoom automatique de l’iPhone à la saisie. */
  .le-est .le-input { font-size: 16px; }
  .le-est .le-grid-contact { grid-template-columns: 1fr; }
  .le-est .le-actions { grid-template-columns: 80px 1fr; }
  .le-est .le-actions.is-single { grid-template-columns: 1fr; }

  .le-est .le-res-hero { padding: 16px; }
  .le-est .le-res-meta { gap: 8px; }
  .le-est .le-confidence { padding: 8px; }
  .le-est .le-res-title { margin-top: 12px; font-size: 15px; }
  .le-est .le-revenue { margin-bottom: 16px; }
  .le-est .le-revenue strong { font-size: 50px; }
  .le-est .le-range { padding: 12px; }
  .le-est .le-range-top { align-items: baseline; }
  .le-est .le-range-labels { gap: 6px; }
  .le-est .le-range-labels strong { font-size: 13px; }
  .le-est .le-range-target strong { font-size: 15px; }
  .le-est .le-metrics { gap: 8px; }
  .le-est .le-metric {
    min-height: 128px;
    padding: 12px;
    gap: 8px;
    grid-template-rows: 32px 1fr 28px;
  }
  .le-est .le-metric-visual { height: 28px; min-height: 28px; }
  .le-est .le-metric-label { max-width: 86px; }
  .le-est .le-metric-value strong { font-size: 20px; }
  .le-est .le-occ i { width: 6px; flex-basis: 6px; }
  .le-est .le-disclaimer { margin-inline: 0; }
}

@media (max-width: 360px) {
  .le-est .le-grid-property,
  .le-est .le-choices { grid-template-columns: 1fr; }
  .le-est .le-full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .le-est *,
  .le-est *::before,
  .le-est *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
