/* Bande « Exemple d’automatisation » — page Automatisation uniquement (animation : fond-facture.js) */
.bande-anim h2 em{font-style:italic;color:var(--rose-ink)}
.ecran{max-width:min(100%,103vh);margin-inline:auto;border-radius:20px;overflow:hidden;background:#0A1A3F;box-shadow:0 30px 80px -20px rgba(0,35,102,.35),0 0 0 1px rgba(0,35,102,.08)}
.ecran-barre{position:relative;display:flex;align-items:center;gap:7px;height:48px;padding:0 6px 0 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.ecran-barre i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.22)}
.ecran-barre i:first-child{background:var(--rose)}
.ecran-barre span{position:absolute;left:50%;transform:translateX(-50%);padding:4px 18px;border-radius:999px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.6);font-size:12px;white-space:nowrap}
.ecran-commande{position:relative;margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 15px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:500 13px/1 var(--sans);cursor:pointer;transition:background .2s}
.ecran-commande::after{content:'';position:absolute;inset:-4px}
.ecran-commande:hover{background:rgba(255,255,255,.2)}
.ecran-commande:focus-visible{outline:2px solid var(--rose);outline-offset:2px}
.ecran-commande::before{content:'';width:10px;height:11px;background:currentColor}
.ecran-commande[data-etat="lecture"]::before{width:9px;background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 6px,currentColor 6px)}
.ecran-commande[data-etat="pause"]::before{clip-path:polygon(0 0,100% 50%,0 100%)}
.ecran-commande[data-etat="fin"]::before{width:13px;height:13px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 8a5.5 5.5 0 1 1-1.6-3.9'/%3E%3Cpath d='M12.5 1.5v3.2H9.3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 8a5.5 5.5 0 1 1-1.6-3.9'/%3E%3Cpath d='M12.5 1.5v3.2H9.3'/%3E%3C/svg%3E") center/contain no-repeat}
.ecran-scene{position:relative;aspect-ratio:16/9}
/* Légende : elle raconte l'histoire, au-dessus de la scène ; l'étape en cours s'allume pendant la lecture */
.bande-etapes{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px;margin:0 0 26px;padding:0;list-style:none;counter-reset:etape;color:var(--muted);font-size:15px}
.bande-etapes li{display:flex;align-items:center;gap:9px;counter-increment:etape;transition:color .3s}
.bande-etapes li::before{content:counter(etape);display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--rose-pale);color:var(--rose-ink);font-size:13px;font-weight:600;transition:background .3s,color .3s}
.bande-etapes li:not(:last-child)::after{content:'→';margin-left:5px;color:var(--rose-ink)}
.bande-etapes.synchro li.faite{color:var(--ink)}
.bande-etapes.synchro li[aria-current]{color:var(--ink);font-weight:600}
.bande-etapes.synchro li[aria-current]::before{background:var(--rose-ink);color:#fff}
@media (max-width:600px){
  .ecran{border-radius:12px}
  .ecran-barre{height:46px;padding:0 5px 0 10px;gap:5px}
  .ecran-barre i{width:7px;height:7px}
  .ecran-barre span{font-size:10px;padding:2px 10px}
  .ecran-commande{padding:0 13px}
  .bande-etapes{display:grid;grid-template-columns:1fr;justify-items:start;gap:12px;margin-bottom:22px;font-size:16px}
  .bande-etapes li:not(:last-child)::after{content:none}
}
@media (prefers-reduced-motion:reduce){.bande-etapes li,.bande-etapes li::before{transition:none}}
