.slide[data-screen="09"] { color: #0B0B0C; }
.slide[data-screen="09"] .wrap { position: relative; gap: 1rem; padding-top: 2.75rem; }

/* Titre : très gras, très serré, mot par mot */
.slide[data-screen="09"] .title {
  margin: 0; font-size: clamp(2.35rem, 11.5vw, 4rem); line-height: .93; letter-spacing: -.062em; font-weight: 850;
  isolation: isolate; text-wrap: balance; text-align: center;
}
.slide[data-screen="09"] .w { display: inline-block; opacity: 0; transform: translateY(.45em); }
.slide[data-screen="09"].go .w { animation: s09-word .55s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: var(--d, 0s); }
.slide[data-screen="09"] .num-wrap { position: relative; display: inline-block; }
.slide[data-screen="09"] .num { font-variant-numeric: tabular-nums; display: inline-block; min-width: 1ch; }
.slide[data-screen="09"] .halo {
  position: absolute; left: 50%; top: 52%; width: 2.4em; height: 1.9em; margin: -.95em 0 0 -1.2em; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, #CDF57E 0%, rgb(205 245 126 / .7) 45%, rgb(205 245 126 / 0) 100%);
  animation: s09-halo 2.8s ease-in-out infinite;
}
.slide[data-screen="09"] .sub { margin: 0; font-size: .95rem; color: #5b5f66; text-align: center; }

/* Bento */
.slide[data-screen="09"] .bento {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "days clients" "days euro" "noshow noshow" "dm dm";
}
.slide[data-screen="09"] .tile {
  position: relative; border-radius: 1.75rem; padding: 1rem; display: flex; flex-direction: column; gap: .2rem; min-width: 0;
  align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 1px 2px rgb(16 24 40 / .04), 0 14px 30px -14px rgb(16 24 40 / .18);
  opacity: 0; transform: translateY(-36px) rotate(-2.5deg);
}
.slide[data-screen="09"].go .tile { animation: s09-drop .75s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: var(--d, 0s); }
.slide[data-screen="09"] .t-days { grid-area: days; background: #D6ECFF; }
.slide[data-screen="09"] .t-clients { grid-area: clients; background: #D8F5E6; }
.slide[data-screen="09"] .t-euro { grid-area: euro; background: #FFF1B8; }
.slide[data-screen="09"] .t-noshow { grid-area: noshow; background: #EEF0F3; flex-direction: row; align-items: center; justify-content: center; gap: .8rem; }
.slide[data-screen="09"] .t-dm { grid-area: dm; background: #E8E2FF; flex-direction: row; align-items: center; justify-content: center; gap: .8rem; }

.slide[data-screen="09"] .ic {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0;
  margin-bottom: .55rem; box-shadow: 0 2px 8px rgb(16 24 40 / .06);
}
.slide[data-screen="09"] .t-noshow .ic, .slide[data-screen="09"] .t-dm .ic { margin: 0; }
.slide[data-screen="09"] .ic svg { width: 1.25rem; height: 1.25rem; }
.slide[data-screen="09"] .big { font-size: 2.1rem; font-weight: 850; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide[data-screen="09"] .t-days .big { font-size: clamp(2.6rem, 13vw, 3.4rem); margin-top: .1rem; }
.slide[data-screen="09"] .tile strong { font-size: .98rem; letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
.slide[data-screen="09"] .tile small { font-size: .76rem; color: #50545c; line-height: 1.3; }
.slide[data-screen="09"] .nsw, .slide[data-screen="09"] .t-dm > div { display: grid; gap: .15rem; flex: 0 1 auto; min-width: 0; text-align: center; justify-items: center; }
.slide[data-screen="09"] .big-in { font-size: 1.35em; font-weight: 850; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Jours off : pastilles qui s'allument une à une */
.slide[data-screen="09"] .daydots { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin-top: .6rem; max-width: 4rem; }
.slide[data-screen="09"] .daydots i { width: .72rem; height: .72rem; border-radius: 50%; background: rgb(11 11 12 / .1); }
.slide[data-screen="09"] .daydots i.on { background: #0B0B0C; transform: scale(0); }
.slide[data-screen="09"].go .daydots i.on { animation: s09-pop .4s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(var(--d, 0s) + 500ms + var(--k, 0) * 80ms); }
.slide[data-screen="09"] .daydots i:nth-child(2) { --k: 1; } .slide[data-screen="09"] .daydots i:nth-child(3) { --k: 2; }
.slide[data-screen="09"] .daydots i:nth-child(4) { --k: 3; } .slide[data-screen="09"] .daydots i:nth-child(5) { --k: 4; }
.slide[data-screen="09"] .daydots i:nth-child(6) { --k: 5; } .slide[data-screen="09"] .daydots i:nth-child(7) { --k: 6; }
.slide[data-screen="09"] .daydots i:nth-child(8) { --k: 7; }
.slide[data-screen="09"].go .ic-sun svg { animation: s09-spin 1.4s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--d, 0s) + 300ms); }

/* Clientes : petits avatars qui arrivent */
.slide[data-screen="09"] .faces { display: flex; align-items: center; justify-content: center; margin-top: .45rem; }
.slide[data-screen="09"] .faces i, .slide[data-screen="09"] .faces em {
  width: 1.45rem; height: 1.45rem; border-radius: 50%; border: 2px solid #D8F5E6; margin-left: -.35rem; transform: scale(0);
  background: radial-gradient(circle at 50% 38%, #0B0B0C 0 22%, transparent 23%), radial-gradient(circle at 50% 110%, #0B0B0C 0 45%, #fff 46%);
}
.slide[data-screen="09"] .faces i:first-child { margin-left: 0; }
.slide[data-screen="09"] .faces em { display: grid; place-items: center; background: #0B0B0C; color: #fff; font: 700 .6rem/1 system-ui, sans-serif; font-style: normal; }
.slide[data-screen="09"].go .faces > * { animation: s09-pop .4s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(var(--d, 0s) + 520ms + var(--k, 0) * 90ms); }
.slide[data-screen="09"] .faces > :nth-child(2) { --k: 1; } .slide[data-screen="09"] .faces > :nth-child(3) { --k: 2; }
.slide[data-screen="09"] .faces > :nth-child(4) { --k: 3; } .slide[data-screen="09"] .faces > :nth-child(5) { --k: 4; }

/* Euros : l'icône monte doucement */
.slide[data-screen="09"].go .ic-euro svg { animation: s09-rise .9s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--d, 0s) + 300ms); }

/* Lapins : jauge circulaire */
.slide[data-screen="09"] .gauge { width: 3.4rem; height: 3.4rem; flex-shrink: 0; transform: rotate(-90deg); }
.slide[data-screen="09"] .gauge circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.slide[data-screen="09"] .g-bg { stroke: #fff; }
.slide[data-screen="09"] .g-fg { stroke: #0B0B0C; stroke-dasharray: 100; stroke-dashoffset: 100; }
.slide[data-screen="09"].go .g-fg { animation: s09-gauge 1.1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d, 0s) + 380ms); }
.slide[data-screen="09"].go .ic-bell svg { animation: s09-ring .9s ease-in-out both; animation-delay: calc(var(--d, 0s) + 400ms); transform-origin: 50% 10%; }

/* DM : lune qui se balance, étoiles, bulle qui « écrit » */
.slide[data-screen="09"].go .ic-moon svg { animation: s09-swing 1.2s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--d, 0s) + 300ms); }
.slide[data-screen="09"] .i-star { animation: s09-twinkle 2.4s ease-in-out infinite; }
.slide[data-screen="09"] .i-s2 { animation-delay: 1.2s; }
.slide[data-screen="09"] .bubble { display: flex; gap: .2rem; padding: .55rem .65rem; border-radius: 1rem 1rem 1rem .3rem; background: #fff; flex-shrink: 0; box-shadow: 0 2px 8px rgb(16 24 40 / .06); }
.slide[data-screen="09"] .bubble i { width: .38rem; height: .38rem; border-radius: 50%; background: #0B0B0C; animation: s09-type 1.2s ease-in-out infinite; }
.slide[data-screen="09"] .bubble i:nth-child(2) { animation-delay: .15s; }
.slide[data-screen="09"] .bubble i:nth-child(3) { animation-delay: .3s; }

.slide[data-screen="09"] .foot {
  position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .25rem; padding: 1rem 0 .25rem; background: linear-gradient(rgb(255 255 255 / 0), #fff 40%);
}
.slide[data-screen="09"] .hint { font-size: .8rem; color: #7a7e86; }
.slide[data-screen="09"] .next {
  width: 4rem; height: 4rem; border-radius: 50%; border: 0; background: #0B0B0C; color: #fff; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 12px 26px -6px rgb(0 0 0 / .35); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.slide[data-screen="09"] .next svg { width: 1.5rem; height: 1.5rem; transition: transform .25s; }
.slide[data-screen="09"] .next:hover svg { transform: translateX(3px); }

@keyframes s09-word { to { opacity: 1; transform: none; } }
@keyframes s09-drop { 70% { transform: translateY(4px) rotate(.4deg); } to { opacity: 1; transform: none; } }
@keyframes s09-halo { 0%, 100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes s09-pop { to { transform: scale(1); } }
@keyframes s09-spin { from { transform: rotate(-120deg) scale(.4); } to { transform: none; } }
@keyframes s09-rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes s09-gauge { to { stroke-dashoffset: 40; } }
@keyframes s09-ring { 0%, 100% { transform: none; } 20% { transform: rotate(16deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } }
@keyframes s09-swing { from { transform: rotate(-40deg) translateY(4px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes s09-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes s09-type { 0%, 60%, 100% { transform: none; opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }

@media (min-width: 768px) {
  .slide[data-screen="09"] .wrap { max-width: 42rem; }
  .slide[data-screen="09"] .bento { grid-template-columns: 1.15fr 1fr 1fr; grid-template-areas: "days clients euro" "days noshow noshow" "dm dm dm"; }
}
@media (prefers-reduced-motion: reduce) {
  .slide[data-screen="09"] .w, .slide[data-screen="09"] .tile,
  .slide[data-screen="09"] .daydots i.on, .slide[data-screen="09"] .faces > * { opacity: 1; transform: none; animation: none !important; }
  .slide[data-screen="09"] .g-fg { stroke-dashoffset: 40; animation: none !important; }
  .slide[data-screen="09"] .ic svg, .slide[data-screen="09"] .halo, .slide[data-screen="09"] .i-star, .slide[data-screen="09"] .bubble i { animation: none !important; }
}

/* Barre d'avancement : cases bento pastel, remplies en noir case après case */
.slide[data-screen="09"] .q-progress {
  top: max(.5rem, env(safe-area-inset-top));
  width: 100%; max-width: 42rem; height: 8px;
  margin: calc(max(.5rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-top))) auto .5rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #D6ECFF 0 20%, #D8F5E6 20% 40%, #FFF1B8 40% 60%, #E8E2FF 60% 80%, #EEF0F3 80%);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent calc(20% - 3px) 20%);
  mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent calc(20% - 3px) 20%);
}
.slide[data-screen="09"] .q-progress i { background: #0B0B0C; }
