/* 2.3.64 — Estimer votre bien : aperçu du parcours, calcul ouvert le 1er janvier 2027.
   Une étape à la fois avec JavaScript ; toutes les étapes empilées sans. Champs de 48 px, bordures à 3:1. */
body[data-page="estimer"] .page-hero.est-hero{min-height:auto;padding:calc(var(--nav-h) + clamp(18px,3vw,36px)) var(--gutter) clamp(18px,2.6vw,30px);display:block;max-width:var(--content-max);margin-inline:auto}
body[data-page="estimer"] .est-crumbs{display:flex;flex-wrap:wrap;gap:6px 10px;margin-bottom:12px;font-size:.78rem;color:var(--grey)}
body[data-page="estimer"] .est-crumbs a{color:var(--grey);text-underline-offset:3px}
body[data-page="estimer"] .est-title{margin:6px 0 0;font:500 clamp(1.9rem,3.4vw,2.9rem)/1.08 var(--display);letter-spacing:-.04em;color:var(--ink)}
body[data-page="estimer"] .est-lead{margin:10px 0 0;max-width:46ch;font:500 clamp(1.05rem,1.5vw,1.3rem)/1.4 var(--display);color:var(--ink)}
body[data-page="estimer"] .est-badge{display:inline-flex;align-items:center;gap:.55em;margin:16px 0 0;padding:.45rem .9rem;border:1px solid var(--gold);border-radius:999px;color:var(--gold);font-size:.86rem;font-weight:600;line-height:1.3}
body[data-page="estimer"] .est-badge>span[aria-hidden]{font-size:.6rem}
body[data-page="estimer"] .est-badge sup{font-size:.7em;line-height:0}
body[data-page="estimer"] .est-intro{margin:14px 0 0;max-width:62ch;color:var(--grey);font-size:.92rem;line-height:1.6}
body[data-page="estimer"] .est-intro a{color:var(--gold);font-weight:600;white-space:nowrap}
body[data-page="estimer"] .est-wrap{max-width:760px;margin:0 auto;padding:clamp(10px,2vw,20px) var(--gutter) clamp(48px,7vw,90px)}
body[data-page="estimer"] .est-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body[data-page="estimer"] .est-prive{margin:0 0 14px;color:var(--grey);font-size:.8rem}
body[data-page="estimer"] .est-progress{display:none;list-style:none;margin:0 0 18px;padding:0;gap:6px;counter-reset:etape}
html.est-js body[data-page="estimer"] .est-progress:not([hidden]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-page="estimer"] .est-progress li{padding-top:8px;border-top:3px solid var(--line);color:var(--grey);font-size:.72rem;line-height:1.3}
body[data-page="estimer"] .est-progress li.is-done{border-top-color:var(--gold)}
body[data-page="estimer"] .est-progress li.is-current{border-top-color:var(--gold);color:var(--ink);font-weight:600}
body[data-page="estimer"] .est-form{display:grid;gap:18px}
body[data-page="estimer"] .est-form[hidden]{display:none}
body[data-page="estimer"] .est-step{display:grid;gap:16px;padding:clamp(18px,3vw,28px);border:1px solid var(--line);border-radius:14px;background:var(--card)}
body[data-page="estimer"] .est-step[hidden]{display:none}
body[data-page="estimer"] .est-count{margin:0;color:var(--gold);font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
body[data-page="estimer"] .est-step h3,body[data-page="estimer"] .est-result h3{margin:0;font:500 clamp(1.3rem,2.2vw,1.65rem)/1.2 var(--display);letter-spacing:-.02em;color:var(--ink);scroll-margin-top:calc(var(--nav-h) + 20px)}
body[data-page="estimer"] .est-step h3:focus,body[data-page="estimer"] .est-result:focus{outline:none}
body[data-page="estimer"] .est-field{display:grid;gap:8px;margin:0;padding:0;border:0;min-width:0}
body[data-page="estimer"] .est-field legend,body[data-page="estimer"] .est-field>label{margin-bottom:4px;padding:0;color:var(--ink);font-weight:600;font-size:.95rem}
body[data-page="estimer"] .est-unit{color:var(--grey);font-weight:400}
body[data-page="estimer"] .est-choice{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:12px 14px;border:1px solid var(--field-line, var(--grey));border-radius:10px;cursor:pointer}
body[data-page="estimer"] .est-choice:has(input:checked){border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
body[data-page="estimer"] .est-choice:has(input:focus-visible){outline:3px solid var(--gold);outline-offset:2px}
body[data-page="estimer"] .est-choice input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--action, var(--gold));flex:none}
body[data-page="estimer"] .est-choice span{display:grid;gap:2px}
body[data-page="estimer"] .est-choice b{font-weight:600;color:var(--ink)}
body[data-page="estimer"] .est-choice small{color:var(--grey);font-size:.82rem}
body[data-page="estimer"] .est-field select,body[data-page="estimer"] .est-field input[type="number"]{min-height:48px;width:100%;padding:0 12px;border:1px solid var(--field-line, var(--grey));border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:1rem}
body[data-page="estimer"] .est-field select:focus-visible,body[data-page="estimer"] .est-field input:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
body[data-page="estimer"] [aria-invalid="true"]{border-color:#e0795f}
body[data-page="estimer"] .est-choice:has([aria-invalid="true"]){border-color:#e0795f}
body[data-page="estimer"] .est-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body[data-page="estimer"] .est-aide{margin:0;color:var(--grey);font-size:.8rem}
body[data-page="estimer"] .est-msg{margin:0;color:#f0a08a;font-size:.84rem;font-weight:600}
html[data-theme="light"] body[data-page="estimer"] .est-msg{color:#a3341c}
body[data-page="estimer"] .est-errors{scroll-margin-top:calc(var(--nav-h) + 16px);padding:12px 16px;border:2px solid #e0795f;border-radius:10px;font-size:.9rem}
body[data-page="estimer"] .est-errors:focus{outline:3px solid var(--gold);outline-offset:2px}
body[data-page="estimer"] .est-errors p{margin:0 0 6px;font-weight:600}
body[data-page="estimer"] .est-errors ul{margin:0;padding-left:18px}
body[data-page="estimer"] .est-errors a{color:var(--ink)}
body[data-page="estimer"] .est-recap{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr);gap:10px 16px;margin:0}
body[data-page="estimer"] .est-recap dt{color:var(--grey);font-size:.86rem}
body[data-page="estimer"] .est-recap dd{margin:0;color:var(--ink)}
body[data-page="estimer"] .est-modifier{margin-left:6px;min-height:32px;padding:0 4px;border:0;background:none;color:var(--gold);font:inherit;font-size:.84rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body[data-page="estimer"] .est-nav{display:none}
html.est-js body[data-page="estimer"] .est-nav{display:flex;justify-content:space-between;align-items:center;gap:14px}
body[data-page="estimer"] .est-nav .est-next{margin-left:auto}
body[data-page="estimer"] .est-result{scroll-margin-top:calc(var(--nav-h) + 16px);display:grid;gap:14px;padding:clamp(20px,3.4vw,32px);border:1px solid var(--gold);border-radius:14px;background:var(--card)}
body[data-page="estimer"] .est-result[hidden]{display:none}
body[data-page="estimer"] .est-hypo{margin:0;color:var(--grey);font-size:.9rem}
body[data-page="estimer"] .est-range{position:relative;height:64px;margin:6px 0 0}
body[data-page="estimer"] .est-range-bar{position:absolute;left:12%;right:12%;top:12px;height:14px;border-radius:999px;background:repeating-linear-gradient(90deg,var(--line) 0 10px,transparent 10px 18px);border:1px dashed var(--grey)}
body[data-page="estimer"] .est-range-low,body[data-page="estimer"] .est-range-high{position:absolute;top:36px;color:var(--grey);font-size:.78rem}
body[data-page="estimer"] .est-range-low{left:12%}
body[data-page="estimer"] .est-range-high{right:12%}
body[data-page="estimer"] .est-badge--result{margin:0}
body[data-page="estimer"] .est-cta{display:grid;gap:8px;padding:16px 18px;border-radius:12px;background:var(--bg-soft)}
body[data-page="estimer"] .est-cta h4{margin:0;font:600 1.05rem/1.3 var(--display);color:var(--ink)}
body[data-page="estimer"] .est-cta p{margin:0}
body[data-page="estimer"] .est-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
/* Sans JavaScript : toutes les étapes visibles, pas de résultat simulé. */
html:not(.est-js) body[data-page="estimer"] .est-step[hidden]{display:grid}
@media(max-width:640px){
  body[data-page="estimer"] .est-row{grid-template-columns:minmax(0,1fr)}
  body[data-page="estimer"] .est-recap{grid-template-columns:minmax(0,1fr);gap:2px 0}
  body[data-page="estimer"] .est-recap dd{margin-bottom:10px}
  body[data-page="estimer"] .est-range-bar{left:0;right:0}
  body[data-page="estimer"] .est-range-low{left:0}
  body[data-page="estimer"] .est-range-high{right:0}
  html.est-js body[data-page="estimer"] .est-progress:not([hidden]){gap:4px}
  body[data-page="estimer"] .est-progress li{font-size:0;padding-top:6px}
}
@media print{
  body[data-page="estimer"] .est-nav,body[data-page="estimer"] .est-progress{display:none!important}
}
/* Revue d'accessibilité (2.3.64) : bordures à 3:1 au moins en thème clair, erreurs lisibles, sans-JS explicite. */
html[data-theme="light"] body[data-page="estimer"]{--field-line:#7d8178}
html[data-theme="light"] body[data-page="estimer"] [aria-invalid="true"],html[data-theme="light"] body[data-page="estimer"] .est-choice:has([aria-invalid="true"]),html[data-theme="light"] body[data-page="estimer"] .est-errors{border-color:#a3341c}
body[data-page="estimer"] .est-nojs{display:none;margin:0 0 14px;color:var(--ink);font-size:.92rem}
html:not(.est-js) body[data-page="estimer"] .est-nojs{display:block}
html:not(.est-js) body[data-page="estimer"] .est-step[data-step="5"]{display:none}
body[data-page="estimer"] .est-result h3:focus{outline:none}
body[data-page="estimer"] .est-cta-plus a{color:var(--gold);text-underline-offset:3px}
body[data-page="estimer"] main>.page-hero.est-hero{padding-top:calc(var(--nav-h) + clamp(18px,3vw,36px))}
/* Revue 2.3.64 : la règle commune « section>* » (largeur de lecture centrée) rétrécissait et centrait les grilles du parcours
   (champs de surface, bouton Recommencer). Les enfants des étapes et du résultat occupent toute la largeur de leur carte. */
body[data-page="estimer"] .est-step>*,body[data-page="estimer"] .est-result>*{margin-inline:0;max-width:none}
body[data-page="estimer"] .est-row{align-items:start}
/* 400 ms après un changement d’écran, un second clic ou tapotement ne touche rien (il pourrait viser le pied de page). */
body[data-page="estimer"].est-pause{pointer-events:none}
