@font-face {
  font-family: "Jersey 15 repli";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Arimo"), local("Arimo-Regular"), local("Roboto"), local("Roboto-Regular");
  size-adjust: 82%;
  ascent-override: 94.85%;
  descent-override: 27.1%;
  line-gap-override: 0%;
}
:root {
  --fond: #06080a;
  --encre: #ece7dc;
  --encre-douce: #b9b4a9;
  --ambre: #e0a340;
  --repere: #8f8a80;
  --grand: 36px;
  --texte: 18px;
  --petit: 18px;
  --marge: clamp(16px, 4.4vw, 64px);
  --pied-h: 28px;
  color-scheme: dark;
}
@media (min-width: 1200px) and (min-aspect-ratio: 9/10) {
  :root { --grand: 54px; --texte: 27px; }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--fond);
  color: var(--encre);
  font-family: "Jersey 15", "Jersey 15 repli", sans-serif;
  line-height: 1.45;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
body { font-size: var(--texte); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow: clip; overscroll-behavior: none; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--ambre); outline-offset: 3px; border-radius: 2px; }

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--fond);
}
#bureau {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.scene-vue #bureau { opacity: 1; }
.reduit #bureau { transition: none; }

.affiche {
  position: absolute;
  inset: 0;
  background: var(--fond) url("affiche.webp") 60% 50% / cover no-repeat;
  image-rendering: pixelated;
}
.scene-vue .affiche { visibility: hidden; transition: visibility 0s linear 0.9s; }
.reduit.scene-vue .affiche { transition: none; }
.gl-pret .scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bande, 0px);
  background: var(--fond);
  border-top: 1px solid rgba(236, 231, 220, 0.07);
}

.entete {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 18px var(--marge) 0;
  padding-top: max(18px, env(safe-area-inset-top));
}
.logo { display: block; line-height: 0; }
.logo img { display: block; width: 92px; height: auto; }

.accroche {
  position: fixed;
  z-index: 2;
  left: var(--marge);
  top: 31vh;
}
.accroche h1 {
  margin: 0 0 12px;
  font-size: var(--grand);
  font-weight: 400;
  line-height: 1.06;
  max-width: 5.8em;
  text-shadow: 2px 2px 0 #000;
}
.accroche p {
  margin: 0;
  color: var(--encre-douce);
  text-shadow: 1px 1px 0 #000;
}

@media (max-height: 500px) and (min-aspect-ratio: 9/10) {
  .accroche { top: calc(max(18px, env(safe-area-inset-top)) + 56px); }
  .accroche h1 { margin-bottom: 6px; }
}

@media (max-aspect-ratio: 9/10) {
  :root { --grand: 27px; }
  .accroche {
    top: calc(max(18px, env(safe-area-inset-top)) + 62px);
    left: var(--marge);
    right: var(--marge);
    text-align: center;
  }
  .accroche p { opacity: 0.92; }
  .accroche h1 { margin: 0 auto 6px; max-width: none; text-wrap: balance; }
  .affiche { background-image: url("affiche-tel.webp"); background-position: 50% 0%; }
}
@media (max-aspect-ratio: 9/10) and (max-width: 339px) {
  :root { --grand: 27px; }
  .accroche { left: 8px; right: 8px; }
}

.objets {
  position: fixed;
  z-index: 2;
  left: var(--marge);
  bottom: max(7vh, 36px);
}
.objets > ul { margin: 0; padding: 0; list-style: none; }
.objet {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--encre);
  text-decoration: none;
  text-shadow: 1px 1px 0 #000;
  -webkit-tap-highlight-color: transparent;
}
.objet-nom {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.objet-nom::before {
  content: "";
  flex: none;
  width: calc(1em / 3);
  height: calc(1em / 3);
  background: var(--repere);
}
.objet:hover .objet-nom,
.objet:focus-visible .objet-nom,
.objet.actif .objet-nom { color: #fff8ea; }
.objet:hover .objet-nom::before,
.objet:focus-visible .objet-nom::before,
.objet.actif .objet-nom::before { background: var(--ambre); }

.gl-pret .objets { inset: 0; pointer-events: none; }
.gl-pret .objet {
  position: fixed;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  pointer-events: auto;
}
.gl-pret .objet:focus-visible { outline: 2px solid var(--ambre); outline-offset: 4px; border-radius: 2px; }
.gl-pret .objet-nom {
  position: absolute;
  left: 0;
  top: 0;
  padding: 4px 9px 5px 8px;
  background: rgba(6, 8, 10, 0.66);
  color: var(--encre);
  line-height: 1.2;
}
.gl-pret .objet-nom::after {
  content: "";
  position: absolute;
  background: rgba(236, 231, 220, 0.5);
}
.gl-pret .objet[data-cote="dessous"] .objet-nom::after { left: var(--fil-x, 50%); bottom: 100%; width: 1px; height: var(--fil-l, 10px); }
.gl-pret .objet[data-cote="dessus"] .objet-nom::after { left: var(--fil-x, 50%); top: 100%; width: 1px; height: var(--fil-l, 10px); }
.gl-pret .objet[data-cote="droite"] .objet-nom::after { top: var(--fil-y, 50%); right: 100%; height: 1px; width: var(--fil-l, 10px); }
.gl-pret .objet[data-cote="gauche"] .objet-nom::after { top: var(--fil-y, 50%); left: 100%; height: 1px; width: var(--fil-l, 10px); }
.gl-pret .objet:hover .objet-nom::after,
.gl-pret .objet:focus-visible .objet-nom::after,
.gl-pret .objet.actif .objet-nom::after { background: var(--ambre); }
.gl-pret .objet:hover .objet-nom,
.gl-pret .objet:focus-visible .objet-nom,
.gl-pret .objet.actif .objet-nom { background: var(--ambre); color: #15100a; text-shadow: none; }
.gl-pret .objet:hover .objet-nom::before,
.gl-pret .objet:focus-visible .objet-nom::before,
.gl-pret .objet.actif .objet-nom::before { background: #15100a; }
.gl-pret .objet[data-discret]:not(:hover):not(:focus-visible):not(.actif) .objet-nom { opacity: 0; pointer-events: none; }
.passage.gl-pret .objets .objet[data-discret] .objet-nom { animation: none; }
@keyframes passage-noms { from { opacity: 0; } to { opacity: 1; } }
.passage.gl-pret .objets .objet-nom { animation: passage-noms 0.35s ease-out both; }
.passage .objet { pointer-events: none; }
.passage:not(.gl-pret) .objets { visibility: hidden; }
.passage:not(.gl-pret) .objets > ul > li { min-height: 44px; }
.passage:not(.gl-pret) .objet:not(:focus) { display: none; }
.passage:not(.gl-pret) .objet:focus { visibility: visible; }
.reduit.passage.gl-pret .objets .objet-nom { animation: none; }
.gl-pret .objet-nom { transition: opacity 0.18s ease; }
.en-route .objet:not(.actif) .objet-nom { opacity: 0.18; }

.chargement {
  position: absolute;
  inset: 0;
  pointer-events: none;
  container-type: size;
}

.tele {
  --iw: 720; --ih: 450; --bx: 0.6; --by: 0.5;
  --gx: 394; --gy: 74; --gw: 67; --gh: 47;
  --ox: 388.5; --oy: 67.7; --sx: 1.235; --sy: 1.25;
  --s: max(100cqw / var(--iw), 100cqh / var(--ih));
  display: none;
  position: absolute;
  left: calc((100cqw - var(--iw) * var(--s)) * var(--bx) + var(--gx) * var(--s));
  top: calc((100cqh - var(--ih) * var(--s)) * var(--by) + var(--gy) * var(--s));
  width: calc(var(--gw) * var(--s));
  height: calc(var(--gh) * var(--s));
  background: #04090e;
  clip-path: polygon(71.6% 0%, 71.6% 2.1%, 79.1% 2.1%, 79.1% 4.3%, 83.6% 4.3%, 83.6% 6.4%, 86.6% 6.4%, 86.6% 8.5%, 88.1% 8.5%, 88.1% 10.6%, 91% 10.6%, 91% 12.8%, 92.5% 12.8%, 92.5% 17%, 94% 17%, 94% 21.3%, 95.5% 21.3%, 95.5% 23.4%, 97% 23.4%, 97% 25.5%, 98.5% 25.5%, 98.5% 38.3%, 100% 38.3%, 100% 51.1%, 98.5% 51.1%, 98.5% 55.3%, 100% 55.3%, 100% 66%, 98.5% 66%, 98.5% 74.5%, 97% 74.5%, 97% 80.8%, 95.5% 80.8%, 95.5% 83%, 94% 83%, 94% 85.1%, 92.5% 85.1%, 92.5% 89.4%, 89.5% 89.4%, 89.5% 91.5%, 86.6% 91.5%, 86.6% 93.6%, 82.1% 93.6%, 82.1% 95.7%, 79.1% 95.7%, 79.1% 97.9%, 62.7% 97.9%, 62.7% 100%, 32.8% 100%, 32.8% 97.9%, 20.9% 97.9%, 20.9% 95.7%, 16.4% 95.7%, 16.4% 93.6%, 13.4% 93.6%, 13.4% 91.5%, 10.4% 91.5%, 10.4% 87.2%, 9% 87.2%, 9% 85.1%, 7.5% 85.1%, 7.5% 83%, 6% 83%, 6% 80.8%, 4.5% 80.8%, 4.5% 78.7%, 3% 78.7%, 3% 55.3%, 1.5% 55.3%, 1.5% 51.1%, 0% 51.1%, 0% 46.8%, 1.5% 46.8%, 1.5% 38.3%, 3% 38.3%, 3% 31.9%, 4.5% 31.9%, 4.5% 25.5%, 6% 25.5%, 6% 21.3%, 7.5% 21.3%, 7.5% 17%, 9% 17%, 9% 14.9%, 10.4% 14.9%, 10.4% 12.8%, 13.4% 12.8%, 13.4% 10.6%, 14.9% 10.6%, 14.9% 8.5%, 16.4% 8.5%, 16.4% 6.4%, 19.4% 6.4%, 19.4% 4.3%, 26.9% 4.3%, 26.9% 2.1%, 32.8% 2.1%, 32.8% 0%);
  perspective: calc(50 * var(--s));
  perspective-origin: calc((var(--ox) - var(--gx) + 32.5 * var(--sx)) * var(--s)) calc((var(--oy) - var(--gy) + 15 * var(--sy)) * var(--s));
  transition: opacity 0.3s ease-out;
}
@media (max-aspect-ratio: 9/10) {
  .tele {
    --iw: 260; --ih: 563; --bx: 0.5; --by: 0;
    --gx: 100; --gy: 156; --gw: 54; --gh: 38;
    --ox: 95.4; --oy: 149.4; --sx: 0.97; --sy: 0.985;
    clip-path: polygon(72.2% 0%, 72.2% 2.6%, 81.5% 2.6%, 81.5% 5.3%, 87% 5.3%, 87% 7.9%, 88.9% 7.9%, 88.9% 10.5%, 90.7% 10.5%, 90.7% 13.2%, 92.6% 13.2%, 92.6% 15.8%, 94.4% 15.8%, 94.4% 18.4%, 96.3% 18.4%, 96.3% 28.9%, 98.2% 28.9%, 98.2% 34.2%, 100% 34.2%, 100% 50%, 98.2% 50%, 98.2% 65.8%, 96.3% 65.8%, 96.3% 76.3%, 94.4% 76.3%, 94.4% 79%, 92.6% 79%, 92.6% 84.2%, 90.7% 84.2%, 90.7% 86.8%, 88.9% 86.8%, 88.9% 89.5%, 87% 89.5%, 87% 92.1%, 85.2% 92.1%, 85.2% 94.7%, 70.4% 94.7%, 70.4% 97.4%, 44.4% 97.4%, 44.4% 100%, 24.1% 100%, 24.1% 97.4%, 18.5% 97.4%, 18.5% 94.7%, 14.8% 94.7%, 14.8% 92.1%, 11.1% 92.1%, 11.1% 89.5%, 9.3% 89.5%, 9.3% 84.2%, 7.4% 84.2%, 7.4% 81.6%, 3.7% 81.6%, 3.7% 76.3%, 5.6% 76.3%, 5.6% 65.8%, 3.7% 65.8%, 3.7% 60.5%, 1.9% 60.5%, 1.9% 55.3%, 0% 55.3%, 0% 39.5%, 1.9% 39.5%, 1.9% 34.2%, 3.7% 34.2%, 3.7% 26.3%, 5.6% 26.3%, 5.6% 21.1%, 7.4% 21.1%, 7.4% 18.4%, 9.3% 18.4%, 9.3% 15.8%, 11.1% 15.8%, 11.1% 13.2%, 13% 13.2%, 13% 10.5%, 14.8% 10.5%, 14.8% 7.9%, 18.5% 7.9%, 18.5% 5.3%, 22.2% 5.3%, 22.2% 2.6%, 31.5% 2.6%, 31.5% 0%);
  }
}
@media (scripting: enabled) {
  .tele { display: block; }
}
.js .tele { display: block; }
.tele canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.tele > i {
  position: absolute;
  left: calc((var(--ox) - var(--gx) + var(--u) * var(--sx)) * var(--s));
  top: calc((var(--oy) - var(--gy) + var(--v) * var(--sy)) * var(--s));
  width: calc(var(--l) * var(--sx) * var(--s));
  height: calc(var(--h) * var(--sy) * var(--s));
  opacity: 0;
}
.tele > i, .tele .tele-disquette { mix-blend-mode: screen; mix-blend-mode: plus-lighter; }
.js .tele > i, .js .tele-disquette, .js .tele-piste > i { will-change: transform, opacity; }
.tele-encours {
  --u: calc(14 + 4 * var(--n, 0)); --v: 30; --l: 3; --h: 4;
  background: rgb(90 116 104);
}
.tele[data-paves="0"] .tele-encours { display: none; }
.tele-piste {
  --u: calc(18 + 4 * var(--n, 0)); --v: 30; --l: calc(31 - 4 * var(--n, 0)); --h: 4;
  --pas: calc(4 * var(--sx) * var(--s));
  overflow: hidden;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 calc(0.75 * var(--pas)), transparent 0 var(--pas));
  mask-image: repeating-linear-gradient(90deg, #000 0 calc(0.75 * var(--pas)), transparent 0 var(--pas));
}
.tele-piste > i {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: calc(100% + 2 * var(--pas));
}
.tele-piste > i::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: calc(2 * var(--pas));
  height: 100%;
  background: linear-gradient(90deg, rgb(107 136 121 / 0), rgb(107 136 121 / 0.85), rgb(107 136 121 / 0));
}
.tele-bande {
  --u: 0; --v: 0; --l: 64; --h: 96;
  background: repeating-linear-gradient(rgb(24 42 39 / 0) 0, rgb(24 42 39) 9.375%, rgb(24 42 39 / 0) 18.75%, rgb(24 42 39 / 0) 50%);
}
.tele-disquette {
  transform-origin: calc((var(--ox) - var(--gx) + 32.5 * var(--sx)) * var(--s)) calc((var(--oy) - var(--gy) + 15 * var(--sy)) * var(--s));
  opacity: 0;
}

@keyframes tele-paraitre { from { opacity: 0; } to { opacity: 1; } }
@keyframes tele-tourne { to { transform: rotateY(1turn); } }
@keyframes tele-souffle { from { opacity: 1; } to { opacity: 0.3; } }
@keyframes tele-court { to { transform: translateX(100%); } }
@keyframes tele-roule { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.tele.allume .tele-disquette { animation: tele-paraitre 0.53s steps(5, jump-none) 0.62s both, tele-tourne 3.2s steps(96) 1.15s infinite; }
.tele.allume .tele-encours { animation: tele-paraitre 0.53s steps(5, jump-none) 0.62s both, tele-souffle 0.5s steps(15) 1.15s infinite alternate; }
.tele.allume .tele-piste { animation: tele-paraitre 0.53s steps(5, jump-none) 0.62s both; }
.tele.allume .tele-piste > i { animation: tele-court 1.4s steps(42) 1.15s infinite; }
.tele.allume .tele-bande { animation: tele-paraitre 0.26s ease-out 0.36s both, tele-roule 2.6s steps(78) 0.36s infinite; }
.tele.fixe .tele-disquette, .tele.fixe .tele-encours { opacity: 1; }
.tele.allume.vite > canvas:not(.tele-disquette) { animation: tele-paraitre 0.2s steps(4, jump-none) var(--attente, 0s) both; }
.tele.allume.vite .tele-disquette { animation-duration: 0.2s, 3.2s; animation-delay: var(--attente, 0s), calc(var(--attente, 0s) + 0.2s); }
.tele.allume.vite .tele-encours { animation-duration: 0.2s, 0.5s; animation-delay: var(--attente, 0s), calc(var(--attente, 0s) + 0.2s); }
.tele.allume.vite .tele-piste { animation-duration: 0.2s; animation-delay: var(--attente, 0s); }
.tele.allume.vite .tele-piste > i { animation-delay: var(--attente, 0s); }
.tele.allume.vite .tele-bande { animation-duration: 0.2s, 2.6s; animation-delay: var(--attente, 0s), var(--attente, 0s); }
.tele.allume.vite .tele-bande, .tele.allume.vite .tele-piste > i { animation-play-state: paused; }
html[data-charge-etape="shaders"] .tele.allume .tele-bande,
html[data-charge-etape="shaders"] .tele.allume .tele-piste > i { animation-play-state: paused; }

.tele-fini .tele-encours, .tele-fini .tele-piste { visibility: hidden; }
.tele-fini .tele { opacity: 0; transition: opacity 0.3s ease-out 0.22s; }
.scene-vue .tele { visibility: hidden; transition: opacity 0.3s ease-out 0.22s, visibility 0s linear 0.9s; }
.sans-gl .tele { opacity: 0; visibility: hidden; transition: opacity 0.4s ease-out, visibility 0s linear 0.4s; }
.reduit .tele { transition: none; }

.carte {
  display: none;
  position: fixed;
  z-index: 4;
  left: calc(var(--marge) + 200px);
  bottom: max(7vh, 36px);
  width: min(296px, calc(100vw - 32px));
  padding: 14px 18px 4px;
  font-size: var(--petit);
  background: #e6dfcc;
  color: #16130e;
  text-shadow: none;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
}
.carte.placee { bottom: auto; }
html:not(.js) .carte:target,
.carte.ouverte { display: block; }
.gl-pret .carte { pointer-events: auto; z-index: 3; }
.carte h2 {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 3px double #16130e;
  font-size: var(--petit);
  font-weight: 400;
  letter-spacing: calc(2em / 27);
  text-transform: uppercase;
}
.carte p { margin: 0 0 6px; }
.carte-pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.carte-lien,
.carte-reseau,
.carte-fermer {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.carte-lien { font-weight: 400; }
.carte-reseaux { margin: 0 0 2px; padding: 0; list-style: none; }
.carte-fermer { margin-left: auto; }
.carte-fermer[hidden] { display: none; }
.carte :focus-visible,
.carte:focus-visible { outline-color: #16130e; }
.carte:focus { outline: none; }
.carte:focus-visible { outline: 2px solid #16130e; outline-offset: 3px; }

.legende {
  position: fixed;
  z-index: 2;
  left: 50%;
  bottom: max(3.6vh, calc(env(safe-area-inset-bottom, 0px) + 30px));
  width: max-content;
  max-width: calc(100vw - 2 * var(--marge));
  margin: 0;
  transform: translateX(-50%);
  color: #f3eee3;
  text-align: center;
  text-wrap: balance;
  line-height: calc(1em * 10 / 9);
  text-shadow: 1px 1px 0 #000;
  opacity: 0;
  pointer-events: none;
}
[data-mise="large"] .legende { left: 60%; max-width: min(640px, 76vw); }
.legende.visible { opacity: 1; }

@media (max-aspect-ratio: 9/10) {
  .objets { left: var(--marge); right: var(--marge); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--pied-h) + 4px); }
  .objets > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; max-width: 440px; margin: 0 auto; }
  html:not(.gl-pret) .objets .objet-nom { white-space: normal; line-height: 1.1; }
  .gl-pret .objets > ul { display: block; max-width: none; }
  .carte { left: 16px; bottom: calc(162px + var(--pied-h)); width: calc(100vw - 32px); max-width: 420px; }
  .legende { bottom: calc(env(safe-area-inset-bottom, 0px) + var(--pied-h) + 2px); }
}
@media (max-aspect-ratio: 9/10) {
  html:not(.gl-pret) .legende { bottom: calc(162px + var(--pied-h)); }
}
html:not(.gl-pret) .objets > ul > li.mural { display: contents; }
html:not(.gl-pret) .objet[data-discret] { display: none; }
html:not(.gl-pret) .objets > ul {
  padding: 6px 14px;
  background: rgba(6, 8, 10, 0.72);
}
@media (max-height: 500px) and (min-aspect-ratio: 9/10) {
  html:not(.gl-pret) .objets { right: var(--marge); }
  html:not(.gl-pret) .objets > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
  html:not(.gl-pret) .legende {
    top: max(18px, env(safe-area-inset-top));
    bottom: auto;
    left: auto;
    right: var(--marge);
    max-width: 48vw;
    transform: none;
    text-align: right;
  }
}

.pied {
  position: fixed;
  z-index: 2;
  left: var(--marge);
  bottom: env(safe-area-inset-bottom, 0px);
  font-size: var(--petit);
  line-height: 1.2;
}
.pied nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.pied a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--encre-douce);
  text-decoration: underline;
  text-decoration-color: rgba(236, 231, 220, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-shadow: 1px 1px 0 #000;
}
@media (hover: hover) {
  .pied a:hover { color: var(--ambre); text-decoration-color: currentColor; }
}
@media (max-aspect-ratio: 9/10) {
  .pied { left: var(--marge); right: var(--marge); }
  .pied nav { justify-content: center; gap: 0 12px; }
}
@media (max-aspect-ratio: 9/10) and (max-width: 359px) {
  html:lang(fr) { --pied-h: 56px; }
}

@media (max-aspect-ratio: 9/10) {
  .gl-pret .objet-nom { padding: 2px 6px 3px 5px; gap: 6px; background: rgba(6, 8, 10, 0.42); }
  .gl-pret .objet-nom::before { width: 4px; height: 4px; }
}
