/* ==========================================================================
   Page « wisebled » — styles propres à la page (v3).
   Chargée automatiquement par includes/header.php quand $page_key = 'wisebled'.
   Préfixe : .pg-wisebled-…  ·  Tokens uniquement (ws-site.css).
   Sommaire : intro & repli sans JS · hero · bandeau · sous-nav · caisse (story collante) · stock (bento)
              · documents (éventail) · hors ligne (scène collante) · équipe et contrôle · démo · tarifs · FAQ
   ========================================================================== */

/* ---------- INTRO (CSS pur : ne dépend d'aucun script CDN) ---------- */
@keyframes pg-wisebled-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes pg-wisebled-line { from { opacity: 0; transform: translate3d(0, .42em, 0); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-20% -6% -30% -6%); } }
@keyframes pg-wisebled-stage-in { from { opacity: 0; transform: translate3d(0, 70px, 0); } to { opacity: 1; transform: none; } }
@keyframes pg-wisebled-chip-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.82); } to { opacity: 1; transform: none; } }
@keyframes pg-wisebled-drop { from { opacity: 0; transform: translate3d(0, -18px, 0); } to { opacity: 1; transform: none; } }
html.ws-js:not(.ws-reduced) .pg-wisebled-in { animation: pg-wisebled-rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 40ms); }
html.ws-js:not(.ws-reduced) .pg-wisebled-hero__l { animation: pg-wisebled-line 1.1s cubic-bezier(.16, 1, .3, 1) .1s both; }
html.ws-js:not(.ws-reduced) .pg-wisebled-hero__l + .pg-wisebled-hero__l { animation-delay: .22s; }
html.ws-js:not(.ws-reduced) .pg-wisebled-in--stage { animation: pg-wisebled-stage-in 1.5s var(--ease-out) .35s both; }
html.ws-js:not(.ws-reduced) .pg-wisebled-stage__float .ws-chip-float { animation: pg-wisebled-chip-in .8s var(--ease-spring) both; animation-delay: 1.05s; }
html.ws-js:not(.ws-reduced) .pg-wisebled-stage__float--b .ws-chip-float { animation-delay: 1.2s; }
html.ws-js:not(.ws-reduced) .pg-wisebled-stage__float--c .ws-chip-float { animation-delay: 1.35s; }
/* La barre d'en-tête n'attend pas GSAP sur cette page : visible tout de suite, entrée en CSS. */
html.ws-motion-ready body.page-wisebled .ws-hdr__bar:not(.ws-in) { opacity: 1; animation: pg-wisebled-drop .8s var(--ease-out) both; }

/* ---------- Repli sans JS : l'en-tête fixe transparent défile avec le hero au lieu de recouvrir les sections claires ---------- */
html:not(.ws-js) body.page-wisebled .ws-hdr { position: absolute; }
html:not(.ws-js) .pg-wisebled-subnav { top: 8px; }
/* Les ancres atterrissent sous la sous-navigation collante */
body.page-wisebled .ws-main [id] { scroll-margin-top: 66px; }

/* Animations infinies en pause hors écran (classe posée par wisebled.js). Les animations ponctuelles (puce « ajouté », ticket…)
   ne sont pas concernées : figées pendant leur délai, elles resteraient invisibles. */
.pg-wisebled-idle :is(.pg-wisebled-hero__orb, .ws-art__sweep, .ws-art__pins > g, .ws-art__path, .ws-bg-aurora),
.pg-wisebled-idle :is(.ws-badge--live, .ws-bg-aurora)::before, .pg-wisebled-idle .ws-bg-aurora::after { animation-play-state: paused !important; }

/* ---------- HERO ---------- */
.pg-wisebled-hero { position: relative; isolation: isolate; overflow: clip; background: var(--night-0); color: var(--c-fg-2); padding-top: calc(var(--hdr-space) + clamp(24px, 3.2vw, 40px)); }
.pg-wisebled-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pg-wisebled-hero__orb { position: absolute; border-radius: 50%; filter: blur(10px); }
.pg-wisebled-hero__orb--a { width: 90vmax; height: 90vmax; left: 50%; top: -62vmax; margin-left: -45vmax; background: radial-gradient(circle, rgba(107, 87, 250, .42), rgba(107, 87, 250, 0) 60%); }
.pg-wisebled-hero__orb--b { width: 60vmax; height: 60vmax; right: -22vmax; top: 18%; background: radial-gradient(circle, rgba(217, 70, 239, .16), transparent 62%); animation: pg-wisebled-drift 22s var(--ease-io) infinite alternate; }
.pg-wisebled-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse 70% 52% at 50% 18%, #000 10%, transparent 72%); mask: radial-gradient(ellipse 70% 52% at 50% 18%, #000 10%, transparent 72%); }
.pg-wisebled-hero__horizon { position: absolute; left: 50%; bottom: 120px; width: 140%; height: 62%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(135, 118, 255, .34), rgba(135, 118, 255, 0) 70%); }
.pg-wisebled-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
@keyframes pg-wisebled-drift { to { transform: translate3d(-8vmax, 6vmax, 0) scale(1.08); } }

.pg-wisebled-hero__inner { position: relative; }
.pg-wisebled-hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1160px; margin-inline: auto; }
.pg-wisebled-hero__pill { margin-bottom: 24px; color: #dfe1f2; }
.pg-wisebled-hero__pill .ws-i { color: var(--brand-200); }
.pg-wisebled-hero__title { margin: 0; font-size: clamp(2.3rem, 1.1rem + 4.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.048em; font-weight: 600; color: #fff; }
.pg-wisebled-hero__l { display: block; }
.pg-wisebled-hero__dim { color: #9ea3c4; }
.pg-wisebled-hero__dim .ws-em { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.pg-wisebled-hero__lead { margin: 22px auto 0; max-width: 660px; color: #bcc0d8; }
.pg-wisebled-hero__actions { justify-content: center; margin-top: 30px; }
.pg-wisebled-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin: 22px 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: #a3a8c6; }
.pg-wisebled-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.pg-wisebled-hero__meta li:first-child > .ws-i { color: var(--mint-400); }
.pg-wisebled-hero__plats .ws-i { color: #d6d9ec; opacity: .85; }
.pg-wisebled-hero__plats span { margin-left: 4px; }
@media (max-width: 559px) { .pg-wisebled-hero__plats .ws-i { display: none; } .pg-wisebled-hero__plats span { margin-left: 0; } .pg-wisebled-hero__meta { gap: 6px 18px; } }

/* Scène appareils */
.pg-wisebled-stage { position: relative; max-width: 1180px; margin: clamp(36px, 3.4vw, 48px) auto 0; perspective: 1800px; perspective-origin: 50% 0; }
.pg-wisebled-stage__tilt { position: relative; transform-origin: 50% 0; transform-style: preserve-3d; }
.pg-wisebled-stage__glow { position: absolute; left: 8%; right: 8%; top: 12%; bottom: 0; z-index: -1; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(135, 118, 255, .55), rgba(217, 70, 239, .18) 45%, transparent 72%); filter: blur(40px); opacity: .85; }
.pg-wisebled-stage__laptop { margin-inline: auto; }
.pg-wisebled-stage__laptop .ws-dev-laptop__lid { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 5px #08090d, 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04); }
.pg-wisebled-stage__phone { position: absolute; right: 3%; bottom: -7%; width: clamp(92px, 20.5%, 250px); z-index: 2; }
.pg-wisebled-stage__phone .ws-dev { width: 100%; }
.pg-wisebled-stage__phone .ws-dev-phone__body { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 4px #0a0b10, 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 80px -24px rgba(0, 0, 0, .85); }
.pg-wisebled-stage__float { position: absolute; z-index: 3; }
.pg-wisebled-stage__float--a { left: 0; top: 16%; }
.pg-wisebled-stage__float--b { right: 1%; top: 6%; }
.pg-wisebled-stage__float--c { left: 7%; bottom: 8%; }
.pg-wisebled-stage__float .ws-chip-float { box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
@media (min-width: 600px) and (max-width: 719px) {
  .pg-wisebled-stage__float { transform: scale(.8); transform-origin: left top; }
  .pg-wisebled-stage__float--a { left: -2%; top: -9%; }
  .pg-wisebled-stage__float--b { right: -2%; top: auto; bottom: -16%; transform-origin: right bottom; }
  .pg-wisebled-stage__float--c { display: none; }
  .pg-wisebled-stage__phone { right: 1%; bottom: -12%; width: 26%; }
}
/* Mobile : le téléphone seul, en grand ; l'ordinateur (illisible à cette taille) est masqué. */
@media (max-width: 599px) {
  .pg-wisebled-stage { max-width: 340px; margin-top: 44px; perspective: none; }
  .pg-wisebled-stage__laptop { display: none; }
  .pg-wisebled-stage__phone { position: relative; right: auto; bottom: auto; width: min(272px, 72vw); margin-inline: auto; }
  .pg-wisebled-stage__glow { left: -12%; right: -12%; top: 6%; bottom: 6%; }
  .pg-wisebled-stage__float--b, .pg-wisebled-stage__float--c { display: none; }
  .pg-wisebled-stage__float--a { left: 0; top: 22%; }
}

/* Bandeau métiers */
.pg-wisebled-strip { position: relative; margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 26px 30px; }
.pg-wisebled-strip__label { margin: 0 0 16px; text-align: center; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8d92b2; }
.pg-wisebled-strip__marquee .ws-marquee__item { gap: 0; color: #b4b8d2; font-size: clamp(.95rem, .9rem + .25vw, 1.08rem); }
.pg-wisebled-strip__marquee .ws-marquee__item::after { content: ""; width: 5px; height: 5px; margin-left: calc(var(--gap) - 10px); margin-right: -10px; border-radius: 50%; background: rgba(135, 118, 255, .6); }

/* ---------- SOUS-NAVIGATION ---------- */
.pg-wisebled-subnav { position: sticky; top: calc(var(--hdr-space) - 2px); z-index: 60; display: flex; justify-content: center; padding-inline: var(--gutter); margin-block: 18px -70px; pointer-events: none; transition: transform .55s var(--ease-out); }
.pg-wisebled-subnav.is-stuck.is-up { transform: translate3d(0, calc(10px - var(--hdr-space)), 0); }
.pg-wisebled-subnav__bar { position: relative; display: flex; align-items: center; gap: 6px; max-width: min(100%, 1240px); height: 52px; padding: 6px; border-radius: 17px; background: rgba(255, 255, 255, .93); border: 1px solid rgba(14, 16, 40, .08); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 14px 34px -18px rgba(14, 16, 40, .3); pointer-events: auto; transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.pg-wisebled-subnav__brand { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 8px; margin-right: 2px; border-radius: 12px; font: 650 .92rem/1 var(--font); letter-spacing: -.02em; color: var(--ink-900); text-decoration: none; border-right: 1px solid rgba(14, 16, 40, .08); }
.pg-wisebled-subnav__brand img { width: 22px; height: 22px; border-radius: 6px; }
@media (min-width: 1280px) { .pg-wisebled-subnav__brand { display: inline-flex; } }
.pg-wisebled-subnav__list { position: relative; display: flex; align-items: center; gap: 2px; min-width: 0; margin: 0; padding: 0 4px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.pg-wisebled-subnav__list::-webkit-scrollbar { display: none; }
@media (min-width: 1180px) { .pg-wisebled-subnav__list { -webkit-mask: none; mask: none; } }
.pg-wisebled-subnav__link { position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 11px; font: 500 .86rem/1 var(--font); letter-spacing: -.005em; color: #555a75; text-decoration: none; white-space: nowrap; transition: color var(--d-2), background-color var(--d-2); }
.pg-wisebled-subnav__link:hover { color: var(--ink-900); background: rgba(14, 16, 40, .05); }
.pg-wisebled-subnav__link:focus-visible { outline: 2px solid var(--brand-600); outline-offset: -2px; box-shadow: none; }
.pg-wisebled-subnav__link.is-active { color: #fff; background: var(--ink-900); }
.pg-wisebled-subnav__link.is-active:focus-visible { outline-color: var(--brand-300); }
.pg-wisebled-subnav__cta { display: none; flex-shrink: 0; margin-left: 2px; }
@media (min-width: 720px) { .pg-wisebled-subnav__cta { display: inline-flex; } }
.pg-wisebled-subnav__progress { position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none; }
.pg-wisebled-subnav__progress i { display: block; width: 100%; height: 100%; background: var(--grad-brand); transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; }
@media (max-width: 719px) { .pg-wisebled-subnav { padding-inline: 10px; } .pg-wisebled-subnav__bar { width: 100%; } }
.pg-wisebled-subnav.is-dark .pg-wisebled-subnav__bar { background: rgba(10, 11, 22, .9); border-color: rgba(255, 255, 255, .1); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 40px -20px rgba(0, 0, 0, .85); }
.pg-wisebled-subnav.is-dark .pg-wisebled-subnav__brand { color: #fff; border-right-color: rgba(255, 255, 255, .1); }
.pg-wisebled-subnav.is-dark .pg-wisebled-subnav__link { color: #b9bdd6; }
.pg-wisebled-subnav.is-dark .pg-wisebled-subnav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pg-wisebled-subnav.is-dark .pg-wisebled-subnav__link.is-active { color: var(--ink-900); background: #fff; }
.pg-wisebled-subnav.is-dark .pg-wisebled-subnav__link:focus-visible { outline-color: var(--brand-300); }

/* ---------- CAISSE : story collante ---------- */
.pg-wisebled-pos { overflow: clip; }
.pg-wisebled-pos__story { display: grid; gap: 0; }
.pg-wisebled-pos__steps { display: grid; gap: clamp(56px, 8vw, 96px); margin: 0; padding: 0; list-style: none; }
.pg-wisebled-pos__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); }
.pg-wisebled-pos__tag span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 7px; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--c-accent); background: var(--c-accent-soft); transition: color var(--d-3), background-color var(--d-3); }
.pg-wisebled-pos__title { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.15rem); letter-spacing: -.03em; line-height: 1.12; }
.pg-wisebled-pos__text { margin-top: 14px; font-size: 1.04rem; line-height: 1.65; color: var(--c-fg-2); max-width: 46ch; }
.pg-wisebled-pos__points { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.pg-wisebled-pos__points li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--c-fg-2); }
.pg-wisebled-pos__points .ws-i { margin-top: 3px; color: var(--mint-600); }
.pg-wisebled-key kbd { display: inline-grid; place-items: center; min-width: 52px; height: 44px; padding: 0 8px; border-radius: 9px; font: 600 .95rem/1 var(--font); color: var(--ink-900); background: linear-gradient(180deg, #fff, #eef0f7); border: 1px solid rgba(14, 16, 40, .14); box-shadow: 0 2px 0 rgba(14, 16, 40, .14), inset 0 -2px 0 rgba(14, 16, 40, .06); }

.pg-wisebled-pos__inline { margin-top: 28px; position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--c-line); background: radial-gradient(80% 70% at 50% 0%, rgba(135, 118, 255, .2), transparent 70%), linear-gradient(180deg, var(--paper-2), var(--paper-3)); }
.pg-wisebled-pos__sticky { display: none; }

/* Visuels d'étape */
.pg-wisebled-posvis { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 28px 14px 0; }
.pg-wisebled-posvis--touch, .pg-wisebled-posvis--print { max-height: 440px; align-items: start; }
.pg-wisebled-posvis--touch .ws-dev-phone { width: min(62%, 290px); }
.pg-wisebled-posvis--scan, .pg-wisebled-posvis--keys { padding: 28px 14px 32px; }
.pg-wisebled-posvis .ws-dev-browser { width: min(100%, 620px); box-shadow: 0 40px 80px -40px rgba(24, 18, 72, .45), 0 0 0 1px rgba(14, 16, 40, .04); }
.pg-wisebled-posvis__tap { position: absolute; left: 50%; top: 52%; width: 54px; height: 54px; margin: -27px 0 0 -48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .95); background: rgba(107, 87, 250, .35); box-shadow: 0 0 0 6px rgba(107, 87, 250, .2), 0 10px 30px -8px rgba(107, 87, 250, .8); opacity: 0; pointer-events: none; }
.is-active > .pg-wisebled-posvis .pg-wisebled-posvis__tap, .pg-wisebled-pos__inline.is-live .pg-wisebled-posvis__tap { animation: pg-wisebled-tap 1.6s var(--ease-out) .5s 2 both; }
@keyframes pg-wisebled-tap { 0% { opacity: 0; transform: scale(1.6); } 25% { opacity: 1; transform: scale(1); } 45% { transform: scale(.86); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.pg-wisebled-posvis__scanner { position: absolute; left: 6%; bottom: 10%; width: min(42%, 220px); padding: 12px 14px; border-radius: 16px; color: var(--ink-900); background: rgba(255, 255, 255, .94); border: 1px solid rgba(14, 16, 40, .08); box-shadow: 0 24px 50px -20px rgba(14, 16, 40, .45); overflow: hidden; }
.pg-wisebled-posvis__scanner svg { width: 100%; height: auto; }
.pg-wisebled-posvis__laser { position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; border-radius: 2px; background: #f43f5e; box-shadow: 0 0 12px 2px rgba(244, 63, 94, .7); opacity: .9; }
.is-active > .pg-wisebled-posvis .pg-wisebled-posvis__laser, .pg-wisebled-pos__inline.is-live .pg-wisebled-posvis__laser { animation: pg-wisebled-laser 1.1s var(--ease-io) .3s 3 alternate both; }
@keyframes pg-wisebled-laser { from { transform: translateY(-22px); } to { transform: translateY(22px); } }
.pg-wisebled-posvis__chip { position: absolute; right: 5%; top: 14%; }
.is-active > .pg-wisebled-posvis .pg-wisebled-posvis__chip, .pg-wisebled-pos__inline.is-live .pg-wisebled-posvis__chip { animation: pg-wisebled-pop .7s var(--ease-spring) 1.4s both; }
@keyframes pg-wisebled-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.pg-wisebled-posvis__keys { position: absolute; left: 50%; bottom: 7%; display: flex; gap: 8px; margin: 0; padding: 10px; list-style: none; transform: translateX(-50%); border-radius: 18px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(14, 16, 40, .08); box-shadow: 0 24px 50px -20px rgba(14, 16, 40, .45); }
.pg-wisebled-key { display: grid; justify-items: center; gap: 6px; min-width: 64px; }
.pg-wisebled-key span { font-size: .68rem; font-weight: 600; color: #555a75; white-space: nowrap; }
.pg-wisebled-key--hot kbd { color: #fff; background: linear-gradient(180deg, #7b68ff, #5641e8); border-color: #4532c4; box-shadow: 0 2px 0 #35279a, 0 10px 24px -8px rgba(86, 65, 232, .8); }
.is-active > .pg-wisebled-posvis .pg-wisebled-key--hot kbd, .pg-wisebled-pos__inline.is-live .pg-wisebled-key--hot kbd { animation: pg-wisebled-press .9s var(--ease-out) .6s 2 both; }
@keyframes pg-wisebled-press { 0%, 100% { transform: none; } 35% { transform: translateY(2px); box-shadow: 0 0 0 #35279a, 0 4px 10px -6px rgba(86, 65, 232, .8); } }
@media (max-width: 479px) { .pg-wisebled-key { min-width: 0; } .pg-wisebled-key kbd { min-width: 40px; height: 38px; font-size: .84rem; } .pg-wisebled-posvis__keys { gap: 4px; padding: 8px; } .pg-wisebled-key span { font-size: .62rem; } }
.pg-wisebled-posvis--print { grid-template-columns: auto auto; justify-content: center; gap: clamp(14px, 3vw, 36px); }
.pg-wisebled-posvis--print .ws-dev-phone { width: min(46vw, 240px); }
.pg-wisebled-posvis__printer { position: relative; align-self: center; width: clamp(104px, 24vw, 170px); }
.pg-wisebled-posvis__slot { position: relative; z-index: 2; display: block; height: 40px; border-radius: 16px; background: linear-gradient(180deg, #2a2e3d, #11131b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 40px -18px rgba(14, 16, 40, .6); }
.pg-wisebled-posvis__slot::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 10px; height: 4px; border-radius: 2px; background: #050608; }
.pg-wisebled-posvis__paper { position: relative; z-index: 1; width: 72%; margin: -8px auto 0; filter: drop-shadow(0 18px 24px rgba(14, 16, 40, .18)); clip-path: inset(0 -20px -40px -20px); }
.pg-wisebled-posvis__paper .ws-art { width: 100%; }
.is-active > .pg-wisebled-posvis .pg-wisebled-posvis__paper .ws-art, .pg-wisebled-pos__inline.is-live .pg-wisebled-posvis__paper .ws-art { animation: pg-wisebled-print 1.8s var(--ease-out) .4s both; }
@keyframes pg-wisebled-print { from { transform: translateY(-88%); } to { transform: none; } }

@media (min-width: 960px) {
  .pg-wisebled-pos__story { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
  .pg-wisebled-pos__steps { gap: 0; }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__step { display: flex; align-items: center; min-height: 74vh; }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__step:first-child { min-height: 58vh; align-items: flex-start; padding-top: 6vh; }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__step:last-child { min-height: 64vh; }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__inline { display: none; }
  .pg-wisebled-pos__copy { position: relative; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
  /* Étapes inactives atténuées sans passer sous le contraste AA (≥ 4,5:1 sur blanc) */
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__step:not(.is-active) .pg-wisebled-pos__copy { opacity: .78; }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__step.is-active .pg-wisebled-pos__tag span { color: #fff; background: var(--brand-600); }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__copy::before { content: ""; position: absolute; left: -22px; top: 2px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleY(0); transform-origin: 50% 0; transition: transform .6s var(--ease-out); }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__step.is-active .pg-wisebled-pos__copy::before { transform: none; }
  /* Sans JS : visuels en ligne, pas de panneau collant */
  .pg-wisebled-pos__story:not(.is-live) { grid-template-columns: minmax(0, 1fr); }
  .pg-wisebled-pos__story:not(.is-live) .pg-wisebled-pos__step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
  .pg-wisebled-pos__story:not(.is-live) .pg-wisebled-pos__inline { margin-top: 0; }
  .pg-wisebled-pos__story.is-live .pg-wisebled-pos__sticky { display: block; position: sticky; top: calc(var(--hdr-space) + 78px); height: min(640px, calc(100vh - var(--hdr-space) - 120px)); min-height: 480px; }
  .pg-wisebled-pos__screen { position: relative; height: 100%; overflow: hidden; border-radius: var(--r-2xl); border: 1px solid var(--c-line); background: radial-gradient(70% 60% at 50% 0%, rgba(135, 118, 255, .24), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(217, 70, 239, .1), transparent 70%), linear-gradient(180deg, var(--paper-2), var(--paper-3)); box-shadow: var(--sh-2); }
  .pg-wisebled-pos__screen-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(14, 16, 40, .12) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent); mask: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent); }
  .pg-wisebled-pos__vis { position: absolute; inset: 0 0 56px; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translate3d(0, 28px, 0) scale(.97); transition: opacity .55s var(--ease-out), transform .9s var(--ease-out), visibility 0s linear .9s; }
  .pg-wisebled-pos__vis.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease-out) .1s, transform .9s var(--ease-out) .05s, visibility 0s; }
  .pg-wisebled-pos__vis .pg-wisebled-posvis { padding: 40px 32px 0; max-height: none; }
  .pg-wisebled-pos__vis .pg-wisebled-posvis--touch { align-items: start; }
  .pg-wisebled-pos__vis .pg-wisebled-posvis--touch .ws-dev-phone { width: 270px; }
  .pg-wisebled-pos__vis .pg-wisebled-posvis--print .ws-dev-phone { width: 240px; }
  .pg-wisebled-pos__vis .pg-wisebled-posvis--print { align-items: start; padding-top: 48px; }
  .pg-wisebled-pos__vis .pg-wisebled-posvis--scan, .pg-wisebled-pos__vis .pg-wisebled-posvis--keys { padding: 32px; }
  .pg-wisebled-pos__vis .ws-dev-browser { width: 100%; max-width: 640px; }
  .pg-wisebled-pos__dots { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; justify-content: center; gap: 6px; margin: 0; padding: 12px; list-style: none; background: linear-gradient(180deg, rgba(246, 246, 250, 0), rgba(246, 246, 250, .92) 40%); }
  .pg-wisebled-pos__dots li { position: relative; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--c-fg-3); transition: color var(--d-3), background-color var(--d-3); }
  .pg-wisebled-pos__dots li.is-active { color: var(--ink-900); background: #fff; box-shadow: var(--sh-1); }
}

/* Paiements : moyens regroupés + exemple de paiement mixte (ticket) */
.pg-wisebled-pay { position: relative; display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(64px, 8vw, 112px); padding: clamp(24px, 4vw, 52px); border-radius: var(--r-2xl); border: 1px solid var(--c-line); background: radial-gradient(60% 90% at 100% 0%, rgba(135, 118, 255, .13), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(245, 158, 11, .07), transparent 70%), var(--c-surface); box-shadow: var(--sh-1); overflow: hidden; }
@media (min-width: 900px) { .pg-wisebled-pay { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.pg-wisebled-pay__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); }
.pg-wisebled-pay__title { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -.032em; color: var(--c-fg); }
.pg-wisebled-pay__text { margin: 14px 0 0; max-width: 54ch; line-height: 1.6; color: var(--c-fg-2); }
.pg-wisebled-pay__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.pg-wisebled-pay__groups li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--c-line); }
.pg-wisebled-pay__groups .ws-i { flex-shrink: 0; margin-top: 1px; color: var(--c-accent); }
.pg-wisebled-pay__groups b { display: block; font-size: .95rem; font-weight: 600; color: var(--c-fg); }
.pg-wisebled-pay__groups small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.4; color: var(--c-fg-2); }
.pg-wisebled-split { position: relative; display: grid; place-items: center; margin: 0; padding: clamp(4px, 2vw, 20px) 0; }
.pg-wisebled-split::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(135, 118, 255, .3), transparent 70%); filter: blur(26px); }
.pg-wisebled-split__card { position: relative; width: min(100%, 384px); padding: 22px 22px 20px; border-radius: 22px; color: var(--ink-900); background: linear-gradient(180deg, #fff, #fbfbfe); border: 1px solid rgba(14, 16, 40, .08); box-shadow: 0 1px 0 #fff inset, 0 2px 4px -2px rgba(24, 18, 72, .12), 0 34px 64px -30px rgba(24, 18, 72, .5); transform: rotate(-1.2deg); }
.pg-wisebled-split__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin: 0; font-size: .88rem; }
.pg-wisebled-split__head b { font-weight: 650; }
.pg-wisebled-split__head small { font: 500 .72rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #5f647f; }
.pg-wisebled-split__due { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 14px; }
.pg-wisebled-split__due small { font-size: .8rem; color: #5f647f; }
.pg-wisebled-split__due b { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.5rem); font-weight: 650; line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.pg-wisebled-split__bar { display: flex; gap: 4px; height: 10px; }
.pg-wisebled-split__seg { display: block; width: var(--w); height: 100%; border-radius: 6px; transform-origin: 0 50%; }
.pg-wisebled-split__seg--cash { background: linear-gradient(90deg, var(--mint-500), var(--mint-400)); }
.pg-wisebled-split__seg--om { background: linear-gradient(90deg, var(--sun-500), var(--sun-400)); }
.pg-wisebled-split__rows { display: grid; margin: 12px 0 0; padding: 0; list-style: none; }
.pg-wisebled-split__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; font-size: .92rem; border-bottom: 1px dashed rgba(14, 16, 40, .14); }
.pg-wisebled-split__row b { font-weight: 650; white-space: nowrap; }
.pg-wisebled-split__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.pg-wisebled-split__row--cash .pg-wisebled-split__ico { color: var(--mint-700); background: rgba(16, 185, 129, .13); }
.pg-wisebled-split__row--om .pg-wisebled-split__ico { color: var(--sun-700); background: rgba(245, 158, 11, .15); }
.pg-wisebled-split__rest { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: .86rem; color: #5f647f; }
.pg-wisebled-split__rest b { margin-left: auto; color: var(--ink-900); font-weight: 650; white-space: nowrap; }
.pg-wisebled-split__ok { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: .74rem; font-weight: 650; color: var(--mint-700); background: rgba(16, 185, 129, .13); }
/* Mouvement (classe .is-live posée à l'entrée dans l'écran) : la barre se remplit, puis les deux paiements s'inscrivent */
@keyframes pg-wisebled-grow { from { transform: scaleX(0); } to { transform: none; } }
html.ws-motion-ready .pg-wisebled-pay:not(.is-live) :is(.pg-wisebled-split__seg) { transform: scaleX(0); }
html.ws-motion-ready .pg-wisebled-pay:not(.is-live) :is(.pg-wisebled-split__row, .pg-wisebled-split__ok) { opacity: 0; }
.pg-wisebled-pay.is-live .pg-wisebled-split__seg--cash { animation: pg-wisebled-grow .8s var(--ease-out) .35s both; }
.pg-wisebled-pay.is-live .pg-wisebled-split__seg--om { animation: pg-wisebled-grow .8s var(--ease-out) 1s both; }
.pg-wisebled-pay.is-live .pg-wisebled-split__row--cash { animation: pg-wisebled-pop .6s var(--ease-out) .5s both; }
.pg-wisebled-pay.is-live .pg-wisebled-split__row--om { animation: pg-wisebled-pop .6s var(--ease-out) 1.15s both; }
.pg-wisebled-pay.is-live .pg-wisebled-split__ok { animation: pg-wisebled-pop .6s var(--ease-spring) 1.7s both; }

/* ---------- STOCK : bento ---------- */
.pg-wisebled-bento { --bento-row: 250px; }
.pg-wisebled-cell { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-1); min-width: 0; }
.pg-wisebled-cell__txt h3 { margin-bottom: 6px; font-size: 1.12rem; letter-spacing: -.02em; }
.pg-wisebled-cell__txt p { font-size: .94rem; color: var(--c-fg-2); max-width: 46ch; }
.pg-wisebled-cell__media { position: relative; flex: 1 1 auto; min-height: 0; }
.pg-wisebled-cell__media--browser { margin: 0 calc(-1 * clamp(22px, 2.4vw, 30px)) calc(-1 * clamp(22px, 2.4vw, 30px)) 0; padding-top: 6px; }
.pg-wisebled-cell__media--browser .ws-dev-browser { width: 108%; max-width: none; border-radius: 14px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: 0 30px 60px -30px rgba(24, 18, 72, .35); }
.pg-wisebled-cell--overview { background: radial-gradient(70% 70% at 100% 100%, rgba(135, 118, 255, .14), transparent 70%), var(--c-surface); }
.pg-wisebled-cell__media--phone { display: flex; justify-content: center; margin-bottom: calc(-1 * clamp(22px, 2.4vw, 30px) - 48px); max-height: 420px; }
.pg-wisebled-cell__depth { display: flex; justify-content: center; width: 100%; }
.pg-wisebled-cell__media--phone .ws-dev-phone { width: min(78%, 250px); align-self: flex-start; }
.pg-wisebled-cell--phone { background: linear-gradient(180deg, var(--c-surface), var(--paper-2)); }

.pg-wisebled-mini { margin-top: auto; padding: 14px; border-radius: 16px; background: var(--c-bg-2); border: 1px solid var(--c-line); }
.pg-wisebled-mini__head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8a4a06; }
.pg-wisebled-mini__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 8px 0; border-top: 1px solid var(--c-line); font-size: .86rem; color: var(--c-fg); }
.pg-wisebled-mini__row:first-of-type { border-top: 0; }
.pg-wisebled-mini__row b { font-variant-numeric: tabular-nums; font-size: .8rem; padding: 2px 8px; border-radius: 999px; color: #92400e; background: #fff6dc; }
.pg-wisebled-mini__row.is-out b { color: var(--coral-700); background: #ffe4e8; }
.pg-wisebled-mini__row i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--c-line); overflow: hidden; position: relative; }
.pg-wisebled-mini__row i::after { content: ""; position: absolute; inset: 0; width: var(--lvl); border-radius: inherit; background: linear-gradient(90deg, var(--sun-500), var(--coral-500)); transform-origin: 0 50%; }
.pg-wisebled-cell.is-live .pg-wisebled-mini__row i::after { animation: pg-wisebled-drain 1.4s var(--ease-out) var(--d, 0s) both; }
@keyframes pg-wisebled-drain { from { transform: scaleX(4); opacity: .4; } to { transform: none; opacity: 1; } }

/* Transfert : sans JS le carton est posé au milieu ; avec JS il suit le scroll (--tx) */
.pg-wisebled-transfer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: auto; padding: 18px; border-radius: 18px; background: var(--c-bg-2); border: 1px solid var(--c-line); }
.pg-wisebled-transfer__node { display: grid; justify-items: center; gap: 8px; min-width: 76px; padding: 12px 10px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-accent); }
.pg-wisebled-transfer__node b { font-size: .78rem; color: var(--c-fg); font-weight: 600; }
.pg-wisebled-transfer__node--to { color: var(--mint-600); }
.pg-wisebled-transfer__qty { font-size: .8rem; font-weight: 650; color: var(--c-fg); font-variant-numeric: tabular-nums; }
.pg-wisebled-transfer__qty s { margin-right: 3px; color: var(--c-fg-3); font-weight: 500; transition: opacity .3s; }
.pg-wisebled-transfer.is-scrub:not(.is-done) .pg-wisebled-transfer__qty s { opacity: 0; }
.pg-wisebled-transfer__track { position: relative; height: 40px; }
.pg-wisebled-transfer__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--c-line-2); }
.pg-wisebled-transfer__box { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; margin-top: -15px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; color: #fff; background: var(--grad-brand); box-shadow: var(--sh-glow); transform: translateX(-50%); }
.pg-wisebled-transfer__box small { font-size: inherit; }
.pg-wisebled-transfer.is-scrub .pg-wisebled-transfer__box { left: 0; transform: translate3d(var(--tx, 0px), 0, 0); }
@media (max-width: 479px) { .pg-wisebled-transfer { gap: 8px; padding: 12px; } .pg-wisebled-transfer__node { min-width: 64px; padding: 10px 6px; } .pg-wisebled-transfer__box small { display: none; } }

/* Lots */
.pg-wisebled-lots { margin-top: auto; padding: 14px; border-radius: 16px; background: var(--c-bg-2); border: 1px solid var(--c-line); }
.pg-wisebled-lots__head, .pg-wisebled-count__head { color: var(--c-fg-3); }
.pg-wisebled-lots ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-wisebled-lots__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: .86rem; color: var(--c-fg); }
.pg-wisebled-lots__id { font: 600 .74rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--c-fg-3); }
.pg-wisebled-lots__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-wisebled-lots__row b { padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-wisebled-lots__row--sun b { color: #92400e; background: #fff6dc; }
.pg-wisebled-lots__row--coral b { color: var(--coral-700); background: #ffe4e8; }
.pg-wisebled-lots__row--out { background: transparent; border-style: dashed; }
.pg-wisebled-lots__row--out .pg-wisebled-lots__name { color: var(--c-fg-3); text-decoration: line-through; }
.pg-wisebled-lots__row--out b { color: #fff; background: var(--coral-700); }

/* Feuille d'inventaire : une seule grille (lignes en display: contents) → colonnes alignées sur leur contenu le plus large */
.pg-wisebled-count { margin-top: auto; padding: 14px; border-radius: 16px; background: var(--c-bg-2); border: 1px solid var(--c-line); font-size: .86rem; }
.pg-wisebled-count__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; }
.pg-wisebled-count__row { display: contents; color: var(--c-fg); font-variant-numeric: tabular-nums; }
.pg-wisebled-count__row > * { padding: 8px 0; border-top: 1px solid var(--c-line); line-height: 1.5; }
.pg-wisebled-count__row > span:first-child { min-width: 0; padding-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-wisebled-count__row > :not(:first-child) { padding-left: 14px; text-align: right; }
.pg-wisebled-count__row > :last-child { padding-right: 4px; }
.pg-wisebled-count__row--h > * { border-top: 0; padding-top: 0; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--c-fg-3); }
.pg-wisebled-count__row b { display: inline-block; min-width: 2.4em; padding: 1px 7px; line-height: 1.3; vertical-align: middle; border-radius: 999px; font-size: .78rem; text-align: center; }
.pg-wisebled-count__row b.is-neg { color: var(--coral-700); background: #ffe4e8; }
.pg-wisebled-count__row b.is-pos { color: #92400e; background: #fff6dc; }
.pg-wisebled-count__row b.is-zero { color: #047857; background: #dcfce7; }
@media (max-width: 379px) { .pg-wisebled-count__row > :not(:first-child) { padding-left: 8px; } .pg-wisebled-count { font-size: .8rem; padding: 12px; } }
@media (min-width: 1080px) { .pg-wisebled-cell--alerts { grid-column: span 2; } }

/* ---------- DOCUMENTS : éventail ---------- */
.pg-wisebled-docs { overflow: clip; }
.pg-wisebled-docs__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .pg-wisebled-docs__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (min-width: 1200px) { .pg-wisebled-docs__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 4vw, 64px); } .pg-wisebled-fan { --k: 1.16; max-width: 820px; } .pg-wisebled-fan__stage { aspect-ratio: 1 / .84; } }
.pg-wisebled-docs__copy .ws-sh { margin-bottom: 28px; }
.pg-wisebled-docs__count { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.pg-wisebled-docs__num { margin: 0; font-size: clamp(4.2rem, 3rem + 5vw, 7.2rem); line-height: .82; font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-wisebled-docs__numlabel { margin: 0 0 8px; max-width: 22ch; font-weight: 500; line-height: 1.35; color: var(--c-fg); }
.pg-wisebled-docs__formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.pg-wisebled-docs__formats li { padding: 7px 12px; border-radius: 10px; font-size: .84rem; font-weight: 600; color: var(--c-fg); background: var(--c-bg-2); border: 1px solid var(--c-line); font-variant-numeric: tabular-nums; }
.pg-wisebled-docs__points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-wisebled-docs__points li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-fg-2); }
.pg-wisebled-docs__points .ws-i { margin-top: 4px; color: var(--mint-600); }

.pg-wisebled-fan { --spread: 1; position: relative; width: 100%; max-width: 660px; margin: 0 auto; }
.pg-wisebled-fan__stage { position: relative; aspect-ratio: 1 / .74; container-type: inline-size; perspective: 1600px; }
.pg-wisebled-fan__stage::before { content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(135, 118, 255, .28), transparent 70%); filter: blur(20px); }
.pg-wisebled-doc { position: absolute; inset: 0; margin: auto; width: calc(var(--w) * var(--k, 1)); height: calc(var(--h) * var(--k, 1)); transform: translate(calc(var(--x) * var(--k, 1) * var(--spread)), calc(var(--y) * var(--k, 1) * var(--spread))) rotate(calc(var(--r) * var(--spread))) rotateX(calc(4deg * var(--spread))); transform-origin: 50% 90%; }
.pg-wisebled-doc__paper { position: relative; display: flex; flex-direction: column; gap: 1.2cqi; width: 100%; height: 100%; padding: 2.6cqi; border-radius: 1.2cqi; background: #fff; color: var(--ink-900); font-size: max(6px, calc(1.42cqi * var(--k, 1))); line-height: 1.35; background: linear-gradient(180deg, #fff 0%, #fcfcfe 100%); box-shadow: 0 0 0 1px rgba(14, 16, 40, .06), 0 1px 1px rgba(14, 16, 40, .05), 0 1.2cqi 2.4cqi -1cqi rgba(24, 18, 72, .18), 0 4cqi 8cqi -3cqi rgba(24, 18, 72, .38); overflow: hidden; }
.pg-wisebled-doc__paper small { font-size: .82em; color: #5f647f; }
.pg-wisebled-doc__paper b { font-weight: 650; }
.pg-wisebled-doc__brand { display: flex; align-items: center; gap: 1.1cqi; min-width: 0; }
.pg-wisebled-doc__logo { display: block; flex-shrink: 0; width: 3.6cqi; height: 3.6cqi; border-radius: 1cqi; background: var(--grad-brand); }
.pg-wisebled-doc__shop { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pg-wisebled-doc__shop b { white-space: nowrap; }
.pg-wisebled-doc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1cqi; padding-bottom: 1.4cqi; border-bottom: 1px solid rgba(14, 16, 40, .08); }
.pg-wisebled-doc__ref { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pg-wisebled-doc__ref b { font-size: 1.32em; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.pg-wisebled-doc__kv { display: flex; justify-content: space-between; gap: 2cqi; }
.pg-wisebled-doc__kv > span { display: flex; flex-direction: column; min-width: 0; }
.pg-wisebled-doc__kv--stack { flex-direction: column; gap: 1cqi; }
.pg-wisebled-doc__table { display: grid; }
.pg-wisebled-doc__tr { display: grid; grid-template-columns: minmax(0, 1fr) 3.4em 6em; gap: 1cqi; padding: .8cqi 0; border-bottom: 1px solid rgba(14, 16, 40, .07); }
.pg-wisebled-doc__tr > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-wisebled-doc__tr > :not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-wisebled-doc__tr--h { padding: .7cqi .8cqi; border: 0; border-radius: .6cqi; font-size: .8em; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-800, #2f2490); background: var(--brand-50); }
.pg-wisebled-doc__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1cqi; font-weight: 650; }
.pg-wisebled-doc__sum b { font-size: 1.12em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-wisebled-doc__totals { display: grid; gap: .6cqi; margin-top: auto; margin-left: 28%; padding: 1.2cqi 1.4cqi; border-radius: .8cqi; background: var(--paper-2); }
.pg-wisebled-doc__sub { display: flex; justify-content: space-between; gap: 1cqi; font-size: .9em; color: #5f647f; white-space: nowrap; }
.pg-wisebled-doc__sum--due { padding-top: .6cqi; border-top: 1px solid rgba(14, 16, 40, .1); color: var(--brand-700); }
/* Reçu : contenu calé à droite (sa moitié gauche passe sous la facture) */
.pg-wisebled-doc__paper--receipt .pg-wisebled-doc__amount, .pg-wisebled-doc__paper--receipt .pg-wisebled-doc__kv { margin-left: 31%; }
/* Ticket : le masque (bord dentelé) coupe la box-shadow → ombre portée sur le parent pour détacher le papier du fond blanc */
.pg-wisebled-doc--ticket { filter: drop-shadow(0 0 .5px rgba(14, 16, 40, .35)) drop-shadow(0 2cqi 3cqi rgba(24, 18, 72, .2)); }
.pg-wisebled-doc__paper--ticket { gap: .9cqi; padding: 2.2cqi 1.8cqi 3.2cqi; font-size: max(5.5px, calc(1.2cqi * var(--k, 1))); border-radius: .8cqi .8cqi 0 0; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 1cqi) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 2cqi 1cqi repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 1cqi) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 2cqi 1cqi repeat-x; }
.pg-wisebled-doc__center { display: flex; justify-content: center; text-align: center; }
.pg-wisebled-doc__center .pg-wisebled-doc__brand { flex-direction: column; gap: .6cqi; }
.pg-wisebled-doc__meta { text-align: center; font-size: .86em; color: #5f647f; }
.pg-wisebled-doc__dash { display: block; flex-shrink: 0; border-top: max(1px, .2cqi) dashed rgba(14, 16, 40, .28); }
.pg-wisebled-doc__line { display: flex; justify-content: space-between; gap: .8cqi; }
.pg-wisebled-doc__line > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-wisebled-doc__line b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-wisebled-doc__barcode { display: block; flex-shrink: 0; height: 4cqi; margin-top: auto; background: repeating-linear-gradient(90deg, var(--ink-900) 0 .3cqi, transparent .3cqi .6cqi, var(--ink-900) .6cqi .75cqi, transparent .75cqi 1.15cqi); opacity: .85; }
.pg-wisebled-doc__amount { display: flex; flex-direction: column; gap: .4cqi; padding: 1.6cqi; border-radius: .8cqi; background: var(--brand-50); }
.pg-wisebled-doc__amount b { font-size: 1.9em; letter-spacing: -.02em; white-space: nowrap; color: var(--brand-800, #2f2490); }
.pg-wisebled-doc__sign { display: flex; flex-direction: column; align-items: flex-end; gap: .6cqi; margin-top: auto; }
.pg-wisebled-doc__sign i { display: block; width: 46%; height: 3.4cqi; border-bottom: 1px solid rgba(14, 16, 40, .35); background: no-repeat center / 80% 70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M4 22c10-14 18-16 20-8s-6 10-2 4 12-14 16-8-4 12 4 6 14-12 20-6 2 8 10 4 18-10 26-8 10 6 18 2' fill='none' stroke='%232f2490' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pg-wisebled-fan__legend { margin-top: clamp(14px, 2vw, 22px); }
.pg-wisebled-fan__legend ul { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: center; }
.pg-wisebled-fan__item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 12px; position: relative; }
.pg-wisebled-fan__item::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 3px; background: var(--c-line-2); }
.pg-wisebled-fan__item--invoice::before { background: var(--grad-brand); }
.pg-wisebled-fan__item b { font-size: .92rem; font-weight: 600; color: var(--c-fg); line-height: 1.25; }
.pg-wisebled-fan__item small { font-size: .78rem; color: var(--c-fg-3); }
@media (max-width: 599px) { .pg-wisebled-fan { width: calc(100% + 24px); margin-inline: -12px; } .pg-wisebled-fan__item b { font-size: .84rem; } }

/* ---------- HORS LIGNE (signature) ---------- */
.pg-wisebled-off { position: relative; isolation: isolate; overflow: clip; background: var(--c-bg); }
.pg-wisebled-off__stage { position: relative; isolation: isolate; padding-block: var(--section-y) clamp(56px, 7vw, 96px); }
.pg-wisebled-off__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.pg-wisebled-off__bg span:first-child { position: absolute; width: 70vmax; height: 70vmax; left: -20vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, .13), transparent 62%); }
.pg-wisebled-off__bg span:last-child { position: absolute; width: 80vmax; height: 80vmax; right: -30vmax; bottom: -40vmax; border-radius: 50%; background: radial-gradient(circle, rgba(107, 87, 250, .28), transparent 62%); }
.pg-wisebled-off__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask: radial-gradient(ellipse 60% 60% at 70% 50%, #000, transparent 75%); mask: radial-gradient(ellipse 60% 60% at 70% 50%, #000, transparent 75%); }
.pg-wisebled-off__inner { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .pg-wisebled-off__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
@media (max-width: 959.98px) {
  .pg-wisebled-off__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .pg-wisebled-off__copy { display: contents; }
  .pg-wisebled-off__copy > .ws-eyebrow { order: 1; align-self: flex-start; }
  .pg-wisebled-off__title { order: 2; } .pg-wisebled-off__lead { order: 3; }
  .pg-wisebled-off__note { order: 4; margin-top: 22px; }
  .pg-wisebled-off__scene { order: 5; margin-top: 28px; }
  .pg-wisebled-off__steps { order: 6; } .pg-wisebled-off__rail { order: 7; }
}
/* Mobile / tablette (.is-follow posé par wisebled.js) : panneau compact collé sous la sous-navigation, les étapes défilent dessous */
@media (max-width: 959.98px) and (min-height: 600px) {
  .pg-wisebled-off.is-follow .pg-wisebled-off__scene { position: sticky; top: calc(var(--hdr-space) + 58px); z-index: 2; transition: top .55s var(--ease-out); }
  .pg-wisebled-subnav.is-stuck.is-up ~ .pg-wisebled-off.is-follow .pg-wisebled-off__scene { top: 70px; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__scene::before { inset: 20% 10% 0; opacity: .6; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__panel { gap: 10px; padding: 14px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)), var(--night-1); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 24px 48px -16px rgba(0, 0, 0, .9); }
  .pg-wisebled-off.is-follow :is(.pg-wisebled-off__window, .pg-wisebled-off__listhead, .pg-wisebled-off__reg) { display: none; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__flow { padding: 6px 2px 0; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__list { padding: 8px; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__list ul { gap: 4px; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__row { padding: 7px 10px; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__steps { margin-top: 20px; padding-bottom: 22vh; }
  .pg-wisebled-off.is-follow .pg-wisebled-off__step { padding: 16px 14px; border-radius: var(--r-lg); border: 1px solid transparent; transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out); }
  .pg-wisebled-off.is-follow .pg-wisebled-off__step::before { left: 33px; top: 56px; }
  .pg-wisebled-off.is-follow[data-step="0"] .pg-wisebled-off__step[data-i="0"], .pg-wisebled-off.is-follow[data-step="1"] .pg-wisebled-off__step[data-i="1"],
  .pg-wisebled-off.is-follow[data-step="2"] .pg-wisebled-off__step[data-i="2"], .pg-wisebled-off.is-follow[data-step="3"] .pg-wisebled-off__step[data-i="3"],
  .pg-wisebled-off.is-follow[data-step="4"] .pg-wisebled-off__step[data-i="4"] { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
}
.pg-wisebled-off__title { margin: 0; }
.pg-wisebled-off__title .ws-em { color: var(--sun-300); }
.pg-wisebled-off__lead { margin-top: 18px; }
.pg-wisebled-off__steps { position: relative; display: grid; gap: 4px; margin: 32px 0 0; padding: 0; list-style: none; }
.pg-wisebled-off__step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 14px 0; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.pg-wisebled-off__step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 50px; bottom: -6px; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04)); }
.pg-wisebled-off__stepnum { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color var(--d-3), border-color var(--d-3), color var(--d-3), box-shadow var(--d-3); }
.pg-wisebled-off__steptitle { margin: 8px 0 6px; font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; color: var(--c-fg); }
.pg-wisebled-off__step p { font-size: .94rem; line-height: 1.6; color: var(--c-fg-2); max-width: 52ch; }
.pg-wisebled-off__rail { display: none; }
.pg-wisebled-off__note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding: 14px 16px; border-radius: var(--r-lg); font-size: .9rem; line-height: 1.55; color: var(--c-fg-2); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.pg-wisebled-off__note > .ws-i { flex-shrink: 0; margin-top: 3px; color: var(--brand-300); }
.pg-wisebled-off__note strong { color: var(--c-fg); font-weight: 600; }
.pg-wisebled-off__note a { color: var(--brand-200); font-weight: 600; text-underline-offset: 3px; }
.pg-wisebled-off__note a:hover { color: #fff; }

/* Étape active : seul le repère change (le texte des autres étapes garde son contraste) */
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__step[data-i="0"] .pg-wisebled-off__stepnum, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__step[data-i="1"] .pg-wisebled-off__stepnum,
.pg-wisebled-off[data-step="2"] .pg-wisebled-off__step[data-i="2"] .pg-wisebled-off__stepnum, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__step[data-i="3"] .pg-wisebled-off__stepnum,
.pg-wisebled-off[data-step="4"] .pg-wisebled-off__step[data-i="4"] .pg-wisebled-off__stepnum { color: var(--ink-900); background: var(--sun-300); border-color: var(--sun-300); box-shadow: 0 0 24px -4px rgba(251, 191, 36, .6); }

/* Scène collante (≥ 960 px, .is-pinned posé par wisebled.js) : position: sticky, pas d'épinglage GSAP → aucun décalage de mise en page */
@media (min-width: 960px) {
  .pg-wisebled-off.is-pinned { height: calc(100vh + var(--pin-len, 300vh)); }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__stage { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; padding-block: calc(var(--hdr-space) + 64px) 28px; overflow: hidden; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__inner { width: 100%; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__title { font-size: clamp(2rem, 1.2rem + 2vw, 3.1rem); }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__lead { font-size: 1.02rem; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__steps { display: grid; margin-top: 26px; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__step { grid-area: 1 / 1; padding: 22px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; visibility: hidden; transform: translate3d(0, 16px, 0); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .45s; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__step::before { display: none; }
  .pg-wisebled-off.is-pinned[data-step="0"] .pg-wisebled-off__step[data-i="0"], .pg-wisebled-off.is-pinned[data-step="1"] .pg-wisebled-off__step[data-i="1"],
  .pg-wisebled-off.is-pinned[data-step="2"] .pg-wisebled-off__step[data-i="2"], .pg-wisebled-off.is-pinned[data-step="3"] .pg-wisebled-off__step[data-i="3"],
  .pg-wisebled-off.is-pinned[data-step="4"] .pg-wisebled-off__step[data-i="4"] { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease-out) .12s, transform .6s var(--ease-out) .12s, visibility 0s; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__rail { display: block; margin-top: 20px; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__note { margin-top: 18px; }
  .pg-wisebled-off__track { display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
  .pg-wisebled-off__track i { display: block; height: 100%; background: linear-gradient(90deg, var(--sun-300), var(--mint-400)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
  .pg-wisebled-off__rail ol { display: flex; justify-content: space-between; margin: 10px 0 0; padding: 0; list-style: none; font-size: .74rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .45); }
  .pg-wisebled-off__rail li { transition: color var(--d-3); }
  .pg-wisebled-off[data-step="0"] .pg-wisebled-off__rail li:nth-child(-n+1), .pg-wisebled-off[data-step="1"] .pg-wisebled-off__rail li:nth-child(-n+2),
  .pg-wisebled-off[data-step="2"] .pg-wisebled-off__rail li:nth-child(-n+3), .pg-wisebled-off[data-step="3"] .pg-wisebled-off__rail li:nth-child(-n+4),
  .pg-wisebled-off[data-step="4"] .pg-wisebled-off__rail li { color: #fff; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__scene { max-height: calc(100vh - var(--hdr-space) - 100px); }
}
@media (min-width: 960px) and (max-height: 820px) {
  .pg-wisebled-off.is-pinned .pg-wisebled-off__lead { display: none; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__panel { gap: 12px; padding: 18px; }
  .pg-wisebled-off.is-pinned .pg-wisebled-off__row { padding-block: 8px; }
}
@media (min-width: 960px) and (max-height: 720px) { .pg-wisebled-off.is-pinned .pg-wisebled-off__note { display: none; } }

/* Scène */
.pg-wisebled-off__scene { position: relative; --st: var(--mint-400); --st-bg: rgba(52, 211, 153, .12); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__scene, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__scene, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__scene { --st: var(--coral-400); --st-bg: rgba(251, 113, 133, .12); }
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__scene { --st: var(--brand-300); --st-bg: rgba(135, 118, 255, .16); }
.pg-wisebled-off__scene::before { content: ""; position: absolute; inset: 10% 6% -4%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, var(--st-bg), transparent 70%); filter: blur(30px); transition: background .6s; }
.pg-wisebled-off__panel { display: grid; gap: 18px; padding: clamp(16px, 2.4vw, 26px); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .11); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 50px 100px -40px rgba(0, 0, 0, .8); color: var(--c-fg-2); }
.pg-wisebled-off__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-wisebled-off__status { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 9px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--st); background: var(--st-bg); border: 1px solid color-mix(in srgb, var(--st) 35%, transparent); transition: color .5s, background-color .5s, border-color .5s; }
.pg-wisebled-off__led { grid-row: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 4px color-mix(in srgb, var(--st) 22%, transparent); transition: background-color .5s; }
.pg-wisebled-off__st { grid-row: 1; grid-column: 2; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.pg-wisebled-off__st--ok { opacity: 1; transform: none; }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__st--ok, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__st--ok, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__st--ok, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__st--ok { opacity: 0; transform: translateY(-6px); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__st--off, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__st--off, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__st--off,
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__st--sync { opacity: 1; transform: none; }
.pg-wisebled-off__reg { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--c-fg-3); }

.pg-wisebled-off__flow { display: grid; grid-template-columns: auto minmax(14px, .7fr) auto minmax(30px, 1.3fr) auto; align-items: start; gap: 8px; padding: 18px 6px 4px; }
.pg-wisebled-off__node { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.pg-wisebled-off__node > b { font-size: .76rem; font-weight: 600; color: var(--c-fg); white-space: nowrap; }
.pg-wisebled-off__ico { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); transition: border-color .5s, background-color .5s, box-shadow .5s, opacity .5s; }
.pg-wisebled-off__node--local .pg-wisebled-off__ico { color: var(--sun-200); }
.pg-wisebled-off[data-step="2"] .pg-wisebled-off__node--local .pg-wisebled-off__ico, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__node--local .pg-wisebled-off__ico { border-color: rgba(251, 191, 36, .6); background: rgba(251, 191, 36, .12); box-shadow: 0 0 30px -6px rgba(251, 191, 36, .55); }
.pg-wisebled-off__node--cloud .pg-wisebled-off__ico { border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .1); box-shadow: 0 0 30px -8px rgba(52, 211, 153, .5); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__node--cloud .pg-wisebled-off__ico, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__node--cloud .pg-wisebled-off__ico, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__node--cloud .pg-wisebled-off__ico { opacity: .45; border-color: rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .04); box-shadow: none; }
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__node--cloud .pg-wisebled-off__ico { border-color: rgba(135, 118, 255, .6); background: rgba(135, 118, 255, .12); box-shadow: 0 0 30px -6px rgba(135, 118, 255, .6); }
.pg-wisebled-off__okmark { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--ink-900); background: var(--mint-400); box-shadow: 0 0 0 3px var(--night-1); transition: transform .5s var(--ease-spring), opacity .3s; }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__okmark, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__okmark, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__okmark, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__okmark { opacity: 0; transform: scale(.4); }
.pg-wisebled-off__q { position: absolute; top: -9px; right: -9px; display: grid; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; font: 700 .74rem/24px var(--font); text-align: center; color: var(--ink-900); background: var(--sun-300); box-shadow: 0 0 0 3px var(--night-1); transition: transform .45s var(--ease-spring), opacity .3s; }
.pg-wisebled-off__q b, .pg-wisebled-off__qtxt b { grid-area: 1 / 1; font-weight: inherit; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.pg-wisebled-off__qtxt { display: inline-grid; }
.pg-wisebled-off__pending { font-size: .7rem; color: var(--c-fg-3); white-space: nowrap; }
/* défaut (= synchronisé) : file vide */
.pg-wisebled-off__q { opacity: 0; transform: scale(.5); }
.pg-wisebled-off__q0 { opacity: 1 !important; transform: none !important; }
.pg-wisebled-off[data-step="1"] .pg-wisebled-off__q, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__q, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__q { opacity: 1; transform: none; }
.pg-wisebled-off[data-step="1"] .pg-wisebled-off__q0, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__q0, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__q0 { opacity: 0 !important; transform: translateY(-6px) !important; }
.pg-wisebled-off[data-step="1"] .pg-wisebled-off__q2, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__q3, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__q3 { opacity: 1; transform: none; }
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__q { animation: pg-wisebled-throb 1s var(--ease-io) 3; }
@keyframes pg-wisebled-throb { 50% { transform: scale(1.18); } }

.pg-wisebled-off__wire { position: relative; height: 2px; margin-top: 28px; border-radius: 2px; background: rgba(255, 255, 255, .12); container-type: inline-size; }
.pg-wisebled-off__wire > i { position: absolute; inset: 0; border-radius: inherit; background: var(--brand-300); transform-origin: 0 50%; transition: transform .6s var(--ease-out), background-color .5s; }
.pg-wisebled-off__wire--net > i { background: var(--st); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__wire--net > i, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__wire--net > i, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__wire--net > i { transform: scaleX(0); }
.pg-wisebled-off__cut { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; color: #fff; background: var(--coral-500); box-shadow: 0 0 0 4px rgba(251, 113, 133, .2); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s var(--ease-spring); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__cut, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__cut, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__cut { opacity: 1; transform: none; }
.pg-wisebled-off__pk { position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(135, 118, 255, .9); opacity: 0; }
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__pk { animation: pg-wisebled-packet 1.1s var(--ease-io) 3 both; }
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__pk:nth-of-type(2) { animation-delay: .25s; }
.pg-wisebled-off[data-step="3"] .pg-wisebled-off__pk:nth-of-type(3) { animation-delay: .5s; }
@keyframes pg-wisebled-packet { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100cqi - 8px)); } }

.pg-wisebled-off__list { position: relative; padding: 14px; border-radius: 18px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .07); }
.pg-wisebled-off__listhead { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-fg-3); }
.pg-wisebled-off__empty { position: absolute; left: 0; right: 0; top: 50%; margin: 0; text-align: center; font-size: .84rem; color: var(--c-fg-3); opacity: 0; transform: translateY(-50%); transition: opacity .4s; pointer-events: none; }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__empty { opacity: 1; transition-delay: .3s; }
.pg-wisebled-off__list ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-wisebled-off__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: .82rem; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); transition-delay: var(--rd, 0s); }
.pg-wisebled-off__row--2 { --rd: .12s; } .pg-wisebled-off__row--3 { --rd: .24s; }
.pg-wisebled-off__ids { display: grid; min-width: 0; perspective: 400px; }
.pg-wisebled-off__hl, .pg-wisebled-off__v { grid-area: 1 / 1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backface-visibility: hidden; transition: transform .55s var(--ease-out), opacity .4s; transition-delay: var(--rd, 0s); }
.pg-wisebled-off__hl { color: var(--sun-200); }
.pg-wisebled-off__v { color: var(--mint-300); }
.pg-wisebled-off__amt { font-variant-numeric: tabular-nums; color: var(--c-fg); white-space: nowrap; }
.pg-wisebled-off__badge { grid-column: 3; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: .68rem; font-weight: 600; white-space: nowrap; transition: opacity .35s, transform .45s var(--ease-out); transition-delay: var(--rd, 0s); }
.pg-wisebled-off__badge--prov { color: var(--sun-300); background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .28); }
.pg-wisebled-off__badge--final { color: var(--mint-300); background: rgba(16, 185, 129, .12); border: 1px solid rgba(52, 211, 153, .28); }
/* défaut = définitif */
.pg-wisebled-off__hl { opacity: 0; transform: rotateX(80deg); }
.pg-wisebled-off__badge--prov { opacity: 0; transform: scale(.8); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__hl, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__hl, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__hl, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__hl { opacity: 1; transform: none; }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__v, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__v, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__v, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__v { opacity: 0; transform: rotateX(-80deg); }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__badge--prov, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__badge--prov, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__badge--prov, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__badge--prov { opacity: 1; transform: none; }
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__badge--final, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__badge--final, .pg-wisebled-off[data-step="2"] .pg-wisebled-off__badge--final, .pg-wisebled-off[data-step="3"] .pg-wisebled-off__badge--final { opacity: 0; transform: scale(.8); }
/* apparition des tickets */
.pg-wisebled-off[data-step="0"] .pg-wisebled-off__row, .pg-wisebled-off[data-step="1"] .pg-wisebled-off__row--3 { opacity: 0; transform: translate3d(0, 10px, 0); }
.pg-wisebled-off[data-step] .pg-wisebled-off__row--dup { opacity: 0; transform: translate3d(0, 10px, 0); }
.pg-wisebled-off[data-step="4"] .pg-wisebled-off__row--dup { opacity: 1; transform: none; transition-delay: .5s; }
.pg-wisebled-off__row--dup { grid-template-columns: auto minmax(0, 1fr); background: transparent; border: 1px dashed rgba(255, 255, 255, .16); }
.pg-wisebled-off__row--dup .pg-wisebled-off__hl { opacity: .7 !important; transform: none !important; text-decoration: line-through; color: var(--c-fg-3); }
.pg-wisebled-off__duptxt { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: .76rem; color: var(--mint-300); }

.pg-wisebled-off__window { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 12px; font-size: .78rem; color: var(--c-fg-3); }
.pg-wisebled-off__window > span:first-child { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pg-wisebled-off__window b { color: var(--c-fg); font-weight: 600; white-space: nowrap; }
.pg-wisebled-off__winbar { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pg-wisebled-off__winbar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sun-300), var(--mint-400)); transition: opacity .5s; opacity: .55; }
.pg-wisebled-off[data-step="2"] .pg-wisebled-off__winbar i { opacity: 1; box-shadow: 0 0 16px rgba(251, 191, 36, .6); }

@media (max-width: 479px) {
  .pg-wisebled-off__ico { width: 46px; height: 46px; border-radius: 14px; }
  .pg-wisebled-off__wire { margin-top: 22px; }
  .pg-wisebled-off__node > b { font-size: .68rem; white-space: normal; max-width: 9ch; line-height: 1.2; }
  .pg-wisebled-off__row { grid-template-columns: minmax(0, 1fr) auto; }
  .pg-wisebled-off__amt { display: none; }
  .pg-wisebled-off__badge { grid-column: 2; }
  .pg-wisebled-off__window { grid-template-columns: 1fr auto; }
  .pg-wisebled-off__winbar { grid-column: 1 / -1; grid-row: 2; }
  .pg-wisebled-off__row--dup { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- ÉQUIPE ET CONTRÔLE ---------- */
.pg-wisebled-team { overflow: clip; }
.pg-wisebled-team__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .pg-wisebled-team__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.pg-wisebled-team__copy .ws-sh { margin-bottom: 28px; }

/* Rôles : tableau lisible sans JS (2 colonnes) ; avec JS, bascule Vendeur / Gérant */
.pg-wisebled-roles__switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.pg-wisebled-roles__switch[hidden] { display: none; }
.pg-wisebled-roles__label { font-size: var(--fs-sm); font-weight: 500; color: var(--c-fg-3); }
.pg-wisebled-roles__seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--c-bg-2); border: 1px solid var(--c-line); }
.pg-wisebled-roles__btn { position: relative; z-index: 1; height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 600 .9rem/1 var(--font); color: var(--c-fg-2); cursor: pointer; transition: color .35s var(--ease-out); }
.pg-wisebled-roles__btn[aria-pressed="true"] { color: #fff; }
.pg-wisebled-roles__btn:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.pg-wisebled-roles__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink-900); box-shadow: 0 6px 16px -8px rgba(14, 16, 40, .6); transition: transform .5s var(--ease-spring); }
.pg-wisebled-roles[data-active="manager"] .pg-wisebled-roles__thumb { transform: translateX(100%); }
.pg-wisebled-roles__table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--sh-1); overflow: hidden; font-size: .92rem; }
.pg-wisebled-roles__table th, .pg-wisebled-roles__table td { padding: 11px 14px; text-align: left; vertical-align: middle; border-top: 1px solid var(--c-line); }
.pg-wisebled-roles__table thead th { border-top: 0; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-fg-3); background: var(--c-bg-2); }
.pg-wisebled-roles__table tbody th { font-weight: 500; color: var(--c-fg); }
.pg-wisebled-roles__table td { width: 1%; white-space: nowrap; }
.pg-wisebled-roles__table[data-view="seller"] .is-manager, .pg-wisebled-roles__table[data-view="manager"] .is-seller { display: none; }
.pg-wisebled-perm { display: inline-flex; align-items: center; gap: 6px; height: 28px; white-space: nowrap; padding: 0 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.pg-wisebled-perm--yes { color: #047857; background: #dcfce7; }
.pg-wisebled-perm--no { color: #4d5270; background: var(--c-bg-2); border: 1px solid var(--c-line); }
.pg-wisebled-perm--cond { color: #92400e; background: #fff6dc; }
.pg-wisebled-roles__table.is-switching .pg-wisebled-perm { animation: pg-wisebled-perm-in .5s var(--ease-spring) both; animation-delay: calc(var(--ri, 0) * 45ms); }
@keyframes pg-wisebled-perm-in { from { opacity: 0; transform: translate3d(-8px, 0, 0) scale(.9); } to { opacity: 1; transform: none; } }
.pg-wisebled-roles__note { margin: 12px 2px 0; font-size: var(--fs-sm); color: var(--c-fg-3); }
@media (max-width: 519px) {
  .pg-wisebled-roles__table { font-size: .86rem; }
  .pg-wisebled-roles__table th, .pg-wisebled-roles__table td { padding: 10px; }
  .pg-wisebled-roles__table[data-view="both"] .pg-wisebled-perm { padding: 0 8px; }
  .pg-wisebled-roles__table[data-view="both"] .pg-wisebled-perm__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pg-wisebled-roles__btn { padding: 0 16px; }
}

.pg-wisebled-team__visual { position: relative; min-height: clamp(440px, 60vw, 620px); }
.pg-wisebled-team__halo { position: absolute; inset: 6% 0; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(135, 118, 255, .26), rgba(52, 211, 153, .08) 55%, transparent 72%); filter: blur(10px); }
.pg-wisebled-team__back, .pg-wisebled-team__front { position: absolute; }
.pg-wisebled-team__back { left: 6%; top: 2%; width: 44%; max-width: 250px; }
.pg-wisebled-team__front { right: 6%; top: 12%; width: 50%; max-width: 280px; }
.pg-wisebled-team__back .ws-dev, .pg-wisebled-team__front .ws-dev { width: 100%; }
.pg-wisebled-team__back .ws-dev-phone__body { transform: rotate(-7deg); opacity: .96; }
.pg-wisebled-team__front .ws-dev-phone__body { transform: rotate(4deg); }
.pg-wisebled-team__chip { position: absolute; left: 4%; bottom: 8%; z-index: 3; }

/* Journée de caisse */
.pg-wisebled-day { margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-2xl); background: linear-gradient(180deg, var(--c-bg-2), var(--c-surface)); border: 1px solid var(--c-line); }
.pg-wisebled-day__title { margin: 0 0 22px; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; color: var(--c-fg); }
.pg-wisebled-day__body { position: relative; }
.pg-wisebled-day__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--c-line); overflow: hidden; }
.pg-wisebled-day__line i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--brand-500), var(--mint-500)); transform-origin: 50% 0; transform: scaleY(var(--dp, 1)); }
.pg-wisebled-day__list { display: grid; gap: 26px; margin: 0; padding: 0 0 0 34px; list-style: none; }
.pg-wisebled-day__stop { position: relative; }
.pg-wisebled-day__dot { position: absolute; left: -34px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-surface); border: 3px solid var(--brand-500); box-shadow: 0 0 0 4px var(--c-surface); }
.pg-wisebled-day__stop--1 .pg-wisebled-day__dot { border-color: var(--violet-500); }
.pg-wisebled-day__stop--2 .pg-wisebled-day__dot { border-color: var(--mint-500); }
.pg-wisebled-day__stop time { display: block; font-size: .82rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--brand-700); }
.pg-wisebled-day__stop b { display: block; margin: 3px 0 4px; font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; color: var(--c-fg); }
.pg-wisebled-day__stop p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--c-fg-2); max-width: 38ch; }
.pg-wisebled-day__stop--2 p { font-weight: 500; color: var(--c-fg); }
@media (min-width: 760px) {
  .pg-wisebled-day__line { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .pg-wisebled-day__line i { background: linear-gradient(90deg, var(--brand-500), var(--violet-500) 50%, var(--mint-500)); transform-origin: 0 50%; transform: scaleX(var(--dp, 1)); }
  .pg-wisebled-day__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 34px 0 0; }
  .pg-wisebled-day__dot { left: 0; top: -34px; }
  .pg-wisebled-day__stop:last-child { text-align: right; }
  .pg-wisebled-day__stop:last-child .pg-wisebled-day__dot { left: auto; right: 0; }
  .pg-wisebled-day__stop:last-child p { margin-left: auto; }
  .pg-wisebled-day__stop:nth-child(2) { text-align: center; }
  .pg-wisebled-day__stop:nth-child(2) .pg-wisebled-day__dot { left: 50%; margin-left: -8px; }
  .pg-wisebled-day__stop:nth-child(2) p { margin-inline: auto; }
}

/* Rappels : écran verrouillé */
.pg-wisebled-alerts { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
@media (min-width: 960px) { .pg-wisebled-alerts { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (max-width: 959.98px) { .pg-wisebled-alerts__copy { order: -1; } }
.pg-wisebled-alerts__title { margin: 0 0 16px; font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.75rem); line-height: 1.08; letter-spacing: -.035em; }
.pg-wisebled-alerts__lead { margin: 0 0 22px; font-size: var(--fs-lead); line-height: 1.6; color: var(--c-fg-2); max-width: 52ch; }
.pg-wisebled-alerts__channels { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: .95rem; color: var(--c-fg-2); max-width: 52ch; }
.pg-wisebled-alerts__channels .ws-i { flex-shrink: 0; margin-top: 3px; color: var(--c-accent); }
.pg-wisebled-lock { position: relative; width: 100%; max-width: 440px; margin-inline: auto; border-radius: 40px; overflow: hidden; isolation: isolate; background: radial-gradient(80% 60% at 20% 0%, rgba(135, 118, 255, .95), transparent 60%), radial-gradient(70% 60% at 100% 30%, rgba(217, 70, 239, .7), transparent 60%), radial-gradient(70% 60% at 30% 100%, rgba(251, 191, 36, .55), transparent 60%), var(--night-2); box-shadow: var(--sh-float); }
.pg-wisebled-lock::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--noise); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.pg-wisebled-lock__inner { position: relative; z-index: 1; padding: clamp(28px, 4vw, 40px) clamp(16px, 2.6vw, 24px) clamp(22px, 3vw, 30px); }
.pg-wisebled-lock__time { margin: 0 0 clamp(22px, 3vw, 32px); text-align: center; font-size: clamp(3.6rem, 2.8rem + 3vw, 5.4rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: rgba(255, 255, 255, .94); font-variant-numeric: tabular-nums; }
.pg-wisebled-lock__feed { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-wisebled-note { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 22px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 16px 30px -18px rgba(14, 16, 40, .5); color: var(--ink-900); }
.pg-wisebled-note img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.pg-wisebled-note p { margin: 0; }
.pg-wisebled-note__top { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; color: #555a75; }
.pg-wisebled-note__top b { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pg-wisebled-note__t { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.pg-wisebled-note__d { font-size: .82rem; line-height: 1.4; color: #3d4363; }
.pg-wisebled-note__t::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--brand-500); vertical-align: middle; }
.pg-wisebled-note--coral .pg-wisebled-note__t::before { background: var(--coral-500); }
.pg-wisebled-note--sun .pg-wisebled-note__t::before { background: var(--sun-500); }
.pg-wisebled-note--mint .pg-wisebled-note__t::before { background: var(--mint-500); }

/* Sécurité : bandeau compact, sans icônes */
.pg-wisebled-sec { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px clamp(32px, 5vw, 72px); margin-top: clamp(80px, 10vw, 140px); padding: clamp(26px, 4vw, 56px); border-radius: var(--r-2xl); background: radial-gradient(60% 100% at 0% 0%, rgba(107, 87, 250, .32), transparent 60%), radial-gradient(40% 80% at 100% 100%, rgba(52, 211, 153, .1), transparent 60%), var(--night-1); color: var(--c-fg-2); box-shadow: var(--sh-2); }
.pg-wisebled-sec::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
@media (min-width: 960px) { .pg-wisebled-sec { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.pg-wisebled-sec__copy h3 { margin: 0 0 12px; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); letter-spacing: -.03em; color: var(--c-fg); }
.pg-wisebled-sec__copy p { margin: 0 0 14px; line-height: 1.6; max-width: 46ch; }
.pg-wisebled-sec__spec { display: grid; gap: 0 36px; margin: 0; }
@media (min-width: 640px) { .pg-wisebled-sec__spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-wisebled-sec__spec > div { padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.pg-wisebled-sec__spec dt { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-300); }
.pg-wisebled-sec__spec dd { margin: 5px 0 0; font-size: .97rem; line-height: 1.45; color: var(--c-fg); }

/* ---------- DÉMO ---------- */
.pg-wisebled-demo { overflow: clip; }
.pg-wisebled-demo__media { position: relative; display: grid; place-items: center; padding-block: 12px; }
.pg-wisebled-demo__glow { position: absolute; inset: 10% 10%; border-radius: 50%; background: conic-gradient(from 120deg, rgba(107, 87, 250, .5), rgba(217, 70, 239, .35), rgba(251, 191, 36, .3), rgba(107, 87, 250, .5)); filter: blur(60px); opacity: .55; }
.pg-wisebled-demo__phone { width: min(300px, 72vw); }
.pg-wisebled-demo__phone .ws-dev-phone__screen { position: relative; }
.pg-wisebled-demo__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0b0d1a; }
.pg-wisebled-demo__toggle { position: absolute; right: 7%; bottom: 5.5%; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(11, 13, 26, .62); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); transition: transform .35s var(--ease-spring), background-color .3s; }
.pg-wisebled-demo__toggle:hover { transform: scale(1.07); background: rgba(86, 65, 232, .9); }
.pg-wisebled-demo__toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pg-wisebled-demo__toggle[hidden], .pg-wisebled-demo__bar[hidden] { display: none; }
.pg-wisebled-demo__ico { display: grid; place-items: center; }
.pg-wisebled-demo__ico--play .ws-i { margin-left: 2px; }
.pg-wisebled-demo__ico--pause { display: none; }
[data-state="playing"] .pg-wisebled-demo__ico--play { display: none; }
[data-state="playing"] .pg-wisebled-demo__ico--pause { display: grid; }
.pg-wisebled-demo__phone:not([data-state="playing"]) .pg-wisebled-demo__toggle { right: 50%; bottom: 50%; width: 64px; height: 64px; transform: translate(50%, 50%); background: rgba(86, 65, 232, .92); border-color: rgba(255, 255, 255, .6); box-shadow: 0 0 0 10px rgba(107, 87, 250, .25), 0 20px 40px -12px rgba(0, 0, 0, .7); }
.pg-wisebled-demo__phone:not([data-state="playing"]) .pg-wisebled-demo__toggle:hover { transform: translate(50%, 50%) scale(1.07); }
.pg-wisebled-demo__bar { position: absolute; left: 14%; right: 14%; bottom: 2.2%; z-index: 3; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.pg-wisebled-demo__bar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--vp, 0)); transition: transform .26s linear; }
.pg-wisebled-demo__copy .ws-sh { margin-bottom: 28px; }
.pg-wisebled-demo__steps { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.pg-wisebled-demo__steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--c-fg); }
.pg-wisebled-demo__steps span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; font-size: .8rem; font-weight: 700; color: var(--c-accent); background: var(--c-accent-soft); border: 1px solid color-mix(in srgb, var(--c-accent) 25%, transparent); }

/* ---------- TARIFS ---------- */
.pg-wisebled-price__card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(26px, 4.5vw, 64px); border-radius: var(--r-2xl); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-2); }
@media (min-width: 960px) { .pg-wisebled-price__card { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); } }
.pg-wisebled-price__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgba(135, 118, 255, .18), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(251, 191, 36, .1), transparent 60%); }
.pg-wisebled-price__copy .ws-lead { margin-top: 18px; }
.pg-wisebled-price__perks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 28px; padding: 0; list-style: none; font-size: .94rem; font-weight: 500; color: var(--c-fg); }
.pg-wisebled-price__perks li { display: inline-flex; align-items: center; gap: 8px; }
.pg-wisebled-price__perks .ws-i { color: var(--mint-600); }
.pg-wisebled-price__plans { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-wisebled-plan a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name go" "tag go" "price price"; gap: 2px 12px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--c-bg); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-fg); transition: transform var(--d-3) var(--ease-out), border-color var(--d-3), box-shadow var(--d-3); }
@media (min-width: 520px) { .pg-wisebled-plan a { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name price go" "tag price go"; align-items: center; } }
.pg-wisebled-plan a:hover { transform: translateY(-2px); border-color: var(--c-line-2); box-shadow: var(--sh-2); }
.pg-wisebled-plan__name { grid-area: name; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.04rem; letter-spacing: -.015em; }
.pg-wisebled-plan__tag { grid-area: tag; font-size: .84rem; color: var(--c-fg-3); }
.pg-wisebled-plan__price { grid-area: price; display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px; white-space: nowrap; }
@media (min-width: 520px) { .pg-wisebled-plan__price { margin-top: 0; } }
.pg-wisebled-plan__price b { font-size: 1.24rem; font-weight: 650; letter-spacing: -.03em; }
.pg-wisebled-plan__price small { font-size: .8rem; color: var(--c-fg-3); }
.pg-wisebled-plan__go { grid-area: go; align-self: center; color: var(--c-fg-3); transition: transform var(--d-3) var(--ease-out), color var(--d-3); }
.pg-wisebled-plan a:hover .pg-wisebled-plan__go { color: var(--c-accent); transform: translate(2px, -2px); }
.pg-wisebled-plan.is-pop a { border-color: color-mix(in srgb, var(--brand-500) 45%, transparent); box-shadow: 0 0 0 4px var(--brand-50), var(--sh-1); }
.pg-wisebled-apps { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 14px; padding: 20px clamp(20px, 3vw, 28px); border-radius: var(--r-xl); background: var(--c-bg-2); border: 1px solid var(--c-line); }
.pg-wisebled-apps > div { flex: 1 1 280px; }
.pg-wisebled-apps h3 { margin-bottom: 4px; }
.pg-wisebled-apps p { font-size: .92rem; color: var(--c-fg-2); }

/* ---------- FAQ ---------- */
.pg-wisebled-faq__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) {
  .pg-wisebled-faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .pg-wisebled-faq__head { position: sticky; top: calc(var(--hdr-space) + 96px); }
}
.pg-wisebled-faq__head .ws-sh { margin-bottom: 0; }
/* Mobile : marge basse pour que les boutons flottants ne recouvrent pas la dernière question */
@media (max-width: 719px) { .pg-wisebled-faq { padding-bottom: calc(var(--section-y) + 64px); } }

/* ---------- Mouvement réduit : tout est lisible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  [class*="pg-wisebled-"], [class*="pg-wisebled-"]::before, [class*="pg-wisebled-"]::after { animation: none !important; transition: none !important; }
  .pg-wisebled-subnav.is-stuck.is-up { transform: none; }
}
.pg-wisebled-nw { white-space: nowrap; }
.pg-wisebled-punct { margin-left: -.04em; }
.pg-wisebled-hero__dim .pg-wisebled-punct { margin-left: -.1em; }
