/* ==========================================================================
   WiFiPilot — relief et mouvement (thème noir, blanc et citron)
   « L'affiche collée au mur » : les écrans se posent par couches, le bandeau
   a une vraie profondeur, les boutons s'enfoncent, les chiffres se déroulent.

   Règles :
   - transform et opacity uniquement (pas de layout animé) ;
   - le contenu est toujours lisible sans JavaScript et sans animation ;
   - la caisse (vente répétée des dizaines de fois par jour) n'a pas d'entrée animée ;
   - prefers-reduced-motion : relief figé, aucune entrée, aucun défilement de chiffres.
   ========================================================================== */

:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --t-press: 120ms;
    --t-quick: 180ms;
    --t-enter: 420ms;
    /* Profondeur : ombres avec décalage et flou, jamais un halo centré */
    --depth-1: 0 6px 14px -8px rgba(10, 10, 10, .35);
    --depth-2: 0 24px 40px -20px rgba(10, 10, 10, .45), 0 6px 12px -8px rgba(10, 10, 10, .2);
    --depth-3: 0 40px 70px -30px rgba(10, 10, 10, .55), 0 12px 24px -14px rgba(10, 10, 10, .3);
}

/* ---------- 1. Arrivée d'une page : les couches se posent ---------- */
/* Le script ajoute .wp-arrive sur <html> avant le premier rendu (sauf caisse et mouvement réduit). */

@keyframes wp-poster-unfold {
    from { opacity: .001; transform: perspective(1400px) rotateX(-9deg) translateY(-14px); }
    to   { opacity: 1;    transform: none; }
}
@keyframes wp-layer-rise {
    from { opacity: .001; transform: perspective(1200px) translate3d(0, 14px, -40px); }
    to   { opacity: 1;    transform: none; }
}
@keyframes wp-bar-grow {
    from { transform: scaleY(.04); }
    to   { transform: scaleY(1); }
}

.wp-arrive .wp-page-head { animation: wp-layer-rise var(--t-enter) var(--ease-out) both; }
.wp-arrive .wp-band { transform-origin: 50% 0; animation: wp-poster-unfold 560ms var(--ease-out) both; animation-delay: 40ms; }
.wp-arrive .wp-page > *:not(.wp-band),
.wp-arrive .wp-page > .wp-stack > *:not(.wp-band),
.wp-arrive .wp-stack > *:not(.wp-band) { animation: wp-layer-rise var(--t-enter) var(--ease-out) both; }
.wp-arrive .wp-stack > :nth-child(2), .wp-arrive .wp-page > :nth-child(2) { animation-delay: 110ms; }
.wp-arrive .wp-stack > :nth-child(3), .wp-arrive .wp-page > :nth-child(3) { animation-delay: 170ms; }
.wp-arrive .wp-stack > :nth-child(4), .wp-arrive .wp-page > :nth-child(4) { animation-delay: 230ms; }
.wp-arrive .wp-stack > :nth-child(n+5), .wp-arrive .wp-page > :nth-child(n+5) { animation-delay: 280ms; }

/* Barres de la semaine : poussent depuis la ligne de base, une par une */
.wp-week-bar { transform-origin: 50% 100%; }
.wp-arrive .wp-week-bar { animation: wp-bar-grow 620ms var(--ease-out) both; animation-delay: calc(260ms + var(--i, 0) * 45ms); }

/* ---------- 2. Le bandeau en relief ---------- */
/* Les couches du bandeau sont décalées selon la souris (ou l'inclinaison du téléphone) :
   le chiffre est la couche la plus proche, la méta la plus éloignée. */

.wp-band { --px: 0; --py: 0; }
.wp-band > * { transition: transform 600ms var(--ease-out); will-change: transform; }
.wp-band .wp-figure {
    /* Relief d'imprimerie : une ombre portée décalée, opposée à la lumière */
    text-shadow: calc(var(--px) * -10px + 2px) calc(var(--py) * -8px + 6px) 0 rgba(0, 0, 0, .16);
    transition: text-shadow 600ms var(--ease-out);
}
.wp-band.is-saffron .wp-figure { text-shadow: calc(var(--px) * -10px + 2px) calc(var(--py) * -8px + 6px) 0 rgba(20, 19, 15, .12); }
.wp-band.has-depth > :first-child { transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 10px), 0); }
.wp-band.has-depth > :not(:first-child) { transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 4px), 0); }
.wp-band.has-depth .wp-band-meta { transform: translate3d(calc(var(--px) * -5px), calc(var(--py) * -3px), 0); transition: transform 600ms var(--ease-out); }

/* ---------- 3. Boutons : on les enfonce ---------- */

.wp-btn, .wp-rail-cta, .cx-submit, .cx-plan, .cx-bills button, .cx-qty button, .wp-icon-btn, .fleet-chip, .wp-segmented span {
    transition-property: background-color, border-color, color, transform, box-shadow;
    transition-duration: var(--t-quick);
    transition-timing-function: var(--ease-out);
}
.wp-btn:active:not(:disabled), .wp-rail-cta:active, .cx-submit:active:not([disabled]),
.cx-bills button:active, .cx-qty button:active, .wp-icon-btn:active, .fleet-chip:active {
    transform: translateY(1px) scale(.97);
    transition-duration: var(--t-press);
}

@media (hover: hover) and (pointer: fine) {
    .wp-btn:hover:not(:disabled):not([aria-disabled="true"]), .wp-rail-cta:hover, .cx-submit:hover:not([disabled]) {
        transform: translateY(-1px);
        box-shadow: var(--depth-1);
    }
    .wp-btn:active:not(:disabled), .wp-rail-cta:active, .cx-submit:active:not([disabled]) { box-shadow: none; }
}

/* ---------- 4. Cartes cliquables : elles se soulèvent vers le pointeur ---------- */
/* .wp-tilt reçoit --rx / --ry du script ; au repos, elles restent à plat (aucune ombre). */

.wp-tilt {
    --rx: 0deg; --ry: 0deg;
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 500ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color .15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .wp-tilt:hover { box-shadow: var(--depth-2); }
}

/* Forfaits de la caisse : retour de pression immédiat, sélection qui avance d'un plan */
.cx-plan:active:not([disabled]) { transform: scale(.97); transition-duration: var(--t-press); }
.cx-plan.is-selected { transform: translateY(-3px); box-shadow: var(--depth-2); }

/* ---------- 5. Caisse : le bandeau de monnaie se retourne quand le compte bascule ---------- */

@keyframes wp-flap {
    0%   { transform: perspective(700px) rotateX(0); }
    45%  { transform: perspective(700px) rotateX(-88deg); }
    55%  { transform: perspective(700px) rotateX(88deg); }
    100% { transform: perspective(700px) rotateX(0); }
}
.cx-change-band { transform-origin: 50% 50%; backface-visibility: hidden; }
.cx-change-band.is-flip { animation: wp-flap 300ms var(--ease-in-out); }

/* ---------- 6. Navigation mobile : le tiroir glisse avec la courbe iOS ---------- */

@media (max-width: 1023px) {
    .wp-rail { transition: transform 320ms var(--ease-drawer), box-shadow 320ms var(--ease-drawer); }
    .wp-shell.is-open .wp-scrim { animation: wp-fade 240ms var(--ease-out) both; }
}
@keyframes wp-fade { from { opacity: 0; } }

/* ---------- 7. Messages : ils descendent à leur place ---------- */

@keyframes wp-drop { from { opacity: .001; transform: translateY(-8px); } }
.wp-flash { animation: wp-drop 280ms var(--ease-out) both; }

/* ---------- 8. Connexion : l'affiche en couches ---------- */

.wp-auth-poster { perspective: 1200px; }
.wp-auth-title .wp-word { display: inline-block; transition: transform 700ms var(--ease-out); will-change: transform; }
.wp-arrive .wp-auth-title .wp-word { animation: wp-layer-rise 640ms var(--ease-out) both; animation-delay: calc(80ms + var(--i, 0) * 70ms); }
.wp-arrive .wp-auth-lines li { animation: wp-layer-rise 520ms var(--ease-out) both; animation-delay: calc(360ms + var(--i, 0) * 60ms); }
.wp-arrive .wp-auth-form { animation: wp-layer-rise 520ms var(--ease-out) both; animation-delay: 160ms; }

/* ==========================================================================
   Niveau 2 — la 3D vraie
   ========================================================================== */

/* ---------- 9. Passage d'une page à l'autre (View Transitions, Chrome/Edge) ---------- */
/* L'ancienne page recule dans la profondeur, la nouvelle avance ; la barre latérale ne bouge pas
   et la pastille de la page active glisse d'un lien à l'autre. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
}
.wp-rail { view-transition-name: wp-rail; }
.wp-topbar { view-transition-name: wp-topbar; }
.wp-rail .wp-nav-link[aria-current="page"] { view-transition-name: wp-nav-active; }
::view-transition-old(root) { animation: wp-vt-out 260ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: wp-vt-in 380ms var(--ease-out) both; }
::view-transition-group(wp-nav-active) { animation-duration: 340ms; animation-timing-function: var(--ease-in-out); }
@keyframes wp-vt-out { to { opacity: 0; transform: perspective(1400px) translate3d(0, -6px, -90px) rotateX(3deg); } }
@keyframes wp-vt-in { from { opacity: 0; transform: perspective(1400px) translate3d(0, 10px, 60px); } }

/* ---------- 10. Titre de page : les lettres se lèvent ---------- */
.wp-char { display: inline-block; transform-origin: 50% 100%; }
.wp-arrive .wp-page-head .wp-char { animation: wp-char-up 560ms var(--ease-out) both; animation-delay: calc(var(--c, 0) * 16ms); }
@keyframes wp-char-up { from { opacity: .001; transform: perspective(500px) translateY(.5em) rotateX(-70deg); } }
.wp-arrive .wp-page-head.has-chars { animation: none; }
/* Le titre attend son découpage en lettres ; sans script, il apparaît quand même après 0,9 s */
.wp-arrive .wp-page-head:not(.has-chars) h1 { animation: wp-hold 900ms steps(1, end) both; }
@keyframes wp-hold { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 11. Rangée de chiffres : chaque case tombe comme un volet ---------- */
.wp-stats { perspective: 900px; }
.wp-arrive .wp-stats .wp-stat { transform-origin: 50% 0; animation: wp-flap-down 600ms var(--ease-out) both; animation-delay: calc(240ms + var(--i, 0) * 80ms); }
@keyframes wp-flap-down { from { opacity: .001; transform: rotateX(-85deg); } }

/* ---------- 12. Le graphique de la semaine en volumes ---------- */
/* Chaque barre devient un bloc : face avant, dessus et flanc, vus en perspective.
   L'ensemble pivote avec le relief du bandeau. */
.wp-week {
    --d: 14px;
    transform-style: preserve-3d;
    /* Caméra au-dessus : on voit le dessus et le flanc de chaque bloc */
    transform: perspective(700px) rotateX(18deg) rotateY(calc(-22deg + var(--px, 0) * 16deg));
    transition: transform 600ms var(--ease-out);
}
.wp-band:hover .wp-week { transform: perspective(700px) rotateX(calc(18deg + var(--py, 0) * 10deg)) rotateY(calc(-22deg + var(--px, 0) * 16deg)); }
.wp-week-day { transform-style: preserve-3d; }
.wp-week-bar { position: relative; transform-style: preserve-3d; background: #3A3A3D; border-radius: 0; }
.wp-week-bar::before, .wp-week-bar::after { content: ""; position: absolute; pointer-events: none; }
.wp-week-bar::before { left: 0; right: 0; top: 0; height: var(--d); background: #6A6A70; transform-origin: 50% 0; transform: rotateX(90deg); }
.wp-week-bar::after { top: 0; bottom: 0; right: 0; width: var(--d); background: #222224; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.wp-week-day.is-today .wp-week-bar { background: #C6F135; box-shadow: 0 0 34px rgba(198, 241, 53, .45); }
.wp-week-day.is-today .wp-week-bar::before { background: #E4FF8E; }
.wp-week-day.is-today .wp-week-bar::after { background: #8FBF0F; }
.wp-band.is-saffron .wp-week-bar { background: rgba(10, 10, 10, .78); }
.wp-band.is-saffron .wp-week-bar::before { background: rgba(10, 10, 10, .5); }
.wp-band.is-saffron .wp-week-bar::after { background: #000; }
.wp-band.is-red .wp-week-bar { background: #D86A55; }
.wp-band.is-red .wp-week-bar::before { background: #E89A8A; }
.wp-band.is-red .wp-week-bar::after { background: #9E2A16; }

/* ---------- 13. Lignes de tableau : elles se posent en cascade ---------- */
.wp-arrive .wp-table tbody tr { animation: wp-row-in 360ms var(--ease-out) both; animation-delay: calc(220ms + var(--r, 0) * 28ms); }
@keyframes wp-row-in { from { opacity: .001; transform: translateY(8px); } }

/* ---------- 14. En faisant défiler : les panneaux montent à leur place ---------- */
@supports (animation-timeline: view()) {
    .wp-cols > .wp-panel, .fleet > .wp-card, .wp-form-section {
        animation: wp-scroll-in linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
    @keyframes wp-scroll-in { from { opacity: .2; transform: perspective(1000px) translate3d(0, 34px, -60px) rotateX(6deg); } }
}

/* ---------- 15. Barre latérale : les icônes répondent ---------- */
@media (hover: hover) and (pointer: fine) {
    .wp-nav-link .wp-icon { transition: transform 220ms var(--ease-out); }
    .wp-nav-link:hover .wp-icon { transform: translateX(2px) rotate(-8deg) scale(1.08); }
    .wp-rail-cta .wp-icon { transition: transform 260ms var(--ease-out); }
    .wp-rail-cta:hover .wp-icon { transform: rotate(-14deg) scale(1.15); }
}
.wp-arrive .wp-nav-count { animation: wp-pop 520ms var(--ease-out) both 500ms; }
@keyframes wp-pop { 0% { transform: scale(.6); opacity: .001; } 60% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- 16. Connexion : l'emblème Wi-Fi en couches flottantes ---------- */
.wp-emblem { position: absolute; right: clamp(16px, 6vw, 80px); top: clamp(80px, 14vh, 160px); width: clamp(150px, 18vw, 260px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-24deg); animation: wp-emblem-sway 9s var(--ease-in-out) infinite alternate; pointer-events: none; }
.wp-emblem span { position: absolute; inset: 0; display: block; }
.wp-emblem svg { width: 100%; height: 100%; overflow: visible; }
.wp-emblem span:nth-child(1) { transform: translateZ(0); opacity: .9; }
.wp-emblem span:nth-child(2) { transform: translateZ(26px); }
.wp-emblem span:nth-child(3) { transform: translateZ(52px); }
.wp-emblem span:nth-child(4) { transform: translateZ(80px); }
@keyframes wp-emblem-sway { to { transform: rotateX(8deg) rotateY(22deg); } }
.wp-auth-poster { position: relative; overflow: hidden; }
@media (max-width: 860px) { .wp-emblem { width: 120px; top: 18px; right: 16px; } }

/* ---------- Mouvement réduit : tout se pose instantanément, le relief reste à plat ---------- */
@media (prefers-reduced-motion: reduce) {
    .wp-week { transform: none !important; }
    .wp-emblem { animation: none; }
    .wp-cols > .wp-panel, .fleet > .wp-card, .wp-form-section { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .wp-arrive *, .cx-change-band.is-flip, .wp-flash { animation: none !important; }
    .wp-band.has-depth > *, .wp-band.has-depth .wp-band-meta, .wp-tilt, .wp-auth-title .wp-word { transform: none !important; }
    .cx-plan.is-selected { transform: none; }
}

@media print {
    .wp-arrive * { animation: none !important; }
    .wp-tilt, .wp-band > * { transform: none !important; box-shadow: none !important; }
}

/* ==========================================================================
   Niveau 3 — noir, blanc et citron en volume
   ========================================================================== */

/* ---------- 17. Boutons citron : une vraie touche, avec sa tranche ---------- */
/* La tranche (ombre pleine sous le bouton) donne l'épaisseur ; au clic, le bouton descend dessus. */
.wp-btn:not(.is-quiet):not(.is-on-color):not(:disabled):not([aria-disabled="true"]),
.wp-rail-cta {
    box-shadow: 0 4px 0 var(--lime-deep), 0 10px 22px -10px rgba(10, 10, 10, .5);
    transform: translateY(-2px);
}
.wp-band .wp-btn:not(.is-quiet):not(.is-on-color) { box-shadow: 0 4px 0 var(--lime-deep), 0 0 34px -6px rgba(198, 241, 53, .55); }
@media (hover: hover) and (pointer: fine) {
    .wp-btn:not(.is-quiet):not(.is-on-color):hover:not(:disabled):not([aria-disabled="true"]), .wp-rail-cta:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 0 var(--lime-deep), 0 18px 30px -12px rgba(10, 10, 10, .55), 0 0 0 4px rgba(198, 241, 53, .25);
    }
}
.wp-btn:not(.is-quiet):not(.is-on-color):active:not(:disabled), .wp-rail-cta:active {
    transform: translateY(2px) !important;
    box-shadow: 0 0 0 var(--lime-deep), 0 2px 6px -2px rgba(10, 10, 10, .4) !important;
    transition-duration: 90ms;
}
/* Reflet qui traverse le bouton au survol */
.wp-btn, .wp-rail-cta { position: relative; overflow: hidden; isolation: isolate; }
.wp-btn::after, .wp-rail-cta::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
    transform: translateX(-120%);
}
@media (hover: hover) and (pointer: fine) {
    .wp-btn:hover::after, .wp-rail-cta:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
}

/* ---------- 18. Le bandeau noir : sol en grille citron, halo qui suit la souris ---------- */
.wp-band:not(.is-saffron):not(.is-red) { isolation: isolate; }
.wp-band:not(.is-saffron):not(.is-red)::before {
    /* Sol en perspective : lignes citron qui filent vers l'horizon */
    content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -55%; height: 120%;
    background-image:
        linear-gradient(rgba(198, 241, 53, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 241, 53, .22) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(520px) rotateX(64deg);
    transform-origin: 50% 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 70%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 70%, transparent);
    animation: wp-grid-run 3.2s linear infinite;
    pointer-events: none;
}
.wp-band:not(.is-saffron):not(.is-red)::after {
    /* Halo citron : il glisse avec la souris */
    content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%;
    left: calc(62% + var(--px, 0) * 40%); top: calc(-40% + var(--py, 0) * 30%);
    translate: -50% 0;
    background: radial-gradient(closest-side, rgba(198, 241, 53, .30), rgba(198, 241, 53, .08) 55%, transparent);
    filter: blur(8px);
    transition: left 900ms var(--ease-out), top 900ms var(--ease-out);
    pointer-events: none;
}
@keyframes wp-grid-run { to { background-position: 0 56px, 0 0; } }
.wp-band .wp-figure { text-shadow: calc(var(--px) * -10px + 2px) calc(var(--py) * -8px + 6px) 0 rgba(0, 0, 0, .5), 0 0 40px rgba(198, 241, 53, .25); }
.wp-band.is-saffron .wp-figure { text-shadow: calc(var(--px) * -10px + 2px) calc(var(--py) * -8px + 6px) 0 rgba(10, 10, 10, .14); }
.wp-band.is-red .wp-figure { text-shadow: calc(var(--px) * -10px + 2px) calc(var(--py) * -8px + 6px) 0 rgba(0, 0, 0, .2); }

/* ---------- 19. Panneaux et cartes : ils flottent, une lumière suit le pointeur ---------- */
.wp-panel, .wp-card, .wp-fields, .wp-facts, .wp-stats {
    box-shadow: 0 1px 0 rgba(10, 10, 10, .04), 0 12px 30px -24px rgba(10, 10, 10, .35);
}
.wp-panel, .wp-card { position: relative; }
.wp-glow::before {
    /* Lumière citron sous le pointeur, posée sur le bord du panneau */
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 1;
    padding: 1px;
    background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(198, 241, 53, .9), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 300ms var(--ease-out);
}
.wp-glow:hover::before { opacity: 1; }
.wp-tilt { transform-style: preserve-3d; }
@media (hover: hover) and (pointer: fine) {
    .wp-tilt:hover { box-shadow: var(--depth-3); }
    a.wp-stat { transition: transform 400ms var(--ease-out), background-color .15s; }
    a.wp-stat:hover { transform: translateY(-3px); }
}

/* ---------- 20. Barre latérale noire : la page active est une touche citron éclairée ---------- */
.wp-rail { background: radial-gradient(120% 60% at 0% 0%, #1B1B1D 0%, #0A0A0A 60%); }
.wp-rail .wp-nav-link[aria-current="page"] { box-shadow: 0 3px 0 var(--lime-deep), 0 0 26px -4px rgba(198, 241, 53, .55); transform: translateY(-1px); }
.wp-rail .wp-brand svg { transition: transform 600ms var(--ease-out); transform: perspective(300px) rotateY(-14deg); filter: drop-shadow(4px 6px 0 rgba(198, 241, 53, .35)); }
.wp-rail .wp-brand:hover svg { transform: perspective(300px) rotateY(14deg) rotateX(8deg); }
.wp-nav-link { transition: background-color .15s var(--ease), color .15s var(--ease), transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .wp-rail .wp-nav-link:not([aria-current="page"]):hover { transform: translateX(3px); }
}

/* ---------- 21. Fond de travail : lumière citron très douce en haut à droite ---------- */
body.wp .wp-main { background: radial-gradient(900px 420px at 100% 0%, rgba(198, 241, 53, .10), transparent 70%); }

/* ---------- 22. Titres de page : un trait citron se trace sous le titre ---------- */
.wp-page-head h1 { position: relative; display: inline-block; }
.wp-page-head h1::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 5px; width: 64px; background: var(--lime); border-radius: 3px;
    transform-origin: 0 50%;
}
.wp-arrive .wp-page-head h1::after { animation: wp-underline 700ms var(--ease-out) 380ms both; }
@keyframes wp-underline { from { transform: scaleX(0); } }

/* ---------- 23. Pastilles « en ligne » : le point respire ---------- */
.wp-badge.is-ok::before { box-shadow: 0 0 0 0 rgba(61, 110, 0, .5); animation: wp-breathe 2.2s ease-in-out infinite; }
@keyframes wp-breathe { 50% { box-shadow: 0 0 0 5px rgba(61, 110, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
    .wp-band::before { animation: none !important; }
    .wp-badge.is-ok::before { animation: none; }
    .wp-btn, .wp-rail-cta, .wp-rail .wp-nav-link[aria-current="page"] { transform: none !important; }
}
@media print {
    .wp-band::before, .wp-band::after, .wp-glow::before { display: none; }
}

/* ---------- 24. Sur le bandeau noir, l'action principale est citron elle aussi ---------- */
.wp-band:not(.is-red):not(.is-saffron) .wp-btn.is-on-color {
    background: var(--lime); color: var(--ink); border-color: var(--lime);
    box-shadow: 0 4px 0 var(--lime-deep), 0 0 34px -6px rgba(198, 241, 53, .55); transform: translateY(-2px);
}
.wp-band:not(.is-red):not(.is-saffron) .wp-btn.is-on-color:hover { background: var(--lime-hi); transform: translateY(-4px); }
.wp-band:not(.is-red):not(.is-saffron) .wp-btn.is-on-color:active { transform: translateY(2px); box-shadow: 0 0 0 var(--lime-deep); }
/* Caisse : la grande touche « Encaisser » garde sa tranche citron au survol */
@media (hover: hover) and (pointer: fine) {
    button.cx-submit:hover:not([disabled]) { transform: translateY(-5px); box-shadow: 0 7px 0 var(--lime-deep), 0 22px 34px -14px rgba(10, 10, 10, .55), 0 0 0 4px rgba(198, 241, 53, .25); }
}
button.cx-submit:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 0 0 var(--lime-deep); }
