/* Parcours de création d'un espace : grandes étapes et sous-étapes, assistant de configuration
   interactif (tableaux en direct), aperçus, animations. Complète espace-inscription.css. */

/* ═════════════ Parcours en grandes étapes et sous-étapes ═════════════ */
.ins-large .ins-rail{flex:0 0 330px;max-width:330px;padding:28px 24px;gap:24px}
.ins-large .ins-logo{width:150px}
.ins-large .ins-col{max-width:1140px}
.ins-parcours{display:flex;flex-direction:column;gap:14px}
.ins-grande-titre{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:#000383;margin-bottom:6px}
.ins-grande-titre span{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;background:#000383;color:#fff;font-size:11px;letter-spacing:0}
.ins-grande-titre em{font-style:normal;font-weight:600;font-size:9.5px;letter-spacing:.4px;padding:2px 6px;background:rgba(255,255,255,.45);color:#000383}
.ins-grande ol{list-style:none;display:flex;flex-direction:column;gap:2px;padding-left:10px;border-left:2px solid rgba(0,3,131,.18);margin-left:9px}
.ins-grande.ouverte ol{border-left-color:#000383}
.ins-grande li a,.ins-grande li .ins-sous{display:flex;align-items:center;gap:10px;padding:5px 8px;font-size:13px;font-weight:500;color:#000383;text-decoration:none;opacity:.7;transition:background .2s,opacity .2s,transform .2s}
.ins-grande li b{width:24px;height:24px;flex:none;display:flex;align-items:center;justify-content:center;border:1.5px solid #000383;font-size:10.5px;font-weight:700;transition:all .25s}
.ins-grande li .lib{flex:1;min-width:0}
.ins-grande li.lien a:hover{background:rgba(255,255,255,.35);opacity:1;transform:translateX(3px)}
.ins-grande li.fait a,.ins-grande li.fait .ins-sous{opacity:.95}
.ins-grande li.fait b{background:#000383;color:#fff}
.ins-grande li.encours .ins-sous{opacity:1;font-weight:700;background:rgba(255,255,255,.55)}
.ins-grande li.encours b{background:#fff;border-color:#fff;color:#000383;box-shadow:0 0 0 3px rgba(0,3,131,.18);animation:battement 2.4s ease-in-out infinite}
.ins-grande li.verrou .ins-sous{opacity:.45;cursor:not-allowed}
.ins-grande li .compte{font-style:normal;min-width:22px;padding:1px 6px;text-align:center;font-size:10.5px;font-weight:700;background:rgba(255,255,255,.5);color:#000383}
.ins-grande li.fait .compte{background:#000383;color:#fff}
@keyframes battement{0%,100%{box-shadow:0 0 0 3px rgba(0,3,131,.18)}50%{box-shadow:0 0 0 6px rgba(0,3,131,.08)}}
.saute{animation:saute .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes saute{0%{transform:scale(1)}40%{transform:scale(1.35)}100%{transform:scale(1)}}

/* Position et avancement (panneau marine) */
.ins-position{display:flex;flex-direction:column;gap:8px;margin-bottom:2px}
.ins-position p{font-size:12px;font-weight:500;color:rgba(255,255,255,.75)}
.ins-position p em{font-style:normal;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;padding:2px 6px;background:rgba(0,160,249,.25);color:#bfe6ff;margin-left:4px}
.ins-position p .sous{color:#fff;font-weight:600}
.ins-progression{height:4px;background:rgba(255,255,255,.12);overflow:hidden}
.ins-progression span{display:block;height:100%;width:var(--avance);background:linear-gradient(90deg,#00A0F9,#7fd3ff);animation:remplir 1s cubic-bezier(.2,.8,.2,1)}
@keyframes remplir{from{width:0}}
.ins-etapes-mobile{display:none}
.ins-etapes-mobile summary{cursor:pointer;font-size:12px;font-weight:600;color:#fff;list-style:none}
.ins-etapes-mobile summary::before{content:"☰  ";opacity:.7}
.ins-etapes-mobile .ins-parcours{margin-top:10px;padding:14px;background:#00A0F9}

/* Accès direct à l'espace (panneau cyan) */
.acces{display:flex;flex-direction:column;gap:8px;padding:14px;background:#fff;color:#000383;font-size:12.5px;line-height:1.5;box-shadow:0 8px 24px rgba(0,3,131,.18);animation:montee .5s ease-out}
.acces strong{font-size:14px}
.acces .btn{width:100%}
.acces.attente{background:rgba(255,255,255,.35);box-shadow:none}
.acces-pied{display:none}

/* ═════════════ Carte : en-tête, guide ═════════════ */
.carte-tete{display:flex;align-items:flex-start;gap:16px}
.carte-icone{width:46px;height:46px;flex:none;display:flex;align-items:center;justify-content:center;background:#00A0F9;color:#000383;animation:pop .5s cubic-bezier(.3,1.5,.5,1)}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.carte-tete-texte{flex:1;min-width:0}
.surtitre{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:#0090e0;margin-bottom:4px}
.compteur{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:86px;padding:8px 12px;background:#000383;color:#fff}
.compteur b{font-size:26px;font-weight:700;line-height:1.1;display:inline-block}
.compteur span{font-size:10.5px;opacity:.75}
.pastille{display:inline-block;padding:2px 8px;font-size:10px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}
.pastille.obligatoire{background:#000383;color:#fff}
.pastille.facultatif{background:rgba(0,160,249,.15);color:#0067a3}
.pastille.ok{background:rgba(5,150,105,.12);color:#047857}
.pastille.att{background:rgba(217,119,6,.13);color:#92400e}
details.guide{background:#fff;border-left:3px solid #00A0F9;padding:0}
details.guide summary{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:13px;font-weight:600;color:#000383;cursor:pointer;list-style:none}
details.guide summary::-webkit-details-marker{display:none}
details.guide summary::after{content:"+";margin-left:auto;font-size:16px;transition:transform .25s}
details.guide[open] summary::after{transform:rotate(45deg)}
.guide-icone{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;background:#000383;color:#fff;font-size:12px;font-weight:700;border-radius:50%}
.guide-corps{padding:0 16px 14px 46px;font-size:12.5px;line-height:1.65;color:#444;animation:deroule .35s ease}
@keyframes deroule{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.guide-liste{margin:0 0 8px;padding-left:16px}
.guide-liste li{margin:3px 0}
.guide-liste b{color:#000383}
div.guide{background:#fff;padding:12px 16px;font-size:12.5px;color:#000383;border-left:3px solid #00A0F9}
.guide-etapes{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px}
.guide-etapes li{display:flex;align-items:center;gap:6px;font-size:12px;color:#444;animation:montee .4s ease-out both}
.guide-etapes li:nth-child(2){animation-delay:.06s}.guide-etapes li:nth-child(3){animation-delay:.12s}.guide-etapes li:nth-child(4){animation-delay:.18s}.guide-etapes li:nth-child(5){animation-delay:.24s}
.guide-etapes b{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;background:#000383;color:#fff;font-size:10px}

/* ═════════════ Atelier : formulaire + tableau en direct ═════════════ */
.atelier{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:20px;align-items:start}
.atelier-form{background:#fff;padding:20px;border:1px solid rgba(0,3,131,.1);position:sticky;top:16px;gap:16px}
.atelier-titre{grid-column:1/-1;font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#000383;padding-bottom:10px;border-bottom:1px solid rgba(0,3,131,.08)}
.atelier-liste{min-width:0;display:flex;flex-direction:column;gap:10px}
.liste-tete{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.liste-tete h2{font-size:15px;font-weight:700;color:#000383;display:flex;align-items:center;gap:8px}
.liste-tete h2 i{font-style:normal;font-size:11px;padding:2px 8px;background:#000383;color:#fff}
.liste-tete .muet{font-size:11px}
.tableau-cadre{overflow-x:auto;background:#fff;border:1px solid rgba(0,3,131,.1)}
table.tableau{width:100%;border-collapse:collapse;font-size:12.5px}
.tableau thead th{background:#000383;color:#fff;text-align:left;font-weight:600;font-size:10.5px;letter-spacing:.5px;text-transform:uppercase;padding:9px 10px;white-space:nowrap}
.tableau td{padding:9px 10px;border-bottom:1px solid rgba(0,3,131,.07);vertical-align:middle;color:#1a1a2e}
.tableau tbody tr{transition:background .2s}
.tableau tbody tr:hover{background:rgba(0,160,249,.06)}
.tableau .nb{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tableau .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;color:#555;white-space:nowrap}
.tableau small.bloc{display:flex;align-items:center;gap:5px;font-size:11px;color:#777;margin-top:2px}
.tableau tr.entree{animation:entree .4s ease-out both}
.tableau tr.nouvelle{animation:nouvelle 1.8s ease-out}
.tableau tr.nouvelle td{animation:entree .45s ease-out}
.tableau tr.retrait{opacity:.45}
.tableau tr.partie{opacity:0;transform:translateX(30px);transition:all .3s ease}
@keyframes entree{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes nouvelle{0%{background:rgba(0,160,249,.35)}100%{background:transparent}}
.actions{text-align:right;white-space:nowrap;width:1%}
.supprimer{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid transparent;background:transparent;color:#9aa0c4;cursor:pointer;font:inherit;font-size:11px;transition:all .2s}
.supprimer span{display:none}
.supprimer:hover{color:#DC2626;border-color:rgba(220,38,38,.3)}
.supprimer.confirmer{background:#DC2626;color:#fff;border-color:#DC2626;animation:secoue .3s}
.supprimer.confirmer span{display:inline}
@keyframes secoue{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
.vide{display:flex;flex-direction:column;align-items:center;gap:10px;padding:34px 20px;text-align:center;background:#fff;border:1.5px dashed rgba(0,3,131,.2);color:rgba(0,3,131,.45);font-size:12.5px}
.vide p{max-width:360px;color:#777}
.vide svg{animation:flotte 3s ease-in-out infinite}
@keyframes flotte{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.etiquette{display:inline-block;padding:2px 8px;font-size:11px;font-weight:600;background:rgba(0,3,131,.07);color:#000383;white-space:nowrap}
.role-gérant{background:rgba(15,118,110,.12);color:#0f766e}.role-vendeur{background:rgba(0,144,224,.12);color:#0067a3}.role-caissier{background:rgba(22,163,74,.12);color:#15803d}.role-magasinier{background:rgba(217,119,6,.13);color:#92400e}.role-comptable{background:rgba(124,58,237,.12);color:#6d28d9}
.avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:8px;background:#00A0F9;color:#000383;font-size:11px;font-weight:700;border-radius:50%;vertical-align:middle;flex:none}
.puce{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:middle;flex:none}
.mention-tva{font-weight:400;font-size:11px;color:#888}
.tableau small.ttc{justify-content:flex-end}
.marge.hausse{color:#047857;font-weight:600}.marge.baisse{color:#DC2626;font-weight:600}
.choix label{position:relative}
.choix.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.choix.compact label{padding:10px}
.choix.compact small{display:none}
.choix.compact label:has(input:checked) small{display:block;animation:deroule .3s ease}
.tuile-choix .tuile-icone{width:34px;height:34px;flex:none;display:flex;align-items:center;justify-content:center;background:rgba(0,160,249,.15);color:#000383;transition:all .25s}
.tuile-choix:has(input:checked) .tuile-icone{background:#000383;color:#fff;transform:rotate(-6deg) scale(1.05)}
.tuile-choix input{position:absolute;opacity:0}

/* Suggestions et nuancier */
.suggestions{display:flex;flex-direction:column;gap:8px}
.suggestions p{font-size:12px;color:#666}
.puces{display:flex;flex-wrap:wrap;gap:8px}
.puce-suggestion{padding:7px 12px;border:1.5px dashed #00A0F9;background:#fff;color:#000383;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:all .2s;animation:pop .4s cubic-bezier(.3,1.5,.5,1) both}
.puce-suggestion:hover{background:#00A0F9;border-style:solid;transform:translateY(-2px)}
.puce-suggestion.prise{opacity:.4;pointer-events:none}
.nuancier{display:flex;flex-wrap:wrap;gap:8px}
.nuancier label{cursor:pointer;position:relative}
.nuancier input{position:absolute;opacity:0}
.nuancier span{display:block;width:28px;height:28px;border-radius:50%;background:var(--c);border:3px solid #fff;box-shadow:0 0 0 1px rgba(0,3,131,.2);transition:transform .2s}
.nuancier input:checked+span{transform:scale(1.18);box-shadow:0 0 0 2px #000383}
.nuancier input:focus-visible+span{outline:2px solid #00A0F9;outline-offset:2px}

/* Indicateurs */
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.kpis.cinq{grid-template-columns:repeat(5,minmax(0,1fr))}
.kpi{background:#fff;border-top:3px solid #00A0F9;padding:12px 14px;display:flex;flex-direction:column;gap:2px;animation:montee .45s ease-out both}
.kpi:nth-child(2){animation-delay:.06s}.kpi:nth-child(3){animation-delay:.12s}.kpi:nth-child(4){animation-delay:.18s}.kpi:nth-child(5){animation-delay:.24s}
.kpi span{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:#777}
.kpi b{font-size:22px;font-weight:700;color:#000383;font-variant-numeric:tabular-nums;display:inline-block}
.kpi small{font-size:10.5px;color:#888}
.marge-direct{padding:8px 12px;font-size:12px;font-weight:600;animation:deroule .25s ease}
.marge-direct.hausse{background:rgba(5,150,105,.1);color:#047857}
.marge-direct.baisse{background:rgba(220,38,38,.08);color:#b91c1c}

/* Notifications */
.toasts{position:fixed;top:18px;right:18px;z-index:50;display:flex;flex-direction:column;gap:8px;max-width:360px}
.toast{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#fff;color:#1a1a2e;font-size:12.5px;line-height:1.45;box-shadow:0 10px 30px rgba(0,3,131,.28);border-left:4px solid #059669;animation:glisse .35s cubic-bezier(.2,.9,.3,1.2)}
.toast.err{border-left-color:#DC2626}
.toast-icone{width:20px;height:20px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#059669;color:#fff;font-size:11px;font-weight:700}
.toast.err .toast-icone{background:#DC2626}
.toast.sort{opacity:0;transform:translateX(40px);transition:all .35s ease}
@keyframes glisse{from{opacity:0;transform:translateX(60px)}to{opacity:1;transform:none}}

/* Navigation des étapes */
.pied-etapes{align-items:center}
.pied-droite{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.btn .fleche{display:inline-block;transition:transform .2s}
.btn:hover .fleche{transform:translateX(3px)}
.btn.lien:hover .fleche{transform:translateX(-3px)}
.btn:active{transform:scale(.98)}
.btn.bloque{opacity:.45;cursor:not-allowed}
.btn.envoi{position:relative;color:transparent!important;pointer-events:none}
.btn.envoi::after{content:"";position:absolute;width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:tourne .6s linear infinite}
.btn.sec.envoi::after{border-color:rgba(0,3,131,.25);border-top-color:#000383}
@keyframes tourne{to{transform:rotate(360deg)}}
.btn.en-ligne{padding:0;display:inline;text-decoration:underline;opacity:1}

/* ═════════════ Inscription : aperçus en direct ═════════════ */
.deux-colonnes{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}
.apercu{position:sticky;top:16px;display:flex;flex-direction:column;gap:10px}
.apercu-titre{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#0090e0;display:flex;align-items:center;gap:6px}
.apercu-titre::before{content:"";width:8px;height:8px;border-radius:50%;background:#22c55e;animation:battement-vert 1.6s infinite}
@keyframes battement-vert{0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.6)}50%{box-shadow:0 0 0 5px rgba(34,197,94,0)}}
.apercu-note{font-size:11.5px;color:#777;line-height:1.5}
.navigateur{background:#fff;box-shadow:0 12px 30px rgba(0,3,131,.18);overflow:hidden}
.navigateur-barre{display:flex;align-items:center;gap:5px;padding:8px 10px;background:#e8eaf2}
.navigateur-barre i{width:8px;height:8px;border-radius:50%;background:#c4c8d8}
.navigateur-url{margin-left:6px;flex:1;min-width:0;padding:4px 8px;background:#fff;font-size:10.5px;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.navigateur-url b{color:#000383}
.vibre .navigateur-url{animation:vibre .3s}
@keyframes vibre{50%{background:#e0f4ff}}
.navigateur-page{display:flex;height:170px}
.mini-cyan{flex:1;background:#00A0F9}
.mini-marine{flex:1.2;background:#000383;display:flex;align-items:center;justify-content:center}
.mini-carte{width:80%;background:#F0F1F6;padding:12px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.mini-carte strong{font-size:10.5px;color:#000383;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.mini-logo{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#000383;color:#fff;font-size:11px;font-weight:700}
.mini-ligne{width:90%;height:1.5px;background:#000383;opacity:.5;margin-top:6px}
.mini-bouton{margin-top:6px;padding:3px 10px;background:#000383;color:#fff;font-size:8.5px}
.facture{background:#fff;padding:16px;box-shadow:0 12px 30px rgba(0,3,131,.18);display:flex;flex-direction:column;gap:12px;font-size:11px;color:#444}
.facture-tete{display:flex;gap:10px;align-items:flex-start;padding-bottom:10px;border-bottom:2px solid #000383}
.facture-tete>div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.facture-tete strong{font-size:13px;color:#000383}
.facture-logo{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;background:#000383 center/contain no-repeat;color:#fff;font-weight:700;font-size:14px}
.facture-logo.image{background-color:#fff;border:1px solid #eee}
.facture-titre{display:flex;justify-content:space-between;align-items:baseline}
.facture-titre strong{font-size:14px;letter-spacing:2px;color:#000383}
.facture-lignes{display:flex;flex-direction:column;gap:6px}
.facture-lignes span{height:7px;background:#eef0f6}
.facture-lignes span:nth-child(2){width:80%}.facture-lignes span:nth-child(3){width:60%}
.facture-total{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#000383;color:#fff}
.facture-total .montant{font-weight:700;font-size:13px}
.facture-pied{font-size:9.5px;color:#888;border-top:1px solid #eee;padding-top:8px}
.flash{animation:flash-texte .6s ease}
@keyframes flash-texte{0%{background:rgba(0,160,249,.35)}100%{background:transparent}}
.sous-titre{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#000383;text-transform:uppercase;letter-spacing:.4px;padding-top:12px;border-top:1px solid rgba(0,3,131,.08)}
.sous-titre:first-of-type{border-top:0;padding-top:0}
.sous-titre span{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;background:#00A0F9;color:#000383;font-size:11px}
label.depot{cursor:pointer;transition:all .2s;position:relative}
label.depot:hover{border-color:#000383;background:#f7f8ff;transform:translateY(-2px)}
label.depot.rempli{border-style:solid;border-color:#059669;background:rgba(5,150,105,.04)}
.depot.pulse{animation:pop .4s ease}
.cache{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.note ul{margin:6px 0;padding-left:18px}

/* Compte : mot de passe */
.mdp{display:flex;align-items:center;border-bottom:1.5px solid #000383}
.mdp:focus-within{border-bottom-color:#00A0F9}
.mdp input{border:0!important;flex:1;min-width:0}
.voir{background:none;border:0;cursor:pointer;opacity:.4;padding:4px;display:flex;transition:opacity .2s}
.voir:hover,.voir.actif{opacity:.9}
.force{gap:8px}
.force-barre{height:5px;background:rgba(0,3,131,.08);overflow:hidden}
.force-barre span{display:block;height:100%;width:0;background:#DC2626;transition:width .35s ease,background .35s}
.force-barre span[data-niveau="2"]{background:#d97706}.force-barre span[data-niveau="3"]{background:#00A0F9}.force-barre span[data-niveau="4"]{background:#059669}
.force-regles{list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11.5px;color:#888}
.force-regles li::before{content:"○ "}
.force-regles li.ok{color:#047857}
.force-regles li.ok::before{content:"✓ "}
.aide.vert{color:#047857}.aide.rouge{color:#DC2626}
input.lecture{color:#777!important;border-bottom-style:dashed!important}

/* Vérification */
.carte-centree{align-items:center;text-align:center}
.carte-centree .pied{width:100%}
.sceau{width:72px;height:72px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(0,160,249,.15);color:#000383;animation:pop .5s cubic-bezier(.3,1.5,.5,1)}
.sceau.ok{background:#059669;color:#fff}
.sceau .trait{stroke-dasharray:30;stroke-dashoffset:30;animation:trace .6s .3s ease forwards}
@keyframes trace{to{stroke-dashoffset:0}}
.code-form{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}

/* ═════════════ Aperçu final ═════════════ */
.apercu-grille{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;align-items:start}
.bloc-apercu{background:#fff;padding:18px;display:flex;flex-direction:column;gap:12px;border:1px solid rgba(0,3,131,.1)}
.bloc-apercu h2{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#000383}
.controle{list-style:none;display:flex;flex-direction:column;gap:6px}
.controle li{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#F7F8FC;font-size:12.5px;animation:montee .4s ease-out both}
.controle li:nth-child(2){animation-delay:.05s}.controle li:nth-child(3){animation-delay:.1s}.controle li:nth-child(4){animation-delay:.15s}.controle li:nth-child(5){animation-delay:.2s}
.controle li>span:nth-child(2){flex:1}
.controle small{color:#888}
.controle .coche{width:22px;height:22px;flex:none;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;background:#e5e7ef;color:#888}
.controle li.ok .coche{background:#059669;color:#fff}
.controle li.manque .coche{background:#DC2626;color:#fff}
.controle a{font-size:11.5px;font-weight:600}
.arbre{list-style:none;font-size:12.5px;display:flex;flex-direction:column;gap:6px}
.arbre>li{padding:8px 10px;border-left:3px solid #000383;background:#F7F8FC}
.arbre ul{list-style:none;margin-top:4px;padding-left:12px}
.arbre ul li::before{content:"└ ";color:#9aa0c4}
.arbre small{color:#888}
.equipe-mini{list-style:none;display:flex;flex-direction:column;gap:6px;font-size:12.5px}
.equipe-mini li{display:flex;align-items:center;gap:6px}
.pos{background:#1a1a2e;padding:10px;display:flex;flex-direction:column;gap:8px;box-shadow:0 14px 34px rgba(0,3,131,.3)}
.pos-barre{display:flex;justify-content:space-between;font-size:11px;color:#c8ccf5;padding:2px 4px}
.pos-onglets{display:flex;gap:5px;overflow-x:auto}
.pos-onglets span{padding:4px 9px;font-size:10.5px;color:#fff;background:rgba(255,255,255,.08);border-bottom:2px solid var(--c,#00A0F9);white-space:nowrap}
.pos-onglets span.actif{background:#00A0F9;color:#000383;font-weight:700}
.pos-grille{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pos-tuile{background:#fff;padding:10px 8px;min-height:64px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;border-top:4px solid var(--c);animation:pop .45s cubic-bezier(.3,1.5,.5,1) both;transition:transform .2s}
.pos-tuile:hover{transform:translateY(-3px)}
.pos-tuile strong{font-size:11px;color:#1a1a2e;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pos-tuile span{font-size:11px;font-weight:700;color:#000383}
.pos-vide{grid-column:1/-1;padding:20px;text-align:center;background:#fff}
.pos-total{display:flex;justify-content:space-between;padding:8px 10px;background:#00A0F9;color:#000383;font-size:12px}
.lancement{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:linear-gradient(110deg,#00A0F9,#5cc7ff);color:#000383}
.lancement>div{display:flex;flex-direction:column;gap:4px;max-width:640px;font-size:12.5px}
.lancement strong{font-size:16px}
.btn-lancer{padding:14px 26px;font-size:13.5px;font-weight:600;animation:appel 2.2s infinite}
@keyframes appel{0%{box-shadow:0 0 0 0 rgba(0,3,131,.45)}70%{box-shadow:0 0 0 14px rgba(0,3,131,0)}100%{box-shadow:0 0 0 0 rgba(0,3,131,0)}}

/* ═════════════ Écrans moyens et petits ═════════════ */
@media (max-width:1180px){
  .atelier{grid-template-columns:minmax(0,1fr)}
  .atelier-form{position:static}
  .deux-colonnes{grid-template-columns:minmax(0,1fr)}
  .apercu{position:static}
  .apercu-grille{grid-template-columns:minmax(0,1fr)}
  .kpis.cinq{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .ins-etapes-mobile{display:block}
  .acces-pied:not([hidden]){display:inline-block}
  .carte-tete{flex-wrap:wrap}
  .compteur{flex-direction:row;gap:6px;min-width:0}
}
@media (max-width:640px){
  .kpis,.kpis.cinq{grid-template-columns:repeat(2,minmax(0,1fr))}
  .choix.compact{grid-template-columns:minmax(0,1fr)}
  .pos-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  .toasts{left:12px;right:12px;max-width:none}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Groupes de champs sans cadre */
fieldset.champ{border:0;padding:0;margin:0;min-width:0}
legend.legende{padding:0;margin-bottom:8px}

/* Un élément masqué le reste, quel que soit son style d'affichage. */
[hidden]{display:none!important}
