html { scroll-behavior: auto; }
body { overflow: hidden; height: 100vh; background: linear-gradient(180deg, #dcecf8 0%, #f4f9fd 55%, #fff 100%); }
.grad { color: var(--blue-500); }
.btn-s { padding: .6em 1.1em; font-size: 0.9062rem; }

.world { position: fixed; inset: 0; }
#gl { width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; }
.tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag {
  position: absolute; left: 0; top: 0; pointer-events: auto; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  padding: 0.3125rem 0.6875rem; border-radius: 62.4375rem; box-shadow: var(--shadow-m); white-space: nowrap;
  transition: background .2s, color .2s, opacity .3s; will-change: transform;
}
.tag:hover, .tag.is-near { background: var(--blue-500); color: #fff; }

.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 3vw, 2.25rem); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar-logo img { height: 1.75rem; width: auto; }
body.is-intro .route, body.is-intro .hint { opacity: 0; pointer-events: none; }

.route { position: fixed; z-index: 4; left: clamp(1rem, 3vw, 2.25rem); top: 5.25rem; width: 13.125rem; transition: opacity .6s; }
.route-t { font-family: var(--font-mono); font-size: 0.7188rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 0.625rem; }
.route ol { list-style: none; margin: 0; padding: 0; position: relative; }
.route ol::before { content: ''; position: absolute; left: 0.6875rem; top: 0.75rem; bottom: 0.75rem; width: 2px; background: var(--blue-200); }
.route li { position: relative; }
.route button { display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left; border: 0; background: none; padding: 0.3125rem 0; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.route button i { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: 2px solid var(--blue-200); display: grid; place-items: center; font-style: normal; font-size: 0.6875rem; color: var(--ink-3); position: relative; z-index: 1; transition: .25s; }
.route button:hover { color: var(--blue-500); }
.route li.is-on button { color: var(--ink); }
.route li.is-on i { background: var(--blue-500); border-color: var(--blue-500); color: #fff; transform: scale(1.15); }

.banner { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 0 var(--gutter) 1.375rem; pointer-events: none; transform: translateY(130%); transition: transform .55s var(--ease); }
.banner.is-on { transform: none; }
.banner-in { pointer-events: auto; width: min(57.5rem, 100%); background: rgba(255,255,255,.96); backdrop-filter: blur(0.875rem); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: 1.375rem 1.625rem; display: grid; grid-template-columns: 4.75rem 1fr auto; gap: 0.5rem 1.5rem; align-items: center; }
.banner-ic { width: 4.75rem; height: 4.75rem; border-radius: 1.125rem; object-fit: contain; grid-row: span 2; }
.banner-ic.glyph { padding: 0.875rem; background: #fff; border: 1px solid var(--line); }
.banner .eyebrow { grid-column: 2; }
.banner h2 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); grid-column: 2; }
.banner p { color: var(--ink-2); font-size: 0.9688rem; grid-column: 2; max-width: 62ch; }
.banner ul { list-style: none; margin: 0.375rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem 1.125rem; grid-column: 2; font-size: 0.875rem; font-weight: 600; color: var(--blue-600); }
.banner ul li::before { content: ''; display: inline-block; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--blue-bright); margin-right: 0.5rem; vertical-align: middle; }
.banner .btn { grid-column: 3; grid-row: 1 / span 4; align-self: center; white-space: nowrap; }
@media (max-width: 760px) {
  .banner-in { grid-template-columns: 3.5rem 1fr; padding: 1rem; gap: 0.375rem 0.875rem; }
  .banner-ic { width: 3.5rem; height: 3.5rem; }
  .banner .btn { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
}

.hint { position: fixed; z-index: 4; right: clamp(1rem, 3vw, 2.25rem); bottom: 1.5rem; font-size: 0.875rem; color: var(--ink-2); background: rgba(255,255,255,.8); backdrop-filter: blur(0.5rem); padding: .6em 1.1em; border-radius: 62.4375rem; transition: opacity .6s; }
.hint.is-off { opacity: 0 !important; }

@media (max-width: 900px) { .route { display: none; } }
@media (max-width: 560px) { .hint { display: none; } }

.mm { width: 100%; height: auto; display: block; }
.mm-island { fill: #eaf3f9; stroke: var(--blue-200); stroke-width: 1.5; }
.mm-belt { fill: none; stroke: var(--blue-300); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 6; }
.mm-b { cursor: pointer; }
.mm-b circle { fill: #fff; stroke: var(--blue-300); stroke-width: 2; transition: .25s; }
.mm-b text { font: 700 0.5938rem var(--font-display); fill: var(--ink-2); text-anchor: middle; pointer-events: none; }
.mm-b:hover circle { stroke: var(--blue-500); }
.mm-b.v circle { fill: var(--blue-200); }
.mm-b.on circle { fill: var(--blue-500); stroke: var(--blue-500); }
.mm-b.on text { fill: #fff; }
.mm-b.nx circle { stroke: #e8a33d; stroke-width: 3; animation: nx 1.1s ease-in-out infinite; }
@keyframes nx { 50% { stroke-width: 6; } }
.mm-p { fill: var(--wine); stroke: #fff; stroke-width: 2; pointer-events: none; }
.route .follow-btn, .fc-x { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid var(--blue-200); background: #fff; color: var(--blue-600); border-radius: 62.4375rem; font-size: 0.8438rem; font-weight: 700; transition: background .2s, border-color .2s; }
.route .follow-btn { margin-top: 0.75rem; width: 100%; padding: .65em 1em; box-shadow: 0 0.375rem 1rem -0.5rem rgba(11, 64, 102, .45); }
.route .follow-btn:hover, .fc-x:hover { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-600); }
.route .follow-btn svg, .fc-x svg { flex: none; }
.tag.is-next { animation: tagn 1.2s ease-in-out infinite; background: #e8a33d; color: #fff; }
@keyframes tagn { 50% { box-shadow: 0 0 0 0.5rem rgba(232,163,61,.25), var(--shadow-m); } }

.follow-cap { position: fixed; z-index: 6; left: 50%; bottom: 1.75rem; width: min(35rem, calc(100% - 2rem)); transform: translate(-50%, 140%); transition: transform .5s var(--ease); background: rgba(255,255,255,.96); backdrop-filter: blur(0.75rem); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: 1.125rem 1.375rem 1.25rem; }
.follow-cap.is-on { transform: translate(-50%, 0); }
.fc-t { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; }
.fc-p { margin-top: 0.25rem; color: var(--ink-2); font-size: 0.9688rem; padding-right: 4.375rem; }
.fc-bar { margin-top: 0.875rem; height: 0.25rem; border-radius: 0.25rem; background: var(--blue-100); overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: #e8a33d; border-radius: 0.25rem; }

.keys { display: inline-flex; gap: 0.1875rem; margin-right: 0.375rem; vertical-align: middle; }
kbd { font: 700 0.7188rem var(--font-mono); background: #fff; border: 1px solid var(--line-strong); border-bottom-width: 0.1875rem; border-radius: 0.375rem; min-width: 1.5rem; height: 1.5rem; display: inline-grid; place-items: center; color: var(--ink-2); }

.banner-in > * { animation: rise .55s var(--ease) both; }
.banner-in > :nth-child(1) { animation-name: pop; }
.banner-in > :nth-child(2) { animation-delay: .05s; } .banner-in > :nth-child(3) { animation-delay: .1s; }
.banner-in > :nth-child(4) { animation-delay: .15s; } .banner-in > :nth-child(5) { animation-delay: .2s; } .banner-in > :nth-child(6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } 60% { transform: scale(1.08); } }

.fc-bar { cursor: pointer; height: 0.5rem; }
.fc-ctrl { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.fc-ctrl button { border: 1px solid var(--line-strong); background: #fff; border-radius: 62.4375rem; padding: .4em .95em; font-size: 0.8125rem; font-weight: 600; color: var(--blue-600); transition: .2s; }
.fc-ctrl button:hover { border-color: var(--blue-500); background: var(--blue-50); }

.bar-left { display: flex; align-items: center; gap: 0.875rem; }
.bar-exit { background: rgba(255,255,255,.88); backdrop-filter: blur(0.5rem); gap: 0.375rem; box-shadow: var(--shadow-m); }
.bar-exit:hover { transform: none; }
.bar-exit svg { transition: transform .25s var(--ease); }
.bar-exit:hover svg { transform: translateX(-0.1875rem); }

html .world { opacity: 0; transition: opacity .7s ease; }
html.is-ready .world { opacity: 1; }

.fc-x { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid var(--blue-200); background: #fff; color: var(--blue-600); border-radius: 62.4375rem; font-size: 0.8438rem; font-weight: 700; transition: background .2s, border-color .2s; }
.route .follow-btn { margin-top: 0.75rem; width: 100%; padding: .65em 1em; box-shadow: 0 0.375rem 1rem -0.5rem rgba(11, 64, 102, .45); }
.route .follow-btn:hover, .fc-x:hover { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-600); }
.route .follow-btn svg, .fc-x svg { flex: none; }
.tag.is-next { animation: tagn 1.2s ease-in-out infinite; background: #e8a33d; color: #fff; }
@keyframes tagn { 50% { box-shadow: 0 0 0 0.5rem rgba(232,163,61,.25), var(--shadow-m); } }

.follow-cap { position: fixed; z-index: 6; left: 50%; bottom: 1.75rem; width: min(35rem, calc(100% - 2rem)); transform: translate(-50%, 140%); transition: transform .5s var(--ease); background: rgba(255,255,255,.96); backdrop-filter: blur(0.75rem); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: 1.125rem 1.375rem 1.25rem; }
.follow-cap.is-on { transform: translate(-50%, 0); }
.fc-t { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; }
.fc-p { margin-top: 0.25rem; color: var(--ink-2); font-size: 0.9688rem; padding-right: 4.375rem; }
.fc-bar { margin-top: 0.875rem; height: 0.25rem; border-radius: 0.25rem; background: var(--blue-100); overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: #e8a33d; border-radius: 0.25rem; }

.keys { display: inline-flex; gap: 0.1875rem; margin-right: 0.375rem; vertical-align: middle; }
kbd { font: 700 0.7188rem var(--font-mono); background: #fff; border: 1px solid var(--line-strong); border-bottom-width: 0.1875rem; border-radius: 0.375rem; min-width: 1.5rem; height: 1.5rem; display: inline-grid; place-items: center; color: var(--ink-2); }

.banner-in > * { animation: rise .55s var(--ease) both; }
.banner-in > :nth-child(1) { animation-name: pop; }
.banner-in > :nth-child(2) { animation-delay: .05s; } .banner-in > :nth-child(3) { animation-delay: .1s; }
.banner-in > :nth-child(4) { animation-delay: .15s; } .banner-in > :nth-child(5) { animation-delay: .2s; } .banner-in > :nth-child(6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } 60% { transform: scale(1.08); } }

.fc-bar { cursor: pointer; height: 0.5rem; }
.fc-ctrl { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.fc-ctrl button { border: 1px solid var(--line-strong); background: #fff; border-radius: 62.4375rem; padding: .4em .95em; font-size: 0.8125rem; font-weight: 600; color: var(--blue-600); transition: .2s; }
.fc-ctrl button:hover { border-color: var(--blue-500); background: var(--blue-50); }

.bar-left { display: flex; align-items: center; gap: 0.875rem; }
.bar-exit { background: rgba(255,255,255,.88); backdrop-filter: blur(0.5rem); gap: 0.375rem; box-shadow: var(--shadow-m); }
.bar-exit:hover { transform: none; }
.bar-exit svg { transition: transform .25s var(--ease); }
.bar-exit:hover svg { transform: translateX(-0.1875rem); }

html .world { opacity: 0; transition: opacity .7s ease; }
html.is-ready .world { opacity: 1; }

.fc-x { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid var(--blue-200); background: #fff; color: var(--blue-600); border-radius: 62.4375rem; font-size: 0.8438rem; font-weight: 700; transition: background .2s, border-color .2s; }
.route .follow-btn { margin-top: 0.75rem; width: 100%; padding: .65em 1em; box-shadow: 0 0.375rem 1rem -0.5rem rgba(11, 64, 102, .45); }
.route .follow-btn:hover, .fc-x:hover { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-600); }
.route .follow-btn svg, .fc-x svg { flex: none; }
.tag.is-next { animation: tagn 1.2s ease-in-out infinite; background: #e8a33d; color: #fff; }
@keyframes tagn { 50% { box-shadow: 0 0 0 0.5rem rgba(232,163,61,.25), var(--shadow-m); } }

.follow-cap { position: fixed; z-index: 6; left: 50%; bottom: 1.75rem; width: min(35rem, calc(100% - 2rem)); transform: translate(-50%, 140%); transition: transform .5s var(--ease); background: rgba(255,255,255,.96); backdrop-filter: blur(0.75rem); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: 1.125rem 1.375rem 1.25rem; }
.follow-cap.is-on { transform: translate(-50%, 0); }
.fc-t { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; }
.fc-p { margin-top: 0.25rem; color: var(--ink-2); font-size: 0.9688rem; padding-right: 4.375rem; }
.fc-bar { margin-top: 0.875rem; height: 0.25rem; border-radius: 0.25rem; background: var(--blue-100); overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: #e8a33d; border-radius: 0.25rem; }

.keys { display: inline-flex; gap: 0.1875rem; margin-right: 0.375rem; vertical-align: middle; }
kbd { font: 700 0.7188rem var(--font-mono); background: #fff; border: 1px solid var(--line-strong); border-bottom-width: 0.1875rem; border-radius: 0.375rem; min-width: 1.5rem; height: 1.5rem; display: inline-grid; place-items: center; color: var(--ink-2); }

.banner-in > * { animation: rise .55s var(--ease) both; }
.banner-in > :nth-child(1) { animation-name: pop; }
.banner-in > :nth-child(2) { animation-delay: .05s; } .banner-in > :nth-child(3) { animation-delay: .1s; }
.banner-in > :nth-child(4) { animation-delay: .15s; } .banner-in > :nth-child(5) { animation-delay: .2s; } .banner-in > :nth-child(6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } 60% { transform: scale(1.08); } }

.fc-bar { cursor: pointer; height: 0.5rem; }
.fc-ctrl { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.fc-ctrl button { border: 1px solid var(--line-strong); background: #fff; border-radius: 62.4375rem; padding: .4em .95em; font-size: 0.8125rem; font-weight: 600; color: var(--blue-600); transition: .2s; }
.fc-ctrl button:hover { border-color: var(--blue-500); background: var(--blue-50); }

.bar-left { display: flex; align-items: center; gap: 0.875rem; }
.bar-exit { background: rgba(255,255,255,.88); backdrop-filter: blur(0.5rem); gap: 0.375rem; box-shadow: var(--shadow-m); }
.bar-exit:hover { transform: none; }
.bar-exit svg { transition: transform .25s var(--ease); }
.bar-exit:hover svg { transform: translateX(-0.1875rem); }

html .world { opacity: 0; transition: opacity .7s ease; }
html.is-ready .world { opacity: 1; }

.fc-x { position: absolute; top: 0.875rem; right: 1rem; padding: .45em 1em; }

.hello { position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none; width: max-content; max-width: min(16.25rem, 70vw); padding: .75em 1.1em; border-radius: 1.125rem; background: #fff; color: var(--blue-800, #0b4066); font: 700 0.9375rem/1.3 var(--font-display); text-align: center; box-shadow: 0 0.75rem 1.875rem -0.75rem rgba(11, 64, 102, .5); opacity: 0; scale: .85; transform-origin: 50% 100%; transition: opacity .3s, scale .35s cubic-bezier(.3, 1.5, .5, 1); }
.hello::after { content: ""; position: absolute; left: 50%; bottom: -0.5rem; width: 1rem; height: 1rem; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 0.25rem 0; }
.hello.is-on { opacity: 1; scale: 1; }

html.apercu .bar, html.apercu .route, html.apercu .banner, html.apercu .hint, html.apercu .hello, html.apercu .follow-cap, html.apercu .tags { display: none !important; }
html.apercu body { pointer-events: none; overflow: hidden; }
html.apercu, html.apercu body { background: transparent; }
html.boucle body { background: radial-gradient(60% 55% at 80% 0%, rgba(42, 124, 190, .55), transparent 70%), #031b2f; }
