/* =====================================================================
 * Pages d'identification — concept A, « Tableau des départs »
 *
 * À gauche, l'identité : la marque de l'agence, un tableau des départs, une
 * accroche. À droite, le travail : un formulaire nu et rapide, qu'on franchit
 * chaque matin. La page est vue avant l'identification : rien d'autre qu'un
 * décor et un formulaire.
 * ===================================================================== */

body.sa-auth {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    color: #0A1830;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

.sa-auth {
    --auth-navy: #0A1830;
    --auth-blue: #1E6BB8;
    --auth-blue-dk: #15579E;
    --auth-signal: #F2B32A;
    --auth-muted: #5B6B80;
    --auth-line: #D5DDE8;
    --auth-display: 'Sora', 'Inter', 'Segoe UI', system-ui, sans-serif;
    --auth-mono: ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
}

.sa-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

/* ------------------------------------------------------- Le panneau marine */

.sa-auth-side {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 40px 48px;
    background: var(--auth-navy);
    color: #C9D6E8;
    overflow: hidden;
}

/* Des cercles d'approche, très discrets : l'horizon d'un radar. */
.sa-auth-side::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(159, 182, 210, .13);
    box-shadow: 0 0 0 48px rgba(159, 182, 210, .035), 0 0 0 96px rgba(159, 182, 210, .025);
    pointer-events: none;
}

.sa-auth-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sa-auth-mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--auth-blue);
    color: #fff;
    font: 700 15px var(--auth-display);
}

/* Avec un logo, la pastille devient un cartouche blanc : une enseigne
   posee sur du bleu sombre ne se lit pas, et la plupart sont dessinees
   pour du blanc. Sans logo, les initiales gardent le fond bleu. */
.sa-auth-mark-logo {
    width: 48px;
    height: 48px;
    background: #fff;
    padding: 3px;
    overflow: hidden;
}

.sa-auth-mark-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sa-auth-brand b {
    display: block;
    color: #fff;
    font: 700 15px var(--auth-display);
    letter-spacing: .04em;
}

.sa-auth-brand small {
    color: #9FB6D2;
    font-size: 12px;
}

/* Le tableau des départs. */
.sa-auth-board {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 16px 18px 10px;
    border-radius: 14px;
    background: #06101F;
    border: 1px solid rgba(159, 182, 210, .14);
    font-family: var(--auth-mono);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.sa-auth-board-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--auth-signal);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
}

.sa-auth-board-title span:last-child {
    color: #9FB6D2;
    letter-spacing: .08em;
}

.sa-auth-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 84px 128px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid rgba(159, 182, 210, .1);
}

.sa-auth-row.h {
    padding-top: 0;
    border-top: 0;
    color: #5F7896;
    font-size: 10.5px;
    letter-spacing: .14em;
}

/* Chaque caractère sur sa palette, fendue en deux comme un vrai tableau. */
.sa-flap {
    position: relative;
    padding: 3px 0 3px 2px;
    border-radius: 3px;
    color: #EAF1FA;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1em;
    white-space: nowrap;
    overflow: hidden;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1.05ch, transparent 1.05ch 1.2ch);
}

.sa-flap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, .45);
}

.sa-auth-st {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    white-space: nowrap;
}

.sa-auth-st.on   { color: #7FD4A8; }
.sa-auth-st.go   { color: var(--auth-signal); }
.sa-auth-st.gate { color: #9FB6D2; }

.sa-auth-tagline {
    position: relative;
    z-index: 1;
    margin: auto 0 0;
    max-width: 21ch;
    color: #fff;
    font: 600 clamp(22px, 2.3vw, 31px)/1.25 var(--auth-display);
    letter-spacing: -.012em;
}

.sa-auth-tagline em {
    font-style: normal;
    color: var(--auth-signal);
}

.sa-auth-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6F87A6;
    font-size: 12px;
}

/* La signature du produit : symbole, nom en Sora, éditeur en petites capitales. */
.sa-signature {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.sa-signature img {
    width: 26px;
    height: 26px;
}

.sa-signature b {
    display: block;
    color: #fff;
    font: 700 13.5px/1.05 var(--auth-display);
    letter-spacing: -.005em;
}

.sa-signature b span {
    color: #4A9BD8;
    font-weight: 600;
}

.sa-signature small {
    display: block;
    margin-top: 2px;
    color: #6F87A6;
    font: 600 8.5px var(--auth-mono);
    letter-spacing: .12em;
}

/* ------------------------------------------------------ Le formulaire */

.sa-auth-main {
    display: grid;
    place-items: center;
    padding: 40px 32px;
    background: #fff;
}

.sa-auth-card {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 380px;
}

.sa-auth-eyebrow {
    color: var(--auth-blue);
    font: 600 11.5px var(--auth-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.sa-auth-card h1 {
    margin: 0;
    color: var(--auth-navy);
    font: 700 30px/1.15 var(--auth-display);
    letter-spacing: -.02em;
}

.sa-auth-sub {
    margin: -8px 0 0;
    color: var(--auth-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.sa-auth-form {
    display: grid;
    gap: 18px;
}

.sa-auth-field {
    display: grid;
    gap: 7px;
}

.sa-auth-field label {
    margin: 0;
    color: #243449;
    font-size: 13px;
    font-weight: 600;
}

.sa-auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.sa-auth-label-row a,
.sa-auth-back {
    color: var(--auth-blue);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.sa-auth-label-row a:hover,
.sa-auth-back:hover { color: var(--auth-blue-dk); text-decoration: underline; }

.sa-auth-input {
    position: relative;
}

.sa-auth-input .ico {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    color: #8492A6;
    pointer-events: none;
}

.sa-auth-input input {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 0 46px 0 43px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    background: #fff;
    color: var(--auth-navy);
    font: 400 15px 'Inter', 'Segoe UI', system-ui, sans-serif;
    box-shadow: none;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sa-auth-input input:focus {
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 3px rgba(30, 107, 184, .16);
}

.sa-auth-input input:focus ~ .ico,
.sa-auth-input:focus-within .ico { color: var(--auth-blue); }

.sa-auth-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--auth-muted);
    transform: translateY(-50%);
    cursor: pointer;
}

.sa-auth-eye svg { width: 18px; height: 18px; }
.sa-auth-eye:hover { background: #F1F4F8; color: var(--auth-navy); }
.sa-auth-eye[aria-pressed="true"] { color: var(--auth-blue); }

.sa-auth-remember {
    margin: -4px 0 0;
    font-size: 13.5px;
    color: #475569;
}

.sa-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 99px;
    background: var(--auth-blue);
    color: #fff;
    font: 600 15px 'Inter', 'Segoe UI', system-ui, sans-serif;
    box-shadow: 0 8px 20px rgba(30, 107, 184, .28);
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.sa-auth-submit svg { width: 17px; height: 17px; transition: transform .15s ease; }
.sa-auth-submit:hover { background: var(--auth-blue-dk); box-shadow: 0 10px 24px rgba(21, 87, 158, .32); }
.sa-auth-submit:hover svg { transform: translateX(3px); }

.sa-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    font-weight: 600;
}

.sa-auth-back svg { width: 16px; height: 16px; }

.sa-auth-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 0;
    color: var(--auth-muted);
    font-size: 12px;
}

.sa-auth-secure svg { flex: none; width: 16px; height: 16px; color: #1F9D63; }

.sa-auth .alert {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    text-align: left;
}

.sa-auth #alerts { padding: 0; }
.sa-auth .row { margin: 0; }

.sa-auth a:focus-visible,
.sa-auth button:focus-visible,
.sa-auth input:focus-visible {
    outline: 3px solid var(--auth-signal);
    outline-offset: 2px;
}

/* ------------------------------------------------------ Écrans étroits */

@media (max-width: 991px) {
    .sa-auth-shell { grid-template-columns: minmax(0, 1fr); }

    .sa-auth-side {
        gap: 14px;
        padding: 22px 24px 24px;
    }

    .sa-auth-side::after,
    .sa-auth-board,
    .sa-auth-foot { display: none; }

    .sa-auth-tagline {
        margin: 0;
        font-size: 20px;
    }

    .sa-auth-main {
        align-items: start;
        padding: 30px 20px 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sa-auth * { transition: none !important; }
}

/* =====================================================================
 * Les scènes des formules (views/auth/scenes/). Le tableau des départs
 * est plus haut ; les autres métiers suivent. Même panneau marine, même
 * rythme : un objet du métier, qui s'anime une fois puis se fige.
 * ===================================================================== */

.sa-scene-ticket,
.sa-scene-chantier,
.sa-scene-lots,
.sa-scene-caisse,
.sa-scene-bons {
    position: relative;
    z-index: 1;
}

@keyframes sa-auth-apparait {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Commerce : le ticket de caisse ---------- */

.sa-scene-ticket { max-width: 360px; transform: rotate(-1.5deg); }
/* Quincaillerie : le même ticket, d'un comptoir de matériaux. */
.sa-scene-chantier { max-width: 360px; transform: rotate(1.2deg); }

.sa-ticket-papier {
    position: relative;
    padding: 20px 22px 24px;
    background: #FBFAF6;
    color: #1B2433;
    font: 13px/1.5 var(--auth-mono);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

/* Le bord déchiré du rouleau. */
.sa-ticket-papier::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 10px;
    background: linear-gradient(-45deg, transparent 6px, #FBFAF6 0) 0 0 / 12px 10px repeat-x,
                linear-gradient(45deg, transparent 6px, #FBFAF6 0) 0 0 / 12px 10px repeat-x;
}

.sa-ticket-tete {
    display: grid;
    justify-items: center;
    gap: 1px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #B9B3A5;
    text-align: center;
}

.sa-ticket-tete b { font-size: 14px; letter-spacing: .12em; }
.sa-ticket-tete span { color: #6B6558; font-size: 11.5px; }

.sa-ticket-ligne {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 86px;
    gap: 10px;
    padding: 2px 0;
}

.sa-ticket-ligne span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-ticket-ligne span:last-child { text-align: right; }

.sa-ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #B9B3A5;
    font-weight: 700;
    letter-spacing: .06em;
}

.sa-ticket-total b { font-size: 16px; }

.sa-ticket-regle {
    display: flex;
    justify-content: space-between;
    color: #6B6558;
    font-size: 12px;
}

.sa-ticket-code {
    width: 72%;
    height: 34px;
    margin: 14px auto 6px;
    background: repeating-linear-gradient(90deg, #1B2433 0 2px, transparent 2px 4px, #1B2433 4px 5px, transparent 5px 8px,
                #1B2433 8px 11px, transparent 11px 12px, #1B2433 12px 13px, transparent 13px 16px);
}

.sa-ticket-merci { margin: 0; text-align: center; color: #6B6558; font-size: 11.5px; letter-spacing: .08em; }

.sa-ticket-ligne,
.sa-ticket-total,
.sa-ticket-regle,
.sa-ticket-code,
.sa-ticket-merci { animation: sa-auth-apparait .35s ease both; animation-delay: calc(var(--i, 0) * 240ms + 250ms); }

/* ---------- Pharmacie : le registre des lots ---------- */

.sa-scene-lots,
.sa-scene-caisse {
    max-width: 560px;
    padding: 16px 18px 12px;
    border-radius: 14px;
    background: #06101F;
    border: 1px solid rgba(159, 182, 210, .14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.sa-lot {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid rgba(159, 182, 210, .1);
    animation: sa-auth-apparait .35s ease both;
    animation-delay: calc(var(--i, 0) * 180ms + 200ms);
}

/* La croix de pharmacie, dessinée : deux barres. */
.sa-lot-croix {
    position: relative;
    width: 22px;
    height: 22px;
}

.sa-lot-croix::before,
.sa-lot-croix::after {
    content: "";
    position: absolute;
    background: #3DBE7A;
    border-radius: 2px;
}

.sa-lot-croix::before { left: 7px; top: 0; width: 8px; height: 22px; }
.sa-lot-croix::after  { left: 0; top: 7px; width: 22px; height: 8px; }

.sa-lot-nom { display: grid; min-width: 0; }
.sa-lot-nom b { color: #EAF1FA; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-lot-nom small { color: #7D93AE; font: 11.5px var(--auth-mono); letter-spacing: .04em; }

.sa-lot-per {
    display: grid;
    justify-items: end;
    padding: 4px 10px;
    border-radius: 8px;
    font: 600 14px var(--auth-mono);
    letter-spacing: .06em;
}

.sa-lot-per small { font-size: 9.5px; letter-spacing: .14em; opacity: .75; }
.sa-lot-per.ok      { color: #7FD4A8; background: rgba(127, 212, 168, .08); }
.sa-lot-per.bientot { color: var(--auth-signal); background: rgba(242, 179, 42, .1); }
.sa-lot-per.alerte  { color: #FF9C8F; background: rgba(255, 156, 143, .1); }

/* ---------- Supermarché : la caisse express ---------- */

.sa-caisse-scan {
    position: relative;
    height: 54px;
    margin: 2px 0 10px;
    border-radius: 8px;
    background: #0B1A30;
    overflow: hidden;
}

.sa-caisse-barres {
    position: absolute;
    inset: 10px 22%;
    background: repeating-linear-gradient(90deg, #EAF1FA 0 2px, transparent 2px 4px, #EAF1FA 4px 5px, transparent 5px 8px,
                #EAF1FA 8px 11px, transparent 11px 12px, #EAF1FA 12px 13px, transparent 13px 16px);
    opacity: .85;
}

.sa-caisse-laser {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #FF4D4D;
    box-shadow: 0 0 10px 2px rgba(255, 77, 77, .7);
    animation: sa-caisse-balaye 1.1s ease-in-out 3 alternate both;
}

@keyframes sa-caisse-balaye {
    from { top: 18%; }
    to   { top: 82%; }
}

.sa-caisse-ligne {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 76px;
    gap: 12px;
    align-items: center;
    padding: 7px 0;
    border-top: 1px solid rgba(159, 182, 210, .1);
}

.sa-caisse-ean { color: #5F7896; font: 11px var(--auth-mono); letter-spacing: .04em; white-space: nowrap; }
.sa-caisse-ligne .sa-flap:last-child { text-align: right; }

.sa-caisse-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(159, 182, 210, .25);
    color: #9FB6D2;
    font: 12px var(--auth-mono);
    letter-spacing: .1em;
}

.sa-caisse-total b { color: var(--auth-signal); font-size: 17px; letter-spacing: .06em; }

/* ---------- Restaurant : les bons de cuisine ---------- */

.sa-scene-bons { max-width: 620px; }
.sa-scene-bons .sa-auth-board-title { margin-bottom: 0; }

.sa-bons-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 5px solid #5F7896;
    border-radius: 2px;
}

.sa-bon {
    position: relative;
    display: grid;
    gap: 4px;
    align-content: start;
    padding: 12px 12px 14px;
    background: #FBFAF6;
    color: #1B2433;
    font: 12.5px/1.45 var(--auth-mono);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
    transform-origin: top center;
    animation: sa-bon-accroche .5s ease both;
    animation-delay: calc(var(--i, 0) * 200ms + 200ms);
}

.sa-bon:nth-child(2) { rotate: 1.2deg; }
.sa-bon:nth-child(3) { rotate: -1deg; }

/* La pince qui tient le bon au rail. */
.sa-bon::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    width: 26px;
    height: 12px;
    margin-left: -13px;
    border-radius: 3px;
    background: #9FB6D2;
}

@keyframes sa-bon-accroche {
    from { opacity: 0; transform: translateY(-12px); }
}

.sa-bon-tete { display: flex; justify-content: space-between; align-items: baseline; }
.sa-bon-tete b { font-size: 13.5px; letter-spacing: .08em; }
.sa-bon-tete span,
.sa-bon small { color: #6B6558; }
.sa-bon ul { margin: 6px 0 4px; padding: 6px 0 0; border-top: 1px dashed #B9B3A5; list-style: none; }
.sa-bon li b { display: inline-block; min-width: 18px; }

.sa-bon-etat {
    justify-self: start;
    padding: 2px 8px;
    border-radius: 99px;
    font: 600 10.5px 'Inter', sans-serif;
    letter-spacing: .08em;
}

.sa-bon-etat.cuisine { background: #FDF3DC; color: #8A5A06; }
.sa-bon-etat.pret    { background: #E3F4EC; color: #16734A; }
.sa-bon-etat.salle   { background: #E6F0FA; color: #15579E; }

@media (max-width: 991px) {
    .sa-scene-ticket,
    .sa-scene-chantier,
    .sa-scene-lots,
    .sa-scene-caisse,
    .sa-scene-bons { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sa-auth [style*="--i"],
    .sa-caisse-laser,
    .sa-bon { animation: none !important; }
}

/* ---------- Grossiste : la tournée du jour ---------- */

.sa-scene-tournee,
.sa-scene-casiers,
.sa-scene-projets,
.sa-scene-etiquettes { position: relative; z-index: 1; }

/* Dépôt de boissons : la même tournée, vers les maquis et les bars. */
.sa-scene-tournee,
.sa-scene-casiers,
.sa-scene-projets {
    max-width: 580px;
    padding: 16px 18px 12px;
    border-radius: 14px;
    background: #06101F;
    border: 1px solid rgba(159, 182, 210, .14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.sa-tournee-camion { position: relative; height: 34px; margin: 0 0 8px; overflow: hidden; }
.sa-tournee-route { position: absolute; left: 0; right: 0; bottom: 3px; border-top: 2px dashed rgba(159, 182, 210, .35); }
.sa-tournee-camion svg { position: absolute; bottom: 4px; left: 0; animation: sa-tournee-roule 2.4s ease-out both; }

@keyframes sa-tournee-roule {
    from { left: -50px; }
    to   { left: calc(100% - 60px); }
}

.sa-tournee-ligne {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 58px 88px;
    gap: 10px;
    align-items: center;
    padding: 7px 0;
    border-top: 1px solid rgba(159, 182, 210, .1);
}

.sa-tournee-bl,
.sa-tournee-colis { color: #7D93AE; font: 11.5px var(--auth-mono); letter-spacing: .04em; }
.sa-tournee-colis { text-align: right; }
.sa-tournee-etat { justify-self: end; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.sa-tournee-etat.livre  { color: #7FD4A8; }
.sa-tournee-etat.route  { color: var(--auth-signal); }
.sa-tournee-etat.charge { color: #9FB6D2; }

/* ---------- Mode : les étiquettes ---------- */

.sa-scene-etiquettes { max-width: 600px; }
.sa-scene-etiquettes .sa-auth-board-title { margin-bottom: 14px; }
.sa-etiquettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.sa-etiquette {
    position: relative;
    display: grid;
    gap: 6px;
    align-content: start;
    padding: 22px 14px 14px;
    background: #FBFAF6;
    color: #1B2433;
    border-radius: 6px 6px 14px 14px;
    clip-path: polygon(18% 0, 82% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
    transform-origin: top center;
    animation: sa-etiquette-balance 1.2s ease both;
    animation-delay: calc(var(--i, 0) * 180ms + 150ms);
}

.sa-etiquette:nth-child(2) { rotate: 2deg; }
.sa-etiquette:nth-child(3) { rotate: -1.5deg; }

@keyframes sa-etiquette-balance {
    0%   { opacity: 0; transform: rotate(-8deg); }
    60%  { opacity: 1; transform: rotate(3deg); }
    100% { transform: none; }
}

.sa-etiquette-trou { justify-self: center; width: 10px; height: 10px; margin-top: -12px; border-radius: 50%; background: #06101F; }
.sa-etiquette b { font-size: 14px; letter-spacing: -.01em; }
.sa-etiquette-couleur { display: flex; align-items: center; gap: 6px; color: #6B6558; font-size: 11.5px; }
.sa-etiquette-couleur i { width: 12px; height: 12px; border-radius: 50%; }
.sa-etiquette-tailles { display: flex; flex-wrap: wrap; gap: 4px; }
.sa-etiquette-tailles em {
    min-width: 24px;
    padding: 1px 5px;
    border: 1px solid #C9C2B2;
    border-radius: 5px;
    font: normal 600 11px var(--auth-mono);
    text-align: center;
    color: #6B6558;
}
.sa-etiquette-tailles em.choisie { background: #1B2433; border-color: #1B2433; color: #FBFAF6; }
.sa-etiquette-code {
    height: 22px;
    margin-top: 4px;
    background: repeating-linear-gradient(90deg, #1B2433 0 2px, transparent 2px 4px, #1B2433 4px 5px, transparent 5px 7px);
}
.sa-etiquette strong { font-size: 16px; }
.sa-etiquette strong small { font-size: 10px; color: #6B6558; }

@media (max-width: 991px) {
    .sa-scene-tournee,
    .sa-scene-casiers,
    .sa-scene-projets,
    .sa-scene-etiquettes { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sa-tournee-camion svg,
    .sa-etiquette { animation: none !important; }
}
