/* public/v2/assets/voyage.css · « Voyage dans la planète » : charte Affiche (papier, encre, teal, Poppins 800, coins 6 px).
   S'appuie sur assets/css/home-v2.css (tokens --h2-*, boutons, titres) ; aucune couleur ni police nouvelle.
   Sans JS, sans WebGL ou avec « moins d'animations » : tout reste lisible en rangées filetées. */

/* ---------- police des titres : Sora (Fontsource, OFL, en local), choisie par Riyad ; le texte courant reste en Plus Jakarta Sans ---------- */
@font-face { font-family: "Sora"; font-weight: 100 800; font-style: normal; font-display: swap; src: url("fonts/sora-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root:has(.vy) { --vy-display: "Sora", "Poppins", system-ui, sans-serif; --vy-scale: 1; --vy-track: -.01em; }
:root:has(.vy) :is(.h2-page, .h2h, .h2f) { --h2-ff-display: var(--vy-display); }

:root:has(.vy) body { background: #0A0A0A; }
.h2-page.vy { position: relative; isolation: isolate; background: transparent; color: #F7F5F2; }   /* .h2-page impose le fond papier : le body encre doit rester visible derrière la planète */
.vy :focus-visible { outline: 3px solid #61E6FF; outline-offset: 3px; }

/* ---------- planète plein écran (canvas fixe) et repli SVG ---------- */
.vy-gl { position: fixed; inset: 0; z-index: -1; display: block; width: 100vw; height: 100vh; height: 100lvh; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.vy.is-gl .vy-gl { opacity: 1; }
.vy-fallback-planet { position: absolute; top: 50%; right: -4%; z-index: -1; width: min(52vw, 560px); height: auto; translate: 0 -50%; }
.vy.is-gl .vy-fallback-planet { display: none; }

/* voile de lisibilité : un seul calque fixe dont voyage.js règle l'intensité en continu (pas de coupure entre deux stations) ;
   sans 3D, chaque station garde son propre voile (repli plus bas) */
.vy-scrim { position: fixed; inset: 0; z-index: -1; display: none; pointer-events: none; }
.vy.is-gl .vy-scrim { display: block; }
.vy.is-gl .vy-station::before { display: none; }
.vy-scrim i { position: absolute; inset: 0; opacity: 0; }
.vy-scrim__sl { background: linear-gradient(90deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .5) 38%, rgb(10 10 10 / 0) 64%); }
.vy-scrim__sr { background: linear-gradient(270deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .55) 40%, rgb(10 10 10 / 0) 66%); }
.vy-scrim__sc { background: rgb(10 10 10 / .8); }
.vy-scrim__st { background: linear-gradient(180deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .62) 52%, rgb(10 10 10 / 0) 86%); }
.vy-scrim__sb { background: linear-gradient(0deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .6) 42%, rgb(10 10 10 / 0) 72%); }

/* ---------- fond étoilé (CSS pur, derrière la planète) et étoiles filantes ---------- */
.vy-sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.vy-sky i { position: absolute; top: 0; left: 0; border-radius: 50%; }
.vy-sky__s { width: 1px; height: 1px; box-shadow:
    11.9vw 50.3vh rgb(247 245 242 / .85),
    88.4vw 89.5vh rgb(97 230 255 / .8),
    78.3vw 54.8vh rgb(97 230 255 / .8),
    75.1vw 58.7vh rgb(247 245 242 / .45),
    0.3vw 8.1vh rgb(247 245 242 / .45),
    81.7vw 45.0vh rgb(97 230 255 / .8),
    67.9vw 21.0vh rgb(247 245 242 / .45),
    34.8vw 99.9vh rgb(247 245 242 / .45),
    80.5vw 100.0vh rgb(247 245 242 / .85),
    72.3vw 9.0vh rgb(247 245 242 / .45),
    28.8vw 14.1vh rgb(247 245 242 / .45),
    2.5vw 71.1vh rgb(247 245 242 / .45),
    46.1vw 9.1vh rgb(97 230 255 / .8),
    86.7vw 42.5vh rgb(97 230 255 / .8),
    39.8vw 52.5vh rgb(97 230 255 / .8),
    56.4vw 98.2vh rgb(247 245 242 / .85),
    57.6vw 76.6vh rgb(247 245 242 / .85),
    96.3vw 52.3vh rgb(247 245 242 / .85),
    71.7vw 42.9vh rgb(247 245 242 / .45),
    48.2vw 22.9vh rgb(247 245 242 / .85),
    62.7vw 45.7vh rgb(97 230 255 / .8),
    71.5vw 96.0vh rgb(247 245 242 / .45),
    56.0vw 67.0vh rgb(247 245 242 / .45),
    54.8vw 64.7vh rgb(97 230 255 / .8),
    80.5vw 40.2vh rgb(247 245 242 / .45),
    29.4vw 26.9vh rgb(247 245 242 / .85),
    15.0vw 88.2vh rgb(97 230 255 / .8),
    80.4vw 92.7vh rgb(247 245 242 / .45),
    92.2vw 26.0vh rgb(97 230 255 / .8),
    46.7vw 76.7vh rgb(97 230 255 / .8),
    80.8vw 55.8vh rgb(247 245 242 / .85),
    83.1vw 31.7vh rgb(247 245 242 / .85),
    43.8vw 71.7vh rgb(247 245 242 / .45),
    45.3vw 96.5vh rgb(97 230 255 / .8),
    84.2vw 47.9vh rgb(247 245 242 / .85),
    64.9vw 90.3vh rgb(247 245 242 / .45),
    9.7vw 74.8vh rgb(97 230 255 / .8),
    14.6vw 91.6vh rgb(247 245 242 / .85),
    0.0vw 58.1vh rgb(247 245 242 / .85),
    61.0vw 19.9vh rgb(247 245 242 / .85),
    62.1vw 75.2vh rgb(247 245 242 / .45),
    66.8vw 63.5vh rgb(247 245 242 / .45),
    0.5vw 66.5vh rgb(97 230 255 / .8),
    69.0vw 93.8vh rgb(247 245 242 / .45),
    47.3vw 13.1vh rgb(247 245 242 / .45),
    8.4vw 66.9vh rgb(247 245 242 / .45),
    78.3vw 91.5vh rgb(247 245 242 / .45),
    50.8vw 39.0vh rgb(247 245 242 / .45),
    52.0vw 19.7vh rgb(247 245 242 / .85),
    95.9vw 38.9vh rgb(247 245 242 / .85),
    5.1vw 34.7vh rgb(247 245 242 / .45),
    93.5vw 94.5vh rgb(247 245 242 / .85),
    51.0vw 32.8vh rgb(247 245 242 / .45),
    45.0vw 91.4vh rgb(97 230 255 / .8),
    94.9vw 57.2vh rgb(247 245 242 / .45),
    15.4vw 52.0vh rgb(97 230 255 / .8),
    62.3vw 45.9vh rgb(247 245 242 / .45),
    67.8vw 7.0vh rgb(97 230 255 / .8),
    3.4vw 64.7vh rgb(247 245 242 / .45),
    4.5vw 54.5vh rgb(247 245 242 / .85),
    45.2vw 75.5vh rgb(247 245 242 / .45),
    48.4vw 67.9vh rgb(247 245 242 / .85),
    12.9vw 53.0vh rgb(247 245 242 / .45),
    16.0vw 84.4vh rgb(97 230 255 / .8),
    27.3vw 53.3vh rgb(247 245 242 / .85),
    38.3vw 18.7vh rgb(247 245 242 / .45),
    26.3vw 49.8vh rgb(97 230 255 / .8),
    28.8vw 17.7vh rgb(97 230 255 / .8),
    44.5vw 52.7vh rgb(247 245 242 / .45),
    81.6vw 84.8vh rgb(247 245 242 / .45),
    0.5vw 9.3vh rgb(97 230 255 / .8),
    64.6vw 40.8vh rgb(247 245 242 / .45),
    96.1vw 35.2vh rgb(247 245 242 / .45),
    35.2vw 68.7vh rgb(247 245 242 / .45),
    11.0vw 71.6vh rgb(247 245 242 / .45),
    57.0vw 56.3vh rgb(247 245 242 / .45),
    10.1vw 26.4vh rgb(97 230 255 / .8),
    17.1vw 68.5vh rgb(247 245 242 / .45),
    72.2vw 18.5vh rgb(247 245 242 / .85),
    50.7vw 27.7vh rgb(247 245 242 / .85),
    29.1vw 31.5vh rgb(247 245 242 / .45),
    25.6vw 1.4vh rgb(247 245 242 / .45),
    41.5vw 1.5vh rgb(247 245 242 / .85),
    23.5vw 31.0vh rgb(247 245 242 / .85),
    68.6vw 57.6vh rgb(247 245 242 / .45),
    31.5vw 45.6vh rgb(247 245 242 / .85),
    92.5vw 31.6vh rgb(247 245 242 / .45),
    59.4vw 42.6vh rgb(247 245 242 / .85),
    68.6vw 86.1vh rgb(247 245 242 / .45),
    38.9vw 94.7vh rgb(247 245 242 / .45),
    5.8vw 71.5vh rgb(247 245 242 / .85),
    28.1vw 33.1vh rgb(247 245 242 / .85),
    29.7vw 41.7vh rgb(247 245 242 / .85),
    54.2vw 34.2vh rgb(247 245 242 / .85),
    72.2vw 11.3vh rgb(247 245 242 / .85),
    11.8vw 12.6vh rgb(247 245 242 / .45),
    59.7vw 97.3vh rgb(247 245 242 / .45),
    2.9vw 57.8vh rgb(247 245 242 / .45),
    41.5vw 37.7vh rgb(97 230 255 / .8),
    66.3vw 77.5vh rgb(247 245 242 / .45),
    54.3vw 66.2vh rgb(97 230 255 / .8),
    88.9vw 78.7vh rgb(247 245 242 / .45),
    2.3vw 27.7vh rgb(97 230 255 / .8),
    41.8vw 95.8vh rgb(247 245 242 / .45),
    94.4vw 59.4vh rgb(247 245 242 / .45),
    55.3vw 65.0vh rgb(247 245 242 / .45),
    34.1vw 52.0vh rgb(247 245 242 / .45),
    5.6vw 84.1vh rgb(247 245 242 / .45),
    47.1vw 97.0vh rgb(247 245 242 / .45),
    92.7vw 90.6vh rgb(97 230 255 / .8),
    70.7vw 36.0vh rgb(247 245 242 / .45),
    56.2vw 27.6vh rgb(247 245 242 / .45),
    37.5vw 45.9vh rgb(97 230 255 / .8),
    54.9vw 47.4vh rgb(247 245 242 / .45),
    18.8vw 62.8vh rgb(247 245 242 / .45),
    48.5vw 0.5vh rgb(247 245 242 / .45),
    81.4vw 83.5vh rgb(97 230 255 / .8),
    79.5vw 63.9vh rgb(247 245 242 / .85),
    29.9vw 54.7vh rgb(247 245 242 / .45),
    13.8vw 74.0vh rgb(247 245 242 / .85),
    53.3vw 85.0vh rgb(247 245 242 / .45),
    57.3vw 95.6vh rgb(97 230 255 / .8),
    53.9vw 97.1vh rgb(247 245 242 / .45),
    96.5vw 10.5vh rgb(247 245 242 / .45),
    73.3vw 33.4vh rgb(247 245 242 / .45),
    31.0vw 73.7vh rgb(247 245 242 / .45),
    16.2vw 29.3vh rgb(247 245 242 / .45),
    35.7vw 97.3vh rgb(247 245 242 / .45),
    97.6vw 63.0vh rgb(97 230 255 / .8),
    93.9vw 35.6vh rgb(247 245 242 / .45),
    72.2vw 3.0vh rgb(247 245 242 / .45),
    53.9vw 16.4vh rgb(247 245 242 / .85),
    51.5vw 88.2vh rgb(247 245 242 / .85),
    84.2vw 6.4vh rgb(247 245 242 / .45),
    21.6vw 15.4vh rgb(247 245 242 / .45),
    12.7vw 98.5vh rgb(97 230 255 / .8),
    10.7vw 83.7vh rgb(247 245 242 / .85),
    38.1vw 61.7vh rgb(247 245 242 / .85),
    34.8vw 90.9vh rgb(247 245 242 / .85),
    55.6vw 24.7vh rgb(247 245 242 / .45),
    68.4vw 45.6vh rgb(247 245 242 / .45),
    8.3vw 77.9vh rgb(247 245 242 / .85),
    80.8vw 77.8vh rgb(247 245 242 / .45),
    75.3vw 22.6vh rgb(247 245 242 / .45),
    43.3vw 56.2vh rgb(247 245 242 / .45),
    90.7vw 72.4vh rgb(97 230 255 / .8),
    40.3vw 17.7vh rgb(97 230 255 / .8),
    22.0vw 68.9vh rgb(247 245 242 / .45),
    75.9vw 35.0vh rgb(97 230 255 / .8),
    21.3vw 44.2vh rgb(247 245 242 / .45); }
.vy-sky__m { width: 2px; height: 2px; box-shadow:
    43.1vw 32.9vh rgb(247 245 242 / .85),
    32.0vw 84.1vh rgb(97 230 255 / .8),
    26.4vw 54.5vh rgb(97 230 255 / .8),
    23.4vw 97.2vh rgb(247 245 242 / .85),
    26.8vw 57.4vh rgb(97 230 255 / .8),
    39.9vw 55.0vh rgb(97 230 255 / .8),
    67.4vw 33.7vh rgb(97 230 255 / .8),
    90.9vw 84.7vh rgb(247 245 242 / .85),
    42.4vw 64.8vh rgb(247 245 242 / .85),
    92.3vw 72.4vh rgb(247 245 242 / .85),
    26.7vw 70.2vh rgb(247 245 242 / .85),
    33.4vw 64.4vh rgb(97 230 255 / .8),
    83.3vw 80.2vh rgb(97 230 255 / .8),
    33.9vw 3.7vh rgb(247 245 242 / .85),
    63.6vw 66.1vh rgb(97 230 255 / .8),
    32.7vw 78.0vh rgb(97 230 255 / .8),
    51.5vw 62.3vh rgb(97 230 255 / .8),
    7.9vw 69.2vh rgb(247 245 242 / .85),
    98.3vw 15.6vh rgb(247 245 242 / .85),
    94.3vw 20.6vh rgb(247 245 242 / .85),
    70.6vw 8.4vh rgb(97 230 255 / .8),
    71.2vw 68.1vh rgb(247 245 242 / .85),
    10.8vw 27.1vh rgb(97 230 255 / .8),
    4.4vw 55.0vh rgb(247 245 242 / .85),
    98.8vw 91.0vh rgb(97 230 255 / .8),
    34.4vw 31.8vh rgb(97 230 255 / .8),
    25.5vw 88.3vh rgb(97 230 255 / .8),
    3.7vw 49.0vh rgb(247 245 242 / .85),
    48.1vw 36.6vh rgb(97 230 255 / .8),
    19.9vw 27.4vh rgb(97 230 255 / .8),
    30.4vw 58.2vh rgb(97 230 255 / .8),
    86.3vw 72.6vh rgb(97 230 255 / .8),
    98.1vw 61.6vh rgb(97 230 255 / .8),
    48.9vw 66.1vh rgb(97 230 255 / .8),
    18.1vw 98.9vh rgb(247 245 242 / .85),
    75.9vw 96.4vh rgb(97 230 255 / .8),
    63.1vw 92.6vh rgb(247 245 242 / .85),
    2.9vw 24.1vh rgb(97 230 255 / .8),
    50.8vw 52.7vh rgb(247 245 242 / .85),
    79.2vw 27.1vh rgb(97 230 255 / .8),
    13.7vw 67.8vh rgb(97 230 255 / .8),
    36.4vw 65.1vh rgb(247 245 242 / .85),
    15.2vw 55.1vh rgb(247 245 242 / .85),
    72.9vw 13.1vh rgb(247 245 242 / .85); animation: vy-twinkle 5.2s ease-in-out infinite; }
.vy-sky__l { width: 3px; height: 3px; box-shadow:
    80.2vw 86.5vh rgb(97 230 255 / .8),
    79.0vw 94.1vh rgb(247 245 242 / .85),
    13.9vw 96.3vh rgb(247 245 242 / 1),
    35.7vw 45.7vh rgb(247 245 242 / .85),
    69.3vw 75.1vh rgb(247 245 242 / 1),
    15.4vw 64.1vh rgb(97 230 255 / .8),
    91.2vw 95.7vh rgb(97 230 255 / .8),
    22.1vw 36.4vh rgb(247 245 242 / 1),
    9.2vw 68.0vh rgb(97 230 255 / .8),
    15.5vw 32.5vh rgb(247 245 242 / 1),
    50.8vw 47.1vh rgb(247 245 242 / .85),
    9.5vw 58.6vh rgb(247 245 242 / 1),
    69.8vw 81.7vh rgb(97 230 255 / .8),
    75.7vw 16.4vh rgb(247 245 242 / .85),
    86.9vw 9.0vh rgb(247 245 242 / 1),
    43.3vw 83.3vh rgb(247 245 242 / .85); animation: vy-twinkle 3.6s ease-in-out -1.4s infinite; }
@keyframes vy-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.vy-shoot { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.vy-shoot i { position: absolute; width: 150px; height: 2px; border-radius: 2px; opacity: 0; background: linear-gradient(90deg, rgb(247 245 242 / .95), rgb(97 230 255 / .45) 38%, transparent); transform: rotate(-24deg); animation: vy-shoot 11s linear infinite; }
.vy-shoot i:nth-child(1) { top: 16%; left: 82%; animation-delay: 1.6s; }
.vy-shoot i:nth-child(2) { top: 6%; left: 54%; animation-delay: 4.4s; animation-duration: 13s; width: 190px; }
.vy-shoot i:nth-child(3) { top: 34%; left: 96%; animation-delay: 7.2s; animation-duration: 10s; }
.vy-shoot i:nth-child(4) { top: 52%; left: 74%; animation-delay: 9.8s; animation-duration: 12s; width: 120px; }
.vy-shoot i:nth-child(5) { top: 10%; left: 30%; animation-delay: 12.5s; animation-duration: 14s; }
.vy-shoot i:nth-child(6) { top: 70%; left: 92%; animation-delay: 15.3s; animation-duration: 11.5s; width: 130px; }
@keyframes vy-shoot {
  0% { opacity: 0; transform: rotate(-24deg) translateX(0); }
  1.5% { opacity: 1; }
  8% { opacity: 0; transform: rotate(-24deg) translateX(-62vw); }
  100% { opacity: 0; transform: rotate(-24deg) translateX(-62vw); }
}
@media (max-width: 768px) { .vy-shoot i:nth-child(n+4) { display: none; } .vy-shoot i { width: 100px; } }
@media (prefers-reduced-motion: reduce) { .vy-shoot { display: none; } .vy-sky__m, .vy-sky__l { animation: none; } }

/* ---------- stations ---------- */
.vy-station { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 70px); padding-block: clamp(56px, 9vh, 112px); }
.vy-station::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vy-station--intro::before { background: linear-gradient(90deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .5) 38%, rgb(10 10 10 / 0) 64%); }
.vy-station--support::before { background: linear-gradient(270deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .55) 40%, rgb(10 10 10 / 0) 66%); }
.vy-station--join::before { background: linear-gradient(90deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .55) 42%, rgb(10 10 10 / 0) 68%); }
.vy-station--contact::before { background: linear-gradient(180deg, rgb(10 10 10 / 0) 0%, rgb(10 10 10 / .88) 38%); }
.vy-lede { max-width: 56ch; margin-top: var(--h2-s3); color: rgb(247 245 242 / .8); }
.vy-link { color: #4FD8D8; font-weight: 700; text-underline-offset: 5px; }
.vy-more { display: inline-block; margin-top: var(--h2-s4); padding-block: 10px; }

/* ---------- station 1 : intro ---------- */
.vy-intro { display: grid; gap: var(--h2-s4); }
.vy-intro > * { max-width: 600px; }
.vy-station--intro .h2-hero__title { padding: 0; font-size: calc(clamp(3.6rem, 1.5rem + 8vw, 8.5rem) * var(--vy-scale, 1)); letter-spacing: var(--vy-track, -.04em); text-shadow: none; }
.vy .h2-hero__promise { display: flex; min-height: 1.6em; align-items: center; gap: .4em; color: #61E6FF; font: 700 clamp(1.05rem, .95rem + .5vw, 1.35rem)/1.2 var(--h2-ff-display); }
.vy .h2-hero__promise .h2-star { width: 1.05em; height: 1.05em; margin: 0; }
.vy .h2-hero__sub { color: #F7F5F2; text-shadow: none; }
.vy-doors { display: flex; flex-wrap: wrap; gap: var(--h2-s3); margin: var(--h2-s3) 0 0; padding: 0; list-style: none; }
.vy .h2-btn--ghost { color: #F7F5F2; }
.vy .h2-btn--ghost:hover { background: rgb(247 245 242 / .12); }

/* ---------- station 2 : activités. Sans 3D : liste filetée avec affiches. Avec 3D : une roue sur l'arc devant la planète, menée par le défilement ---------- */
.vy-station--orbit { justify-content: flex-start; min-height: calc(100svh - 70px); }
.vy-station--orbit > .h2-wrap { position: relative; z-index: 3; }
/* le titre passe au-dessus des cartes qui tournent, avec un halo sombre pour rester lisible */
.vy-station--orbit .h2-title, .vy-station--orbit .vy-lede, .vy-station--orbit .vy-more { position: relative; z-index: 30; text-shadow: 0 0 14px #0A0A0A, 0 0 28px #0A0A0A; }
.vy-station--orbit .vy-lede { max-width: 34ch; }
.vy-acts { margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; border-top: 2px solid #F7F5F2; }
.vy-act { border-bottom: 1px solid rgb(247 245 242 / .2); }
.vy-act__link { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: start; gap: var(--h2-s4); padding: 22px 0; color: inherit; text-decoration: none; }
.vy-act__date { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; line-height: .9; }
.vy-act__body { grid-column: 2; grid-row: 1; display: grid; gap: 4px; }
.vy-act__poster { grid-column: 3; grid-row: 1; align-self: start; width: 120px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--h2-radius); }
.vy-act__date .h2-day { font: 700 2.4rem/.9 var(--h2-ff-display); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; }
.vy-act__date .h2-mon { margin-top: 6px; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.vy-act__date.is-undated { min-width: 0; }
.vy-act__title { font: 700 1.3rem/1.15 var(--h2-ff-display); letter-spacing: -.02em; }
.vy-act__meta { color: rgb(247 245 242 / .78); font-size: .95rem; }
.vy-act__state { color: #4FD8D8; font-weight: 700; }
.vy-act__state::after { content: " \2192"; }
a.vy-act__link:hover .vy-act__title { text-decoration: underline; text-decoration-color: #19B4B4; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.vy-act.is-closed .vy-act__link { opacity: .6; }
.vy-act.is-closed .vy-act__state::after { content: ""; }

/* mode orbite : toutes les activités tournent en même temps autour de la planète ; voyage.js pose chaque carte.
   Survol ou focus : l'orbite s'arrête, la carte grandit et montre ses détails. */
.is-orbit .vy-acts { margin: 0; border: 0; }
.is-orbit .vy-act { position: fixed; top: 0; left: 0; z-index: 2; width: 176px; border: 0; visibility: hidden; will-change: transform, opacity; transition: opacity .3s; }
.is-orbit .vy-act__link { position: relative; display: block; padding: 0; overflow: hidden; background: #0A0A0A; border: 2px solid #19B4B4; border-radius: var(--h2-radius); box-shadow: 0 10px 30px rgb(0 0 0 / .45); }
.is-orbit .vy-act__poster { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.is-orbit .vy-act__date { position: absolute; top: 6px; left: 6px; align-items: center; padding: 4px 7px; background: #0A0A0A; border-radius: 4px; }
.is-orbit .vy-act__date .h2-day { font-size: 1.35rem; }
.is-orbit .vy-act__date .h2-mon { margin-top: 3px; font-size: .62rem; }
.is-orbit .vy-act:not(.has-poster) .vy-act__date { position: static; align-items: flex-start; padding: 10px 12px 0; background: none; }
.is-orbit .vy-act__body { padding: 8px 10px 10px; gap: 2px; }
.is-orbit .vy-act__title { display: -webkit-box; overflow: hidden; font-size: .95rem; line-height: 1.12; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.is-orbit .vy-act__meta { display: none; font-size: .8rem; }
.is-orbit .vy-act__state { font-size: .85rem; }
.is-orbit .vy-act:hover .vy-act__meta, .is-orbit .vy-act:focus-within .vy-act__meta { display: block; }
.is-orbit .vy-act:hover .vy-act__link, .is-orbit .vy-act:focus-within .vy-act__link { box-shadow: 0 0 0 5px rgb(25 180 180 / .3), 0 24px 60px rgb(0 0 0 / .6); }
.is-orbit a.vy-act__link:hover .vy-act__body, .is-orbit a.vy-act__link:focus-visible .vy-act__body { background: #19B4B4; color: #0A0A0A; }
.is-orbit a.vy-act__link:hover .vy-act__meta, .is-orbit a.vy-act__link:hover .vy-act__state,
.is-orbit a.vy-act__link:focus-visible .vy-act__meta, .is-orbit a.vy-act__link:focus-visible .vy-act__state { color: #0A0A0A; }
.is-orbit a.vy-act__link:hover .vy-act__title { text-decoration: none; }

/* ---------- stations 3 et 4 : rangées filetées (soutien scolaire, rejoindre) ---------- */
.vy-side { display: grid; justify-content: end; }
.vy-side > * { width: min(100%, 560px); }
.vy-rows { margin: var(--h2-s5) 0 0; padding: 0; list-style: none; border-top: 2px solid #F7F5F2; }
.vy-row { display: flex; align-items: center; justify-content: space-between; gap: var(--h2-s4); padding: 18px 0; border-bottom: 1px solid rgb(247 245 242 / .2); }
.vy-row__main { display: grid; gap: 2px; }
.vy-row__name { font: 700 1.2rem/1.15 var(--h2-ff-display); letter-spacing: -.02em; }
.vy-row__meta { color: rgb(247 245 242 / .78); font-size: .95rem; }
/* qui es-tu : trois grands mots ; celui qu'on survole ou qu'on atteint au clavier s'ouvre (le premier l'est par défaut) */
.vy-portals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: min(760px, 58vw); margin: 0; padding: 0; list-style: none; }
.vy-portal { display: flex; }
.vy-portal__link { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 18px 16px 16px; color: inherit; text-decoration: none; background: rgb(10 10 10 / .72); border: 1.5px solid rgb(247 245 242 / .28); border-radius: var(--h2-radius); backdrop-filter: blur(6px); transition: border-color .2s ease, background .2s ease; }
.vy-portal__link:hover, .vy-portal__link:focus-visible { border-color: #19B4B4; background: rgb(10 10 10 / .86); }
.vy-portal__name { display: block; font: 700 clamp(1.35rem, .9rem + 1.5vw, 2rem)/1 var(--h2-ff-display); letter-spacing: -.02em; }
.vy-portal__more, .vy-portal__inner { display: flex; flex: 1; flex-direction: column; gap: 14px; }
.vy-portal__txt { flex: 1; font-size: .92rem; line-height: 1.45; color: rgb(247 245 242 / .84); }
.vy-portal__action { color: #4FD8D8; font-weight: 700; }
.vy-portal__action::after { content: " \2192"; }
@media (max-width: 900px) {
  .vy-portals { grid-template-columns: 1fr; max-width: none; }
  .vy-portal__name { font-size: 1.7rem; }
}

/* étoile de « To make our ★ shine » : une place réservée dans le texte ; la vraie étoile 3D est dessinée par star.js sur un canvas fixe au-dessus de la page */
.vy-star3d { position: relative; display: inline-block; flex: none; width: 1.55em; height: 1.55em; vertical-align: -.35em; }
.vy-star3d[data-owner="gl"] { visibility: hidden; }
.vy-star-gl { position: fixed; inset: 0; z-index: 6; width: 100vw; height: 100vh; pointer-events: none; }

/* ---------- station 5 : contact (formulaire sur fond encre) ---------- */
.vy-contact > div { max-width: 620px; }
.vy .h2-field label { color: #F7F5F2; }
.vy .h2-field input, .vy .h2-field textarea { background: rgb(247 245 242 / .08); border-color: rgb(247 245 242 / .45); color: #F7F5F2; }
.vy .h2-field input:focus, .vy .h2-field textarea:focus { border-color: #19B4B4; outline: 3px solid #61E6FF; outline-offset: 1px; }
.vy .h2-direct { color: rgb(247 245 242 / .78); }
.vy .h2-direct a { color: #4FD8D8; }
.vy .h2-feedback { color: #F7F5F2; }

/* ---------- mobile : titre et portes d'abord ; les activités restent en liste filetée ---------- */
@media (max-width: 768px) {
  .vy-station { min-height: 0; padding-block: clamp(40px, 8vh, 72px); }
  .vy-station--intro { min-height: calc(100svh - 70px - 120px); justify-content: flex-start; padding-top: 28px; }
  .vy-station--orbit { min-height: 0; }
  .vy-station--intro::before { background: linear-gradient(180deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .62) 52%, rgb(10 10 10 / 0) 86%); }
  .vy-station--support::before, .vy-station--join::before { background: rgb(10 10 10 / .82); }
  .vy-side { justify-content: stretch; }
  .vy-fallback-planet { top: auto; bottom: -6%; right: -14%; width: 78vw; translate: 0 0; opacity: .85; }
  .vy-row { flex-wrap: wrap; }
  .vy-row .h2-btn { width: 100%; }
  .vy-doors .h2-btn { width: 100%; }
  .vy-doors li { flex: 1 1 100%; }
}
/* téléphone : les activités défilent en bande horizontale, une affiche par carte, comme sur l'orbite */
@media (max-width: 768px) {
  .vy-acts { display: flex; gap: 12px; margin-inline: calc(var(--h2-gutter, 16px) * -1); padding: 18px var(--h2-gutter, 16px) 8px; overflow-x: auto; border-top: 0; scroll-snap-type: x mandatory; scroll-padding-inline: var(--h2-gutter, 16px); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .vy-acts::-webkit-scrollbar { display: none; }
  .vy-act { flex: 0 0 min(72vw, 270px); border: 0; scroll-snap-align: start; }
  .vy-act__link { position: relative; display: block; height: 100%; padding: 0; overflow: hidden; background: #0A0A0A; border: 2px solid #19B4B4; border-radius: var(--h2-radius); }
  .vy-act__poster { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .vy-act__date { position: absolute; top: 8px; left: 8px; align-items: center; padding: 5px 8px; background: #0A0A0A; border-radius: 4px; }
  .vy-act__date .h2-day { font-size: 1.5rem; }
  .vy-act__date .h2-mon { margin-top: 3px; font-size: .66rem; }
  .vy-act:not(.has-poster) .vy-act__date { position: static; align-items: flex-start; padding: 12px 12px 0; background: none; }
  .vy-act__body { padding: 10px 12px 12px; gap: 3px; }
  .vy-act__title { font-size: 1.05rem; }
  .vy-act__meta { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .vy-gl { display: none; } }

/* ---------- en-tête et menu : nuit, comme le reste de la page (le thème clair/sombre n'a plus de sens ici) ---------- */
:root:has(.vy) :is(.h2h, .h2h__menu) { --h2-paper: #0A0A0A; --h2-ink: #F7F5F2; --h2-line: rgb(247 245 242 / .2); --h2-muted: rgb(247 245 242 / .78); --h2-teal-ink: #4FD8D8; color: #F7F5F2; }
:root:has(.vy) .h2h { background: rgb(10 10 10 / .94); border-bottom: 1px solid rgb(247 245 242 / .22); }   /* pas de backdrop-filter : il piégerait le menu plein écran (position: fixed) dans la barre */
:root:has(.vy) .h2h__menu { background: #0A0A0A; }
:root:has(.vy) .h2h__brand img { background: #F7F5F2; }
:root:has(.vy) .h2h__nav a { color: rgb(247 245 242 / .82); }
:root:has(.vy) .h2h__nav a:hover, :root:has(.vy) .h2h__nav a[aria-current="page"] { color: #F7F5F2; }
:root:has(.vy) .h2h__nav a[aria-current="page"]::after { background: #19B4B4; }
:root:has(.vy) .h2h__langs a { color: rgb(247 245 242 / .7); }
:root:has(.vy) .h2h__langs a[aria-current="true"] { color: #F7F5F2; }
:root:has(.vy) .h2h__login { color: #F7F5F2; border-color: #F7F5F2; background: transparent; }
:root:has(.vy) .h2h__login:hover { background: #19B4B4; border-color: #19B4B4; color: #0A0A0A; }
:root:has(.vy) .h2h__icon, :root:has(.vy) .h2h__switch, :root:has(.vy) .h2h__menu-label[for], :root:has(.vy) [data-h2h-theme] { display: none; }
:root:has(.vy) .h2h__burger, :root:has(.vy) .h2h__close { color: #F7F5F2; }
:root:has(.vy) .h2h__menu-links a { color: #F7F5F2; }
:root:has(.vy) .h2h__menu-langs a { border-color: rgb(247 245 242 / .5); color: #F7F5F2; }
:root:has(.vy) .h2h__menu-langs a[aria-current="true"] { background: #F7F5F2; color: #0A0A0A; }

/* ---------- Swoley, la mascotte : statique, une phrase courte ; les pupilles regardent autour (coupé si « moins d'animations ») ---------- */
.vy-swoley { display: flex; align-items: center; gap: 18px; width: fit-content; max-width: 100%; margin: var(--h2-s5, 24px) 0; padding: 0; }
.vy-swoley__art { flex: none; width: 112px; height: auto; overflow: visible; }
.vy-swoley__say { position: relative; max-width: 34ch; padding: 12px 16px; font: 700 1.05rem/1.3 var(--h2-ff-display, "Baloo 2", system-ui, sans-serif); color: #F7F5F2; background: rgb(247 245 242 / .08); border: 1.5px solid #19B4B4; border-radius: 6px; }
.vy-swoley__say::before { content: ""; position: absolute; top: 50%; left: -8px; width: 14px; height: 14px; background: #0A0A0A; border-left: 1.5px solid #19B4B4; border-bottom: 1.5px solid #19B4B4; transform: translateY(-50%) rotate(45deg); }
.vy-swoley--sm .vy-swoley__art { width: 84px; }
.vy-swoley--sm .vy-swoley__say { font-size: .98rem; }
@media (max-width: 520px) { .vy-swoley { flex-direction: column; align-items: flex-start; } .vy-swoley__say::before { top: -8px; left: 36px; transform: rotate(135deg); } }

/* Swoley en 3D (voyage.js / swoley3d.js) : le canvas remplace le SVG, qui reste en repli sans WebGL */
.vy-swoley__gl { flex: none; display: block; width: 132px; height: 132px; }
.vy-swoley--sm .vy-swoley__gl { width: 100px; height: 100px; }
.vy-swoley.is-3d .vy-swoley__art { display: none; }

/* Swoley en pied (Join us) : au-dessus de la carte, il la désigne du bras ; sa bulle est au-dessus de lui */
.vy-swoley--body { flex-direction: column-reverse; align-items: center; gap: 4px; }
.vy-swoley--body .vy-swoley__gl { width: min(300px, 70vw); height: min(380px, 88vw); margin-top: -8px; }
.vy-swoley--body .vy-swoley__art { width: 160px; }
.vy-swoley--body .vy-swoley__say { text-align: center; max-width: 30ch; }
.vy-swoley--body .vy-swoley__say::before { top: auto; bottom: -8px; left: 50%; transform: translateX(-50%) rotate(-45deg); }
@media (min-width: 900px) {
  .vy-inner .h2r__hero .h2-wrap { position: relative; }
  .vy-inner .h2r__swoley { position: absolute; right: 0; bottom: -220px; z-index: 3; margin: 0; }
}
@media (max-width: 899px) { .vy-inner .h2r__swoley { margin: 24px auto 0; } }

/* pendant le chargement de la 3D, la planète plate de repli reste invisible (pas de flash plat puis 3D) ; elle revient si la 3D échoue */
.vy-fallback-planet, .vy-inner-planet { transition: opacity .5s ease; }
.vy.vy-wait .vy-fallback-planet, .vy.vy-wait .vy-inner-planet { opacity: 0; }

/* Swoley : le dessin 2D de repli reste invisible pendant le chargement de la 3D (sa place est réservée, pas de saut), il revient si la 3D échoue */
.vy.vy-wait .vy-swoley__art { visibility: hidden; }
.vy.vy-wait .vy-swoley:not(.is-3d) .vy-swoley__art { width: 132px; height: 132px; }
.vy.vy-wait .vy-swoley--sm:not(.is-3d) .vy-swoley__art { width: 100px; height: 100px; }
.vy.vy-wait .vy-swoley--body:not(.is-3d) .vy-swoley__art { width: min(300px, 70vw); height: min(380px, 88vw); }

/* pied de page : au-dessus de la planète et du voile fixes (sinon la planète passe par-dessus ses liens et le voile les assombrit) */
:root:has(.vy) .h2f { position: relative; z-index: 3; background: #0A0A0A; }
html.night .site-footer { position: relative; z-index: 3; }
@media (max-width: 768px) { .vy-station--contact .h2-form { background: rgb(10 10 10 / .72); padding: 14px; border-radius: 6px; } }

/* le pied de page fond doucement la planète dans le noir (pas de coupure nette) ; cartes des portails plus opaques (la planète ne transparaît plus derrière le texte) */
:root:has(.vy) .h2f { box-shadow: 0 -90px 90px -50px #0A0A0A; }
.vy-portal__link { background: rgb(10 10 10 / .88); }

/* Swoley en pied : cadre agrandi pour que tout le piédestal (deux marches, faisceau) tienne sans être rogné */
.vy-swoley--body .vy-swoley__gl { width: min(350px, 78vw); height: min(450px, 100vw); }
.vy.vy-wait .vy-swoley--body:not(.is-3d) .vy-swoley__art { width: min(350px, 78vw); height: min(450px, 100vw); }
@media (min-width: 900px) { .vy-inner .h2r__swoley { bottom: -280px; right: -20px; } }

/* pendant un défilement rapide, le fond animé (scintillement, étoiles filantes) fait une pause : moins de recomposition, moins de lag */
.vy.is-scrolling .vy-sky i, .vy.is-scrolling .vy-shoot i { animation-play-state: paused; }
