/* ==========================================================================
   Assurance Provisoire — interface 2026 : page d'accueil
   Chargée en plus de ap.css sur la vue home/index (voir BaseController).
   Le bloc de choix (.quote), le prix (.price), les repères (.facts) et la barre
   de rappel (.bar) sont dans ap.css : la page produit les réutilise.
   ========================================================================== */

/* ---------- Sélecteur de véhicule et de durée ---------- */
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 9px; font-size: 14px; font-weight: 500; text-align: center; white-space: nowrap; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }

.stepper { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.stepper button { height: 52px; border-radius: 9px; font-size: 26px; line-height: 1; }
.stepper button:hover:not(:disabled) { background: var(--soft); }
.stepper button:disabled { color: #b6c0cc; cursor: default; }
.stepper output { text-align: center; font-size: 16px; color: var(--muted); }
.stepper output b { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-right: 4px; font-variant-numeric: tabular-nums; }

.presets { display: flex; margin-top: 8px; }
.presets button { flex: 1 1 0; padding: 8px 0 6px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; border-radius: 0; white-space: nowrap; }
.presets button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--sky); }
