/* Djolof RH — page de connexion aux couleurs de l'entreprise (2.59.1)
   Rouge crête, orange et jaune du logo, noir pour le texte. Interrupteur Salarié / Administration RH. */
:root {
  --rouge: #D41A12; --rouge-f: #A8160F; --orange: #F29A00; --jaune: #FFBD00; --jaune-p: #FFF3CC; --noir: #1E1A19;
  --gris: #7A716D; --ligne: #E7E3E0; --fond: #F5F4F2;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.dj { font: 15px/1.5 var(--font); color: var(--noir); background: var(--fond); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; }

.dj-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); }

/* ---------- Panneau de marque ---------- */
.dj-brand { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.dj-brand-bg { position: absolute; inset: 0; z-index: -3; background: linear-gradient(150deg, var(--rouge) 0%, #E2410C 48%, var(--orange) 100%); background-size: cover; background-position: center; }
.has-photo .dj-brand-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(212,26,18,.88), rgba(168,22,15,.72) 50%, rgba(242,154,0,.8)); }
.t-nuit .dj-brand-bg { background-color: var(--noir); background-image: linear-gradient(160deg, #1E1A19, #3A2A26 60%, #5A2A18); }
.t-nuit.has-photo .dj-brand-bg::after { background: linear-gradient(160deg, rgba(30,26,25,.9), rgba(30,26,25,.65)); }
.t-braise .dj-brand-bg { background-image: linear-gradient(160deg, #7A1410, var(--rouge-f) 50%, var(--rouge)); }
.dj-pattern { position: absolute; inset: 0; z-index: -2; opacity: .16;
  background-image: radial-gradient(circle at 12px 12px, #fff 2px, transparent 2.5px), linear-gradient(135deg, transparent 46%, rgba(255,255,255,.55) 47% 53%, transparent 54%);
  background-size: 24px 24px, 48px 48px; mask-image: linear-gradient(110deg, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(110deg, #000 10%, transparent 75%); }
.dj-glow { position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,189,0,.75), rgba(255,189,0,0) 65%); filter: blur(10px); animation: djGlow 9s ease-in-out infinite alternate; }
.t-nuit .dj-glow { background: radial-gradient(circle, rgba(255,189,0,.45), transparent 65%); }
@keyframes djGlow { to { transform: translate(-40px, -30px) scale(1.08); } }
.dj-brand-in { position: relative; height: 100%; display: flex; flex-direction: column; padding: clamp(28px, 5vw, 64px); gap: 28px; }
.dj-logo { width: fit-content; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 22px; padding: 12px 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.dj-logo img { display: block; width: clamp(130px, 13vw, 180px); height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.dj-copy { margin-top: auto; max-width: 560px; }
.dj-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgba(0,0,0,.18);
  font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.dj-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 4px rgba(255,189,0,.3); }
.dj-big { font-size: clamp(32px, 4.1vw, 54px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 22px; text-wrap: balance; }
.dj-big em { font-style: normal; color: var(--jaune); position: relative; }
.dj-big em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 3px; background: rgba(255,189,0,.45); }
.dj-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dj-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.94); }
.dj-points i { font-style: normal; flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--jaune); color: var(--noir); font-size: 13px; font-weight: 800;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.dj-sign { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); font-weight: 600; }
/* Le texte du panneau suit l'espace choisi */
[data-for] { transition: opacity .35s ease, transform .35s ease; }
body[data-espace="rh"] [data-for="salarie"], body[data-espace="salarie"] [data-for="rh"] { display: none; }
body.ready [data-for] { animation: djIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes djIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Panneau de connexion ---------- */
.dj-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px clamp(20px, 4vw, 56px) 22px; position: relative;
  background: radial-gradient(60% 50% at 100% 0%, rgba(255,189,0,.14), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(212,26,18,.08), transparent 70%), var(--fond); }
.dj-card { width: 100%; max-width: 440px; background: #fff; border-radius: 26px; padding: 30px 32px 26px; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 2px rgba(30,26,25,.05), 0 30px 60px -28px rgba(30,26,25,.35); position: relative; }
.dj-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--rouge), var(--orange), var(--jaune)); }
.dj-card-logo { display: none; height: 58px; width: auto; margin: 0 auto 14px; }

/* Interrupteur Salarié / Administration RH */
.dj-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 5px; border-radius: 16px; background: #F3F0ED; border: 1px solid var(--ligne); margin-bottom: 24px; }
.dj-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(33.333% - 3.4px); border-radius: 12px; background: linear-gradient(135deg, var(--rouge), var(--orange));
  box-shadow: 0 8px 18px -8px rgba(212,26,18,.7), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .38s cubic-bezier(.65,0,.35,1); }
body[data-espace="rh"] .dj-thumb { transform: translateX(100%); }
body[data-espace="manager"] .dj-thumb { transform: translateX(200%); }
body[data-espace="manager"] [data-for="salarie"] { display: none; }
.dj-switch button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; padding: 11px 10px; border-radius: 12px;
  font: 700 14px var(--font); color: var(--gris); cursor: pointer; transition: color .3s; white-space: nowrap; }
.dj-switch button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dj-switch button:hover { color: var(--noir); }
.dj-switch button[aria-selected="true"] { color: #fff; }

/* Formulaires */
.dj-forms { position: relative; }
.dj-form { display: flex; flex-direction: column; gap: 14px; }
body.ready .dj-form:not([hidden]) { animation: djForm .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes djForm { from { opacity: 0; transform: translateX(var(--dx, 14px)); } }
body[data-espace="salarie"] .dj-form { --dx: -14px; }
.dj-form h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.dj-sub { margin: -8px 0 4px; color: var(--gris); font-size: 14.5px; }
.dj-field { display: flex; flex-direction: column; gap: 6px; }
.dj-field > span:first-child { font-size: 13px; font-weight: 700; color: #4A4240; }
.dj-input { position: relative; display: flex; align-items: center; }
.dj-input > svg { position: absolute; left: 14px; width: 19px; height: 19px; fill: none; stroke: #A39893; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .2s; }
.dj-input input { width: 100%; font: 500 15px var(--font); color: var(--noir); padding: 13px 46px 13px 44px; border-radius: 14px; border: 1.5px solid var(--ligne); background: #FBFAF8;
  transition: border-color .2s, box-shadow .2s, background .2s; }
.dj-input input::placeholder { color: #B5ACA7; font-weight: 400; }
.dj-input input:hover { border-color: #D4CEC9; }
.dj-input input:focus { outline: none; border-color: var(--rouge); background: #fff; box-shadow: 0 0 0 4px rgba(255,189,0,.3); }
.dj-input:focus-within > svg { stroke: var(--rouge); }
.dj-eye { position: absolute; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; display: grid; place-items: center; cursor: pointer; color: #A39893; }
.dj-eye:hover { background: #F3F0ED; color: var(--noir); }
.dj-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dj-eye[aria-pressed="true"] { color: var(--rouge); }
.dj-caps { color: var(--rouge-f); font-size: 12px; font-weight: 700; }
.dj-btn { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 14px 18px; cursor: pointer;
  font: 800 15.5px var(--font); color: #fff; background: linear-gradient(135deg, var(--rouge) 0%, #E2410C 55%, var(--orange) 100%); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 14px 26px -12px rgba(212,26,18,.75), inset 0 1px 0 rgba(255,255,255,.25); transition: background-position .4s, transform .15s, box-shadow .2s; }
.dj-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.dj-btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 18px 30px -12px rgba(212,26,18,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.dj-btn:hover svg { transform: translateX(3px); }
.dj-btn:active { transform: translateY(0); }
.dj-btn:disabled { cursor: progress; opacity: .85; }
.dj-btn.busy svg { animation: djSpin 1s linear infinite; }
@keyframes djSpin { to { transform: rotate(360deg); } }
.dj-alert { padding: 11px 14px; border-radius: 12px; background: #FDECEA; color: var(--rouge-f); font-weight: 600; font-size: 14px; border: 1px solid #F6C6C1; }
.dj-foot { margin: 0; font-size: 14px; color: #4A4240; text-align: center; }
.dj-foot a { color: var(--rouge); font-weight: 800; text-decoration: none; background-image: linear-gradient(var(--jaune), var(--jaune)); background-size: 100% 35%; background-repeat: no-repeat; background-position: 0 95%; padding: 0 2px; }
.dj-foot a:hover { background-size: 100% 100%; }
.dj-muted { color: var(--gris); font-size: 13px; }
.dj-legal { margin: 22px 0 0; font-size: 12.5px; color: #A39893; }
.shake { animation: djShake .4s; }
@keyframes djShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .dj-page { grid-template-columns: 1fr; }
  .dj-brand { min-height: 0; }
  .dj-brand-in { padding: 22px 22px 70px; gap: 16px; }
  .dj-logo { padding: 8px 12px; border-radius: 16px; }
  .dj-logo img { width: 110px; }
  .dj-copy { margin-top: 4px; }
  .dj-big { font-size: 30px; margin-bottom: 0; }
  .dj-points, .dj-sign, .dj-kicker { display: none !important; }
  .dj-panel { padding: 0 16px 22px; justify-content: flex-start; background: var(--fond); }
  .dj-card { margin-top: -50px; padding: 24px 20px 22px; border-radius: 22px; }
  .dj-form h1 { font-size: 24px; }
}
@media (max-width: 380px) { .dj-switch button { font-size: 13px; gap: 6px; padding: 10px 6px; } .dj-switch button svg { width: 16px; height: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   Accueil animé (2.65.0) : choix de l'espace avant la connexion
   Fond aux couleurs Djolof, logo qui apparaît, titre mot par mot, deux cartes de choix.
   ===================================================================== */
body.has-intro { overflow: hidden; }
body.has-intro .dj-page { visibility: hidden; }
.dj-intro { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.dji-bg { position: absolute; inset: -5%; z-index: -4; background: radial-gradient(70% 90% at 80% 10%, #F29A00 0%, transparent 60%), radial-gradient(60% 80% at 10% 100%, #A8160F 0%, transparent 60%), linear-gradient(150deg, #D41A12, #E2410C 55%, #F29A00);
  animation: djiBg 1.4s cubic-bezier(.2,.8,.2,1) both, djiDrift 14s ease-in-out 1.4s infinite alternate; }
.t-nuit .dji-bg { background: radial-gradient(70% 90% at 80% 10%, #5A2A18 0%, transparent 60%), linear-gradient(150deg, #1E1A19, #3A2A26); }
.t-braise .dji-bg { background: radial-gradient(70% 90% at 80% 10%, #D41A12 0%, transparent 60%), linear-gradient(150deg, #7A1410, #A8160F); }
@keyframes djiBg { from { transform: scale(1.12); opacity: 0; } }
@keyframes djiDrift { to { transform: scale(1.06) translate(-1.5%, 1%); } }
.dji-pattern { position: absolute; inset: 0; z-index: -3; opacity: .14; background-image: radial-gradient(circle at 12px 12px, #fff 2px, transparent 2.5px), linear-gradient(135deg, transparent 46%, rgba(255,255,255,.5) 47% 53%, transparent 54%);
  background-size: 24px 24px, 48px 48px; mask-image: radial-gradient(70% 70% at 50% 45%, transparent 30%, #000 100%); -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, transparent 30%, #000 100%); animation: djiFade 1.6s .2s both; }
.dji-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(30px); }
.dji-glow.g1 { width: 520px; height: 520px; left: 50%; top: 42%; margin: -260px 0 0 -260px; background: radial-gradient(circle, rgba(255,189,0,.75), transparent 65%); animation: djiPulse 4s ease-in-out .6s infinite; }
.dji-glow.g2 { width: 700px; height: 700px; right: -260px; bottom: -320px; background: radial-gradient(circle, rgba(255,189,0,.45), transparent 65%); animation: djiFade 2s .4s both; }
@keyframes djiPulse { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes djiFade { from { opacity: 0; } }
/* Étincelles qui montent doucement */
.dji-sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dji-sparks i { position: absolute; bottom: -20px; width: 8px; height: 8px; border-radius: 50%; background: #FFBD00; box-shadow: 0 0 12px 3px rgba(255,189,0,.6); opacity: 0; animation: djiSpark 7s linear infinite; }
.dji-sparks i:nth-child(1) { left: 6%; animation-delay: .5s; } .dji-sparks i:nth-child(2) { left: 14%; animation-delay: 2.8s; width: 5px; height: 5px; }
.dji-sparks i:nth-child(3) { left: 23%; animation-delay: 1.4s; } .dji-sparks i:nth-child(4) { left: 31%; animation-delay: 4.2s; width: 6px; height: 6px; }
.dji-sparks i:nth-child(5) { left: 42%; animation-delay: .9s; width: 4px; height: 4px; } .dji-sparks i:nth-child(6) { left: 54%; animation-delay: 3.5s; }
.dji-sparks i:nth-child(7) { left: 63%; animation-delay: 1.9s; width: 5px; height: 5px; } .dji-sparks i:nth-child(8) { left: 71%; animation-delay: 5.1s; }
.dji-sparks i:nth-child(9) { left: 79%; animation-delay: 2.3s; width: 6px; height: 6px; } .dji-sparks i:nth-child(10) { left: 86%; animation-delay: .2s; width: 4px; height: 4px; }
.dji-sparks i:nth-child(11) { left: 92%; animation-delay: 4.6s; } .dji-sparks i:nth-child(12) { left: 48%; animation-delay: 6s; width: 5px; height: 5px; }
@keyframes djiSpark { 0% { transform: translateY(0) scale(1); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .6; } 100% { transform: translateY(-105vh) scale(.4); opacity: 0; } }

.dji-in { position: relative; width: min(1080px, 94vw); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 0; }
/* Logo : arrivée avec rebond, anneau qui s'élargit */
.dji-logo { position: relative; padding: 16px 22px; border-radius: 28px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); animation: djiLogo 1.1s cubic-bezier(.34,1.56,.64,1) .15s both; }
.dji-logo img { display: block; width: clamp(150px, 20vw, 220px); height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.dji-ring { position: absolute; inset: -6px; border-radius: 34px; border: 2px solid rgba(255,189,0,.9); animation: djiRing 1.6s cubic-bezier(.2,.8,.2,1) .7s both; pointer-events: none; }
@keyframes djiLogo { 0% { transform: scale(.35) rotate(-10deg); opacity: 0; filter: blur(8px); } 60% { opacity: 1; filter: blur(0); } 100% { transform: none; } }
@keyframes djiRing { 0% { transform: scale(.9); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
/* Titre mot par mot */
.dji-title { margin: 30px 0 6px; font-size: clamp(32px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.dji-title span { display: inline-block; animation: djiWord .8s cubic-bezier(.2,.8,.2,1) both; }
.dji-title span:nth-child(1) { animation-delay: .55s; } .dji-title span:nth-child(2) { animation-delay: .65s; }
.dji-title span:nth-child(3) { animation-delay: .75s; color: #FFBD00; } .dji-title span:nth-child(4) { animation-delay: .85s; color: #FFBD00; }
@keyframes djiWord { from { opacity: 0; transform: translateY(28px) rotate(3deg); filter: blur(10px); } }
.dji-q { margin: 6px 0 22px; font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: rgba(255,255,255,.92); animation: djiUp .7s cubic-bezier(.2,.8,.2,1) 1.05s both; }
@keyframes djiUp { from { opacity: 0; transform: translateY(16px); } }
/* Cartes de choix */
.dji-choices { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dji-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; border-radius: 22px; cursor: pointer; font: inherit; color: #1E1A19;
  background: rgba(255,255,255,.96); border: 2px solid transparent; box-shadow: 0 24px 50px -24px rgba(0,0,0,.55);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; animation: djiCard .8s cubic-bezier(.34,1.4,.64,1) both; }
.dji-card:nth-child(1) { animation-delay: 1.2s; } .dji-card:nth-child(2) { animation-delay: 1.32s; }
@keyframes djiCard { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.dji-card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,189,0,.35), transparent); transform: skewX(-18deg); animation: djiShine 1.2s ease-out 2s both; }
.dji-card:nth-child(2)::after { animation-delay: 2.2s; }
@keyframes djiShine { to { left: 130%; } }
.dji-card:hover, .dji-card:focus-visible { transform: translateY(-6px); border-color: #FFBD00; box-shadow: 0 34px 60px -24px rgba(0,0,0,.6), 0 0 0 6px rgba(255,189,0,.25); outline: none; }
.dji-card.last { border-color: rgba(255,189,0,.7); }
.dji-ic { flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #D41A12, #F29A00); box-shadow: 0 12px 22px -10px rgba(212,26,18,.9); transition: transform .3s; }
.dji-card:hover .dji-ic { transform: rotate(-6deg) scale(1.06); }
.dji-ic svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dji-tx { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dji-tx b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.dji-tx small { font-size: 13.5px; color: #7A716D; font-weight: 500; line-height: 1.35; }
.dji-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #F5F4F2; transition: background .3s, transform .3s; }
.dji-go svg { width: 20px; height: 20px; fill: none; stroke: #1E1A19; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dji-card:hover .dji-go { background: #FFBD00; transform: translateX(4px); }
.dji-card kbd { position: absolute; top: 10px; right: 12px; font: 700 10.5px var(--font); color: #B5ACA7; border: 1px solid #E7E3E0; border-bottom-width: 2px; border-radius: 6px; padding: 0 5px; }
.dji-foot { margin: 26px 0 0; font-size: 13.5px; color: rgba(255,255,255,.8); font-weight: 600; animation: djiFade 1s 1.6s both; }
/* Sortie : la carte choisie grandit, l'autre s'efface, l'écran se lève */
.dj-intro.leaving .dji-card:not(.chosen) { transform: scale(.92); opacity: 0; transition: transform .4s, opacity .4s; }
.dj-intro.leaving .dji-card.chosen { transform: scale(1.04); border-color: #FFBD00; box-shadow: 0 0 0 8px rgba(255,189,0,.35), 0 40px 70px -24px rgba(0,0,0,.6); }
.dj-intro.leaving .dji-title, .dj-intro.leaving .dji-q, .dj-intro.leaving .dji-logo, .dj-intro.leaving .dji-foot { opacity: 0; transform: translateY(-20px); transition: opacity .4s, transform .4s; }
.dj-intro.leaving { animation: djiOut .55s cubic-bezier(.7,0,.3,1) .35s forwards; }
@keyframes djiOut { to { clip-path: inset(0 0 100% 0); } }
@media (max-width: 700px) {
  .dji-choices { grid-template-columns: 1fr; gap: 12px; }
  .dji-card { padding: 16px; } .dji-ic { width: 52px; height: 52px; } .dji-tx b { font-size: 18px; } .dji-card kbd { display: none; }
  .dji-title { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .dj-intro *, .dj-intro { animation: none !important; transition: none !important; } }

/* 2.68.0 : troisième espace « Manager » (Food Manager, Manager régional) */
.dj-switch button { font-size: 13.5px; padding: 11px 6px; gap: 6px; }
.dji-choices { grid-template-columns: repeat(3, 1fr); }
.dji-card:nth-child(3) { animation-delay: 1.44s; }
.dji-card:nth-child(3)::after { animation-delay: 2.4s; }
.dji-card .dji-tx b { font-size: 18px; }
@media (max-width: 900px) { .dji-choices { grid-template-columns: 1fr; } }
