/* ==========================================================================
   دليل سائق النقل المدرسي — styles complémentaires au skill presentation-deck
   (deck-styles.css reste intact ; ce fichier ajoute les composants du guide)
   ========================================================================== */

/* Lisibilité en projection */
.slide { padding: 70px 96px 90px; }
.slide-title { font-size: 52px; }
.slide-header { margin-bottom: 30px; }
.slide-tag { font-size: 18px; padding: 6px 18px; }
.slide-sub { font-size: 22px; font-weight: 600; color: var(--deck-muted); margin-top: 6px; }
.slide.dark .slide-sub { color: var(--deck-muted-light); }
.card-title { font-size: 26px; }
.card-text { font-size: 20px; line-height: 1.65; }
.card-badge { font-size: 15px; }
.deck-card { border-radius: 18px; }

/* Identité en haut à gauche + numéro de page */
.brand {
  position: absolute; top: 34px; left: 64px; z-index: 5;
  display: flex; align-items: center; gap: 14px; direction: rtl;
}
.brand img { width: 54px; height: 54px; border-radius: 50%; }
.brand b { display: block; font-size: 17px; font-weight: 800; color: var(--deck-night); line-height: 1.2; }
.brand span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--deck-muted); direction: ltr; text-align: right; }
.slide.dark .brand b { color: #fff; }
.slide.dark .brand span { color: var(--deck-muted-light); }
.pg {
  position: absolute; bottom: 30px; left: 64px; z-index: 5;
  font-family: 'Anton', 'Cairo', sans-serif; font-size: 22px; color: var(--deck-navy); direction: ltr;
}
.pg em { font-style: normal; color: var(--deck-muted); }
.slide.dark .pg { color: var(--deck-gold); }
.slide.dark .pg em { color: var(--deck-muted-light); }

/* Grilles utilitaires */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rel { position: relative; z-index: 2; }

/* Listes à puces dorées */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li {
  position: relative; padding-right: 34px; font-size: 21px; line-height: 1.6; color: var(--deck-dark);
}
.ticks li::before {
  content: ""; position: absolute; right: 4px; top: 12px; width: 14px; height: 14px;
  border-radius: 4px; background: var(--deck-gold); transform: rotate(45deg);
}
.slide.dark .ticks li { color: #E9EEFA; }
.ticks.no li::before { background: var(--deck-red); border-radius: 50%; transform: none; }
.ticks.sm li { font-size: 19px; }

/* Étapes numérotées (procédures) */
.steps { list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 14px; }
.steps li {
  counter-increment: st; position: relative; padding: 14px 76px 14px 22px;
  background: var(--deck-card); border: 1px solid var(--deck-border); border-radius: 14px;
  font-size: 20px; line-height: 1.55; color: var(--deck-dark);
}
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--deck-navy); color: #fff;
  font-family: 'Anton', 'Cairo', sans-serif; font-size: 20px;
}
.slide.dark .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,215,0,.22); color: #fff; }
.slide.dark .steps li::before { background: var(--deck-gold); color: var(--deck-night); }
.steps.sm li { font-size: 18px; padding-top: 11px; padding-bottom: 11px; }
.steps.sm li::before { width: 38px; height: 38px; font-size: 17px; }

/* Séquence horizontale (archétype stage-step du skill) */
.stage-step {
  background: var(--deck-card); border: 1px solid var(--deck-border); border-top: 6px solid var(--deck-navy);
  border-radius: 16px; padding: 24px 22px; position: relative; z-index: 2;
}
.stage-step.highlight { border-top-color: var(--deck-gold); background: #FFFBEA; }
.slide.dark .stage-step { background: rgba(255,255,255,.06); border-color: rgba(255,215,0,.22); border-top-color: var(--deck-gold); color: #fff; }
.step-num { font-family: 'Anton', 'Cairo', sans-serif; font-size: 44px; color: var(--deck-gold-alt); line-height: 1; margin-bottom: 10px; }
.step-title { font-size: 23px; font-weight: 800; margin-bottom: 8px; color: var(--deck-night); }
.slide.dark .step-title { color: #fff; }
.step-desc { font-size: 18px; line-height: 1.55; color: var(--deck-muted); }
.slide.dark .step-desc { color: var(--deck-muted-light); }

/* Encadrés règle / alerte */
.rule {
  display: flex; align-items: center; gap: 26px; position: relative; z-index: 2;
  padding: 24px 30px; border-radius: 18px; font-size: 23px; font-weight: 700; line-height: 1.6;
  background: #FFF6D6; border: 2px solid var(--deck-gold-alt); color: var(--deck-night);
}
.rule .rule-k {
  flex-shrink: 0; padding: 10px 20px; border-radius: 12px; font-size: 20px; font-weight: 900;
  background: var(--deck-gold); color: var(--deck-night);
}
.rule.alert { background: #FDECEC; border-color: var(--deck-red); color: #6B1414; }
.rule.alert .rule-k { background: var(--deck-red); color: #fff; }
.slide.dark .rule { background: rgba(255,215,0,.1); color: #fff; }
.slide.dark .rule.alert { background: rgba(217,83,79,.18); border-color: #F08A86; }

/* Puces / étiquettes */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 9px 18px; border-radius: 999px; font-size: 18px; font-weight: 700;
  background: #fff; border: 1px solid var(--deck-border); color: var(--deck-night);
}
.slide.dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,215,0,.3); color: #fff; }

/* Tableaux */
.deck-table {
  width: 100%; border-collapse: separate; border-spacing: 0; position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--deck-border); border-radius: 16px; overflow: hidden;
  font-size: 19px;
}
.deck-table th {
  background: var(--deck-deep); color: #fff; font-weight: 800; text-align: right;
  padding: 14px 18px; font-size: 18px;
}
.deck-table td { padding: 12px 18px; border-top: 1px solid #EEE7D6; color: var(--deck-dark); line-height: 1.45; }
.deck-table tr:nth-child(even) td { background: #FBF8F1; }
.deck-table td:first-child { font-weight: 800; color: var(--deck-night); }
.deck-table .c { text-align: center; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 8px; font-size: 16px; font-weight: 800; white-space: nowrap; }
.pill.r { background: var(--deck-navy); color: #fff; }
.pill.c2 { background: #E3ECFA; color: var(--deck-navy); }
.pill.i { background: #FFF3C4; color: #7A5B00; }
.pill.now { background: #FDECEC; color: #A3261F; }
.pill.day { background: #E6F6FB; color: #006D8A; }
.dash { color: #B9B2A2; }

/* Grandes déclarations (slides de section) */
.hero { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; z-index: 2; }
.hero-num { font-family: 'Anton', 'Cairo', sans-serif; font-size: 34px; color: var(--deck-gold); letter-spacing: .08em; margin-bottom: 18px; }
.hero h2 { font-size: 84px; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 22px; }
.hero p { font-size: 28px; color: var(--deck-muted-light); max-width: 1200px; line-height: 1.6; }
.gold-line { width: 140px; height: 5px; border-radius: 3px; background: var(--deck-gold); margin: 0 auto 28px; }

/* Les trois "لا" de la règle d'or */
.nos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; width: 100%; max-width: 1560px; }
.nos .deck-card { text-align: center; padding: 38px 30px; }
.nos .big-no { font-size: 70px; font-weight: 900; color: var(--deck-gold); line-height: 1; margin-bottom: 18px; }
.nos .card-text { font-size: 24px; color: #fff; }

/* Numéros d'urgence */
.tel { font-family: 'Anton', 'Cairo', sans-serif; font-size: 150px; line-height: 1; color: var(--deck-gold); font-variant-numeric: tabular-nums; direction: ltr; }

/* Priorités (sécurité > signalement > documentation) */
.prio { display: flex; align-items: stretch; gap: 0; margin-top: 50px; width: 100%; max-width: 1500px; }
.prio .deck-card { flex: 1; text-align: center; padding: 40px 26px; }
.prio .arrow { display: grid; place-items: center; width: 80px; font-size: 54px; color: var(--deck-gold); }
.prio .p-num { font-family: 'Anton', 'Cairo', sans-serif; font-size: 64px; color: var(--deck-gold); line-height: 1; margin-bottom: 14px; }
.prio .p-title { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 10px; }

/* "ماذا" / "كيف" */
.what-how .q { font-size: 92px; font-weight: 900; line-height: 1; margin-bottom: 14px; color: var(--deck-navy); }
.what-how .highlight .q { color: var(--deck-gold-alt); }

/* Critères d'évaluation */
.crit { display: flex; align-items: flex-start; gap: 18px; }
.crit .n { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-family: 'Anton', 'Cairo', sans-serif; font-size: 24px; background: var(--deck-gold); color: var(--deck-night); }
.crit .card-title { margin-bottom: 6px; }
.crit .ref { font-size: 16px; font-weight: 700; color: var(--deck-cyan); margin-top: 6px; }
.scale { display: flex; gap: 8px; direction: ltr; justify-content: flex-end; }
.scale i { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-style: normal;
  font-family: 'Anton', 'Cairo', sans-serif; font-size: 22px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,215,0,.3); }
.scale i:last-child { background: var(--deck-gold); color: var(--deck-night); }

/* Signature / engagement */
.sign-line { display: flex; gap: 40px; margin-top: 46px; justify-content: center; }
.sign-line div { width: 300px; border-top: 2px dashed rgba(255,215,0,.6); padding-top: 12px; font-size: 20px; color: var(--deck-muted-light); text-align: center; }

/* Illustration zone dangereuse */
.zone-svg { width: 100%; height: auto; display: block; }

/* Carte mise en avant sur fond clair (le dégradé du skill est prévu pour fond sombre) */
.slide:not(.dark) .deck-card.highlight { background: #FFFBEA; border: 2px solid var(--deck-gold); }

/* ---- Mise en page : le contenu occupe toute la hauteur et se centre ---- */
.slide > .frame { height: 100%; display: flex; flex-direction: column; }
.slide > .frame > .content {
  flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px;
  padding-bottom: 34px;
}
.slide > .frame > .content > * { margin-top: 0 !important; }
.slide > .frame > .hero { height: 100%; }

/* ---- Tailles agrandies pour la projection ---- */
.slide-title { font-size: 58px; }
.slide-tag { font-size: 20px; }
.card-title { font-size: 31px; margin-bottom: 14px; }
.card-text { font-size: 24px; }
.card-badge { font-size: 17px; padding: 5px 14px; }
.deck-card { padding: 30px 32px; }
.ticks { gap: 16px; }
.ticks li { font-size: 25px; padding-right: 38px; }
.ticks li::before { top: 14px; }
.ticks.sm li { font-size: 22px; }
.ticks.sm li::before { top: 12px; }
.steps li { font-size: 25px; padding: 15px 84px 15px 24px; }
.steps li::before { width: 50px; height: 50px; font-size: 22px; }
.steps.sm li { font-size: 21px; }
.steps.sm li::before { width: 42px; height: 42px; font-size: 18px; }
.step-title { font-size: 29px; }
.step-desc { font-size: 23px; }
.rule { font-size: 26px; }
.rule .rule-k { font-size: 22px; }
.chip { font-size: 21px; padding: 10px 20px; }
.deck-table { font-size: 22px; }
.deck-table th { font-size: 21px; padding: 16px 20px; }
.deck-table td { padding: 13px 20px; }
.pill { font-size: 18px; }
.kpi-card { padding: 34px 20px; }
.kpi-num { font-size: 92px; }
.kpi-label { font-size: 26px; }
.kpi-sub { font-size: 18px; }
.what-how .q { font-size: 120px; }
.hero h2 { font-size: 96px; }
.hero p { font-size: 32px; }
.nos .card-text { font-size: 30px; }
.prio .card-text { font-size: 24px; }
.sign-line div { font-size: 22px; }

/* ---- Palier final de lisibilité ---- */
.card-text { font-size: 26px; }
.card-title { font-size: 33px; }
.ticks li { font-size: 28px; }
.ticks.sm li { font-size: 25px; }
.ticks li::before { top: 16px; }
.steps li { font-size: 27px; }
.steps.sm li { font-size: 24px; }
.step-desc { font-size: 25px; }
.deck-table { font-size: 23px; }
.rule { font-size: 27px; }

/* ==========================================================================
   Icônes (Lucide + dessins maison, SVG inline, couleur = currentColor)
   ========================================================================== */
.ico { display: inline-grid; place-items: center; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; display: block; }

/* Tracé animé : chaque trait (pathLength=1) se dessine à l'apparition */
.ico svg > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.slide.play .ico svg > *,
.slide [data-step].step-anim .ico svg > * {
  animation: icoDraw 0.9s var(--deck-ease-out) backwards;
  animation-delay: calc(var(--deck-enter-delay) + 0.25s);
}
.slide [data-step].step-anim .ico svg > * { animation-delay: 0.15s; }
@keyframes icoDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ico svg > * { animation: none !important; stroke-dashoffset: 0 !important; }
}
@media print { .ico svg > * { animation: none !important; stroke-dashoffset: 0 !important; } }

/* 1. Icône dans le titre des cartes */
.card-title.has-ico { display: flex; align-items: center; gap: 16px; }
.ico-card {
  width: 60px; height: 60px; padding: 13px; border-radius: 16px;
  background: #E8EEF9; color: var(--deck-navy);
}
.deck-card.highlight .ico-card { background: var(--deck-gold); color: var(--deck-night); }
.slide.dark .ico-card { background: rgba(255, 215, 0, 0.14); color: var(--deck-gold); }
.card-title.has-ico[style*="font-size:27px"] .ico-card { width: 50px; height: 50px; padding: 11px; border-radius: 13px; }

/* 2. Tableau des responsabilités en pictogrammes */
.raci { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; }
.raci .ico { width: 30px; height: 30px; }
.raci.r { background: var(--deck-navy); color: #fff; }
.raci.c { background: #E3ECFA; color: var(--deck-navy); }
.raci.i { background: #FFF1BF; color: #8A6400; }
.raci-table td { padding-top: 8px; padding-bottom: 8px; }
.raci-legend { display: flex; flex-wrap: wrap; gap: 30px; justify-content: flex-start; position: relative; z-index: 2; }
.raci-legend > span { display: flex; align-items: center; gap: 12px; }
.raci-legend b { font-size: 22px; font-weight: 800; color: var(--deck-night); }
.raci-legend .dash { display: inline-grid; place-items: center; width: 50px; font-size: 26px; }

/* 3. Tenue : pictogramme + ✓ / ✗ */
.wear { display: flex; flex-direction: column; gap: 12px; }
.wear-row {
  display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-radius: 14px;
  background: #F2F7F2; border: 2px solid #CFE8D6;
}
.wear-row.no { background: #FDF0EF; border-color: #F2C4C1; }
.ico-wear { width: 58px; height: 58px; color: #1E9E5A; }
.wear-row.no .ico-wear { color: var(--deck-red); }
.wear-t { flex: 1; font-size: 23px; line-height: 1.5; font-weight: 600; color: var(--deck-dark); }
.ico.mark { width: 44px; height: 44px; padding: 7px; border-radius: 50%; background: #1E9E5A; color: #fff; }
.wear-row.no .ico.mark { background: var(--deck-red); }

/* 4. Listes à pictogrammes ; .banned = pictogramme barré (interdit) */
.icolist { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.icolist li { display: flex; align-items: center; gap: 18px; font-size: 24px; line-height: 1.5; color: var(--deck-dark); }
.ico-li { position: relative; width: 62px; height: 62px; padding: 14px; border-radius: 50%; background: #E8EEF9; color: var(--deck-navy); }
.icolist.banned .ico-li { background: #fff; color: #2B2B2B; border: 4px solid var(--deck-red); padding: 11px; }
.icolist.banned .ico-li::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 4px; border-radius: 2px;
  background: var(--deck-red); transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================================
   Point 7 — Zone dangereuse : bus vu de dessus, halo, enfants, cotes
   ========================================================================== */
.zone-svg .dimline { stroke: #00133D; stroke-width: 3; }
.zone-svg .dimtxt { font: 900 30px 'Cairo', sans-serif; fill: #00133D; text-anchor: middle; }
.zone-svg .drv { font: 800 20px 'Cairo', sans-serif; fill: #fff; text-anchor: middle; }
.zone-svg .lbl text { font: 900 32px 'Cairo', sans-serif; fill: #A3261F; text-anchor: middle; }
.zone-svg .kid { fill: #00133D; opacity: .85; }
.slide.play .zone-svg .zone-pulse { animation: zonePulse 2.4s ease-in-out 0.8s 3; transform-box: fill-box; transform-origin: center; }
@keyframes zonePulse { 50% { stroke-width: 8; opacity: .75; } }
.slide.play .zone-svg .kid { animation: kidIn .6s var(--deck-ease-out) backwards; animation-delay: 1s; transform-box: fill-box; }
@keyframes kidIn { from { opacity: 0; } }

/* ==========================================================================
   Point 5 — Contrôle quotidien : dessin du bus + 9 points numérotés
   ========================================================================== */
.check-board { display: grid; grid-template-columns: 470px 1fr 470px; gap: 26px; align-items: center; position: relative; z-index: 2; }
.chk-col { display: flex; flex-direction: column; gap: 12px; }
.chk {
  display: flex; align-items: flex-start; gap: 14px; padding: 13px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--deck-border); box-shadow: 0 6px 16px rgba(0, 19, 61, .05);
}
.chk-n {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deck-navy); color: #fff; font-family: 'Anton', 'Cairo', sans-serif; font-size: 19px;
}
.chk-ico { width: 40px; height: 40px; padding: 8px; border-radius: 11px; background: #E8EEF9; color: var(--deck-navy); }
.chk-t { font-size: 23px; font-weight: 800; color: var(--deck-night); line-height: 1.3; }
.chk-d { font-size: 17px; line-height: 1.5; color: var(--deck-muted); }
.chk.step-current { border: 2px solid var(--deck-gold); box-shadow: 0 0 0 4px rgba(255, 215, 0, .25); }
.chk.step-current .chk-n { background: var(--deck-gold); color: var(--deck-night); }
.chk-center { display: flex; flex-direction: column; gap: 20px; }
.bus-card { padding: 14px 12px 4px; }
.bus-side { width: 100%; height: auto; display: block; overflow: visible; }
.spot .spot-ring { fill: rgba(255, 215, 0, .35); }
.spot .spot-dot { fill: var(--deck-navy); stroke: #fff; stroke-width: 3; }
.spot .spot-n { font: 900 22px 'Anton', 'Cairo', sans-serif; fill: #fff; text-anchor: middle; }
.spot.step-current .spot-dot { fill: var(--deck-gold); }
.spot.step-current .spot-n { fill: var(--deck-night); }
.spot.step-current .spot-ring { animation: spotPulse 1.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spotPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.slide[data-focus] .spot.step-past { opacity: .55; filter: none; }
.spot.step-anim { animation: spotIn .5s cubic-bezier(.34, 1.56, .64, 1) both !important; transform-box: fill-box; transform-origin: center; }
@keyframes spotIn { from { opacity: 0; transform: scale(.2); } }
.chk-center .rule { font-size: 22px; }

/* ==========================================================================
   Point 8 — Bandeau « procédure obligatoire » rayé jaune / noir
   ========================================================================== */
.steps.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.hazard {
  position: relative; z-index: 2; padding: 14px; border-radius: 22px;
  background: repeating-linear-gradient(-45deg, #FFD21F 0 26px, #111 26px 52px);
  box-shadow: 0 16px 36px rgba(0, 19, 61, .22);
}
.hazard-in {
  display: flex; align-items: center; gap: 30px; padding: 24px 34px; border-radius: 14px;
  background: linear-gradient(90deg, #FFF3C4, #FFFFFF 60%);
}
.hazard-ico { width: 120px; height: 120px; color: #D32F2F; }
.hazard-k { display: inline-block; padding: 6px 18px; border-radius: 10px; background: #D32F2F; color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.hazard-t { font-size: 32px; font-weight: 800; line-height: 1.5; color: var(--deck-night); }
.hazard-t span { color: #C62828; }
.hazard-s { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 23px; font-weight: 700; color: var(--deck-navy); }
.hazard-s .ico { width: 30px; height: 30px; }
.slide.play .hazard-ico { animation: hzShake .6s ease-in-out 1.2s 2; }
@keyframes hzShake { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* ==========================================================================
   Point 9 — Urgences en schémas (flux de droite à gauche + embranchement)
   ========================================================================== */
.lane { position: relative; z-index: 2; background: #fff; border: 1px solid var(--deck-border); border-radius: 20px; padding: 18px 22px 22px; }
.lane.hl { border: 2px solid var(--deck-gold); background: #FFFDF3; }
.lane-h { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lane-ico { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--deck-deep); color: var(--deck-gold); }
.lane-t { font-size: 30px; font-weight: 900; color: var(--deck-night); }
.lane-h .card-badge { margin: 0 auto 0 0; }
.flow { display: flex; align-items: stretch; gap: 0; }
.fbox {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px 14px; border-radius: 14px; background: #F4F7FC; border: 2px solid #D5DFEF;
  font-size: 20px; font-weight: 700; line-height: 1.45; color: var(--deck-dark); min-width: 0;
}
.fbox.call { background: #EAF6FB; border-color: #8ED0E6; }
.fbox.key { background: #FFF3C4; border-color: var(--deck-gold-alt); }
.fbox.end { background: var(--deck-deep); border-color: var(--deck-deep); color: #fff; }
.farrow { flex: 0 0 34px; position: relative; }
.farrow::before { content: ""; position: absolute; top: 50%; left: 6px; right: 4px; height: 4px; background: var(--deck-gold-alt); transform: translateY(-50%); }
.farrow::after {
  content: ""; position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  border: 9px solid transparent; border-right: 12px solid var(--deck-gold-alt); border-left: 0;
}
.branch { flex: 2.4; display: flex; flex-direction: column; gap: 10px; }
.brow { display: flex; align-items: stretch; gap: 10px; }
.blabel { flex: 0 0 auto; display: grid; place-items: center; padding: 0 14px; border-radius: 12px; font-size: 18px; font-weight: 900; white-space: nowrap; }
.blabel.ok { background: #E9F8EF; color: #1E7A47; }
.blabel.bad { background: #FDECEC; color: #A3261F; }
.brow .flow { flex: 1; }
.brow .fbox { font-size: 18px; padding: 10px 12px; }

/* Le texte SVG se positionne mal dans un document RTL (Chrome) : on dessine les schémas en LTR */
.zone-svg, .bus-side { direction: ltr; }
/* Lisibilité des schémas d'urgence */
.fbox { font-size: 22px; }
.brow .fbox { font-size: 20px; }

/* ==========================================================================
   Slide 16 — Cycle des 6 étapes autour de la règle d'or (sens horaire)
   Disposition (vue écran) :      [1][2]
                               [6] [OR] [3]
                                  [5][4]
   ========================================================================== */
.cycle {
  position: relative; z-index: 2; direction: ltr; height: 100%; max-height: 790px;
  display: grid; grid-template-columns: 1fr 1.15fr 1.15fr 1fr; grid-template-rows: 1fr 1.05fr 1fr;
  gap: 22px 34px; padding: 6px 10px;
}
.cyc-track { position: absolute; inset: 5% 3%; width: 94%; height: 90%; z-index: 0; }
.cyc-track rect { fill: none; stroke: #C9D2E3; stroke-width: 10; vector-effect: non-scaling-stroke; }
.cyc-track rect.thin { stroke-width: 2; stroke-dasharray: 6 10; }
.cyc-card {
  position: relative; z-index: 1; direction: rtl; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 4px solid var(--deck-deep); border-radius: 26px; padding: 18px 24px 18px;
  box-shadow: 0 12px 28px rgba(0, 19, 61, .12);
}
.cyc-card.c1 { grid-column: 2; grid-row: 1; }
.cyc-card.c2 { grid-column: 3; grid-row: 1; }
.cyc-card.c3 { grid-column: 4; grid-row: 2; }
.cyc-card.c4 { grid-column: 3; grid-row: 3; }
.cyc-card.c5 { grid-column: 2; grid-row: 3; }
.cyc-card.c6 { grid-column: 1; grid-row: 2; }
.cyc-n {
  position: absolute; top: -20px; left: -16px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--deck-deep); color: #fff;
  font-family: 'Anton', 'Cairo', sans-serif; font-size: 30px; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(0,19,61,.25);
}
.cyc-ics { display: flex; gap: 12px; justify-content: flex-start; }
.cyc-ico { width: 46px; height: 46px; padding: 9px; border-radius: 12px; background: #E8EEF9; color: var(--deck-navy); }
.cyc-ico + .cyc-ico { background: #FFF1BF; color: #8A6400; }
.cyc-t { font-size: 27px; font-weight: 900; color: var(--deck-night); line-height: 1.25; }
.cyc-d { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--deck-dark); }

.cyc-gold {
  grid-column: 2 / 4; grid-row: 2; position: relative; z-index: 1; direction: rtl; align-self: center;
  margin: 0 30px; padding: 46px 40px 30px; border-radius: 28px; text-align: center;
  background: linear-gradient(160deg, #FFE35A, var(--deck-gold) 55%, #F2B800);
  border: 5px solid var(--deck-deep);
  box-shadow: 0 0 0 10px rgba(255, 215, 0, .25), 0 0 60px rgba(255, 200, 0, .55);
}
.cyc-star {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; padding: 16px;
  border-radius: 50%; background: var(--deck-deep); color: var(--deck-gold); border: 4px solid var(--deck-gold);
}
.cyc-gold-k { font-size: 30px; font-weight: 900; color: var(--deck-night); margin-bottom: 6px; }
.cyc-gold-t { font-size: 29px; font-weight: 800; line-height: 1.55; color: var(--deck-night); }
.slide.play .cyc-gold { animation: goldGlow 2.6s ease-in-out 1.6s 2; }
@keyframes goldGlow { 50% { box-shadow: 0 0 0 16px rgba(255, 215, 0, .35), 0 0 90px rgba(255, 200, 0, .85); } }

/* Flèches sur la piste (sens horaire à l'écran) */
.cyc-arrow { position: absolute; z-index: 1; width: 0; height: 0; border: 16px solid transparent; }
.cyc-arrow.a12 { top: 13%; left: 50%; transform: translate(-50%, -50%); border-left: 26px solid var(--deck-gold-alt); border-right: 0; }
.cyc-arrow.a23 { top: 33%; right: 8.5%; border-top: 26px solid var(--deck-gold-alt); border-bottom: 0; }
.cyc-arrow.a34 { bottom: 31%; right: 8.5%; border-top: 26px solid var(--deck-gold-alt); border-bottom: 0; }
.cyc-arrow.a45 { bottom: 13%; left: 50%; transform: translate(-50%, 50%); border-right: 26px solid var(--deck-gold-alt); border-left: 0; }
.cyc-arrow.a56 { bottom: 31%; left: 8.5%; border-bottom: 26px solid var(--deck-gold-alt); border-top: 0; }
.cyc-arrow.a61 { top: 33%; left: 8.5%; border-bottom: 26px solid var(--deck-gold-alt); border-top: 0; }
.slide.play .cyc-card { animation: deckRise .6s var(--deck-ease-out) backwards; }
.slide.play .cyc-card.c1 { animation-delay: .35s; } .slide.play .cyc-card.c2 { animation-delay: .5s; }
.slide.play .cyc-card.c3 { animation-delay: .65s; } .slide.play .cyc-card.c4 { animation-delay: .8s; }
.slide.play .cyc-card.c5 { animation-delay: .95s; } .slide.play .cyc-card.c6 { animation-delay: 1.1s; }
.slide.play .cyc-gold { animation: deckZoomIn .7s var(--deck-ease-out) 1.3s backwards, goldGlow 2.6s ease-in-out 2.2s 2; }

/* ---- Slide 16 v2 : illustrations, apparition au clic (1 → 6 puis la règle), règle d'or en bleu nuit ---- */
.cyc-art { display: flex; align-items: flex-end; gap: 18px; height: 86px; justify-content: flex-start; }
.cyc-art img { height: 100%; width: auto; display: block; }
.cyc-art img + img { height: 74%; }
.cyc-card.c4 .cyc-art img, .cyc-card.c5 .cyc-art img { height: 100%; }
.slide.play .cyc-card, .slide.play .cyc-gold { animation: none; }
.slide[data-focus] .cyc-card.step-past, .slide[data-focus] .cyc-arrow.step-past { opacity: 1; filter: none; }
.cyc-card { transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease; }
.cyc-card.step-current { border-color: var(--deck-gold-alt); box-shadow: 0 0 0 6px rgba(255, 215, 0, .3), 0 16px 34px rgba(0, 19, 61, .18); }
.cyc-card.step-current .cyc-n { background: var(--deck-gold); color: var(--deck-night); }
.cyc-arrow.step-anim { animation: arrowIn .5s ease both !important; }
@keyframes arrowIn { from { opacity: 0; } to { opacity: 1; } }
.cyc-gold.step-anim { animation: deckZoomIn .7s var(--deck-ease-out) both !important; }

/* Règle d'or : bleu nuit de la charte, liseré or, texte blanc */
.cyc-gold {
  background: linear-gradient(160deg, #0A3A8C, var(--deck-deep) 60%, #00133D);
  border: 4px solid var(--deck-gold);
  box-shadow: 0 0 0 8px rgba(10, 58, 140, .15), 0 22px 46px rgba(0, 19, 61, .35);
}
.cyc-gold-k { color: var(--deck-gold); }
.cyc-gold-t { color: #fff; }
.cyc-star { background: var(--deck-gold); color: var(--deck-night); border-color: #fff; }
.cyc-gold.step-current { box-shadow: 0 0 0 8px rgba(255, 215, 0, .28), 0 22px 46px rgba(0, 19, 61, .35); }
/* ajustement de hauteur avec illustrations */
.cycle { gap: 16px 34px; }
.cyc-card { padding: 14px 22px 14px; gap: 4px; }
.cyc-art { height: 66px; }
.cyc-t { font-size: 25px; }
.cyc-d { font-size: 19px; line-height: 1.45; }
.cyc-card.c6 .cyc-art img:first-child { height: 58%; }
.cyc-card.c6 .cyc-art img + img { height: 100%; }

/* ==========================================================================
   Slide 18 — Parcours routier (droite → gauche puis retour) + illustrations
   Écran :   [3] ← [2] ← [1]
              ↓
             [4] → [5]
                 ↓  bandeau « إجراء إلزامي »
   ========================================================================== */
.route {
  position: relative; z-index: 2; direction: ltr;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 34px 70px; padding: 0 24px 26px;
}
.rt-road { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rt-road .road { fill: none; stroke: #3A4458; stroke-width: 38; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rt-road .lane-line { fill: none; stroke: var(--deck-gold); stroke-width: 4; stroke-dasharray: 18 16; vector-effect: non-scaling-stroke; }
.rt-card {
  position: relative; z-index: 1; direction: rtl; display: flex; align-items: center; gap: 18px;
  background: #fff; border: 4px solid var(--deck-deep); border-radius: 24px; padding: 18px 22px;
  box-shadow: 0 12px 28px rgba(0, 19, 61, .14);
}
.rt-card.r1 { grid-column: 3; grid-row: 1; }
.rt-card.r2 { grid-column: 2; grid-row: 1; }
.rt-card.r3 { grid-column: 1; grid-row: 1; }
.rt-card.r4 { grid-column: 1; grid-row: 2; }
.rt-card.r5 { grid-column: 2; grid-row: 2; }
.rt-card.key { border-color: #C62828; }
.rt-art { flex: 0 0 120px; height: 96px; display: grid; place-items: center; }
.rt-art img { max-width: 100%; max-height: 100%; display: block; }
.rt-t { display: flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 900; color: var(--deck-night); margin-bottom: 6px; }
.rt-n {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deck-deep); color: #fff; font-family: 'Anton', 'Cairo', sans-serif; font-size: 22px;
}
.rt-card.key .rt-n { background: #C62828; }
.rt-d { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--deck-dark); }
.rt-card.step-current { border-color: var(--deck-gold-alt); box-shadow: 0 0 0 6px rgba(255, 215, 0, .3), 0 16px 34px rgba(0, 19, 61, .18); }
.rt-card.step-current .rt-n { background: var(--deck-gold); color: var(--deck-night); }
.slide[data-focus] .rt-card.step-past { opacity: 1; filter: none; }
.slide[data-focus] .hazard.step-current, .slide[data-focus] .hazard { opacity: 1; filter: none; }
.hazard.step-anim { animation: deckZoomIn .6s var(--deck-ease-out) both !important; }
/* route : chaussée plus visible + chevrons de direction dans les intervalles */
.route { gap: 54px 96px; padding: 0 30px 34px; }
.rt-road .road { stroke-width: 46; }
.rt-card::after {
  content: ""; position: absolute; z-index: 2; width: 0; height: 0; border: 13px solid transparent;
}
/* 1 → 2 et 2 → 3 : vers la gauche de l'écran */
.rt-card.r1::after, .rt-card.r2::after { top: 50%; left: -62px; transform: translateY(-50%); border-right: 20px solid var(--deck-gold); border-left: 0; }
/* 3 → 4 : vers le bas */
.rt-card.r3::after { left: 50%; bottom: -42px; transform: translateX(-50%); border-top: 20px solid var(--deck-gold); border-bottom: 0; }
/* 4 → 5 : vers la droite */
.rt-card.r4::after { top: 50%; right: -62px; transform: translateY(-50%); border-left: 20px solid var(--deck-gold); border-right: 0; }
/* 5 → bandeau : vers le bas */
.rt-card.r5::after { left: 50%; bottom: -36px; transform: translateX(-50%); border-top: 20px solid var(--deck-gold); border-bottom: 0; }

/* ==========================================================================
   Slide 15 — Conduite sûre : 3 cartes (bandeau bleu en haut, liseré or en bas),
   route horizontale + boucle autour de la carte centrale, illustrations
   ========================================================================== */
.drive { position: relative; z-index: 2; direction: ltr; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 90px; padding: 10px 0; }
.dv-road { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.dv-road .road { fill: none; stroke: #3A4458; stroke-width: 34; vector-effect: non-scaling-stroke; }
.dv-road .lane-line { fill: none; stroke: var(--deck-gold); stroke-width: 3; stroke-dasharray: 16 14; vector-effect: non-scaling-stroke; }
.dv-card {
  position: relative; z-index: 1; direction: rtl; background: #fff; border-radius: 20px; overflow: hidden;
  border-top: 16px solid var(--deck-deep); border-bottom: 12px solid var(--deck-gold);
  box-shadow: 0 14px 30px rgba(0, 19, 61, .14); padding: 22px 30px 26px; align-self: center;
}
.dv-card.mid { margin: 34px 0; }
.dv-h { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.dv-h img { width: 110px; height: 110px; object-fit: contain; flex-shrink: 0; }
.dv-h h3 { font-size: 36px; font-weight: 900; line-height: 1.25; color: var(--deck-night); }
.dv-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.dv-list li { position: relative; padding-right: 26px; font-size: 25px; font-weight: 600; line-height: 1.55; color: var(--deck-dark); }
.dv-list li::before { content: ""; position: absolute; right: 2px; top: 15px; width: 11px; height: 11px; border-radius: 50%; background: var(--deck-deep); }
.dv-ban { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.dv-ban li { display: flex; align-items: center; gap: 18px; font-size: 24px; font-weight: 600; line-height: 1.5; color: var(--deck-dark); }
.dv-ban img { width: 92px; height: 92px; object-fit: contain; flex-shrink: 0; }
.no { color: #C62828; font-weight: 900; }
.slide[data-focus] .dv-card.step-past { opacity: 1; filter: none; }
.dv-card.step-current { box-shadow: 0 0 0 6px rgba(255, 215, 0, .35), 0 16px 34px rgba(0, 19, 61, .18); }
/* ordre visuel du modèle : environnement à droite (1), interdits au centre (2), vitesse à gauche (3) */
.drive .dv-card:nth-of-type(1) { grid-column: 3; grid-row: 1; }
.drive .dv-card:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.drive .dv-card:nth-of-type(3) { grid-column: 1; grid-row: 1; }

/* ==========================================================================
   Slide 5 — Définitions : bus vu de dessus (à droite) + encadré « zone dangereuse »
   relié au bus + 5 cartes à bandeau bleu nuit et icône or
   Écran :  [ zone dangereuse ——•]  [ BUS ]
            [المدار] [اللائحة]       [ BUS ]
            [المفوض] [المداومة] [الواقعة]
   ========================================================================== */
.defs {
  position: relative; z-index: 2; direction: ltr; display: grid;
  grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto auto; gap: 22px 26px;
}
.df-bus-wrap { grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; }
.df-bus { height: 430px; width: auto; direction: ltr; overflow: visible; }
.df-dim text { font: 900 24px 'Cairo', sans-serif; fill: #00133D; }
.slide.play .df-halo { animation: zonePulse 2.4s ease-in-out 1s 3; }
.df-zone {
  grid-column: 1 / 3; grid-row: 1; direction: rtl; position: relative; align-self: center;
  display: flex; align-items: center; gap: 24px; padding: 26px 32px; border-radius: 18px;
  background: var(--deck-deep); color: #fff; border-left: 12px solid var(--deck-gold);
  box-shadow: 0 14px 30px rgba(0, 19, 61, .22);
}
.df-zone::after { /* connecteur vers le bus */
  content: ""; position: absolute; right: auto; left: 100%; top: 50%; width: 70px; height: 3px; background: #00133D;
}
.df-zone::before {
  content: ""; position: absolute; left: calc(100% + 66px); top: 50%; width: 16px; height: 16px; border-radius: 50%;
  transform: translateY(-50%); background: var(--deck-gold); border: 3px solid #00133D;
}
.df-zone p { font-size: 27px; font-weight: 600; line-height: 1.6; }
.df-zone b { color: var(--deck-gold); font-weight: 900; }
.df-zone b.g { color: #fff; }
.df-zone-ico { width: 84px; height: 84px; color: var(--deck-gold); }
.df-card {
  direction: rtl; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 19, 61, .1); border: 1px solid var(--deck-border);
}
.df-h { background: var(--deck-deep); height: 76px; display: flex; align-items: center; padding: 0 24px; }
.df-ico { width: 46px; height: 46px; color: var(--deck-gold); }
.df-card p { padding: 18px 24px 22px; font-size: 22px; font-weight: 600; line-height: 1.6; color: var(--deck-dark); }
.df-card p b { color: var(--deck-night); font-weight: 900; }
.df-card.p-l { grid-column: 2; grid-row: 2; }
.df-card.p-m { grid-column: 1; grid-row: 2; }
.df-card.p-a { grid-column: 3; grid-row: 3; }
.df-card.p-b { grid-column: 2; grid-row: 3; }
.df-card.p-c { grid-column: 1; grid-row: 3; }
.df-h { height: 64px; }

/* Alerte mise en valeur à l'intérieur d'une carte (ex. slide 19, échéance des documents) */
.card-alert {
  display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  background: #FDECEC; border: 2px solid var(--deck-red); border-right-width: 10px;
}
.card-alert .ico { width: 52px; height: 52px; padding: 11px; border-radius: 12px; background: var(--deck-red); color: #fff; flex-shrink: 0; }
.card-alert p { font-size: 23px; font-weight: 700; line-height: 1.55; color: #6B1414; }
.card-alert b { color: #C62828; font-weight: 900; }
.slide.play .card-alert, .slide [data-step].step-anim .card-alert { animation: alertPulse 1.2s ease-in-out .9s 2; }
@keyframes alertPulse { 50% { box-shadow: 0 0 0 8px rgba(217, 83, 79, .25); } }
/* Illustrations d'en-tête des schémas d'urgence (slide 21) */
.lane-art { width: 76px; height: 56px; flex-shrink: 0; direction: ltr; }
.slide.play .lane-art { animation: deckZoomIn .5s var(--deck-ease-out) .4s backwards; }
.lane-art.crash { width: 96px; height: 54px; }
/* Slide 22 : en-tête de schéma en bandeau bleu nuit, titre et pictogramme blancs */
.lane.bar { padding-top: 0; overflow: hidden; }
.lane.bar .lane-h { margin: 0 -22px 16px; padding: 12px 24px; background: var(--deck-deep); }
.lane.bar .lane-t { color: #fff; }
.lane.bar .lane-h .card-badge { background: var(--deck-gold); color: var(--deck-night); }
.lane.bar .lane-art { width: 64px; height: 54px; }

/* ==========================================================================
   Slide 23 — Matrice de signalement (droite) + rapport de trajet en porte-documents (gauche)
   ========================================================================== */
.rpt { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 1fr; gap: 54px; align-items: start; }
.rpt::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 47.2%; width: 3px; background: #C9D2E3; border-radius: 2px; }
.side-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 34px; font-weight: 900; color: var(--deck-night); }
.side-h .card-badge { margin: 0 auto 0 0; }
.side-ico { width: 54px; height: 54px; padding: 11px; border-radius: 14px; background: var(--deck-deep); color: var(--deck-gold); }
/* matrice */
.mx-frame { background: var(--deck-deep); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 34px rgba(0,19,61,.22); }
.mx-group { display: flex; background: #fff; border-radius: 14px; overflow: hidden; }
.mx-band { flex: 0 0 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; }
.mx-band .ico { width: 40px; height: 40px; }
.mx-band span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.mx-group.now .mx-band { background: #D32F2F; }
.mx-group.day .mx-band { background: #0A3A8C; }
.mx-rows { flex: 1; display: flex; flex-direction: column; }
.mx-row { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #E3E8F2; }
.mx-row:last-child { border-bottom: 0; }
.mx-ico { width: 40px; height: 40px; color: var(--deck-deep); flex-shrink: 0; }
.mx-t { font-size: 20px; font-weight: 600; line-height: 1.45; color: var(--deck-dark); }
.mx-t b { font-weight: 900; color: var(--deck-night); }
.mx-t .who { font-weight: 800; color: var(--deck-navy); }
.mx-group.now .mx-t .who { color: #B71C1C; }
.mx-sep { display: inline-block; margin: 0 8px; color: var(--deck-gold-alt); font-weight: 900; font-size: 24px; }
/* porte-documents */
.rp { position: relative; padding: 52px 0 26px; display: flex; flex-direction: column; gap: 16px; }
.rp-board { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--deck-deep); border-radius: 26px; box-shadow: 0 16px 34px rgba(0,19,61,.22); }
.rp-board::after { content: ""; position: absolute; inset: 40px 18px 18px; background: #fff; border-radius: 10px; }
.rp-clip { position: absolute; z-index: 2; top: -16px; left: 50%; transform: translateX(-50%); width: 46%; height: 50px; background: #8A93A6; border-radius: 12px; border: 5px solid #5E6880; }
.rp-clip::before { content: ""; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; border: 8px solid #5E6880; background: transparent; }
.rp-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 64px 50%; align-items: center; min-height: 92px; }
.rp-lbl { font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--deck-night); text-align: right; padding-left: 6px; }
.rp-arrow { height: 36px; position: relative; }
.rp-arrow::before { content: ""; position: absolute; top: 50%; right: 0; left: 20px; height: 18px; transform: translateY(-50%); background: var(--deck-deep); }
.rp-arrow::after { content: ""; position: absolute; top: 50%; left: -4px; transform: translateY(-50%); border: 22px solid transparent; border-right: 26px solid var(--deck-deep); border-left: 0; }
.rp-block { margin: 0 34px; height: 76px; background: #EEF1F6; border-radius: 6px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.rp-block i { display: block; height: 7px; border-radius: 4px; background: #C8CFDB; }
.rp-block.two { flex-direction: row; gap: 12px; align-items: stretch; }
.rp-block.two i { flex: 1; height: auto; }
.rp-row.last { min-height: 0; }
.rp-check { margin: 0 34px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 4px solid var(--deck-gold); border-radius: 8px; background: #fff; }
.rp-check .ico { width: 40px; height: 40px; color: var(--deck-deep); flex-shrink: 0; }
.rp-check p { font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--deck-night); }
.mx-band { order: 2; }                      /* bandeau à gauche des lignes, comme le modèle */
.rp-side .side-h .card-badge { margin: 0 6px; }

/* ==========================================================================
   Slide 25 — Interdits : 2 colonnes de lignes avec pictogramme barré + encadré « الإجراءات »
   ========================================================================== */
.bans { position: relative; gap: 22px 54px; }
.bans::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 3px; transform: translateX(-50%); background: #C9D2E3; border-radius: 2px; }
.bn-col { display: flex; flex-direction: column; gap: 12px; }
.bn-row {
  display: flex; align-items: center; gap: 20px; padding: 8px 20px 8px 14px; border-radius: 18px;
  background: #fff; border: 1px solid var(--deck-border); box-shadow: 0 6px 14px rgba(0, 19, 61, .05);
}
.bn-row img { width: 84px; height: 84px; flex-shrink: 0; }
.bn-row span { font-size: 23px; font-weight: 700; line-height: 1.45; color: var(--deck-night); }
.ban-css { position: relative; flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; border: 7px solid #D93030; display: grid; place-items: center; box-sizing: border-box; }
.ban-css .ico { width: 42px; height: 42px; color: #0A2A66; }
.ban-css::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 7px; background: #D93030; transform: translate(-50%, -50%) rotate(45deg); border-radius: 3px; }
.bn-proc {
  display: flex; align-items: center; gap: 26px; padding: 20px 30px; border-radius: 20px;
  background: var(--deck-deep); border: 4px solid #D32F2F; box-shadow: 0 14px 30px rgba(0, 19, 61, .25);
}
.bn-proc-ico { width: 80px; height: 80px; padding: 14px; border-radius: 16px; background: #D32F2F; color: #fff; flex-shrink: 0; }
.bn-sep { width: 3px; align-self: stretch; background: rgba(255, 255, 255, .35); border-radius: 2px; }
.bn-proc p { font-size: 24px; font-weight: 600; line-height: 1.6; color: #fff; }
.bn-proc b { color: var(--deck-gold); font-weight: 900; font-size: 27px; }
.slide.play .bn-row img, .slide [data-step].step-anim .bn-row img { animation: banPop .45s cubic-bezier(.34,1.56,.64,1) backwards; }
.bn-row:nth-child(2) img { animation-delay: .08s !important; } .bn-row:nth-child(3) img { animation-delay: .16s !important; }
.bn-row:nth-child(4) img { animation-delay: .24s !important; } .bn-row:nth-child(5) img { animation-delay: .32s !important; }
.bn-row:nth-child(6) img { animation-delay: .40s !important; }
@keyframes banPop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
/* slide 25 : hauteur réduite pour laisser le titre respirer */
.bans { gap: 0 54px; }
.bn-col { gap: 9px; }
.bn-row { padding: 4px 18px 4px 10px; border-radius: 14px; }
.bn-row img, .ban-css { width: 66px; height: 66px; }
.ban-css { border-width: 6px; } .ban-css::after { height: 6px; } .ban-css .ico { width: 34px; height: 34px; }
.bn-row span { font-size: 21px; }
.bn-proc { padding: 14px 26px; }
.bn-proc-ico { width: 66px; height: 66px; padding: 12px; }
.bn-proc p { font-size: 22px; } .bn-proc b { font-size: 25px; }
/* slide 25 : une carte par clic ; les précédentes restent lisibles, la nouvelle est soulignée en or */
.slide[data-focus] .bn-row.step-past, .slide[data-focus] .bn-proc.step-past { opacity: 1; filter: none; }
.bn-row { transition: border-color .3s ease, box-shadow .3s ease; }
.bn-row.step-current { border: 2px solid var(--deck-gold); box-shadow: 0 0 0 5px rgba(255, 215, 0, .3); }
.bn-row.step-anim { animation: deckRise .45s var(--deck-ease-out) both !important; }
