/* ==========================================================================
   دليل مرافقة النقل المدرسي — composants spécifiques (en plus de deck-styles.css + guide.css)
   Même charte que le guide des chauffeurs : bleu nuit, or impérial, Cairo, RTL
   ========================================================================== */

/* ---- Couverture : 4 piliers ---- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: 100%; max-width: 1400px; margin-top: 34px; }
.pillar {
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 215, 0, .25); border-bottom: 6px solid var(--pc, var(--deck-gold));
  font-size: 25px; font-weight: 800; color: #fff;
}
.pillar .ico { width: 44px; height: 44px; color: var(--pc, var(--deck-gold)); }
.pillar.p1 { --pc: #6FA0FF; } .pillar.p2 { --pc: #FFD700; } .pillar.p3 { --pc: #3DD17E; } .pillar.p4 { --pc: #FF6B6B; }

/* ---- Fiche du document (slide 2) ---- */
.docmeta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 2; }
.docmeta div { background: #fff; border: 1px solid var(--deck-border); border-radius: 14px; padding: 14px 18px; }
.docmeta b { display: block; font-size: 17px; font-weight: 800; color: var(--deck-muted); margin-bottom: 2px; }
.docmeta span { font-size: 22px; font-weight: 800; color: var(--deck-night); }

/* ---- Lignes rouges (8 cartes) ---- */
.redlines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.rl {
  position: relative; background: #fff; border-radius: 18px; padding: 24px 24px 22px; border: 1px solid var(--deck-border);
  border-top: 12px solid #D93030; box-shadow: 0 12px 26px rgba(0, 19, 61, .08); display: flex; flex-direction: column; gap: 10px;
}
.rl-h { display: flex; align-items: center; gap: 16px; }
.rl .ban-css { width: 66px; height: 66px; border-width: 6px; }
.rl .ban-css::after { height: 6px; }
.rl .ban-css .ico { width: 32px; height: 32px; }
.rl h3 { font-size: 29px; font-weight: 900; line-height: 1.25; color: var(--deck-night); }
.rl p { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--deck-dark); }
.slide [data-step].step-anim .ban-css { animation: banPop .45s cubic-bezier(.34,1.56,.64,1) .15s backwards; }

/* ---- Définitions (5 cartes + rappel) ---- */
.defs5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.dfx { background: #fff; border: 1px solid var(--deck-border); border-radius: 20px; padding: 22px 26px; box-shadow: 0 10px 22px rgba(0,19,61,.06); }
.dfx-h { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.dfx-h .ico { width: 56px; height: 56px; padding: 12px; border-radius: 16px; background: var(--deck-deep); color: var(--deck-gold); flex-shrink: 0; }
.dfx-h h3 { font-size: 28px; font-weight: 900; color: var(--deck-night); }
.dfx p { font-size: 21px; font-weight: 600; line-height: 1.55; color: var(--deck-dark); }
.dfx.note { background: linear-gradient(160deg, #0A3A8C, var(--deck-deep) 60%, #00133D); border: 3px solid var(--deck-gold); }
.dfx.note h3 { color: var(--deck-gold); }
.dfx.note p { color: #fff; }
.dfx.note .dfx-h .ico { background: var(--deck-gold); color: var(--deck-night); }

/* ---- RACI : pictogramme « responsable » de l'accompagnatrice ---- */
.raci-table th.me { background: var(--deck-gold) !important; color: var(--deck-night) !important; }

/* ---- Protocole des 15 minutes ---- */
.prep { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: stretch; position: relative; z-index: 2; }
.prep-board { background: #fff; border: 1px solid var(--deck-border); border-radius: 24px; padding: 26px 30px; box-shadow: 0 14px 30px rgba(0,19,61,.08); display: flex; flex-direction: column; gap: 12px; }
.lcd {
  direction: ltr; text-align: center; border-radius: 16px; padding: 10px 0 6px; margin-bottom: 6px;
  background: #0B1B3F; color: #FFC21A; font-family: 'Anton', 'Cairo', sans-serif; font-size: 66px; letter-spacing: .06em;
  text-shadow: 0 0 18px rgba(255, 194, 26, .55);
}
.lcd small { font-size: 34px; letter-spacing: .1em; margin-left: 10px; }
.slide.play .lcd { animation: lcdBlink 1s steps(2) .8s 3; }
@keyframes lcdBlink { 50% { color: rgba(255,194,26,.35); text-shadow: none; } }
.tick-row { display: flex; align-items: flex-start; gap: 16px; font-size: 23px; font-weight: 700; line-height: 1.45; color: var(--deck-night); }
.tick-row .box {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px; border: 3px solid var(--deck-deep); margin-top: 1px;
  display: grid; place-items: center; color: #fff; background: #fff; transition: background .3s ease;
}
.tick-row .box .ico { width: 26px; height: 26px; opacity: 0; }
.tick-row.step-on .box { background: #1E9E5A; border-color: #1E9E5A; }
.tick-row.step-on .box .ico { opacity: 1; }
.tick-row small { display: block; font-size: 18px; font-weight: 600; color: var(--deck-muted); }
.locks { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.lock { display: flex; align-items: center; gap: 22px; position: relative; padding: 10px 0; }
.lock-ic {
  flex-shrink: 0; width: 92px; height: 92px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(90deg, var(--deck-deep) 50%, #F2B800 50%); color: #fff; box-shadow: 0 10px 22px rgba(0,19,61,.2);
}
.lock-ic .ico { width: 50px; height: 50px; }
.lock + .lock::before { content: ""; position: absolute; right: 44px; top: -14px; width: 5px; height: 24px; background: var(--deck-deep); border-radius: 3px; }
.lock-t { font-size: 28px; font-weight: 900; color: var(--deck-night); }
.lock-d { font-size: 20px; font-weight: 600; color: var(--deck-muted); line-height: 1.45; }
.go-signal {
  margin-top: 20px; align-self: flex-start; display: flex; align-items: center; gap: 14px; padding: 18px 34px; border-radius: 18px;
  background: #1E9E5A; color: #fff; font-size: 30px; font-weight: 900; box-shadow: 0 0 0 6px rgba(30,158,90,.2), 0 0 40px rgba(30,158,90,.55);
}
.go-signal .ico { width: 40px; height: 40px; }

/* ---- Égalité de comptage ---- */
.count-eq {
  position: relative; z-index: 2; background: var(--deck-deep); border-radius: 24px; padding: 26px 36px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; box-shadow: 0 16px 34px rgba(0,19,61,.22);
}
.ceq { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.25); border-radius: 18px; padding: 14px 22px; }
.ceq .ico { width: 58px; height: 58px; color: #fff; flex-shrink: 0; }
.ceq b { font-size: 34px; font-weight: 900; color: var(--deck-gold); }
.ceq .dig { margin-right: auto; display: flex; gap: 6px; direction: ltr; }
.ceq .dig i { font-style: normal; width: 48px; height: 66px; border-radius: 8px; background: #fff; color: var(--deck-night); display: grid; place-items: center; font-family: 'Anton', sans-serif; font-size: 44px; }
.eq-sign { font-family: 'Anton', sans-serif; font-size: 90px; color: var(--deck-gold); line-height: 1; }
.count-eq p { grid-column: 1 / -1; text-align: center; color: #fff; font-size: 24px; font-weight: 700; }

/* ---- Flux : variantes ---- */
.lane.okl { border: 2px solid #43B97A; background: #F4FBF6; }
.lane.okl .lane-ico { background: #1E9E5A; color: #fff; }
.lane.hl .lane-ico { background: #C62828; color: #fff; }
.lane .lane-sub { font-size: 21px; font-weight: 700; color: #B71C1C; }
.fbox.stop { background: #FDECEC; border-color: #E57373; color: #7A1010; }

/* ---- Escalier du comportement ---- */
.behav { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; position: relative; z-index: 2; align-items: stretch; }
.stairs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0 16px; height: 100%; min-height: 470px; }
.stair { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.stair-txt { padding: 0 6px 14px; }
.stair-k { font-size: 30px; font-weight: 900; color: var(--deck-night); margin-bottom: 4px; }
.stair-d { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--deck-dark); }
.stair-doc { margin-top: 8px; display: inline-block; font-size: 17px; font-weight: 800; padding: 4px 12px; border-radius: 8px; background: #EEF2FA; color: var(--deck-navy); }
.stair-bar { border-radius: 16px 16px 6px 6px; position: relative; box-shadow: inset 0 -10px 0 rgba(0,0,0,.08), 0 10px 22px rgba(0,19,61,.12); display: grid; place-items: center; }
.stair-bar span { font-family: 'Anton', 'Cairo', sans-serif; font-size: 64px; color: rgba(255,255,255,.92); }
.stair.s1 .stair-bar { height: 90px; background: linear-gradient(180deg, #7ED957, #3DAA5C); }
.stair.s2 .stair-bar { height: 170px; background: linear-gradient(180deg, #FFB547, #F08A1C); }
.stair.s3 .stair-bar { height: 250px; background: linear-gradient(180deg, #F25C54, #C62828); }
.stair.step-anim .stair-bar { animation: barUp .7s var(--deck-ease-out) both; transform-origin: bottom; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.sup { display: flex; flex-direction: column; gap: 12px; }
.sup .wear-row { padding: 10px 16px; }
.sup .ico-wear { width: 46px; height: 46px; }
.sup .wear-t { font-size: 20px; }
.sup .ico.mark { width: 38px; height: 38px; padding: 6px; }
.stopban {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; padding: 16px 28px; border-radius: 18px;
  background: #FDECEC; border-right: 10px solid #C62828;
}
.octa {
  flex-shrink: 0; width: 76px; height: 76px; background: #C62828; color: #fff; display: grid; place-items: center;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.octa .ico { width: 40px; height: 40px; }
.stopban p { font-size: 24px; font-weight: 700; line-height: 1.5; color: #4A0C0C; }
.stopban b { color: #B71C1C; font-weight: 900; }

/* ---- Inspection finale : bus vu de dessus + parcours en zigzag ---- */
.sweep { display: grid; grid-template-columns: 1fr 1.08fr; gap: 34px; align-items: center; position: relative; z-index: 2; }
.sweep-svg { width: 100%; height: auto; direction: ltr; display: block; }
.sweep-svg .zz { fill: none; stroke: #FFC21A; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 194, 26, .8)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.play .sweep-svg .zz { animation: zzDraw 3.2s ease-in-out .6s forwards; }
@keyframes zzDraw { to { stroke-dashoffset: 0; } }
.sweep-svg text { font-family: 'Cairo', sans-serif; font-weight: 900; font-size: 30px; fill: var(--deck-navy); }
.sw-list { display: flex; flex-direction: column; gap: 12px; }
.sw-item {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--deck-border); border-radius: 18px;
  padding: 10px 18px; box-shadow: 0 8px 18px rgba(0,19,61,.06); transition: border-color .3s ease, box-shadow .3s ease;
}
.sw-n { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--deck-gold); color: var(--deck-night); display: grid; place-items: center; font-weight: 900; font-size: 26px; }
.sw-art { flex-shrink: 0; width: 70px; height: 70px; display: grid; place-items: center; }
.sw-art img { max-width: 100%; max-height: 100%; }
.sw-art .ico { width: 54px; height: 54px; color: var(--deck-deep); }
.sw-t { font-size: 25px; font-weight: 900; color: var(--deck-night); }
.sw-d { font-size: 19px; font-weight: 600; line-height: 1.45; color: var(--deck-dark); }
.slide[data-focus] .sw-item.step-past { opacity: 1; filter: none; }
.sw-item.step-current { border: 2px solid var(--deck-gold); box-shadow: 0 0 0 5px rgba(255, 215, 0, .3); }

/* ---- Enfant disparu : 3 réflexes ---- */
.reflex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; z-index: 2; }
.rfx { position: relative; background: #fff; border: 1px solid var(--deck-border); border-radius: 22px; padding: 30px 28px 26px; margin: 0 22px; text-align: center; box-shadow: 0 12px 26px rgba(0,19,61,.08); }
.rfx + .rfx::before { content: "‹"; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-size: 70px; font-weight: 900; color: var(--deck-gold-alt); }
.rfx .ico { width: 96px; height: 96px; padding: 20px; border-radius: 26px; background: #FDECEC; color: #C62828; margin-bottom: 14px; }
.rfx-n { font-family: 'Anton', 'Cairo', sans-serif; font-size: 40px; color: var(--deck-gold-alt); line-height: 1; }
.rfx-t { font-size: 31px; font-weight: 900; color: var(--deck-night); margin: 6px 0 8px; }
.rfx-d { font-size: 21px; font-weight: 600; line-height: 1.5; color: var(--deck-dark); }

/* ---- Matrice de signalement : 3e bande « fin de journée » ---- */
.mx-group.eod .mx-band { background: #5B6B8F; }
.mx-full .mx-t { font-size: 23px; }
.mx-full .mx-row { padding: 12px 22px; }
.mx-full .mx-ico { width: 44px; height: 44px; }

/* ---- Registres : 3 porte-documents ---- */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; z-index: 2; padding-top: 22px; }
.clip { position: relative; background: var(--deck-deep); border-radius: 26px; padding: 22px; box-shadow: 0 18px 36px rgba(0,19,61,.22); }
.clip::before { content: ""; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 150px; height: 44px; border-radius: 12px 12px 6px 6px; background: var(--deck-deep); }
.clip::after { content: ""; position: absolute; top: -32px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--deck-deep); box-shadow: inset 0 0 0 9px var(--deck-deep), inset 0 0 0 30px #fff; }
.clip-in { position: relative; background: #fff; border-radius: 14px; overflow: hidden; height: 100%; }
.clip-h { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #FFD21F; color: var(--deck-night); font-size: 27px; font-weight: 900; line-height: 1.3; }
.clip-h .ico { width: 48px; height: 48px; flex-shrink: 0; }
.clip.red .clip-h { background: #D32F2F; color: #fff; }
.clip-b { padding: 16px 22px 22px; }
.clip-k { display: inline-block; margin: 6px 0 6px; padding: 4px 16px; border-radius: 999px; background: #FFD21F; color: var(--deck-night); font-size: 20px; font-weight: 900; }
.clip.red .clip-k { background: #D32F2F; color: #fff; }
.clip-b p { font-size: 20px; font-weight: 600; line-height: 1.55; color: var(--deck-dark); }
.clip-b ul { list-style: none; }
.clip-b li { position: relative; padding-right: 32px; font-size: 20px; font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
.clip-b li::before { content: "☑"; position: absolute; right: 0; top: -1px; color: var(--deck-navy); font-size: 22px; }

/* ---- Sorties : boucle de comptage (5 étapes autour d'une règle) ---- */
.ring { position: relative; z-index: 2; height: 730px; direction: ltr; }
.ring-track { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); }
.ring-track circle { fill: none; stroke: var(--deck-deep); stroke-width: 26; }
.ring-track .dash { stroke: var(--deck-gold); stroke-width: 6; stroke-dasharray: 14 22; }
.slide.play .ring-track .dash { animation: ringSpin 30s linear infinite; transform-origin: 50% 50%; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.ring-core {
  position: absolute; left: 50%; top: 50%; width: 330px; height: 330px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #0A3A8C, var(--deck-night) 75%); border: 6px solid var(--deck-gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px; direction: rtl;
  box-shadow: 0 20px 40px rgba(0,19,61,.35);
}
.ring-core b { font-size: 30px; font-weight: 900; color: var(--deck-gold); margin-bottom: 6px; }
.ring-core p { font-size: 20px; font-weight: 700; line-height: 1.5; color: #fff; }
.rnode { position: absolute; display: flex; align-items: center; gap: 18px; direction: rtl; width: 520px; }
.rnode .rdot {
  flex-shrink: 0; width: 118px; height: 118px; border-radius: 50%; background: var(--deck-deep); border: 8px solid var(--deck-gold);
  display: grid; place-items: center; color: var(--deck-gold); box-shadow: 0 12px 26px rgba(0,19,61,.25); position: relative;
}
.rnode .rdot .ico { width: 54px; height: 54px; }
.rnode .rdot em { position: absolute; top: -10px; right: -10px; width: 42px; height: 42px; border-radius: 50%; background: var(--deck-gold); color: var(--deck-night); font-style: normal; font-weight: 900; font-size: 22px; display: grid; place-items: center; }
.rnode .rt { font-size: 28px; font-weight: 900; color: var(--deck-night); }
.rnode .rd { font-size: 20px; font-weight: 600; line-height: 1.45; color: var(--deck-dark); }
/* positions : piste centrée en (880, 365), rayon 280 ; 5 étapes tous les 72° (sens horaire) */
.rnode.n1 { left: 821px; top: 26px; flex-direction: row-reverse; width: 620px; }
.rnode.n2 { left: 1087px; top: 219px; flex-direction: row-reverse; width: 640px; }
.rnode.n3 { left: 986px; top: 533px; flex-direction: row-reverse; width: 700px; }
.rnode.n4 { right: 986px; top: 533px; width: 700px; }
.rnode.n5 { right: 1087px; top: 219px; width: 640px; }
.slide[data-focus] .rnode.step-past { opacity: 1; filter: none; }
.rnode.step-current .rdot { border-color: #fff; background: var(--deck-gold); color: var(--deck-night); box-shadow: 0 0 0 8px rgba(255,215,0,.35); }

/* ---- Auto-évaluation hebdomadaire ---- */
.selfev { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; position: relative; z-index: 2; align-items: stretch; }
.ev-list { background: #fff; border: 1px solid var(--deck-border); border-radius: 22px; padding: 14px 26px; box-shadow: 0 12px 26px rgba(0,19,61,.07); }
.ev-row { display: flex; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid #E8EDF6; font-size: 22px; font-weight: 700; color: var(--deck-night); }
.ev-row:last-child { border-bottom: 0; }
.ev-row .n { flex-shrink: 0; width: 38px; font-family: 'Anton', 'Cairo', sans-serif; font-size: 28px; color: var(--deck-gold-alt); }
.ev-row .t { flex: 1; }
.tgl { flex-shrink: 0; width: 70px; height: 38px; border-radius: 999px; background: #1E9E5A; position: relative; }
.tgl::after { content: "✓"; position: absolute; left: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #1E9E5A; font-weight: 900; font-size: 20px; display: grid; place-items: center; }
.slide.play .tgl { animation: tglOn .5s ease backwards; }
.ev-row:nth-child(2) .tgl { animation-delay: .1s; } .ev-row:nth-child(3) .tgl { animation-delay: .2s; } .ev-row:nth-child(4) .tgl { animation-delay: .3s; }
.ev-row:nth-child(5) .tgl { animation-delay: .4s; } .ev-row:nth-child(6) .tgl { animation-delay: .5s; } .ev-row:nth-child(7) .tgl { animation-delay: .6s; } .ev-row:nth-child(8) .tgl { animation-delay: .7s; }
@keyframes tglOn { from { background: #C9D2E3; } }
.radar-card { background: #fff; border: 1px solid var(--deck-border); border-radius: 22px; padding: 14px; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(0,19,61,.07); }
.radar { width: 100%; max-width: 470px; height: auto; direction: ltr; }
.radar .grid { fill: none; stroke: #D9DFEA; stroke-width: 1.5; }
.radar .axis { stroke: #D9DFEA; stroke-width: 1.5; }
.radar .val { fill: rgba(255, 200, 0, .45); stroke: #E8B400; stroke-width: 5; stroke-linejoin: round; transform-origin: 250px 250px; }
.slide.play .radar .val { animation: radarIn 1.2s var(--deck-ease-out) .5s backwards; }
@keyframes radarIn { from { transform: scale(0); } }
.radar .pt { fill: #fff; stroke: #E8B400; stroke-width: 4; }
.radar text { font-family: 'Anton', 'Cairo', sans-serif; font-size: 26px; fill: var(--deck-night); text-anchor: middle; dominant-baseline: middle; }
.ev-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; position: relative; z-index: 2; }
.ev-box { background: #fff; border: 2px solid var(--deck-border); border-radius: 18px; padding: 0 22px 18px; }
.ev-box b { display: inline-block; transform: translateY(-50%); padding: 6px 20px; border-radius: 10px; background: var(--deck-deep); color: #fff; font-size: 21px; font-weight: 800; }
.ev-box i { display: block; height: 2px; background: #D9DFEA; margin: 22px 0 0; }
.ev-box i:first-of-type { margin-top: 4px; }

/* ==========================================================================
   Ajustements de lisibilité pour la projection
   ========================================================================== */
.rl { padding: 30px 26px 26px; gap: 14px; }
.rl .ban-css { width: 78px; height: 78px; }
.rl .ban-css .ico { width: 38px; height: 38px; }
.rl h3 { font-size: 33px; }
.rl p { font-size: 23px; }
.dfx { padding: 26px 30px; }
.dfx-h h3 { font-size: 32px; }
.dfx p { font-size: 23px; }
.raci-table.acc td { padding-top: 6px; padding-bottom: 6px; }
.lanes-big .fbox { font-size: 24px; padding: 20px 16px; }
.lanes-big .lane { padding: 22px 26px 26px; }
.cyc-card.c6 .cyc-art img:only-child { height: 100%; }
.mx-full .mx-band { flex: 0 0 170px; flex-direction: row; gap: 10px; order: 0; }
.mx-full .mx-band span { writing-mode: horizontal-tb; transform: none; font-size: 24px; }
.mx-full .mx-band .ico { width: 34px; height: 34px; }
.rfx-t { font-size: 34px; }
.rfx-d { font-size: 24px; }
.rnode .rt { font-size: 31px; }
.rnode .rd { font-size: 22px; }
.bans.acc .bn-row { padding: 10px 20px 10px 14px; }
.bans.acc .bn-row img, .bans.acc .ban-css { width: 80px; height: 80px; }
.bans.acc .bn-row span { font-size: 24px; }
.bans.acc .bn-col { gap: 14px; }
.stage-step .step-desc { font-size: 22px; }
.sw-d { font-size: 20px; }
.mx-full .mx-band { flex-basis: 200px; } .mx-full .mx-band span { white-space: nowrap; }
/* slide 4 : une carte par clic ; les précédentes restent lisibles, la nouvelle est soulignée en or */
.slide[data-focus] .rl.step-past { opacity: 1; filter: none; }
.rl { transition: box-shadow .3s ease; }
.rl.step-current { box-shadow: 0 0 0 4px var(--deck-gold), 0 16px 34px rgba(0, 19, 61, .18); }
a.chip { text-decoration: none; color: inherit; cursor: pointer; transition: background .2s ease, border-color .2s ease; } a.chip:hover { background: #FFF1BF; border-color: var(--deck-gold-alt); }
/* slides 5 et 9 : une phrase par clic ; les cartes restent lisibles, la phrase en cours est soulignée en or */
.slide.seq[data-focus] .deck-card.step-past, .slide.seq[data-focus] .deck-card.step-current { opacity: 1; filter: none; box-shadow: none; }
.slide.seq[data-focus] li.step-past, .slide.seq[data-focus] .wear-row.step-past, .slide.seq[data-focus] .chip.step-past { opacity: 1; filter: none; }
.slide.seq li, .slide.seq .wear-row, .slide.seq .chip { transition: background .3s ease, box-shadow .3s ease; border-radius: 10px; }
.slide.seq li.step-current { background: #FFF3C4; box-shadow: 0 0 0 6px #FFF3C4; }
.slide.seq .wear-row.step-current, .slide.seq .chip.step-current { box-shadow: 0 0 0 4px var(--deck-gold); }
.slide.seq li.step-anim, .slide.seq .wear-row.step-anim, .slide.seq .chip.step-anim { animation: deckRise .45s var(--deck-ease-out) both !important; }

/* ==========================================================================
   Annexe : règlement intérieur (slides 30 et suivantes)
   ========================================================================== */
.slide.law[data-focus] [data-step].step-past { opacity: 1; filter: none; }
.slide.law .lawkpi.step-current, .slide.law .leave.step-current, .slide.law .wtl-i.step-current .wtl-dot,
.slide.law .bn-row.step-current, .slide.law .hday.step-current { box-shadow: 0 0 0 4px var(--deck-gold), 0 12px 26px rgba(0,19,61,.14); }
.law-src { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; color: var(--deck-muted); border-top: 1px dashed #C9D2E3; padding-top: 12px; }
.law-src .ico { width: 30px; height: 30px; color: var(--deck-navy); flex-shrink: 0; }
.law-src b { color: var(--deck-navy); font-weight: 800; }
.law-card .ticks.sm li { font-size: 22px; }

/* chiffres-clés */
.lawkpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.lawkpi { background: var(--deck-deep); border-radius: 20px; padding: 18px 22px; color: #fff; border-bottom: 6px solid var(--deck-gold); transition: box-shadow .3s ease; }
.lawkpi.gold { background: linear-gradient(160deg, #FFE35A, var(--deck-gold) 55%, #F2B800); color: var(--deck-night); border-bottom-color: var(--deck-deep); }
.lk-n { font-family: 'Anton', 'Cairo', sans-serif; font-size: 64px; line-height: 1; color: var(--deck-gold); }
.lawkpi.gold .lk-n { color: var(--deck-night); }
.lk-n small { font-family: 'Cairo', sans-serif; font-size: 24px; font-weight: 900; margin-right: 10px; }
.lk-l { font-size: 24px; font-weight: 900; margin-top: 6px; }
.lk-s { font-size: 18px; font-weight: 600; opacity: .85; }

/* rukhas */
.leaves { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; position: relative; z-index: 2; }
.leave { background: #fff; border: 1px solid var(--deck-border); border-top: 8px solid var(--deck-navy); border-radius: 18px; padding: 18px 14px; text-align: center; box-shadow: 0 10px 22px rgba(0,19,61,.07); transition: box-shadow .3s ease; }
.leave.first { border-top-color: var(--deck-gold-alt); background: #FFFBEA; }
.leave .ico { width: 48px; height: 48px; color: var(--deck-navy); }
.lv-n { font-family: 'Anton', 'Cairo', sans-serif; font-size: 66px; line-height: 1.05; color: var(--deck-gold-alt); }
.lv-n small { display: block; font-family: 'Cairo', sans-serif; font-size: 20px; font-weight: 900; color: var(--deck-navy); }
.lv-t { font-size: 20px; font-weight: 800; line-height: 1.45; color: var(--deck-night); margin-top: 8px; }
.lv-s { font-size: 16px; font-weight: 600; color: var(--deck-muted); margin-top: 4px; }

/* calendrier des fêtes */
.hdays { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; z-index: 2; }
.hday { background: #fff; border: 1px solid var(--deck-border); border-radius: 16px; overflow: hidden; text-align: center; box-shadow: 0 8px 18px rgba(0,19,61,.06); }
.hd-top { background: #C62828; color: #fff; font-size: 19px; font-weight: 900; padding: 4px 0; }
.hd-d { font-family: 'Anton', 'Cairo', sans-serif; font-size: 52px; line-height: 1.15; color: var(--deck-night); }
.hd-t { font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--deck-navy); padding: 0 10px 12px; min-height: 52px; display: grid; place-items: center; }
.hdays.rel4 { grid-template-columns: repeat(4, 1fr) 1.2fr; }
.hday.rel .hd-top { background: #1E7A47; padding: 8px 0; }
.hday.rel .hd-top .ico { width: 32px; height: 32px; }
.hday.rel .hd-t { font-size: 22px; padding-top: 12px; }
.hnote { align-self: center; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--deck-muted); }

/* frise des accidents du travail */
.wtl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.wtl::before { content: ""; position: absolute; top: 46px; right: 12%; left: 12%; height: 6px; background: var(--deck-gold-alt); border-radius: 3px; }
.wtl-i { position: relative; text-align: center; background: #fff; border: 1px solid var(--deck-border); border-radius: 20px; padding: 0 18px 20px; margin-top: 46px; box-shadow: 0 10px 22px rgba(0,19,61,.07); }
.wtl-dot { width: 92px; height: 92px; margin: -46px auto 8px; border-radius: 50%; background: var(--deck-deep); color: var(--deck-gold); border: 6px solid #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,19,61,.2); transition: box-shadow .3s ease; }
.wtl-dot .ico { width: 42px; height: 42px; }
.wtl-who { display: inline-block; font-size: 16px; font-weight: 900; padding: 2px 14px; border-radius: 999px; background: var(--deck-soft, #EEF2FA); color: var(--deck-navy); }
.wtl-k { font-family: 'Anton', 'Cairo', sans-serif; font-size: 40px; color: #C62828; line-height: 1.2; margin-top: 6px; }
.wtl-s { font-size: 17px; font-weight: 700; color: var(--deck-muted); }
.wtl-d { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--deck-night); margin-top: 8px; }

/* escalier à 4 marches */
.stairs.st4 { grid-template-columns: repeat(4, 1fr); min-height: 440px; }
.stair.s4 .stair-bar { height: 320px; background: linear-gradient(180deg, #8E1B1B, #5E0E0E); }
.stairs.st4 .stair-k { font-size: 27px; }

/* fautes graves */
.bans.grave .bn-row { padding: 6px 16px 6px 12px; }
.bans.grave .ban-css { width: 58px; height: 58px; border-width: 5px; }
.bans.grave .ban-css::after { height: 5px; }
.bans.grave .ban-css .ico { width: 28px; height: 28px; }
.bans.grave .bn-row span:not(.ban-css):not(.ico) { font-size: 21px; }
.bans.grave .bn-col { gap: 10px; }

/* références */
.ref-card { text-align: center; }
.ref-ico { width: 84px; height: 84px; padding: 18px; border-radius: 22px; background: rgba(255,215,0,.14); color: var(--deck-gold); border: 2px solid rgba(255,215,0,.35); margin-bottom: 12px; }
.ref-card .card-title { font-size: 34px; color: #fff; }
.ref-card .card-text b { color: var(--deck-gold); }
.ref-card .ref-d { font-size: 20px; color: var(--deck-muted-light); margin-top: 6px; }
.lawkpis.two { grid-template-columns: repeat(2, 1fr); }
/* slide 33 : deux familles de congés */
.lvgrp { position: relative; z-index: 2; border-radius: 22px; padding: 14px 18px 18px; background: #F1F4FA; border: 2px solid #D5DFEF; }
.lvgrp.paid { background: #EEF8F2; border-color: #8FD3AC; }
.lvgrp-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lvgrp-h > .ico { width: 34px; height: 34px; color: var(--deck-navy); }
.lvgrp.paid .lvgrp-h > .ico { color: #1E7A47; }
.lvgrp-h b { font-size: 29px; font-weight: 900; color: var(--deck-night); }
.lvgrp-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--deck-deep); color: var(--deck-gold); font-size: 22px; font-weight: 900; }
.lvgrp.paid .lvgrp-n { background: #1E7A47; color: #fff; }
.lvgrp-k { margin-right: auto; padding: 5px 16px; border-radius: 999px; background: #1E7A47; color: #fff; font-size: 19px; font-weight: 900; }
.lvgrp-s { margin-right: auto; padding: 5px 16px; border-radius: 999px; background: #FFF1BF; color: #7A5600; font-size: 18px; font-weight: 800; }
.leaves.l3 { grid-template-columns: repeat(3, 1fr); }
.leaves.l6 { grid-template-columns: repeat(6, 1fr); }
.leave.paid { border-top-color: #1E9E5A; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px; text-align: right; padding: 14px 20px; }
.leave.paid .lv-n { color: #1E7A47; }
.leave.paid .lv-t { margin-top: 0; font-size: 22px; }
.leaves.l6 .leave { padding: 12px 10px; }
.leaves.l6 .lv-n { font-size: 54px; }
.leaves.l6 .lv-t { font-size: 18.5px; }
.slide.law .lvgrp.step-current { box-shadow: none; }
/* slides 33-34 : congés familiaux, étape 1 (art. 274) et étape 2 (art. 275) */
.law-intro { position: relative; z-index: 2; font-size: 25px; font-weight: 600; line-height: 1.6; color: var(--deck-dark); background: #fff; border-right: 8px solid var(--deck-gold); border-radius: 14px; padding: 14px 22px; }
.law-intro b { color: var(--deck-navy); font-weight: 900; }
.ev-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.ev-col { background: #F1F4FA; border: 2px solid #D5DFEF; border-radius: 22px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.ev-h { display: flex; align-items: center; gap: 10px; }
.ev-h > .ico { width: 34px; height: 34px; color: var(--deck-navy); }
.ev-h b { font-size: 30px; font-weight: 900; color: var(--deck-night); }
.ev-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--deck-deep); color: var(--deck-gold); font-size: 22px; font-weight: 900; }
.ev-leave { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--deck-border); box-shadow: 0 8px 18px rgba(0,19,61,.06); flex: 1; }
.evl-n { flex-shrink: 0; width: 92px; text-align: center; font-family: 'Anton', 'Cairo', sans-serif; font-size: 62px; line-height: 1; color: var(--deck-gold-alt); }
.evl-n small { display: block; font-family: 'Cairo', sans-serif; font-size: 19px; font-weight: 900; color: var(--deck-navy); margin-top: 4px; }
.evl-t { font-size: 22px; font-weight: 800; line-height: 1.45; color: var(--deck-night); }
.evl-s { font-size: 17px; font-weight: 700; color: var(--deck-muted); margin-top: 4px; }
.slide.law .ev-leave.step-current { box-shadow: 0 0 0 4px var(--deck-gold), 0 12px 26px rgba(0,19,61,.14); }
.pay3 { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 22px; position: relative; z-index: 2; align-items: stretch; }
.pay-c { background: #fff; border: 1px solid var(--deck-border); border-top: 10px solid var(--deck-navy); border-radius: 20px; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 22px rgba(0,19,61,.07); }
.pay-c.rule0 { border-top-color: #C62828; }
.pay-c.exc { border-top-color: #1E9E5A; background: #F6FCF8; }
.pay-c.rest { border-top-color: var(--deck-gold-alt); }
.pay-h { display: flex; align-items: center; gap: 10px; }
.pay-h b { font-size: 26px; font-weight: 900; color: var(--deck-night); line-height: 1.3; }
.pay-c p { font-size: 21px; font-weight: 600; line-height: 1.55; color: var(--deck-dark); }
.pay-note { margin-top: auto; font-size: 19px; font-weight: 700; line-height: 1.5; color: #7A5600; background: #FFF6D6; border-radius: 12px; padding: 10px 14px; }
.pay-case { background: #fff; border: 2px solid #CFE8D6; border-radius: 16px; padding: 12px 16px; }
.pc-t { font-size: 22px; font-weight: 900; color: var(--deck-night); margin-bottom: 8px; }
.pc-s { font-size: 17.5px; font-weight: 700; color: var(--deck-muted); margin-top: 8px; line-height: 1.45; }
.dbar { display: flex; gap: 10px; }
.dbar span, .dlegend i { width: 58px; height: 50px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.dbar span.p, .dlegend i.p { background: #1E9E5A; }
.dbar span.u, .dlegend i.u { background: #C9D2E3; color: #5B6B8F; }
.dbar .ico, .dlegend .ico { width: 28px; height: 28px; }
.pay-tag { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; line-height: 1.45; border-radius: 14px; padding: 12px 14px; }
.pay-tag .ico { width: 34px; height: 34px; flex-shrink: 0; }
.pay-tag.ok { background: #EEF8F2; color: #1E5E3A; }
.pay-tag.no { background: #FDECEC; color: #7A1010; }
.dlegend { position: relative; z-index: 2; display: flex; gap: 34px; font-size: 20px; font-weight: 800; color: var(--deck-muted); }
.dlegend span { display: inline-flex; align-items: center; gap: 12px; }
.dlegend i { width: 40px; height: 34px; border-radius: 8px; }
.dlegend .ico { width: 22px; height: 22px; }
.slide.law .pay-c.step-current, .slide.law .pay-case.step-current { box-shadow: 0 0 0 4px var(--deck-gold), 0 12px 26px rgba(0,19,61,.14); }
.evl-pay { display: inline-block; margin-top: 6px; padding: 3px 12px; border-radius: 8px; background: #EEF8F2; color: #1E5E3A; font-size: 16.5px; font-weight: 800; line-height: 1.45; }
.law-card.solo { max-width: 1300px; width: 100%; margin: 0 auto; } .law-card.solo .ticks.sm li { font-size: 26px; margin-bottom: 14px; }
.wtl.two { grid-template-columns: repeat(2, 1fr); max-width: 1300px; width: 100%; margin: 0 auto; gap: 40px; }
.wtl.two::before { right: 25%; left: 25%; }
.wtl.two .wtl-i { padding: 0 30px 30px; }
.wtl.two .wtl-k { font-size: 52px; }
.wtl.two .wtl-s { font-size: 20px; }
.wtl.two .wtl-d { font-size: 25px; }
.behav.solo { grid-template-columns: 1fr; max-width: 1500px; width: 100%; margin: 0 auto; }
.behav.solo .stairs.st4 { gap: 0 30px; min-height: 470px; }
.behav.solo .stair-k { font-size: 32px; }
.behav.solo .stair-d { font-size: 22px; }
