/* Site de démonstration IBS Studio. Les couleurs sont celles de l'application (src/index.css). */
:root {
  --well: #161616;
  --bg: #242424;
  --surface: #303030;
  --surface-2: #262626;
  --fg: #fff;
  --fg-70: rgba(255, 255, 255, .7);
  --fg-45: rgba(255, 255, 255, .45);
  --fg-30: rgba(255, 255, 255, .3);
  --line: rgba(255, 255, 255, .07);
  --accent: #6366f1;
  --teal: #46a896;
  --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter', var(--ui);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--fg); font: 14px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.ic { width: 16px; height: 16px; flex: none; }

/* Éléments communs */
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 16px var(--display); letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.brand-row { display: inline-flex; align-items: center; gap: 14px; flex: none; }
/* Sélecteur de langue (même dessin que celui du site commercial) */
.top-r { display: inline-flex; align-items: center; gap: 12px; }
.langsel { display: inline-flex; gap: 2px; align-items: center; padding: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); flex: none; }
.langsel a { font: 600 11px/1 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: .04em; color: var(--fg-45); padding: 6px 8px; border-radius: 999px; transition: color .15s, background .15s; }
.langsel a:hover { color: var(--fg); }
.langsel a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, .14); }
.demo-top > .top-r { justify-self: end; }
@media (max-width: 700px) { .langsel a { padding: 6px 5px; } }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 48px); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; font-weight: 600; font-size: 13px; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s var(--ease); }
.btn.ghost { border: 1px solid rgba(255, 255, 255, .16); color: var(--fg-70); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .4); color: var(--fg); }
.btn.solid { background: var(--accent); color: #fff; }
.btn.solid:hover { background: #7577f5; }
.btn.big { height: 56px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.big small { font-weight: 500; font-size: 12px; opacity: .75; margin-left: 6px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .3); }
.btn.big:hover { transform: translateY(-1px); }
.link { color: var(--fg-45); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .2); text-underline-offset: 4px; }
.link:hover { color: var(--fg); }
/* Retours (vers le choix du métier, vers la liste des outils) : en bouton, pas en lien souligné */
.link.back { text-decoration: none; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); color: var(--fg-70); font-weight: 600; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.link.back:hover { border-color: rgba(255, 255, 255, .4); color: var(--fg); background: rgba(255, 255, 255, .04); }
.link.back .ic { width: 15px; height: 15px; }
.lead { color: var(--fg-70); font-size: 16px; line-height: 1.55; max-width: 54ch; }

/* ── Le menu de l'application ── */
.menu { font-size: 12px; }
.menu .grp { overflow: hidden; max-height: 400px; transition: max-height .5s var(--ease), opacity .35s, margin .5s var(--ease); margin-bottom: 10px; }
.menu .grp.out { max-height: 0; opacity: 0; margin-bottom: 0; }
.menu .grp-l { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-30); padding: 4px 8px 4px; }
.menu .grp.foot { border-top: 1px solid var(--line); padding-top: 8px; }
.menu .row { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 8px 0 22px; border-radius: 6px; color: var(--fg-70); overflow: hidden; max-height: 26px; transition: max-height .45s var(--ease), opacity .3s, background .15s, color .15s; }
.menu .row .ic { color: var(--c); opacity: .75; }
.menu .row .lbl { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu .row.sub { margin-left: 30px; padding-left: 12px; border-left: 1px solid var(--line); border-radius: 0 6px 6px 0; color: var(--fg-45); }
.menu .row.out { max-height: 0; opacity: 0; pointer-events: none; }
.menu a.row:hover { background: rgba(255, 255, 255, .04); color: var(--fg); }
.menu .row.on { background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--fg); font-weight: 600; }
.menu .row.on .ic { opacity: 1; }
.menu .stepno { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; animation: pop .35s var(--ease) both; }
.menu .soon { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-30); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ── Accueil ── */
.home { min-height: 100%; display: flex; flex-direction: column; }
.home-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: 8px clamp(16px, 4vw, 48px) 48px; max-width: 1680px; width: 100%; margin: 0 auto; }
.home h1 { font: 800 clamp(28px, 3.3vw, 44px)/1.08 var(--display); letter-spacing: -.035em; text-wrap: balance; margin-bottom: 14px; }
.home .lead { margin-bottom: 22px; font-size: 15px; }
.metiers { display: grid; gap: 8px; margin-bottom: 18px; max-width: 620px; }
.metier { background: var(--surface); border: 1px solid transparent; border-radius: 12px; transition: border-color .15s, background .15s, transform .25s var(--ease); }
.metier-main { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 8px 12px; border-radius: 12px; }
.metier-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--well); display: grid; place-items: center; color: var(--teal); transition: background .15s, color .15s; }
.metier-ic .ic { width: 22px; height: 22px; }
.metier-t b { display: block; font: 700 17px var(--display); letter-spacing: -.01em; }
.metier-t span { color: var(--fg-45); font-size: 13px; }
.metier-n { color: var(--fg-45); font-size: 12px; text-align: right; }
.metier-n b { color: var(--fg); font: 700 18px var(--display); margin-right: 2px; }
.metier:hover, .metier:focus-within, .metier.hot { border-color: var(--accent); background: #34343c; transform: translateX(6px); }
.metier:hover .metier-ic, .metier.hot .metier-ic { background: var(--accent); color: #fff; }
.profils { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 12px 12px 70px; }
.profils > span { color: var(--fg-30); font-size: 11px; margin-right: 2px; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); color: var(--fg-70); transition: background .15s, border-color .15s, color .15s; }
.chip:hover, .chip:focus-visible, .chip.hot { background: var(--accent); border-color: var(--accent); color: #fff; }

.prune { background: var(--well); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 14px; min-height: 520px; display: flex; flex-direction: column; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.prune-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.prune-title { font-weight: 600; font-size: 13px; }
.prune-count { color: var(--fg-45); font-size: 12px; }
.prune-count b { color: var(--fg); font: 800 22px var(--display); letter-spacing: -.02em; margin-right: 4px; }
.menu.cols { columns: 2; column-gap: 18px; flex: 1; }
.menu.cols .grp { break-inside: avoid; }
.prune-hint { color: var(--fg-45); font-size: 12.5px; padding: 12px 8px 0; border-top: 1px solid var(--line); min-height: 44px; }

/* ── Roadbook ── */
.road-main { max-width: 1680px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 48px) 64px; }
.road-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.who { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.svc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.svc a { font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); color: var(--fg-70); }
.svc a:hover { border-color: rgba(255, 255, 255, .4); color: var(--fg); }
.svc a[aria-pressed="true"] { background: rgba(99, 102, 241, .15); border-color: rgba(99, 102, 241, .4); color: var(--fg); font-weight: 600; }
.road h1 { font: 800 clamp(28px, 3.6vw, 46px)/1.08 var(--display); letter-spacing: -.035em; margin-bottom: 12px; }
.steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 20px; }
.step { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 80ms); }
.step-rail { position: relative; height: 34px; margin-bottom: 16px; }
.step-rail::before { content: ''; position: absolute; left: 0; right: -20px; top: 16px; height: 2px; background: var(--accent); opacity: .45; transform-origin: left; animation: draw .6s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 200ms); }
.step:last-child .step-rail::before { right: 40%; background: linear-gradient(90deg, var(--accent), transparent); }
.step-no { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font: 700 15px var(--display); box-shadow: 0 0 0 6px var(--bg); }
.step h2 { font: 700 22px var(--display); letter-spacing: -.02em; }
.step > p { color: var(--fg-45); font-size: 13px; min-height: 3.2em; margin: 4px 0 14px; max-width: 26ch; }
.mod { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 12px; background: var(--surface); border: 1px solid transparent; border-radius: 12px; margin-bottom: 8px; transition: border-color .15s, transform .25s var(--ease); }
.mod:hover { border-color: var(--c); transform: translateY(-2px); }
.mod-ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.mod-t b { display: block; font-weight: 600; font-size: 14px; }
.mod-t span { color: var(--fg-45); font-size: 12px; line-height: 1.4; display: block; }
.mod-meta { grid-column: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--fg-45); margin-top: 4px; }
.mod-meta .ic { width: 11px; height: 11px; color: var(--c); fill: currentColor; }
.dropped { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.dropped h3 { font: 700 16px var(--display); }
.dropped p { color: var(--fg-45); font-size: 13px; margin: 2px 0 14px; }
.dropped ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dropped li { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-30); font-size: 12.5px; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .18); }
.dropped .ic { width: 13px; height: 13px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── Démo ── */
.demo { display: grid; grid-template-columns: 224px minmax(0, 1fr); height: 100vh; height: 100dvh; }
.side { background: var(--well); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.side-head { padding: 14px 14px 12px; }
.side .menu { flex: 1; overflow-y: auto; padding: 4px 8px; }
.side-toggle { margin: 8px; padding: 9px 10px; border: 1px dashed rgba(255, 255, 255, .16); border-radius: 8px; color: var(--fg-45); font-size: 12px; text-align: left; }
.side-toggle:hover { color: var(--fg); border-color: rgba(255, 255, 255, .4); }
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.demo-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.demo-top > .btn { justify-self: end; }
.demo-top > .link.back { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.crumbs { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.demo-top { min-width: 0; }
.demo .main { overflow: hidden; }
.crumbs a { display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 99px; font-size: 12px; color: var(--fg-45); }
.crumbs span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: rgba(255, 255, 255, .08); }
.crumbs a:hover { color: var(--fg); }
.crumbs .done span { background: rgba(99, 102, 241, .35); color: #fff; }
.crumbs .on a { background: rgba(99, 102, 241, .15); color: var(--fg); font-weight: 600; }
.crumbs .on span { background: var(--accent); color: #fff; }

.stage { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(300px, 440px); justify-content: center; gap: clamp(20px, 3vw, 48px); padding: 20px clamp(16px, 3vw, 40px); }
.player { position: relative; height: 100%; aspect-ratio: 4 / 5; max-height: calc(100dvh - 96px); background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px #000; animation: rise .5s var(--ease) both; }
.player video { width: 100%; height: 100%; display: block; object-fit: cover; cursor: pointer; }
.bigplay { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(99, 102, 241, .5); }
.bigplay .ic { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.bar #pp { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; }
.bar #pp .ic { fill: currentColor; }
.track { flex: 1; display: flex; gap: 3px; height: 16px; align-items: center; cursor: pointer; }
.seg { height: 4px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; transition: height .15s; }
.track:hover .seg { height: 7px; }
.seg i { display: block; height: 100%; width: 0; background: #fff; }
.bar #prevfn { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: var(--fg-70); }
.bar #prevfn:hover { color: var(--fg); }
.ctrl { position: absolute; left: 0; right: 0; bottom: 46px; display: flex; justify-content: center; gap: 12px; pointer-events: none; }
.ctrl .btn { pointer-events: auto; height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .9); }
.ctrl .btn.ghost { background: rgba(18, 18, 22, .88); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px); }
.ctrl .btn.ghost:hover { border-color: #fff; }
.ctrl .btn.ghost[aria-pressed="true"] { background: #fff; color: #16161a; border-color: #fff; }
.ctrl .btn .ic { fill: currentColor; width: 18px; height: 18px; }
.stepmode { float: right; display: inline-flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.stepmode input { accent-color: var(--accent); margin: 0; }
.time { font-size: 11px; color: var(--fg-70); font-variant-numeric: tabular-nums; }
.endcard { position: absolute; inset: 0; background: rgba(22, 22, 22, .88); backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; animation: rise .4s var(--ease) both; }
.endcard p { color: var(--fg-70); font-size: 13px; }
.endcard .btn.solid { height: 48px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.player.empty { background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 32px; }
.empty-ic { width: 84px; height: 84px; border-radius: 22px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); display: grid; place-items: center; }
.empty-ic .ic { width: 38px; height: 38px; }
.player.empty p { color: var(--fg-45); font-size: 13px; max-width: 30ch; }
.player.empty b { display: block; color: var(--fg); font: 700 18px var(--display); margin-bottom: 6px; }

.info { overflow-y: auto; padding: 4px 4px 24px 0; animation: rise .5s var(--ease) .08s both; }
.info-mod { display: inline-flex; align-items: center; gap: 8px; color: var(--c); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.info h1 { font: 700 clamp(20px, 1.9vw, 27px)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.plain { color: var(--fg-70); margin-top: 10px; font-size: 14px; }
.info h2 { font: 600 12px var(--ui); color: var(--fg-45); margin: 24px 0 8px; }
.chapters button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 8px; text-align: left; padding: 6px 8px; border-radius: 8px; color: var(--fg-45); font-size: 13px; line-height: 1.35; border-left: 2px solid transparent; transition: background .15s, color .15s; }
.chapters button:hover { background: rgba(255, 255, 255, .04); color: var(--fg); }
.chapters .ch-t { font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 2px; color: var(--fg-30); }
.chapters .done { color: var(--fg-70); }
.chapters .on { background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--fg); font-weight: 600; border-left-color: var(--c); border-radius: 0 8px 8px 0; }
.chapters .on .ch-t { color: var(--c); }
.avoids li { position: relative; padding: 3px 0 3px 22px; color: var(--fg-70); font-size: 13px; }
.avoids li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 11px; height: 1.5px; background: #f87171; }
.nextlink { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; margin-top: 24px; padding: 12px 14px; background: var(--surface); border-radius: 12px; border: 1px solid transparent; transition: border-color .15s; }
.nextlink span { grid-column: 1; color: var(--fg-45); font-size: 11px; }
.nextlink b { grid-column: 1; font: 700 15px var(--display); }
.nextlink .ic { grid-row: 1 / 3; grid-column: 2; color: var(--accent); width: 20px; height: 20px; }
.nextlink:hover { border-color: var(--accent); }

/* Démo : la vidéo, ses explications dessous, le déroulé des fonctions à droite — tout l'écran est pris */
.stage { grid-template-columns: auto minmax(300px, 420px); grid-template-rows: auto minmax(0, 1fr); justify-content: center; }
.stage .player { grid-column: 1; grid-row: 1 / 3; }
.stage .info { grid-column: 2; grid-row: 1; overflow: visible; padding: 0; }
.stage .fn { grid-column: 2; grid-row: 2; overflow-y: auto; min-height: 0; padding-right: 4px; }
.stage.wide { grid-template-columns: minmax(0, 1fr) clamp(280px, 20vw, 360px); grid-template-rows: auto minmax(0, 1fr); justify-content: stretch; align-items: start; gap: 14px 22px; padding: 14px 18px; }
/* La vidéo prend toute la hauteur ; à droite, le déroulé puis, dessous, la présentation de l'outil. */
.stage.wide .player { grid-column: 1; grid-row: 1 / 3; height: auto; max-height: none; width: min(100%, calc((100dvh - 56px - 28px) * 16 / 9)); justify-self: center; align-self: start; }
.stage.wide .fn { grid-column: 2; grid-row: 1; height: auto; max-height: calc(100dvh - 56px - 28px - 150px); overflow-y: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px 12px 12px; }
.stage.wide .info { grid-column: 2; grid-row: 2; display: block; width: auto; overflow-y: auto; max-height: 100%; padding: 2px 6px 12px; }
.stage.wide .info h1 { font-size: clamp(17px, 1.25vw, 22px); }
.stage.wide.stack { display: block; overflow-y: auto; }
.stage.wide.stack .player { margin: 0 auto; }
.stage.wide.stack .fn, .stage.wide.stack .info { max-height: none; margin-top: 14px; }
.stage.wide .info h2 { margin-top: 14px; }
.fn h2 { font: 600 12px var(--ui); color: var(--fg-45); margin: 18px 0 8px; }
.fn h2:first-child { margin-top: 12px; }
.fnlist li { position: relative; padding: 3px 0 3px 18px; font-size: 13px; color: var(--fg-70); }
.fnlist li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--c); }

/* ── La société en vue isométrique : plein écran, scène à gauche, inventaire à droite ── */
.road.full { height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.road-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.road-bar .brand-row { gap: 10px; }
.road-bar .svc-tabs a { padding: 6px 10px; }
.road-bar .svc-tabs { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.road-bar .btn .ic { fill: currentColor; }
.road-bar .back { color: var(--teal); font-weight: 600; }
.svc-tabs a { font-size: 13px; padding: 6px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); color: var(--fg-70); transition: background .15s, border-color .15s, color .15s; }
.svc-tabs a:hover, .svc-tabs a.hot { border-color: rgba(255, 255, 255, .5); color: var(--fg); }
.svc-tabs a[aria-pressed="true"] { background: rgba(99, 102, 241, .18); border-color: rgba(99, 102, 241, .5); color: var(--fg); font-weight: 600; }
.road-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 35vw, 680px); min-height: 0; }
.scene { position: relative; min-width: 0; min-height: 0; background: var(--well); overflow: hidden; }
.scene-t { position: absolute; left: 22px; top: 16px; max-width: 46%; z-index: 1; pointer-events: none; }
.scene-t h1 { font: 800 clamp(20px, 2vw, 30px)/1.1 var(--display); letter-spacing: -.03em; }
.scene-t p { color: var(--fg-45); font-size: 13px; margin-top: 6px; }
.scene-h { position: absolute; left: 22px; bottom: 12px; color: var(--fg-45); font-size: 14px; pointer-events: none; }
.iso { position: absolute; inset: 0; width: 100%; height: 100%; display: block; font-family: var(--ui); }
.iso polygon { stroke-linejoin: round; stroke-width: 1; }
.iso .k-plate.ft { fill: #1c1c1f; stroke: #2c2c31; } .iso .k-plate.fl { fill: #121214; stroke: #1c1c1e; } .iso .k-plate.fr { fill: #0e0e10; stroke: #1c1c1e; }
.iso .grid line { stroke: rgba(255, 255, 255, .035); stroke-width: 1; }
.iso .road { fill: #151517; stroke: #26262a; stroke-dasharray: 10 8; }
.iso .k-lane.ft { fill: #27272c; stroke: #37373e; } .iso .k-lane.fl { fill: #1b1b1f; stroke: #26262a; } .iso .k-lane.fr { fill: #17171a; stroke: #26262a; }
.iso .lane-t { font: 800 20px var(--display); fill: rgba(255, 255, 255, .55); letter-spacing: -.01em; }
.iso .lane-n { fill: #818cf8; }
.iso .k-belt.ft { fill: #2a2a45; stroke: #4a4c8a; stroke-dasharray: 5 6; } .iso .k-belt.fl { fill: #1b1b30; stroke: #2e2f55; } .iso .k-belt.fr { fill: #151526; stroke: #2e2f55; }
.iso .belt-t { font: 600 18px var(--ui); fill: rgba(165, 180, 252, .7); }
.iso .crate .ft { fill: #a5b4fc; stroke: #c7d2fe; } .iso .crate .fl { fill: #6366f1; stroke: #818cf8; } .iso .crate .fr { fill: #4649c9; stroke: #818cf8; }
.iso .k-tool.ft { fill: color-mix(in srgb, var(--c) 16%, #303034); stroke: color-mix(in srgb, var(--c) 50%, #303034); }
.iso .k-tool.fl { fill: color-mix(in srgb, var(--c) 10%, #222226); stroke: color-mix(in srgb, var(--c) 28%, #222226); }
.iso .k-tool.fr { fill: color-mix(in srgb, var(--c) 6%, #1a1a1d); stroke: color-mix(in srgb, var(--c) 22%, #1a1a1d); }
.iso .k-stand { fill: #3a3a40; stroke: #4a4a52; }
.iso .k-screen.ft { fill: color-mix(in srgb, var(--c) 60%, #222); stroke: var(--c); }
.iso .k-screen.fl { fill: color-mix(in srgb, var(--c) 14%, #0c0c0e); stroke: var(--c); stroke-width: 1.4; }
.iso .k-screen.fr { fill: color-mix(in srgb, var(--c) 40%, #111); stroke: var(--c); }
.iso .k-svc.ft { fill: color-mix(in srgb, var(--c) 34%, #2c2c30); stroke: var(--c); }
.iso .k-svc.fl { fill: color-mix(in srgb, var(--c) 20%, #222226); stroke: color-mix(in srgb, var(--c) 50%, #202024); }
.iso .k-svc.fr { fill: color-mix(in srgb, var(--c) 11%, #18181b); stroke: color-mix(in srgb, var(--c) 42%, #18181b); }
.iso .k-unit.ft { fill: color-mix(in srgb, var(--c) 55%, #333); stroke: var(--c); } .iso .k-unit.fl, .iso .k-unit.fr { fill: color-mix(in srgb, var(--c) 28%, #1c1c1f); stroke: color-mix(in srgb, var(--c) 50%, #1c1c1f); }
.iso .win { fill: #0d0d10; stroke: none; } .iso .win.r { fill: #0a0a0c; }
.iso .win.lit { fill: color-mix(in srgb, var(--c) 80%, #fff); } .iso .win.r.lit { fill: color-mix(in srgb, var(--c) 55%, #222); }
.iso .win.tw { animation: twinkle 6s ease-in-out infinite; }
@keyframes twinkle { 0%, 55%, 100% { opacity: 1; } 65%, 85% { opacity: .15; } }
.iso .door { fill: #0b0b0d; stroke: color-mix(in srgb, var(--c, #888) 60%, #000); }
.iso .k-site.ft { fill: #3a4a4a; stroke: #5d7a78; } .iso .k-site.fl { fill: #2a3838; stroke: #46605e; } .iso .k-site.fr { fill: #1f2a2a; stroke: #3a504e; }
.iso .k-roof.ft { fill: #46a896; stroke: #7fd4c4; } .iso .k-roof.fl { fill: #2f7a6c; stroke: #46a896; } .iso .k-roof.fr { fill: #235c52; stroke: #46a896; }
.iso .k-chim.ft { fill: #5a5a62; stroke: #8a8a94; } .iso .k-chim.fl { fill: #44444b; stroke: #66666e; } .iso .k-chim.fr { fill: #333338; stroke: #55555c; }
.iso .smoke { transform-box: fill-box; transform-origin: center; fill: rgba(220, 225, 235, .5); animation: smoke 4.4s linear infinite; }
@keyframes smoke { from { transform: translate(0, 0) scale(.5); opacity: .7; } to { transform: translate(26px, -70px) scale(2.2); opacity: 0; } }
.iso .dock, .iso .glass { fill: #0c1413; stroke: #46a896; } .iso .glass { fill: rgba(125, 211, 252, .22); stroke: #7dd3fc; }
.iso .k-awning.ft { fill: #fb7185; stroke: #fda4af; } .iso .k-awning.fl { fill: #be4a5c; stroke: #fb7185; } .iso .k-awning.fr { fill: #8f3545; stroke: #fb7185; }
.iso .k-pallet.ft { fill: #c79a5b; stroke: #e2bd86; } .iso .k-pallet.fl { fill: #96713d; stroke: #c79a5b; } .iso .k-pallet.fr { fill: #71552d; stroke: #c79a5b; }
.iso .k-cargo.ft { fill: #e5e7eb; stroke: #fff; } .iso .k-cargo.fl { fill: #b9bcc4; stroke: #e5e7eb; } .iso .k-cargo.fr { fill: #8d9099; stroke: #e5e7eb; }
.iso .k-cab.ft { fill: #818cf8; stroke: #a5b4fc; } .iso .k-cab.fl { fill: #6366f1; stroke: #818cf8; } .iso .k-cab.fr { fill: #4649c9; stroke: #818cf8; }
.iso .k-wheel { fill: #0a0a0b; stroke: #333; }
.iso .truck { animation: truck 9s ease-in-out infinite alternate; }
@keyframes truck { from { transform: translate(0, 0); } to { transform: translate(145px, 84px); } }
.iso .k-trunk { fill: #5b4632; stroke: #7a5f45; }
.iso .k-leaf.ft { fill: #2f8f6f; stroke: #46a896; } .iso .k-leaf.fl { fill: #226a52; stroke: #2f8f6f; } .iso .k-leaf.fr { fill: #184d3c; stroke: #2f8f6f; }
.iso .lnk { fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .22; transition: opacity .25s; }
.iso .lnk.on { opacity: 1; stroke-width: 2.8; filter: drop-shadow(0 0 6px var(--c)); }
.iso .pk { fill: #fff; stroke: var(--c); stroke-width: 2; opacity: .55; filter: drop-shadow(0 0 4px var(--c)); }
.iso .pk.on { opacity: 1; r: 5px; }
.iso.focus .lnk:not(.on) { opacity: .04; } .iso.focus .pk:not(.on) { opacity: 0; }
.iso .b-svc, .iso .b-tool { cursor: pointer; outline: none; }
.iso .lift { transition: transform .3s var(--ease), opacity .25s; }
.iso.focus .b-tool:not(.on) > .lift, .iso.focus .b-svc:not(.on) > .lift { opacity: .2; }
.iso .b-tool.on > .lift, .iso .b-svc.on > .lift { transform: translateY(-10px); }
.iso .pill rect { fill: #0f0f11; stroke: color-mix(in srgb, var(--c) 65%, transparent); }
.iso .pill text { font-size: 18.5px; font-weight: 700; fill: #fff; dominant-baseline: middle; }
.iso .pill rect { stroke-width: 1.6; }
.iso .p-svc rect { fill: var(--c); stroke: none; } .iso .p-svc text { fill: #111; font-weight: 700; }
.iso .p-site rect { fill: #46a896; stroke: none; } .iso .p-site text { fill: #0c1413; font-weight: 800; }
.iso .b-tool:focus-visible .pill rect, .iso .b-svc:focus-visible .pill rect { stroke: #fff; stroke-width: 2; }
.iso .drop { animation: drop .7s var(--ease) both; animation-delay: var(--d); }
@keyframes drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }

/* ── Vue 3D réaliste : l'image en décor, les services et les outils par-dessus ── */
.road-body.vue { grid-template-columns: minmax(0, 1fr) clamp(340px, 24vw, 440px); }
.road-body.vue .scene { background: linear-gradient(#1b1a2e, #14131f); }
.road-body.vue .inv-grid { columns: 1; }
.iso.vue .lnk { stroke-width: 1.4; opacity: .28; }
.iso.vue .lnk.on { stroke-width: 2.6; opacity: 1; }
.iso.vue .hit { fill: transparent; }
.iso.vue .mute { fill: #0a0a10; opacity: .7; pointer-events: none; }
.iso.vue.focus .b-svc:not(.on) > .lift { opacity: .45; }
.iso.vue .b-svc.on > .lift { transform: translateY(-6px); }
.iso.vue .pill text { font-size: 16px; }
.iso.vue .chip { fill: rgba(14, 14, 18, .84); stroke: color-mix(in srgb, var(--c) 55%, transparent); stroke-width: 1; }
.iso.vue .chip-t { font-size: 14px; font-weight: 500; fill: rgba(255, 255, 255, .92); dominant-baseline: middle; }
.iso.vue .b-tool.on > .lift { transform: translateY(-2px); }
.iso.vue .b-tool.on .chip { fill: color-mix(in srgb, var(--c) 30%, #101014); stroke: var(--c); stroke-width: 1.6; }
/* Un choix (service, rubrique, outil) n'affiche QUE ses outils : les autres disparaissent, avec les rubriques restées vides */
/* Survol d'un outil : il s'allume avec le titre de SA rubrique ; le reste s'atténue sans devenir illisible */
.iso.vue.focus .b-tool:not(.on) > .lift { opacity: .5; }
.iso.vue.focus:not(.choix) .vue-lane:not(.on) { opacity: .6; }
.iso.vue.choix .b-tool:not(.on) > .lift { opacity: 0; }
.iso.vue.choix .b-tool:not(.on) { pointer-events: none; }
.iso.vue .vue-lane { transition: opacity .2s; }
.iso.vue .b-tool { transition: transform .35s var(--ease); }
.iso.vue.choix .vue-lane.vide { opacity: 0; pointer-events: none; }
.iso.vue .vue-lane { cursor: pointer; outline: none; }
.iso.vue .lane-bg { fill: #2e2a78; stroke: #818cf8; stroke-width: 1.5; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); }
.iso.vue .lane-dot { fill: #fff; }
.iso.vue .lane-num { font: 800 14px var(--display); fill: #2e2a78; dominant-baseline: middle; }
.iso.vue .lane-name { font: 800 20px var(--display); fill: #fff; dominant-baseline: middle; letter-spacing: .01em; }
.iso.vue .vue-lane:hover .lane-bg, .iso.vue .vue-lane.on .lane-bg, .iso.vue .vue-lane:focus-visible .lane-bg { fill: #6366f1; stroke: #a5b4fc; }
.iso.vue .vue-lane:hover .lane-dot, .iso.vue .vue-lane.on .lane-dot { fill: #fff; }
.iso.vue .vue-lane:hover .lane-num, .iso.vue .vue-lane.on .lane-num { fill: #4649c9; }

/* ── L'inventaire : chaque rubrique, chaque outil, chaque fonction ── */
.inv-panel { border-left: 1px solid var(--line); overflow-y: auto; padding: 0 14px 20px; background: var(--bg); }
.inv-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 2px 10px; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.inv-head b { font: 700 16px var(--display); letter-spacing: -.01em; } .inv-head span { color: var(--fg-45); font-size: 12px; }
.inv-col > h3 { display: flex; align-items: center; gap: 8px; font: 700 15px var(--display); margin: 14px 0 8px; }
.inv-col > h3 span { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 11px; flex: none; }
.inv-col > h3 em { font: 400 12px var(--ui); color: var(--fg-45); margin-left: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-grid { columns: 2 200px; column-gap: 8px; }
.inv-mod { display: block; break-inside: avoid; background: var(--surface); border: 1px solid transparent; border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; transition: border-color .15s, opacity .2s, background .15s; }
.inv-mod:hover, .inv-mod.hot { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, var(--surface)); }
.inv-panel.focus .inv-mod:not(.hot) { opacity: .35; }
.inv-panel.filter .inv-mod:not(.hot) { display: none; }
.inv-panel.filter .inv-col:not(:has(.inv-mod.hot)) { display: none; }
.inv-mod b { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.inv-mod b > .ic { color: var(--c); }
.inv-mod i { margin-left: auto; font-style: normal; font-weight: 500; font-size: 11px; color: var(--fg-45); display: inline-flex; align-items: center; gap: 4px; }
.inv-mod i .ic { width: 10px; height: 10px; fill: var(--c); color: var(--c); }
.inv-mod ul { margin-top: 6px; }
.inv-mod li { position: relative; padding: 1px 0 1px 12px; font-size: 12px; color: var(--fg-70); line-height: 1.4; }
.inv-mod li::before { content: ''; position: absolute; left: 1px; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--c) 70%, transparent); }
/* Écran « Tout » : même inventaire, sur toute la largeur */
.road:not(.full) .inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 24px; align-items: start; }
.road:not(.full) .inv-grid { columns: 1; }

/* ── Films joués en code (film.js) : scène de 1920 × 1080 mise à l'échelle de son cadre ── */
.film { position: relative; width: 100%; height: 100%; overflow: hidden; background: #131315; cursor: pointer; user-select: none; }
.film-root { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; color: #fff; font-family: var(--display); }
.film-root .f-bg { position: absolute; inset: 0; background: #131315; }
.film-root .f-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 20% 0%, rgba(99, 102, 241, .26), transparent 70%), radial-gradient(ellipse 50% 50% at 90% 100%, rgba(42, 169, 160, .14), transparent 70%); }
.film-root .ts { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 64px; opacity: 0; white-space: nowrap; }
.film-root .tl { display: flex; flex-direction: column; align-items: center; gap: 34px; position: relative; }
.film-root .lg { width: 250px; height: 250px; background: url(assets/logo.png) center / contain no-repeat; display: block; }
.film-root .tr { position: relative; display: flex; flex-direction: column; gap: 34px; }
.film-root .tx { font-size: 70px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.film-root .ts.big .tx { font-size: 78px; }
.film-root .ln { overflow: hidden; padding: 6px 0; }
.film-root .ln span { display: inline-block; }
.film-root .numw { position: relative; width: 130px; height: 130px; }
.film-root .ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 6px rgba(129, 140, 248, .9); opacity: 0; }
.film-root .num { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #6366f1; font-size: 74px; font-weight: 800; box-shadow: 0 20px 70px -10px rgba(99, 102, 241, .95); }
.film-root .steps { display: flex; gap: 14px; }
.film-root .dot { width: 20px; height: 20px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.film-root .dot.on { background: #6366f1; box-shadow: 0 0 24px rgba(99, 102, 241, .9); }
.film-root .orb { position: absolute; width: 700px; height: 700px; border-radius: 50%; filter: blur(130px); opacity: 0; }
.film-root .oa { left: 60px; top: -120px; background: #6366f1; }
.film-root .ob { right: 40px; bottom: -160px; background: #2aa9a0; }
.film-root .f-stage { position: absolute; inset: 0; overflow: hidden; background: #17171a; opacity: 0; }
.film-root .scr { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; will-change: transform; opacity: 0; }
.film-root .scr img { display: block; width: 1920px; height: 1080px; }
.film-root .hl { position: absolute; border-radius: 12px; box-shadow: 0 0 0 3px #818cf8, 0 0 30px 6px rgba(99, 102, 241, .75); opacity: 0; }
/* Le nom de l'étape : une étiquette pleine, bien visible, en haut à gauche */
.film-root .f-chip { position: absolute; left: 36px; top: 30px; display: flex; align-items: center; gap: 18px; padding: 14px 40px 14px 14px; border-radius: 99px; background: #6366f1; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 18px 50px -8px rgba(99, 102, 241, .95), 0 10px 30px rgba(0, 0, 0, .6); font-size: 52px; font-weight: 800; letter-spacing: -.01em; opacity: 0; transform-origin: left center; }
.film-root .f-chip i { font-style: normal; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #4649c9; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; }
.film-root .f-chip b { position: absolute; inset: 0; border-radius: 99px; box-shadow: 0 0 0 6px rgba(165, 180, 252, .9); opacity: 0; pointer-events: none; }
/* Une page jouée en direct dans le film (animation produite par l'outil) */
.film-root .scr .emb { position: absolute; left: 50%; top: 540px; width: 1080px; height: 1080px; margin: -540px 0 0 -540px; transform: scale(.86); border: 0; border-radius: 28px; background: #0a0a0a; box-shadow: 0 40px 90px -30px #000, 0 0 0 2px rgba(255,255,255,.08); pointer-events: none; }
/* Le but de la fonction, sous son titre */
.film-root .but { display: flex; align-items: baseline; gap: 18px; max-width: 1180px; white-space: normal; font-size: 38px; line-height: 1.3; font-weight: 500; color: rgba(255, 255, 255, .82); opacity: 0; }
.film-root .but b { flex: none; font-size: 26px; font-weight: 800; color: #111; background: #46a896; border-radius: 99px; padding: 6px 18px; position: relative; top: -4px; }
/* La légende d'une zone éclairée */
.film-root .f-notes { position: absolute; inset: 0; pointer-events: none; }
.film-root .f-note { position: absolute; padding: 24px 34px 24px 30px; border-radius: 20px; background: #fff; color: #0b0b12; border-left: 12px solid #6366f1; box-shadow: 0 0 0 5px rgba(99, 102, 241, .55), 0 0 90px 18px rgba(99, 102, 241, .55), 0 34px 80px -14px rgba(0, 0, 0, .9); font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; opacity: 0; }
/* Le résultat de l'étape */
.film-root .f-res { position: absolute; left: 50%; bottom: 270px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; max-width: 1500px; padding: 22px 36px 22px 22px; border-radius: 26px; background: #0f2a25; box-shadow: inset 0 0 0 3px #46a896, 0 30px 70px -18px #000; font-size: 40px; line-height: 1.25; font-weight: 700; opacity: 0; }
.film-root .f-res i { font-style: normal; flex: none; width: 62px; height: 62px; border-radius: 50%; background: #46a896; color: #06201b; display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 800; }
.film-root .f-outro { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 100px; opacity: 0; }
.film-root .f-outro .lg { width: 300px; height: 300px; }
.film-root .t1 { font-size: 84px; font-weight: 800; letter-spacing: -.03em; }
.film-root .t2 { font-size: 36px; font-weight: 500; color: rgba(255, 255, 255, .7); line-height: 1.3; margin: 10px 0 26px; }
.film-root .bens { display: flex; flex-direction: column; gap: 14px; }
.film-root .ben { display: flex; align-items: center; gap: 16px; padding: 16px 26px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); font-size: 30px; font-weight: 600; opacity: 0; }
.film-root .ben i { font-style: normal; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(99, 102, 241, .25); color: #c7d2fe; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }

/* ── Écrans étroits ── */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; gap: 22px; max-width: 560px; }
  .step { display: grid; grid-template-columns: 50px 1fr; gap: 0 4px; }
  .step-rail { grid-row: 1 / 20; height: auto; margin: 0; }
  .step-rail::before { left: 16px; right: auto; top: 34px; bottom: -22px; width: 2px; height: auto; transform-origin: top; animation-name: drawY; }
  .step:last-child .step-rail::before { display: none; }
  .step > * { grid-column: 2; }
  .step > .step-rail { grid-column: 1; }
  .step > p { min-height: 0; max-width: none; }
}
@keyframes drawY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 900px) {
  .home-main { grid-template-columns: 1fr; align-items: start; }
  .prune { min-height: 0; }
  .demo { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 100dvh; align-content: start; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); min-width: 0; }
  .side .menu { display: flex; gap: 4px; overflow-x: auto; padding: 0 8px 8px; }
  .side .menu .grp { display: contents; }
  .side .menu .grp-l, .side .menu .row.out { display: none; }
  .side .menu .row { flex: none; padding: 0 10px; height: 32px; max-height: 32px; margin: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .05); }
  .side-toggle { display: none; }
  .demo-top { grid-template-columns: 1fr auto; height: auto; padding: 10px 16px; }
  .crumbs { display: none; }
  .stage, .stage.wide { display: block; padding: 16px; overflow: visible; }
  .stage .info, .stage .fn, .stage.wide .info, .stage.wide .fn { width: auto; height: auto; margin-top: 16px; }
  .stage.wide .info { display: block; }
  .stage.wide .player { width: 100%; }
  .road.full { height: auto; overflow: visible; display: block; }
  .road-body { display: block; }
  .scene { height: 62vh; }
  .scene-t { max-width: 90%; }
  .inv-panel { border-left: 0; overflow: visible; }
  .road-bar { flex-wrap: wrap; }
  .player { height: auto; width: 100%; max-height: none; }
  .player.empty { aspect-ratio: 16 / 10; }
  .info { overflow: visible; }
  .stage.wide .info { display: block; }
}
@media (max-width: 520px) {
  .menu.cols { columns: 1; }
  .metier-main { grid-template-columns: 44px 1fr; }
  .profils { padding-left: 12px; }
  .metier-n { display: none; }
  .top .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
