/* EasyBusiness — page « Je m'abonne » (/subscribe), demande en six étapes. Complète style.css et premium.css.
   Sans JavaScript, les étapes s'affichent à la suite et le formulaire s'envoie tel quel ; abonnement.js pose .is-js
   sur .wiz pour passer en mode pas à pas. */

/* ===== En-tête compact, la carte vient mordre dessus ===== */
.sub-hero { margin-bottom: 0; padding-bottom: 80px; }
.sub-hero .page-hero__text { max-width: 760px; margin: 0 auto; text-align: center; }
.sub-hero .page-hero__text .h1 { font-size: 52px; }
.sub-hero .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.sub { padding-top: 64px; padding-bottom: 96px; }

/* ===== Mise en page : carte + récapitulatif ===== */
.wiz { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.wiz__main { min-width: 0; }
.wiz__card { background: var(--white); border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-top: 0; padding: 40px 40px 32px; box-shadow: var(--shadow); }
.wiz__top { background: var(--white); border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 22px 32px 18px; box-shadow: var(--shadow); position: relative; z-index: 1; }

/* ===== Barre d'étapes ===== */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: none; }
.stepper__item { position: relative; text-align: center; }
.stepper__item::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; background: var(--line-2); transition: background .3s var(--ease); }
.stepper__item:first-child::before { display: none; }
.stepper__item.is-done::before, .stepper__item.is-current::before { background: var(--brand); }
.stepper__item button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; cursor: default; }
.stepper__item.is-done button { cursor: pointer; }
.stepper__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--font-head); color: var(--muted); background: var(--white); border: 2px solid var(--line-2); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); position: relative; z-index: 1; }
.stepper__label { font: 600 13px var(--font-body); color: var(--muted); transition: color .25s; }
.stepper__item.is-current .stepper__dot { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-100); }
.stepper__item.is-current .stepper__label { color: var(--ink); }
.stepper__item.is-done .stepper__dot { font-size: 0; color: #fff; background: var(--brand); border-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); background-size: 18px; background-repeat: no-repeat; background-position: center; }
.stepper__item.is-done .stepper__label { color: var(--ink-2); }
.stepper__item.is-done button:hover .stepper__dot { box-shadow: 0 0 0 4px var(--brand-100); }
.stepper__item button:focus-visible .stepper__dot { box-shadow: 0 0 0 4px var(--brand-100); }
.stepper-m { display: none; }

.wiz[hidden], .wiz [hidden] { display: none !important; }

/* ===== Étapes ===== */
.wstep[hidden] { display: none; }
/* Sans script : toutes les étapes, pas de navigation pas à pas ni de calendrier dessiné */
.wiz:not(.is-js) .wiz__top, .wiz:not(.is-js) [data-prev], .wiz:not(.is-js) [data-next], .wiz:not(.is-js) [data-skip], .wiz:not(.is-js) .cal, .wiz:not(.is-js) .pick, .wiz:not(.is-js) .geo-field, .wiz:not(.is-js) .wiz__side { display: none; }
.wiz:not(.is-js) { grid-template-columns: minmax(0, 1fr); }
.wiz:not(.is-js) .wstep + .wstep { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.wiz:not(.is-js) .wiz__card { border-radius: var(--radius-lg); border-top: 1px solid var(--line); }
.wiz.is-js .wstep:not(.is-current), .wiz.is-js .cal__native { display: none; }
.wstep { animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step__head { margin-bottom: 28px; }
.step__kicker { display: block; font: 700 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.step__head .h3 { font-size: 26px; letter-spacing: -.02em; }
.step__head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 620px; }
.step__grid { margin-top: 28px; }
.step__aside { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.step__aside a { color: var(--brand); font-weight: 600; }
.step__aside a:hover { text-decoration: underline; }
.field__help { font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.5; }
/* Erreurs : mêmes couleurs que le formulaire de contact (premium.css) */
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d92d20; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Périodicité */
.seg-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 22px; }
.seg { display: flex; width: max-content; max-width: 100%; padding: 4px; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.seg-hint { margin: 0; font-size: 13.5px; color: var(--muted); }
.seg-hint b { color: #047857; font-weight: 700; white-space: nowrap; }
/* Périodicité : boutons radio, utilisables sans script */
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { font: 600 14px var(--font-body); color: var(--ink-2); border-radius: 999px; height: 40px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; transition: background .25s var(--ease), color .25s var(--ease); }
.seg label:hover > span { color: var(--ink); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg label > span i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0d9488; background: rgba(13, 148, 136, .12); border-radius: 999px; padding: 3px 8px; }
.seg input:checked + span i { color: #5eead4; background: rgba(94, 234, 212, .16); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Cartes d'édition */
.eds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ed { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 18px; border: 1.5px solid var(--line-2); border-radius: var(--radius-lg); background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background .2s; }
.ed:hover { border-color: var(--brand); transform: translateY(-2px); }
.ed input { position: absolute; opacity: 0; pointer-events: none; }
.ed:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.ed:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--brand-100); border-color: var(--brand); }
.ed__badge { position: absolute; top: -11px; left: 20px; font: 700 10.5px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--brand); border-radius: 999px; padding: 4px 10px; }
.ed__tick { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; background: var(--white); transition: background .2s, border-color .2s, color .2s; }
.ed__tick svg { width: 14px; height: 14px; }
.ed:has(input:checked) .ed__tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.ed__name { font: 700 19px var(--font-head); letter-spacing: -.015em; color: var(--ink); }
.ed__desc { font-size: 13.5px; color: var(--muted); line-height: 1.45; min-height: 39px; }
.ed__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin-top: 14px; }
.ed__price b { font: 800 30px var(--font-head); letter-spacing: -.03em; color: var(--ink); }
.ed__price span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ed__per { font-size: 12.5px; color: var(--muted); min-height: 19px; }
/* Même pastille verte que l'économie de la page Tarifs */
.ed__save { align-self: flex-start; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #047857; background: #e7f8ef; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ed__save.is-empty { visibility: hidden; }
.ed__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* Compteur de postes */
.count { display: inline-flex; align-items: stretch; width: max-content; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; height: 46px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.count:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.count button { all: unset; box-sizing: border-box; width: 46px; display: grid; place-items: center; font: 500 20px var(--font-body); color: var(--ink-2); cursor: pointer; background: var(--bg); transition: background .15s, color .15s; user-select: none; }
.count button:hover { background: var(--brand-50); color: var(--brand); }
.count button:focus-visible { background: var(--brand-50); color: var(--brand); }
.count input { width: 64px; height: auto; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; text-align: center; font: 700 16px var(--font-head); padding: 0; -moz-appearance: textfield; box-shadow: none; }
.count input:focus { box-shadow: none; }
.count input::-webkit-outer-spin-button, .count input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.count--sm { height: 38px; }
.count--sm button { width: 38px; font-size: 18px; }
.count--sm input { width: 48px; font-size: 15px; }

/* Notes */
.note { padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.55; background: var(--brand-50); color: var(--ink-2); border: 1px solid var(--brand-100); }
.note b { color: var(--ink); }
.note--warn { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }
.note--warn b { color: #7c2d12; }
.note--info { margin-top: 4px; }
.note .note__btn { all: unset; cursor: pointer; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
.note--warn .note__btn { color: #9a3412; }
.note[hidden] { display: none; }

/* Puces (réponses courtes) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--col { flex-direction: column; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--white); transition: border-color .15s, background .15s, color .15s; }
.chip span small { font-size: 12px; color: var(--muted); font-weight: 400; }
.chip:hover span { border-color: var(--brand); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-dark); font-weight: 600; }
.chip input:checked + span small { color: var(--brand); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-100); border-color: var(--brand); }
.chips--col .chip span { border-radius: 10px; width: 100%; justify-content: space-between; }

.choices--3 { grid-template-columns: repeat(3, 1fr); }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check-line input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1.5px solid #b6bfcf; border-radius: 5px; background: var(--white) no-repeat center; background-size: 12px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.check-line input:checked, .check-card input:checked { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.check-line input:focus-visible, .check-card input:focus-visible { box-shadow: 0 0 0 3px var(--brand-100); outline: none; }
.check-card { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.check-card:hover { border-color: var(--brand); }
.check-card:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.check-card input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; border: 1.5px solid #b6bfcf; border-radius: 5px; background: var(--white) no-repeat center; background-size: 12px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.check-card__txt { flex: 1; }
.check-card__logo { flex: none; align-self: center; width: 44px; height: 44px; margin-left: auto; }
.check-card span { display: flex; flex-direction: column; gap: 3px; font-weight: 400; }
.check-card b { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.check-card small { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Géolocalisation */
.geo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.geo .btn svg { width: 16px; height: 16px; margin-right: 8px; }
.geo__state { font-size: 13px; font-weight: 400; color: var(--muted); }
.geo__state.is-ok { color: #0f766e; font-weight: 600; }

/* ===== Matériel ===== */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.mode { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; background: var(--white); transition: border-color .2s, background .2s, box-shadow .2s; }
.mode:hover { border-color: var(--brand); }
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.mode:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--brand-100); }
.mode__ico { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); transition: background .2s, color .2s; }
.mode__ico svg { width: 22px; height: 22px; }
.mode:has(input:checked) .mode__ico { background: var(--brand); color: #fff; }
.mode__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mode__txt b { font: 700 14.5px var(--font-head); color: var(--ink); line-height: 1.3; }
.mode__txt small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.mat { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mat[hidden] { display: none; }
.hw__row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 18px; background: var(--white); }
.hw__row + .hw__row { border-top: 1px solid var(--line); }
/* Le visuel est posé en absolu dans un cadre de taille fixe : jamais étiré, jamais débordant */
.hw__img { position: relative; width: 80px; height: 68px; border-radius: 10px; background: var(--bg); overflow: hidden; }
.hw__img img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: contain; }
.hw__txt { min-width: 0; }
.hw__txt b { display: block; font: 700 14.5px var(--font-head); color: var(--ink); }
.hw__txt small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.hw__seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.hw__seg label { position: relative; cursor: pointer; }
.hw__seg input { position: absolute; opacity: 0; pointer-events: none; }
.hw__seg span { display: grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.hw__seg label:hover span { color: var(--ink); }
.hw__seg input:checked + span { background: var(--navy); color: #fff; }
.hw__seg input[value="need"]:checked + span { background: var(--brand); }
.hw__seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }
.hw__qty { width: 104px; display: flex; justify-content: flex-end; }
.hw__qty .count { visibility: hidden; }
.hw__row.has-qty .hw__qty .count { visibility: visible; }

/* ===== Calendrier ===== */
.sched { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 28px; align-items: start; }
.cal { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; background: var(--white); transition: opacity .2s; }
.cal.is-off { opacity: .45; pointer-events: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head b { display: block; font: 700 15px var(--font-head); color: var(--ink); }
.cal__head b::first-letter { text-transform: uppercase; }
.cal__nav { all: unset; box-sizing: border-box; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); transition: background .15s, color .15s; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav:hover { background: var(--brand-50); color: var(--brand); }
.cal__nav:focus-visible { box-shadow: 0 0 0 3px var(--brand-100); }
.cal__nav:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink-2); }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font: 600 11.5px var(--font-body); color: var(--muted); padding: 4px 0 8px; }
.cal__day { all: unset; box-sizing: border-box; height: 38px; display: grid; place-items: center; border-radius: 9px; font: 500 14px var(--font-body); color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.cal__day:hover:not(:disabled) { background: var(--brand-50); color: var(--brand); }
.cal__day:focus-visible { box-shadow: 0 0 0 3px var(--brand-100); }
.cal__day:disabled { color: #c3c9d6; cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cal__day.is-picked, .cal__day.is-picked:hover { background: var(--brand); color: #fff; font-weight: 700; box-shadow: none; }
.cal__blank { height: 38px; }
.sched__side { display: flex; flex-direction: column; gap: 18px; }
.pick { padding: 14px 16px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line-2); }
.pick.is-set { background: var(--brand-50); border: 1px solid var(--brand-100); }
.pick__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pick b { display: block; font: 700 16px var(--font-head); color: var(--ink); }
.pick b::first-letter { text-transform: uppercase; }

/* Personnes à former */
.trainees { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.trainee { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--white); }
.trainee + .trainee { border-top: 1px solid var(--line); }
.trainee b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.trainee small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* ===== Récapitulatif (étape 6) ===== */
.sum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sum__card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--white); }
.sum__card--full { grid-column: 1 / -1; }
.sum__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sum__head b { font: 700 12px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sum__edit { all: unset; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--brand); }
.sum__edit:hover { text-decoration: underline; }
.sum__edit:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sum__card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.sum__card dt { color: var(--muted); }
.sum__card dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.sum__card dd.is-empty { color: #9aa3b5; font-weight: 400; }
.est { margin: 22px 0 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.est__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 14.5px; color: var(--ink-2); }
.est__row + .est__row { border-top: 1px solid var(--line); }
.est__row b { font-family: var(--font-head); color: var(--ink); }
.est__row--soft { background: var(--bg); font-size: 13.5px; color: var(--muted); }
.est__row--total { background: var(--teal-50); color: var(--teal); font-weight: 600; }
.est__row--total b { color: var(--teal); font-size: 17px; }

/* Navigation */
.wiz__nav { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.wiz__spacer { flex: 1; }
.wiz__nav .btn { height: 48px; padding: 0 24px; }
.wiz__nav .btn--ghost { padding: 0 12px; color: var(--muted); }
.wiz__nav .btn--ghost:hover { color: var(--ink); transform: none; }
.wiz__nav [hidden] { display: none; }
.wiz__skip { all: unset; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--brand); padding: 6px 4px; }
.wiz__skip:hover { text-decoration: underline; text-underline-offset: 3px; }
.wiz__skip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wiz__help { margin: 18px 4px 0; font-size: 13.5px; color: var(--muted); }
.wiz__help a { color: var(--brand); font-weight: 600; }
.wiz__help a:hover { text-decoration: underline; }

/* ===== Colonne de droite ===== */
.wiz__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.recap { border-radius: var(--radius-lg); padding: 26px 24px; color: #fff; background: radial-gradient(420px 260px at 0% 0%, rgba(36, 87, 214, .55), transparent 70%), radial-gradient(360px 240px at 100% 100%, rgba(13, 148, 136, .4), transparent 70%), var(--night); box-shadow: var(--shadow-lg); }
.recap__eyebrow { font: 700 11.5px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #8fb0ff; }
.recap__plan { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; }
.recap__plan b { font: 700 22px var(--font-head); letter-spacing: -.02em; }
.recap__plan span { font-size: 13px; color: #b9c6e0; }
.recap__price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.recap__price b { font: 800 40px var(--font-head); letter-spacing: -.035em; line-height: 1; }
.recap__price span { font-size: 13.5px; color: #b9c6e0; }
.recap__per { font-size: 13px; color: #8fa2c6; margin-top: 6px; min-height: 19px; }
.recap__save { display: inline-flex; white-space: nowrap; margin-top: 10px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #5eead4; background: rgba(94, 234, 212, .12); }
.recap__save.is-hint { color: #b9c6e0; background: rgba(255, 255, 255, .07); }
.recap__save[hidden] { display: none; }
.recap__list { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 12px; }
.recap__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #dbe5ff; line-height: 1.45; }
.recap__list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #5eead4; }
.recap__list li.is-empty { color: #8fa2c6; }
.recap__list li.is-empty svg { color: #6b7ea3; }
.recap__zero { display: flex; gap: 12px; margin-top: 20px; padding: 14px; border-radius: 10px; background: rgba(94, 234, 212, .1); border: 1px solid rgba(94, 234, 212, .22); font-size: 13px; line-height: 1.5; color: #c9d6ef; }
.recap__zero svg { flex: none; width: 20px; height: 20px; color: #5eead4; margin-top: 1px; }
.recap__zero b { color: #fff; }
.after { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.after__title { display: block; font: 700 15px var(--font-head); color: var(--ink); margin-bottom: 14px; }
.after ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.after li { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.after li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11.5px var(--font-head); color: var(--brand); background: var(--brand-50); margin-top: 0; }

/* ===== Confirmation ===== */
.done[hidden] { display: none; }
.done { max-width: 760px; margin: 0 auto; animation: stepIn .45s var(--ease); }
.done__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 48px 40px; box-shadow: var(--shadow); text-align: center; }
.done__check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #14b8a6, #0d9488); box-shadow: 0 12px 28px -10px rgba(13, 148, 136, .7); }
.done__check svg { width: 30px; height: 30px; }
.done__card .h2 { font-size: 32px; margin: 12px 0 14px; }
.done__card .lead { font-size: 16.5px; max-width: 600px; margin: 0 auto; }
.done__card .lead b { color: var(--ink); white-space: nowrap; }
.done__steps { list-style: none; margin: 36px 0 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.done__steps li { display: flex; gap: 16px; padding: 16px 20px; align-items: flex-start; }
.done__steps li + li { border-top: 1px solid var(--line); }
.done__steps li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--font-head); color: #fff; background: var(--brand); }
.done__steps b { font: 700 15px var(--font-head); color: var(--ink); }
.done__steps p { margin: 3px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.done__steps p b { font: 600 14px var(--font-body); color: var(--ink-2); }
.done__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.done__mail { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.done__mail b { color: var(--ink-2); font-weight: 600; }

/* ===== Écrans étroits ===== */
@media (max-width: 1080px) {
  .wiz { grid-template-columns: 1fr; }
  .wiz__side { position: static; flex-direction: row; align-items: stretch; }
  .wiz__side > * { flex: 1; }
}
@media (max-width: 860px) {
  .sub-hero { padding-bottom: 56px; }
  .sub { padding-top: 40px; }
  .sub-hero .page-hero__text .h1 { font-size: 38px; }
  .wiz__side { flex-direction: column; }
  .wiz__top { padding: 18px 20px; }
  .stepper { display: none; }
  .stepper-m { display: block; }
  .stepper-m b { display: block; font: 700 14px var(--font-head); color: var(--ink); margin-bottom: 10px; }
  .stepper-m__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
  .stepper-m__bar i { display: block; height: 100%; width: 16.6%; background: linear-gradient(90deg, var(--brand), #14b8a6); border-radius: 999px; transition: width .35s var(--ease); }
  .wiz__card { padding: 28px 20px 24px; }
  .step__kicker { display: none; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 18px; }
  .seg label > span { width: 100%; justify-content: center; padding: 0 10px; }
  .seg label > span i { display: none; }
  .eds, .modes, .choices--3, .sum { grid-template-columns: 1fr; }
  .ed__desc { min-height: 0; }
  .sched { grid-template-columns: 1fr; }
  .step__head .h3 { font-size: 22px; }
  .hw__row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px 14px; }
  .hw__img { width: 72px; height: 62px; }
  .hw__seg { grid-column: 1 / -1; }
  .hw__seg label { flex: 1; }
  .hw__seg span { padding: 0 8px; }
  .hw__qty { grid-column: 1 / -1; width: auto; justify-content: flex-start; }
  .hw__row:not(.has-qty) .hw__qty { display: none; }
  .wiz__nav { flex-wrap: wrap; }
  .wiz__spacer { display: none; }
  .wiz__nav .btn--primary, .wiz__nav [data-submit] { flex: 1 1 100%; order: 1; }
  .wiz__nav [data-prev] { order: 2; }
  .wiz__skip { order: 3; margin-left: auto; }
  .done__card { padding: 36px 22px 30px; }
  .done__card .h2 { font-size: 26px; }
  .est__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .trainee { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .wstep, .done { animation: none; }
}

/* ===== Illustrations du hero, de part et d'autre du titre (dessinées par site.js) =====
   Gauche : la demande se remplit ligne par ligne puis part. Droite : date choisie, équipe formée, clé remise.
   Hero plus bas que les autres pages : illustrations plus petites et remontées pour rester entières. */
.dk--abonnement .dk__side { top: 96px; width: clamp(220px, 19vw, 300px); }
.dk .ab-l { fill: #fff; font-size: 15px; font-weight: 600; }
.dk .ab-v { fill: #9fb0cf; font-size: 14px; text-anchor: end; }
.dk .ab-dot { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.dk .ab-track { fill: rgba(255, 255, 255, .1); }
.dk .ab-bar { fill: #2dd4bf; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: abBar 8s ease-in-out infinite; }
.dk .ab-day { fill: rgba(255, 255, 255, .08); }
.dk .ab-day--off { fill: rgba(255, 255, 255, .03); }
.dk .ab-pick { fill: #2457d6; stroke: #8fb0ff; stroke-width: 1.5; }
.dk .ab-ico { fill: #0d9488; }
.dk .ab-icop { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dk .ab-1, .dk .ab-2, .dk .ab-3, .dk .ab-4, .dk .ab-5 { opacity: 0; transform-origin: center; animation: 8s cubic-bezier(.2, 1.3, .4, 1) infinite; }
.dk .ab-1 { animation-name: abIn1; } .dk .ab-2 { animation-name: abIn2; } .dk .ab-3 { animation-name: abIn3; } .dk .ab-4 { animation-name: abIn4; } .dk .ab-5 { animation-name: abIn5; }
@keyframes abIn1 { 0%, 6% { opacity: 0; transform: scale(.6); } 10% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes abIn2 { 0%, 18% { opacity: 0; transform: scale(.6); } 22% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes abIn3 { 0%, 30% { opacity: 0; transform: scale(.6); } 34% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes abIn4 { 0%, 42% { opacity: 0; transform: scale(.6); } 46% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes abIn5 { 0%, 54% { opacity: 0; transform: scale(.6); } 58% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes abBar { 0%, 6% { transform: scaleX(0); opacity: 1; } 10%, 18% { transform: scaleX(.25); } 22%, 30% { transform: scaleX(.5); } 34%, 42% { transform: scaleX(.75); } 46%, 88% { transform: scaleX(1); opacity: 1; } 94% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
/* Sous 1 240 px les illustrations passeraient derrière le titre : on les retire plutôt que de les estomper */
@media (max-width: 1240px) { .dk--abonnement { display: none; } }
@media (prefers-reduced-motion: reduce) { .dk .ab-bar { transform: none; } }
