/* Module de réservation de l'abonné (bmod.js, owner 2026-11-28 ; maquette design-lab/reservation-en-ligne-maquette.html).
   Blocs à contour fin avec le titre dans le trait, champs « Contour arrondi », aucun fond gris sous un bloc ouvert. */
.bm { --bm-r: 16px; color: var(--text); padding: 8px 16px 40px; max-width: 1180px; margin: 0 auto; flex: 1 1 auto; width: 100%; min-width: 0; }   /* prend toute la place dans .wrap (flex), jamais la largeur de son contenu */
@media (min-width: 1000px) { .bm { padding-inline: 0; margin-left: 0; } }   /* ordinateur : collé à la marge de 20 px de la page, jamais centré (owner, 2026-11-28) */
@media (max-width: 999px) { .bm { padding-bottom: 150px; } }   /* rien sous les boutons flottants ni la barre du bas */
.bm svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bm-col, .bm-wiz { max-width: 640px; }
.bm-wiz.bm-w4 { max-width: 980px; }
.bm-wiz.bm-w5 { max-width: 1180px; }   /* étape 5 : un modèle à la fois sur toute la largeur */
.bm-top { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; }
.bm-h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.bm-big { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.bm-lead { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 62ch; }
.bm-hint { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.bm-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.bm-chip.gold { background: var(--gold-soft); color: var(--text); }
.bm-chip.green { background: var(--green-soft, #e3f4ea); color: var(--green, #12703f); }
.bm-chip.grey { background: var(--panel-2); color: var(--muted); }
.bm-chip.red { background: var(--red-soft, #fbe9e7); color: var(--red); }
.bm-blk { position: relative; border: 1px solid var(--line); border-radius: var(--bm-r); padding: 18px 14px 12px; margin: 0 0 20px; }
.bm-lg { position: absolute; top: -9px; left: 12px; background: var(--bg); padding: 0 6px; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.bm-li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; line-height: 1.4; }
.bm-li .ic { width: 22px; flex: none; display: grid; place-items: center; color: var(--gold); margin-top: 1px; }
.bm-li .ic svg { width: 18px; height: 18px; }
.bm-li .ic svg[viewBox="0 0 32 24"] { width: 22px; height: 18px; stroke-width: 1.5; }
.bm-li b { font-weight: 800; }
.bm-li small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.bm-wide { width: 100%; }
.bm .btn { transition: background-color .3s, color .3s, border-color .3s; }
.bm a.btn { color: var(--text); text-decoration: none; }
.bm a.btn.primary { color: #fff; }
.bm .btn.bm-ink { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 700; }
.bm .btn[disabled] { opacity: .5; cursor: not-allowed; }
.bm-ib { width: 34px; height: 34px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); display: grid; place-items: center; padding: 0; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.bm-ib svg { width: 16px; height: 16px; }
.bm-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 800; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.bm-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 1px dashed var(--line); border-radius: 14px; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; margin: 0 0 20px; transition: background-color .3s, color .3s, border-color .3s; }
.bm-add svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .bm .btn.bm-ink:hover { background: var(--bg); color: var(--text); }
  .bm-ib:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .bm-ib.del:hover { background: var(--red); border-color: var(--red); color: #fff; }
  .bm-add:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .bm-link:hover { color: var(--gold); }
}
/* Champs : contour arrondi, nom dans le trait, or quand on tape */
.bm-fld { position: relative; display: flex; align-items: center; gap: 8px; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; margin: 0 0 20px; background: var(--bg); transition: border-color .2s; }
.bm-fld > label { position: absolute; top: -9px; left: 10px; background: var(--bg); padding: 0 5px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.bm-fld input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--text); padding: 14px 0; }
.bm-fld > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.bm-fld:focus-within { border-color: var(--gold); }
.bm-fld .unit { font-size: 13px; font-weight: 800; color: var(--muted); }
.bm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.bm-place { position: relative; }
.bm-sugg { position: absolute; left: -1px; right: -1px; min-width: min(380px, calc(100vw - 32px)); top: calc(100% + 4px); z-index: 30; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(14,27,61,.14); overflow: hidden; }
.bm-sugg button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; font: inherit; font-size: 13.5px; color: var(--text); cursor: pointer; }
.bm-sugg button b { display: block; font-weight: 700; }
.bm-sugg button small { color: var(--muted); font-size: 12px; }
.bm-sugg button:hover, .bm-sugg button:focus-visible { background: var(--gold-soft); }
/* Interrupteur de l'app */
.bm-sw { width: 44px; height: 26px; flex: none; border-radius: 99px; border: 0; background: #d9dce4; position: relative; cursor: pointer; padding: 0; transition: background-color .25s; }
.bm-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.bm-sw.on { background: var(--gold); }
.bm-sw.on::after { transform: translateX(18px); }
.bm-sw[disabled] { opacity: .45; cursor: not-allowed; }
/* Écran de vente */
.bm-sales { display: grid; gap: 28px; }
.bm-feat { display: grid; gap: 2px 24px; }
.bm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 4px; }
.bm-cta .btn { min-width: 200px; }
.bm-lockline { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.bm-lockline svg { width: 15px; height: 15px; }
.bm-web { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--line); border-radius: 14px; padding: 12px; margin: 22px 0 0; }
.bm-web .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; flex: none; color: var(--muted); }
.bm-web .ic svg { width: 18px; height: 18px; }
.bm-web p { margin: 0; flex: 1; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.bm-web p b { display: block; color: var(--text); font-size: 13px; }
.bm-web-ok { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bm-hero { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--gold) 6%, var(--bg))); }
.bm-sales-b { max-width: 440px; }
@media (min-width: 1250px) { .bm-sales { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .bm-sales-b { max-width: none; } }
@media (min-width: 1450px) { .bm-feat { grid-template-columns: 1fr 1fr; } }
/* Diaporama */
.bm-stage { display: grid; }
.bm-slide { grid-area: 1 / 1; opacity: 0; transform: translateX(28px); transition: opacity .4s ease, transform .6s cubic-bezier(.16,1,.3,1); pointer-events: none; min-width: 0; }
.bm-slide.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .35s ease .15s, transform .6s cubic-bezier(.16,1,.3,1) .1s; }
.bm-slide.out { transform: translateX(-28px); transition: opacity .15s ease, transform .4s ease; }
.bm-sc { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.bm-sh { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 800; }
.bm-sh i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 11px; display: grid; place-items: center; }
.bm-mr { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.bm-mr.mu { color: var(--muted); }
.bm-mr .d { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold); flex: none; }
.bm-mr .d.f { background: var(--gold); }
.bm-pay { margin-top: 10px; height: 40px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 800; font-size: 13.5px; display: grid; place-items: center; }
.bm-sv { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; padding: 7px 10px; margin: 0 0 6px; font-size: 12.5px; font-weight: 700; }
.bm-sv.on { border-color: var(--gold); background: var(--gold-soft); }
.bm-sv svg { width: 34px; height: 24px; stroke-width: 1.4; color: var(--muted); flex: none; }
.bm-sv span { flex: 1; line-height: 1.25; }
.bm-sv small, .bm-so small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.bm-sv b { font-size: 14px; font-variant-numeric: tabular-nums; }
.bm-so { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.bm-so:last-child { border-bottom: 0; }
.bm-so > span:first-child { flex: 1; }
.bm-so .bm-sw { width: 34px; height: 20px; pointer-events: none; }
.bm-so .bm-sw::after { width: 14px; height: 14px; }
.bm-so .bm-sw.on::after { transform: translateX(14px); }
.bm-q { display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.bm-q i { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--muted); }
.bm-sl { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; font-variant-numeric: tabular-nums; }
.bm-sl.mu { color: var(--muted); }
.bm-sl.tt { font-weight: 800; border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px; font-size: 14px; }
.bm-okk { text-align: center; padding: 6px 0 4px; }
.bm-okk .ck { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft, #e3f4ea); color: var(--green, #12703f); display: grid; place-items: center; margin: 0 auto 8px; }
.bm-okk .ck svg { width: 22px; height: 22px; stroke-width: 2.6; }
.bm-okk b { display: block; font-size: 15px; }
.bm-okk small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bm-cap { margin: 12px 2px 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); min-height: 2.8em; }
.bm-cap b { color: var(--text); }
.bm-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
.bm-nav .bm-ib { width: 28px; height: 28px; }
.bm-dots { display: flex; gap: 6px; }
.bm-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: var(--line); padding: 0; cursor: pointer; transition: width .35s cubic-bezier(.16,1,.3,1), background-color .3s; }
.bm-dots button.on { width: 22px; background: var(--gold); }
.bm-pw { text-align: center; font-size: 11px; color: var(--muted); padding-top: 8px; }
.bm-pw b { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .bm-slide, .bm-slide.on, .bm-slide.out { transform: none; transition: opacity .2s; } }
/* Assistant */
.bm-steps { display: flex; gap: 6px; margin: 0 0 14px; }
.bm-steps i { flex: 1; height: 4px; border-radius: 9px; background: var(--line); }
.bm-steps i.on { background: var(--gold); }
.bm-dsteps { display: none; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; width: max-content; max-width: 100cqw; }   /* étapes sur une ligne : elles peuvent dépasser la colonne étroite de l'étape, jamais la page (owner, 2026-11-28) */
.bm { container-type: inline-size; }
.bm-dsteps button { font: inherit; background: var(--bg); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 6px 12px 6px 7px; border: 1px solid var(--line); border-radius: 99px; }
.bm-dsteps b { width: 20px; height: 20px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 11px; }
.bm-dsteps b svg { width: 12px; height: 12px; stroke-width: 3; }
.bm-dsteps .done b { background: var(--gold); color: #fff; }
.bm-dsteps .on { border-color: var(--text); color: var(--text); }
.bm-dsteps .on b { background: var(--text); color: var(--bg); }
.bm-dsteps .on { cursor: default; }
@media (hover: hover) { .bm-dsteps button:not(.on):hover { background: var(--text); color: var(--bg); border-color: var(--text); } .bm-dsteps button:not(.on):hover b { background: var(--bg); color: var(--text); } }
@media (min-width: 1000px) { .bm-steps, .bm-stepn { display: none; } .bm-dsteps { display: flex; } }
.bm-stepn { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bm-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 8px; }
@media (min-width: 1000px) { .bm-btns { display: flex; justify-content: flex-end; } .bm-btns .btn { min-width: 160px; } }
.bm-range { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.bm-range input { flex: 1; accent-color: var(--gold); }
.bm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-pl { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; font-size: 12.5px; font-weight: 700; max-width: 100%; }
.bm-pl svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
/* Véhicules */
.bm-vgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 12px; }   /* minmax(0) : une ligne longue ne force jamais la page plus large que le téléphone */
@media (min-width: 1000px) { .bm-w2 .bm-vgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.bm-veh { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.bm-veh .ph { width: 56px; height: 40px; border-radius: 9px; background: var(--panel-2); display: grid; place-items: center; flex: none; overflow: hidden; color: var(--muted); }
.bm-veh .ph svg { width: 32px; height: 26px; stroke-width: 1.4; }
.bm-veh .ph img { width: 100%; height: 100%; object-fit: cover; }
.bm-veh .t { flex: 1; min-width: 0; line-height: 1.3; }
.bm-veh .t b { display: block; font-size: 14px; }
.bm-veh .t small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-vedit { display: block; border-color: var(--gold); padding: 14px 12px 12px; }
.bm-upz { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 10px; margin: 0 0 18px; cursor: pointer; transition: border-color .25s, background-color .25s; }
.bm-upz.has { border-style: solid; }
.bm-upz.drag, .bm-upz:focus-within { border-color: var(--gold); background: var(--gold-soft); }
.bm-upz .upi { width: 76px; height: 52px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; flex: none; overflow: hidden; color: var(--gold); }
.bm-upz .upi svg { width: 24px; height: 24px; }
.bm-upz .upi img { width: 100%; height: 100%; object-fit: cover; }
.bm-upz .upt { flex: 1; min-width: 0; line-height: 1.35; }
.bm-upz .upt b { display: block; font-size: 13.5px; }
.bm-upz .upt small { font-size: 11.5px; color: var(--muted); }
.bm-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 20px; }
.bm-types button { border: 1px solid var(--line); background: var(--bg); border-radius: 11px; padding: 6px 4px; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.bm-types button svg { width: 30px; height: 22px; stroke-width: 1.4; }
.bm-types.per button { padding: 10px 4px; flex-direction: row; justify-content: center; }
.bm-types button.on { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }
.bm-vbtns { display: flex; justify-content: flex-end; gap: 8px; }
.bm-vbtns .btn { min-height: 40px; padding: 8px 16px; }
/* Trajets de référence */
.bm-ref { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px 0 4px; border-bottom: 1px solid var(--line); }
.bm-ref:last-child { border-bottom: 0; }
.bm-ref .bm-fld { margin-bottom: 14px; }
.bm-ref-pl { min-width: 0; }
.bm-km { display: block; margin: -6px 0 12px 4px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.bm-ref-pr { display: flex; align-items: flex-start; gap: 8px; }
.bm-ref-pr .bm-pr { flex: 1; min-width: 0; }
.bm-ref-pr .bm-ib { margin-top: 8px; }
/* Mise en page selon la place de la colonne, pas de l écran : à côté de l aperçu (ordinateur), la colonne est étroite (owner, 2026-11-28) */
.bm-s3-a { container-type: inline-size; min-width: 0; }
@container (min-width: 620px) { .bm-ref { grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; } .bm-ref-pl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; } .bm-km { grid-column: 1 / -1; } }
.bm-pcts { display: grid; gap: 0 24px; }
@container (min-width: 520px) { .bm-pcts { grid-template-columns: 1fr 1fr; } }
.bm-pct { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bm-pct .t { flex: 1; min-width: 0; line-height: 1.3; }
.bm-pct .t b { display: block; font-size: 13.5px; }
.bm-pct .t small { display: block; font-size: 11.5px; color: var(--muted); }
.bm-pr.pc { position: relative; width: 92px; flex: none; padding: 0; margin: 0; }   /* padding/margin : une règle générale « .pc » (ordinateur) l'étirait de 150 px */
.bm-pr.pc input { width: 100%; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-weight: 800; font-size: 15px; padding: 9px 26px 9px 10px; text-align: right; color: var(--text); background: var(--bg); }
.bm-pr.pc input:focus { border-color: var(--gold); outline: 0; }
.bm-pr.pc::after { content: '%'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); font-size: 14px; }
/* Étape 3, design 5 (owner, 2026-12-01) : « Comment vos prix sont calculés », le calcul en exemple puis les % en pastilles */
.bm-how { border: 1px solid var(--line); border-radius: var(--bm-r); padding: 16px 14px; margin: 0 0 20px; }
.bm-how h3 { margin: 0 0 2px; font-size: 15px; font-weight: 800; }
.bm-how > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.bm-how-f { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.bm-how-f .bx { flex: 0 1 130px; min-width: 0; border-radius: 12px; padding: 9px 8px; text-align: center; background: var(--panel-2); }
.bm-how-f .bx small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-how-f .bx b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; }
.bm-how-f .bx.a { background: var(--gold-soft); }
.bm-how-f .bx.c { background: var(--green-soft, #e3f4ea); }
.bm-how-f .bx.c b { color: var(--green, #12703f); }
.bm-how-f .op { font-size: 18px; font-weight: 800; color: var(--muted); flex: none; }
.bm-how-v { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-how-b { display: inline-flex; align-items: center; border-radius: 12px; padding: 0 12px; min-height: 44px; background: var(--gold-soft); font-weight: 800; font-size: 13px; }
.bm-how-p { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 12px; font-size: 13px; }
.bm-how-p .bm-pr.pc { width: 78px; }
.bm-how-p .bm-pr.pc input { padding: 6px 24px 6px 8px; font-size: 14px; }
/* Options */
.bm-orow { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bm-blk > .bm-orow:last-of-type { border-bottom: 0; }
.bm-orow .t { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.bm-orow .t small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 1px; }
.bm-oedit { border: 1px solid var(--gold); border-radius: 14px; padding: 18px 12px 12px; margin: 4px 0 10px; }
.bm-oedit .bm-fld { margin-bottom: 16px; }
.bm-ofl { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0 10px; }
.bm-optgrid { display: grid; gap: 0 24px; }
@media (min-width: 1000px) { .bm-optgrid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
/* Apparence */
.bm-tgrid { display: grid; gap: 16px; margin: 0 0 20px; }
@media (min-width: 1000px) { .bm-tgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .bm-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bm-tcard { border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 12px; transition: border-color .25s, box-shadow .25s; }
.bm-tcard.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.bm-thumb { display: block; width: 100%; height: 176px; border: 0; padding: 0; overflow: hidden; background: #e9edf2; border-radius: 11px; position: relative; cursor: zoom-in; }
.bm-thumb .tin { position: absolute; top: 8px; left: 8px; width: max-content; transform: scale(.28); transform-origin: top left; pointer-events: none; }   /* page ordinateur réduite (bmThumbFit), comme l'aperçu agrandi */
.bm-thumb .tok { position: absolute; top: 8px; right: 8px; background: var(--gold); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 800; padding: 3px 9px; display: flex; align-items: center; gap: 4px; }
.bm-thumb .tok svg { width: 12px; height: 12px; stroke-width: 3; stroke: #fff; }
.bm-tmeta { padding: 10px 4px; }
.bm-tmeta b { display: block; font-size: 14px; }
.bm-tmeta small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.bm-tbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 4px; }
.bm-tbtns .btn { min-height: 40px; padding: 8px 10px; }
.bm-swat { display: flex; align-items: center; gap: 8px; }
.bm-swat i { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.bm-swat span { flex: 1; font-size: 13px; color: var(--muted); line-height: 1.4; }
.bm-swat .btn { min-height: 38px; padding: 6px 14px; }
/* Le module tel que le client le voit (6 modèles) : couleurs fixes, c'est un aperçu */
.bm .w, .bm-tpov .w { background: #fff; border-radius: 16px; padding: 16px; font-family: Manrope, system-ui, sans-serif; color: var(--wm, #0e1b3d); box-shadow: 0 10px 30px rgba(14,27,61,.12); text-align: left; }
.w h4 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.w-f { display: flex; align-items: center; gap: 9px; border: 1px solid #d5d9e2; border-radius: 12px; padding: 11px 12px; font-size: 13px; font-weight: 700; margin: 0 0 8px; background: #fff; min-width: 0; }
.w-f > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-f small { display: block; font-size: 10px; color: #5f6679; font-weight: 700; }
.w-d { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--wa, #cda55b); flex: none; }
.w-d.f { background: var(--wa, #cda55b); } .w-d.c { border-radius: 3px; }
.w-veh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 10px; }
.w-veh div { border: 1px solid #d5d9e2; border-radius: 11px; padding: 8px; font-size: 11.5px; font-weight: 700; }
.w-veh div b { display: block; font-size: 14px; }
.w-veh div.on { border-color: var(--wa, #cda55b); background: color-mix(in srgb, var(--wa, #cda55b) 13%, transparent); }
.w-btn { display: grid; place-items: center; height: 44px; border-radius: 12px; background: var(--wm, #0e1b3d); color: #fff; font-weight: 800; font-size: 14px; }
.w-pw { text-align: center; font-size: 10.5px; color: #5f6679; margin-top: 8px; } .w-pw b { color: var(--wm, #0e1b3d); }
.w-bar { padding: 12px !important; }
.w-bar .w-row { display: grid; grid-template-columns: 1fr; }
.wide .w-bar .w-row { grid-template-columns: 1.3fr 1.3fr 1fr auto; gap: 8px; }
.wide .w-bar .w-f { margin: 0; }
.wide .w-bar .w-btn { height: auto; padding: 0 22px; }
.w-map svg { display: block; width: calc(100% + 32px); margin: -16px -16px 12px; height: auto; border-radius: 16px 16px 0 0; }
.w-prog { display: flex; gap: 6px; margin: 0 0 12px; }
.w-prog i { flex: 1; font-style: normal; font-size: 10.5px; font-weight: 800; color: #8b92a3; border-top: 3px solid #e2e5ec; padding-top: 6px; }
.w-prog i.on { color: var(--wm, #0e1b3d); border-color: var(--wa, #cda55b); }
.bm .w.w-dk, .bm-tpov .w.w-dk { background: #0d1529; color: #eef0f5; }
.w-dk .w-f { background: #16203a; border-color: #2a3655; color: #eef0f5; }
.w-dk .w-f small, .w-dk .w-pw, .w-dk .w-pw b { color: #9ba3b6; }
.w-dk .w-veh div { border-color: #2a3655; }
.w-dk .w-btn { background: var(--wa, #cda55b); color: #fff; }
.bm .w.w-mini, .bm-tpov .w.w-mini { border-radius: 4px; box-shadow: none; border: 1px solid var(--wm, #0e1b3d); padding: 20px; }
.w-mini .w-f { border: 0; border-bottom: 1px solid var(--wm, #0e1b3d); border-radius: 0; padding: 10px 2px; }
.w-mini .w-btn { border-radius: 0; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }
.w-mini .w-veh div { border-radius: 0; }
/* Aperçu agrandi : tiroir sur téléphone, grande fenêtre centrée sur ordinateur (trop grande pour s'ouvrir au-dessus du clic) */
.bm-tpov.overlay { display: flex; align-items: flex-end; justify-content: center; }
.bm-tpbox.dialog { width: 100%; max-width: none; height: auto; max-height: calc(100dvh - var(--tabbar-h, 0px) - 24px); min-height: 0; padding: 0; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; overflow: hidden; background: var(--bg); }
.bm-tpbox svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bm-tphead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bm-tphead > b { flex: 1; font-size: 16px; min-width: 0; }
.bm-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--panel-2); border-radius: 12px; padding: 3px; margin: 0 0 14px; }
.bm-tphead .bm-seg { margin: 0; width: 210px; }
.bm-seg button { border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--muted); padding: 8px 4px; border-radius: 9px; cursor: pointer; transition: background-color .25s, color .25s; }
.bm-seg button.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgba(14,27,61,.12); }
.bm-tpbody { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; background: #e9edf2; padding: 20px 16px; display: flex; justify-content: center; align-items: flex-start; }
.bm-tpscale { transform-origin: top center; }
.bm-tpfoot { display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.bm-tpfoot .nav { display: flex; gap: 6px; align-items: center; margin-right: auto; }
.bm-tpfoot .btn { min-width: 120px; }
.bm-mock { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(14,27,61,.18); color: var(--wm, #0e1b3d); }
.bm-mock.d { width: 960px; } .bm-mock.p { width: 375px; }
.bm-mock .mb { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f2f5; border-bottom: 1px solid #e2e5ec; font-size: 11.5px; color: #5f6679; }
.bm-mock .mb i { width: 9px; height: 9px; border-radius: 50%; background: #d6d9e0; }
.bm-mock .mb span { margin-left: 8px; background: #fff; border-radius: 7px; padding: 3px 10px; }
.bm-mock .mhero { background: linear-gradient(120deg, #1c2530, #34404f); color: #fff; padding: 28px 22px; }
.bm-mock .mt { font-size: 26px; display: block; font-weight: 800; }
.bm-mock .ms { color: #c8ccd4; font-size: 13px; }
.bm-mock.d .mhero { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: center; padding: 48px 44px; }
.bm-mock.d .mhero.full { grid-template-columns: 1fr; }
.bm-mock.p .mhero .w { margin-top: 18px; }
.bm-mock .mtxt { padding: 22px; display: grid; gap: 10px; }
.bm-mock .mtxt i { display: block; height: 10px; border-radius: 6px; background: #eceef3; }
@media (max-width: 600px) { .bm-tphead .bm-seg { width: 180px; } .bm-tpfoot .bm-hint, .bm-tpfoot .bm-fclose { display: none; } .bm-tpfoot .btn { min-width: 0; flex: 1; } .bm-tpfoot .nav { margin-right: 0; } }
@media (min-width: 1000px) { .bm-tpov.overlay { align-items: center; } .bm-tpbox.dialog { width: min(1040px, 94vw); border-radius: 20px; } }
/* Récapitulatif */
.bm-model { display: flex; gap: 10px; margin: 0 0 8px; }
.bm-model div { flex: 1; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.bm-model small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.bm-model b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bm-mnote { margin: 0 0 20px; }
.bm-flock { display: flex; align-items: flex-start; gap: 10px; border: 1px dashed var(--line); border-radius: 14px; padding: 12px; margin: 0 0 20px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.bm-flock svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 1px; }
.bm-flock b { display: block; color: var(--text); font-size: 13px; }
.bm-vchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bm-vchips button { border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); padding: 5px 11px; border-radius: 99px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.bm-vchips button.on { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }
.bm-est { display: grid; grid-template-columns: minmax(0, 1fr) 70px 70px; gap: 6px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.bm-est:last-child { border-bottom: 0; }
.bm-est.h { font-size: 11px; font-weight: 800; color: var(--muted); padding-top: 0; }
.bm-est .t { font-weight: 700; line-height: 1.3; min-width: 0; }
.bm-est .t i { font-style: normal; color: var(--gold); }
.bm-est .t em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--green, #12703f); background: var(--green-soft, #e3f4ea); border-radius: 99px; padding: 1px 7px; vertical-align: 1px; }
.bm-est .t small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.bm-est .p { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.bm-est button.p { border: 1px solid transparent; background: none; font: inherit; font-weight: 800; color: var(--text); border-radius: 8px; padding: 4px 6px; cursor: pointer; transition: border-color .2s; }
.bm-est button.p:hover { border-color: var(--gold); }
.bm-est button.p input { width: 56px; border: 1px solid var(--gold); border-radius: 8px; font: inherit; font-weight: 800; text-align: right; padding: 3px 5px; background: var(--bg); color: var(--text); }
/* Page du module */
.bm-modgrid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .bm-modgrid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } .bm-modside { position: sticky; top: 16px; } }
.bm-status { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 0 20px; }
.bm-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; animation: bm-pulse 1.4s infinite; }
.bm-status .dot.live { background: var(--green, #12703f); animation: none; }
@keyframes bm-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(205,165,91,.55); } 50% { box-shadow: 0 0 0 7px rgba(205,165,91,0); } }
.bm-status .t { flex: 1; font-size: 14px; font-weight: 800; line-height: 1.35; }
.bm-status .t small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.bm-stbtns { display: flex; gap: 10px; width: 100%; }
.bm-stbtns .btn { flex: 1; min-height: 42px; }
.bm-acts { padding: 6px 14px; }
.bm-act { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.bm-act:last-child { border-bottom: 0; }
.bm-act .ic { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--gold); transition: background-color .3s, color .3s, border-color .3s; }
.bm-act .ic svg { width: 18px; height: 18px; }
.bm-act .t { flex: 1; font-size: 14px; font-weight: 700; }
.bm-act .t small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.bm-act > svg { width: 16px; height: 16px; color: var(--muted); }
@media (hover: hover) { .bm-act:hover .ic { background: var(--text); color: var(--bg); border-color: var(--text); } }
.bm-pane { display: none; } .bm-pane.on { display: block; }
.bm-qr { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; }
.bm-qr img { width: 96px; height: 96px; flex: none; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.bm-qr p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; min-width: 0; }
.bm-qr p b { display: block; color: var(--text); font-size: 13px; word-break: break-all; }
.bm-row2 { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-int .btn { min-height: 40px; padding: 8px 16px; }
.bm-code { margin: 8px 0 10px; background: #0e1b3d; color: #e9ecf3; border-radius: 12px; padding: 12px; font: 12px/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.bm-code::selection { background: rgba(205,165,91,.45); }
/* Votre entreprise (SIRET) */
.bm-gate { margin: 0 auto; padding-top: 24px; }
.bm-co { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; background: var(--bg); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s; }
.bm-co b { font-size: 14px; }
.bm-co small { font-size: 12px; color: var(--muted); }
.bm-co .bm-chip { margin-top: 6px; }
.bm-co.on { border-color: var(--gold); background: var(--gold-soft); }
.bm-co[disabled] { opacity: .6; cursor: not-allowed; }
/* Arabe (droite à gauche) : titres dans le trait à droite */
[dir="rtl"] .bm-lg, [dir="rtl"] .bm-fld > label { left: auto; right: 12px; }
[dir="rtl"] .bm-est .p { text-align: left; }
[dir="rtl"] .bm-thumb .tok { right: auto; left: 8px; }
/* Abonnés › Modifier : interrupteur Pourboire, explication sous le titre (tenants.js) */
.tn-tip small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 2px; line-height: 1.4; }
/* ---- Alignement sur la maquette validée (owner, 2026-11-28 : « ce n'est pas du tout ce que l'on avait décidé ») ---- */
@media (min-width: 1100px) { .bm-sales { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .bm-sales-b { max-width: none; } }
/* Étape 1 : carte de la zone de travail */
.bm-map { display: none; height: 220px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin: 0 0 20px; background: #eef3f8; }
.bm-map.on { display: block; }
.bm-map .leaflet-control-attribution { font-size: 9px; }
/* Étape 3 : trajets à gauche, aperçu des prix clients à droite (ordinateur) */
.bm-wiz.bm-w3 { max-width: 1180px; }
.bm-s3-b { display: block; margin-top: 8px; }   /* téléphone aussi : l'aperçu sous les trajets, il faut le vérifier avant de continuer */
/* Aperçu à côté des trajets seulement s'il reste de la place (1280 px) ; entre 1000 et 1280 px il passe sous les trajets (owner, 2026-11-28 : champs qui débordaient) */
@media (min-width: 1280px) {
  .bm-s3 { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
  .bm-s3-b { position: sticky; top: 16px; margin-top: 0; }
}
.bm-live { padding-top: 20px; }
.bm-live .bm-pblk { border: 0; padding: 0; margin: 0; }
.bm-live .bm-pblk > .bm-lg { display: none; }
/* Page du module */
.bm-modtop { flex-wrap: wrap; }
.bm-topr { margin-left: auto; display: flex; gap: 10px; }
.bm-topr .btn { min-height: 42px; padding: 8px 18px; }
.bm-trialnote { margin: -8px 0 16px; }
.bm-seen-t { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.bm-site { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(14,27,61,.12); background: #fff; }
.bm-site .mb { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f2f5; border-bottom: 1px solid #e2e5ec; font-size: 11.5px; color: #5f6679; }
.bm-site .mb i { width: 9px; height: 9px; border-radius: 50%; background: #d6d9e0; }
.bm-site .mb span { margin-left: 8px; background: #fff; border-radius: 7px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-site .bd { padding: 20px; background: linear-gradient(120deg, #1c2530, #34404f); }
.bm-site .bd .bm-pw { color: #c8ccd4; } .bm-site .bd .bm-pw b { color: #fff; }
.bm-seen-p { margin: 0 0 20px; }
.bm-pwbig { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #0e1b3d; color: #fff; text-decoration: none; transition: background-color .3s, color .3s; }
.bm-pwbig .lg { width: 28px; height: 28px; border-radius: 8px; background: #fff; display: grid; place-items: center; flex: none; }
.bm-pwbig .lg::after { content: ''; width: 12px; height: 12px; border: 3px solid #cda55b; border-right-color: transparent; border-radius: 50%; }
.bm-pwbig b { display: block; font-size: 13px; } .bm-pwbig small { display: block; font-size: 11.5px; color: #c9cedb; }
@media (hover: hover) { .bm-pwbig:hover { background: #fff; color: #0e1b3d; box-shadow: inset 0 0 0 1px #0e1b3d; } .bm-pwbig:hover small { color: #5f6679; } }
.bm-site .bd .bm-pwbig { background: #fff; color: #0e1b3d; } .bm-site .bd .bm-pwbig small { color: #5f6679; } .bm-site .bd .bm-pwbig .lg { background: #0e1b3d; }
/* Téléphone : « Ajouter à mon site » en tiroir */
.bm-intbox.dialog { padding: 18px 16px; }
.bm-intin { padding: 0; }
.bm-intin svg { fill: none; stroke: currentColor; }
/* Recadrer la photo du véhicule (owner, 2026-11-28) : cadre 16:9 = carte véhicule vue par les clients */
.bm-crop.dialog { max-width: 560px; }
.bm-crop .bm-hint { margin: 4px 0 16px; }
.bm-crop-st { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #fff; touch-action: none; cursor: grab; user-select: none; }
.bm-crop-st.drag { cursor: grabbing; }
.bm-crop-st img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; user-select: none; }
.bm-crop-st::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gold); pointer-events: none; }
.bm-crop-z { display: flex; align-items: center; gap: 12px; margin: 18px 0 20px; color: var(--muted); font-size: 20px; line-height: 1; }
.bm-crop-z input { flex: 1; accent-color: var(--gold); }
.bm-upz .bm-ib[hidden] { display: none; }
.bm-km:empty { display: none; }
.bm-km.warn { color: var(--red); }
/* Case « J'ai vérifié ces prix » sous l'aperçu (étape 3) */
.bm-chk { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 14px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; text-align: left; line-height: 1.4; cursor: pointer; transition: border-color .3s, background-color .3s; }
.bm-chk .bx { width: 22px; height: 22px; flex: none; border: 1.5px solid var(--muted); border-radius: 7px; display: grid; place-items: center; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.bm-chk .bx svg { width: 14px; height: 14px; stroke-width: 3; }
.bm-chk[aria-checked="true"] { border-color: var(--gold); background: var(--gold-soft); }
.bm-chk[aria-checked="true"] .bx { background: var(--gold); border-color: var(--gold); color: #fff; }
.bm-chk:disabled { opacity: .5; cursor: not-allowed; }
@media (hover: hover) { .bm-chk:not(:disabled):hover { border-color: var(--gold); } }
/* Couleurs du module (étape 5) : deux pastilles, code #RRGGBB, sélecteur de l'appareil derrière la pastille (owner, 2026-11-28) */
.bm-cols { display: grid; gap: 0 24px; }
@media (min-width: 1000px) { .bm-cols { grid-template-columns: 1fr 1fr; } }
.bm-col { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bm-col .t { flex: 1; min-width: 0; line-height: 1.3; } .bm-col .t b { display: block; font-size: 13.5px; } .bm-col .t small { display: block; font-size: 11.5px; color: var(--muted); }
.bm-col label.sw { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); flex: none; cursor: pointer; overflow: hidden; box-shadow: inset 0 0 0 3px var(--bg); }
.bm-col label.sw input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.bm-col .hx { width: 104px; flex: none; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-weight: 800; font-size: 14px; padding: 9px 10px; color: var(--text); background: var(--bg); text-transform: uppercase; }
.bm-col .hx:focus { border-color: var(--gold); outline: 0; }
.bm-colr { margin: 10px 0 0; }
/* Étape 5 : un modèle à la fois, en très grand (maquette 3, owner 2026-11-28) */
.bm-ctabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.bm-ctabs button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 800; color: var(--muted); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.bm-ctabs button.on { border-color: var(--text); color: var(--text); }
.bm-ctabs button svg { width: 13px; height: 13px; stroke: var(--gold); stroke-width: 3; fill: none; }
.bm-cframe { position: relative; }
.bm-cstage { position: relative; overflow: hidden; background: #e9edf2; border-radius: 14px; height: 520px; touch-action: pan-y; user-select: none; }
.bm-cfit { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; }
.bm-carr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #0e1b3d; display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 6px 20px rgba(14,27,61,.15); transition: background-color .3s, color .3s, border-color .3s; }
.bm-carr svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bm-carr.l { left: 10px; } .bm-carr.r { right: 10px; }
[dir="rtl"] .bm-carr svg { transform: scaleX(-1); }
.bm-cfoot { display: flex; align-items: center; gap: 12px; margin: 14px 0 20px; flex-wrap: wrap; }
.bm-cmeta { flex: 1; min-width: 220px; line-height: 1.4; }
.bm-cmeta b { display: block; font-size: 15.5px; } .bm-cmeta small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.bm-cfoot .bm-seg { margin: 0; } .bm-cfoot .bm-seg button { padding: 8px 14px; }
.bm-cfoot .btn { min-height: 46px; }
@media (hover: hover) { .bm-ctabs button:not(.on):hover, .bm-carr:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }
@media (max-width: 999px) { .bm-cstage { height: 440px; } .bm-cfoot .btn { flex: 1; } }

/* Tarifs, plateforme seulement (owner 2026-11-29) : bouton « Ouvrir les tarifs » sous le module (bmPricesBtn), retour au module en haut de Tarifs */
.bm-prbtn { margin: 22px 0 0; }   /* même écart que « Pas de site web ? » (.bm-web) au-dessus et en dessous */
.bm-prbtn .btn { display: inline-flex; align-items: center; gap: 8px; }
.bm-prbtn .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr-back { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 6px; padding: 6px 12px 6px 6px; border: 0; border-radius: 99px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.pr-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .pr-back svg { transform: scaleX(-1); }
@media (hover: hover) { .pr-back:hover { background: var(--text); color: var(--bg); } }
/* Compte gratuit (owner, 2026-11-29 ; bmFreeInfoHtml, bmod.js) */
.bm-fu .bm-hint { margin: 0; }
.bm-fu .btn { margin-top: 12px; }
.bm-fu .btn { transition: background .3s, color .3s, border-color .3s; }
@media (hover: hover) { .bm-fu .btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }

/* Zones majorées (bmZones, bmod.js ; owner 2026-11-29) : carte à gauche, zones à droite sur ordinateur ; carte puis zones sur téléphone. */
.bm-zw { max-width: 1180px; }
.bm-zw.bm-zlock { max-width: 640px; }
.bm-zgrid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .bm-zgrid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; } }
.bm-zmap { height: 360px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #eef3f8; position: relative; z-index: 0; }
@media (min-width: 1000px) { .bm-zmap { height: 540px; position: sticky; top: 16px; } }
.bm-zmap .leaflet-control-attribution { font-size: 9px; }
.bm-zmap .leaflet-editing-icon { border-radius: 50%; border: 2px solid #0e1b3d; background: #fff; }
.bm-zdot { width: 12px; height: 12px; border-radius: 4px; flex: none; background: var(--gold); }
.bm-zdot.off { background: transparent; border: 1.5px dashed var(--muted); }
.bm-znone { margin: 0; padding: 4px 0 6px; }
.bm-zedit { margin: 0 0 12px; }
.bm-zhint { margin: -4px 0 16px; }
.bm-zedit .bm-vbtns { flex-wrap: wrap; }
.bm-sp { flex: 1; }

/* Aperçus des 4 nouveaux modèles et de l'Épuré en phrase (bmW, étape 5 ; owner 2026-11-29) */
.w-chat .w-q { width: fit-content; max-width: 86%; margin: 0 0 8px; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #eef0f4; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.w-chat .w-a { width: fit-content; max-width: 80%; margin: 0 0 10px auto; padding: 9px 12px; border-radius: 14px 14px 4px 14px; border: 1px solid var(--wa, #cda55b); background: color-mix(in srgb, var(--wa, #cda55b) 10%, #fff); font-size: 13px; font-weight: 800; }
.w-vit .w-vc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.w-vit .w-vc > div { border: 1px solid #d5d9e2; border-radius: 12px; overflow: hidden; font-size: 12px; font-weight: 800; }
.w-vit .w-vc > div.on { border-color: var(--wa, #cda55b); }
.w-vit .w-vc span { display: block; padding: 6px 9px 9px; }
.w-vit .w-vc b { display: block; font-size: 11px; font-weight: 700; color: #5f6679; }
.w-car { display: block; width: 100%; height: 54px; padding: 8px 14px; background: #f1f2f5; }
.w-car .bd { fill: var(--wm, #0e1b3d); } .w-car circle { fill: #1b1f27; }
.w-vol h4 { font-size: 15px; }
.w-fl { border-color: var(--wa, #cda55b); font-size: 15px; letter-spacing: .04em; }
.w-sent { margin: 2px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.55; }
.w-sent u { text-decoration: none; border-bottom: 2px solid var(--wm, #0e1b3d); padding: 0 2px; }
.w-big { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.w-x { padding: 10px !important; }
.w-x .w-f { padding: 8px 10px; }
.w-dk .w-q { background: #16203a; color: #eef0f5; }
.w-dk .w-a { background: color-mix(in srgb, var(--wa, #cda55b) 14%, #0d1529); color: #eef0f5; }
.w-dk .w-vc > div { border-color: #2a3655; }
.w-dk .w-vc b { color: #9ba3b6; }
.w-dk .w-car { background: #16203a; } .w-dk .w-car .bd { fill: #dfe3ec; }
.w-dk .w-sent u { border-color: #eef0f5; }
.bm .w.w-dk.w-mini, .bm-tpov .w.w-dk.w-mini { border-color: #2a3655; }
