/* ===== ESTIMATEUR DE PRIX (accueil) — utilise les couleurs du site ===== */
.est-box{display:grid;gap:2rem;margin-top:2.5rem;padding:1.5rem;border:1px solid var(--border);border-radius:1rem;background:var(--card)}
@media (min-width:1024px){.est-box{grid-template-columns:1.15fr .85fr;align-items:stretch;padding:2rem}}
.est-champs{display:flex;flex-direction:column;gap:1.6rem;min-width:0}
.est-titre{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--primary);margin:0 0 .7rem}
.est-ligne{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.est-ligne .est-titre{margin:0}
.est-pills{display:flex;flex-wrap:wrap;gap:.5rem}
.est-pill{display:inline-flex;flex-direction:column;align-items:flex-start;gap:.1rem;padding:.6rem .95rem;border:1px solid var(--border);border-radius:.6rem;background:var(--background);color:var(--foreground);font:inherit;font-size:.9rem;font-weight:600;line-height:1.25;cursor:pointer;transition:border-color .15s,background .15s,color .15s;text-align:left}
.est-pill small{font-size:.72rem;font-weight:400;color:var(--muted-foreground)}
.est-pill:hover{border-color:var(--primary)}
.est-pill:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.est-pill[aria-pressed="true"]{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}
.est-pill[aria-pressed="true"] small{color:var(--primary-foreground);opacity:.8}
.est-qte{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:.6rem;overflow:hidden}
.est-qte button{width:2.75rem;height:2.75rem;border:0;background:var(--secondary);color:var(--secondary-foreground);font-size:1.3rem;font-weight:700;cursor:pointer}
.est-qte button:hover{background:var(--accent)}
.est-qte output{min-width:3.5rem;text-align:center;font-size:1.15rem;font-weight:700;font-variant-numeric:tabular-nums}
.est-val{font-size:1.2rem;font-weight:800;color:var(--primary);font-variant-numeric:tabular-nums}
.est-range{width:100%;margin-top:.6rem;accent-color:var(--primary);height:1.5rem}
.est-bornes{display:flex;justify-content:space-between;font-size:.72rem;color:var(--muted-foreground)}
.est-res{display:flex;flex-direction:column;justify-content:center;gap:.9rem;padding:2rem 1.5rem;border-radius:.8rem;background:var(--primary);color:var(--primary-foreground);text-align:center}
.est-res .est-titre{color:var(--primary-foreground);opacity:.8;margin:0}
.est-prix{font-size:clamp(1.7rem,4vw,2.4rem);font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
@media (max-width:400px){.est-prix{white-space:normal}}
.est-detail{font-size:.85rem;opacity:.85;margin:0}
.est-credit{display:inline-block;align-self:center;padding:.35rem .8rem;border-radius:999px;background:var(--primary-foreground);color:var(--primary);font-size:.82rem;font-weight:700}
.est-note{font-size:.75rem;line-height:1.5;opacity:.7;margin:0}
.est-cta{display:inline-flex;align-self:center;align-items:center;justify-content:center;gap:.5rem;padding:.8rem 1.4rem;border-radius:.6rem;background:var(--primary-foreground);color:var(--primary);font-weight:700;text-decoration:none;transition:transform .15s}
.est-cta:hover{transform:translateY(-1px)}
.est-cta:focus-visible{outline:2px solid var(--primary-foreground);outline-offset:3px}
[data-estimateur] [hidden]{display:none!important}
/* Liste déroulante des essences d'arbres */
label.est-titre{display:block}
.est-facultatif{text-transform:none;letter-spacing:0;font-weight:400;color:var(--muted-foreground)}
.est-select{display:block;width:100%;min-height:2.75rem;padding:.6rem .9rem;border:1px solid var(--border);border-radius:.6rem;background:var(--background);color:var(--foreground);font:inherit;font-size:.95rem;font-weight:600;cursor:pointer}
.est-select:hover{border-color:var(--primary)}
.est-select:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
