/* Scène Immersive animée · commun v1.0.15 (décision de Benoit du 30/11/2026). Mise en page seulement, toute encapsulée sous
   .wsra-scene ; couleurs, polices et dessin dans la feuille du site (variables --wsra-scene-*). Aucune règle globale, aucun débordement
   horizontal masqué. Le défilement de la page n'est jamais bloqué : la scène est collée sous l'en-tête pendant que les étapes
   défilent. Petits écrans (≤ 760 px) : version légère. Mouvement réduit : aucune transition ni animation. */
.wsra-scene { --wsra-scene-haut: 112px; --wsra-scene-p: 0; position: relative; isolation: isolate; color: var(--wsra-scene-texte, inherit); background: var(--wsra-scene-fond, transparent); font-family: var(--wsra-scene-corps-police, inherit); }
.wsra-scene *, .wsra-scene *::before, .wsra-scene *::after { box-sizing: border-box; }
.wsra-scene .wsra-scene-intro { max-width: var(--wsra-scene-maxw, 1240px); margin: 0 auto; padding: clamp(48px, 8vw, 112px) clamp(16px, 4vw, 40px) clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.wsra-scene .wsra-scene-intro-txt { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.wsra-scene .wsra-scene-sur { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wsra-scene-discret, inherit); }
.wsra-scene .wsra-scene-titre { margin: 0; font-family: var(--wsra-scene-titre-police, inherit); font-weight: var(--wsra-scene-titre-graisse, 400); font-size: clamp(38px, 6vw, 82px); line-height: 1.02; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.wsra-scene .wsra-scene-chapo { margin: 0; max-width: 56ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.wsra-scene .wsra-scene-apercu { min-width: 0; aspect-ratio: 1; max-height: 380px; width: 100%; justify-self: center; }
.wsra-scene .wsra-scene-apercu svg { width: 100%; height: 100%; display: block; }
.wsra-scene .wsra-scene-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.wsra-scene .wsra-scene-note { margin: 0; font-size: 13px; color: var(--wsra-scene-discret, inherit); }
.wsra-scene .wsra-scene-bouton { appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; min-height: 48px; padding: 14px 24px; border-radius: var(--wsra-scene-r, 999px); border: 1px solid var(--wsra-scene-accent, currentColor); background: var(--wsra-scene-accent, transparent); color: var(--wsra-scene-accent-texte, inherit); }
.wsra-scene .wsra-scene-bouton:hover { filter: brightness(1.08); }
.wsra-scene .wsra-scene-bouton.is-second { background: transparent; color: inherit; border-color: currentColor; }
.wsra-scene .wsra-scene-bouton:focus-visible, .wsra-scene .wsra-scene-choix button:focus-visible, .wsra-scene .wsra-scene-etape h3:focus-visible { outline: 3px solid var(--wsra-scene-focus, currentColor); outline-offset: 3px; }
.wsra-scene .wsra-scene-corps[hidden] { display: none !important; }
.wsra-scene .wsra-scene-corps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); max-width: var(--wsra-scene-maxw, 1240px); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) clamp(48px, 8vw, 96px); }
.wsra-scene .wsra-scene-plateau { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--wsra-scene-haut) + 12px); z-index: 1; height: calc(100vh - var(--wsra-scene-haut) - 24px); height: calc(100svh - var(--wsra-scene-haut) - 24px); min-height: 360px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px; padding: 14px; border-radius: var(--wsra-scene-r-plateau, 18px); background: var(--wsra-scene-plateau, transparent); }
.wsra-scene .wsra-scene-haut-plateau { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wsra-scene .wsra-scene-points { display: flex; gap: 6px; flex: 1; max-width: 260px; }
.wsra-scene .wsra-scene-points span { flex: 1; height: 3px; border-radius: 3px; background: currentColor; opacity: .22; transition: opacity .3s; }
.wsra-scene .wsra-scene-points span.is-on { opacity: .9; }
.wsra-scene .wsra-scene-quitter { appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; min-height: 40px; padding: 8px 14px; border-radius: var(--wsra-scene-r, 999px); border: 1px solid currentColor; background: transparent; color: inherit; }
.wsra-scene .wsra-scene-quitter:focus-visible { outline: 3px solid var(--wsra-scene-focus, currentColor); outline-offset: 2px; }
.wsra-scene .wsra-scene-svg { min-height: 0; display: grid; place-items: center; }
.wsra-scene .wsra-scene-svg svg { width: 100%; height: 100%; max-height: 100%; display: block; }
.wsra-scene .wsra-scene-commandes { display: grid; gap: 10px; }
.wsra-scene .wsra-scene-choix { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; border: 0; min-width: 0; }
.wsra-scene .wsra-scene-choix-t { width: 100%; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wsra-scene-discret, inherit); }
.wsra-scene .wsra-scene-choix button { appearance: none; cursor: pointer; font: inherit; font-size: 14px; line-height: 1.2; min-height: 40px; padding: 8px 14px; border-radius: var(--wsra-scene-r, 999px); border: 1px solid var(--wsra-scene-ligne, currentColor); background: transparent; color: inherit; }
.wsra-scene .wsra-scene-choix button[aria-pressed="true"] { background: var(--wsra-scene-accent, currentColor); border-color: var(--wsra-scene-accent, currentColor); color: var(--wsra-scene-accent-texte, inherit); }
.wsra-scene .wsra-scene-sortie { margin: 0; min-height: 1.5em; font-size: 14px; line-height: 1.5; }
.wsra-scene .wsra-scene-etapes { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; min-width: 0; }
.wsra-scene .wsra-scene-etape { min-height: 72vh; min-height: 72svh; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px 0; opacity: .38; transition: opacity .45s ease; }
.wsra-scene .wsra-scene-etape:last-child { min-height: 80vh; min-height: 80svh; }
.wsra-scene .wsra-scene-etape.is-on { opacity: 1; }
.wsra-scene .wsra-scene-num { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wsra-scene-discret, inherit); }
.wsra-scene .wsra-scene-etape h3 { margin: 0; font-family: var(--wsra-scene-titre-police, inherit); font-weight: var(--wsra-scene-titre-graisse, 400); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; }
.wsra-scene .wsra-scene-etape p { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; }
.wsra-scene .wsra-scene-fin { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.wsra-scene .wsra-scene-fin a { font-weight: 600; color: inherit; text-underline-offset: 4px; }
.wsra-scene .wsra-scene-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Petits écrans : version légère (scène plus basse collée en haut, décor allégé, étapes dessous) */
@media (max-width: 760px) {
  .wsra-scene .wsra-scene-intro { grid-template-columns: minmax(0, 1fr); }
  .wsra-scene .wsra-scene-apercu { max-height: 240px; max-width: 280px; }
  .wsra-scene .wsra-scene-corps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wsra-scene .wsra-scene-plateau { grid-column: 1; grid-row: 1; top: calc(var(--wsra-scene-haut) + 4px); height: auto; min-height: 0; padding: 10px; gap: 8px; grid-template-rows: auto auto auto auto; background: var(--wsra-scene-plateau-mobile, var(--wsra-scene-fond, #fff)); box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .45); }
  .wsra-scene .wsra-scene-svg { height: 28vh; height: 28svh; }
  .wsra-scene .wsra-scene-etapes { grid-column: 1; grid-row: 2; }
  .wsra-scene .wsra-scene-etape { min-height: 58vh; min-height: 58svh; padding: 16px 0 24px; justify-content: flex-start; }
  .wsra-scene .wsra-scene-etape:last-child { min-height: 64vh; min-height: 64svh; }
  .wsra-scene .wsra-scene-commandes { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 2px; }
  .wsra-scene .wsra-scene-choix { flex: none; flex-wrap: nowrap; gap: 6px; }
  .wsra-scene .wsra-scene-choix button { font-size: 13px; padding: 7px 11px; min-height: 36px; white-space: nowrap; }
  .wsra-scene .wsra-scene-choix-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .wsra-scene .wsra-scene-sortie { font-size: 12.5px; line-height: 1.4; min-height: 0; }
  .wsra-scene .wsra-scene-deco { display: none; }
}
/* Mouvement réduit : la scène s'affiche sans mouvement, chaque étape d'un coup, tout reste lisible */
@media (prefers-reduced-motion: reduce) {
  .wsra-scene *, .wsra-scene *::before, .wsra-scene *::after { transition: none !important; animation: none !important; }
  .wsra-scene .wsra-scene-etape { opacity: 1; }
}
/* v1.0.16 : fil d'Ariane « Immersive » au-dessus de l'expérience (encapsulé dans le bloc) */
.wsra-scene-bloc .wsra-scene-ariane { box-sizing: border-box; max-width: 1360px; margin: 0 auto; padding: 14px 24px 0; font-size: 14px; line-height: 1.5; }
.wsra-scene-bloc .wsra-scene-ariane a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wsra-scene-bloc .wsra-scene-ariane [aria-current] { font-weight: 700; }
@media (max-width: 760px) { .wsra-scene-bloc .wsra-scene-ariane { padding: 10px 16px 0; font-size: 13px; } .wsra-scene-bloc .wsra-scene-ariane-n { display: none; } }
