/* Pinapp voyage — V2 layout + V2.3 (Aladdin shell) + V2.4 prep (vidéos muettes) */
/* Pinapp — page voyage V2 (layout scènes + nav + formulaires) */
/* lightshafts.css inliné — supprime le @import bloquant (V8.3) */
/* Pinapp V3.0 Phase 1 — volumetric light (CSS only, no scroll coupling) */
@keyframes lightshaft-drift {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.lightshaft {
  position: relative;
}

.lightshaft::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: conic-gradient(
    from var(--shaft-angle, 45deg) at 50% 50%,
    transparent 0deg,
    rgba(230, 185, 115, 0.12) 20deg,
    transparent 40deg,
    transparent 360deg
  );
  mix-blend-mode: screen;
  filter: blur(80px);
  opacity: 0.4;
  animation: lightshaft-drift 60s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .lightshaft::before {
    animation: none;
    opacity: 0.22;
  }
}

html.voyage-sober .lightshaft::before {
  display: none;
}

.voyage-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.voyage-skip:focus {
  left: var(--s-4);
  top: var(--s-4);
  width: auto;
  height: auto;
  padding: var(--s-3) var(--s-6);
  background: var(--bg-elevated);
  color: var(--cyan-glow);
  z-index: 200000;
  border-radius: var(--r-md);
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
}

.skip-to-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-to-main:focus {
  left: max(var(--s-4), env(safe-area-inset-left));
  top: max(var(--s-4), env(safe-area-inset-top));
  width: auto;
  height: auto;
  padding: var(--s-3) var(--s-6);
  background: var(--bg-elevated);
  color: var(--cyan-glow);
  z-index: 200001;
  border-radius: var(--r-md);
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
  text-decoration: none;
}

html.voyage-page *:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* V2.6 — en-tête site (logo + liens + menu + sobre) */
.voyage-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: max(var(--s-3), env(safe-area-inset-top)) max(var(--s-4), env(safe-area-inset-right)) var(--s-3)
    max(var(--s-4), env(safe-area-inset-left));
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.72) 0%, rgba(5, 11, 20, 0) 100%);
}
.voyage-site-header > * {
  pointer-events: auto;
}
.voyage-site-header__brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.voyage-site-header__brand:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}
.voyage-site-header__nav {
  display: none;
  align-items: center;
  gap: var(--s-6);
  font-size: 0.8125rem;
  font-weight: 500;
}
.voyage-site-header__nav a {
  color: var(--text-secondary);
  text-decoration: none;
  opacity: 0.88;
  transition: color var(--d-short) var(--ease), opacity var(--d-short) var(--ease);
}
.voyage-site-header__nav a:hover,
.voyage-site-header__nav a:focus-visible {
  color: var(--cyan-glow);
  opacity: 1;
}
.voyage-site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-left: auto;
}
@media (min-width: 900px) {
  .voyage-site-header__nav {
    display: flex;
  }
  .voyage-site-header__menu {
    display: none !important;
  }
}
@media (max-width: 899px) {
  .voyage-site-header__nav {
    display: none;
  }
}

#s1 .voyage-scene__inner {
  padding-top: calc(var(--s-16) + 2.75rem);
}

.voyage-hero-intro .voyage-hero-block {
  will-change: opacity, transform;
}
html.voyage-sober .voyage-hero-intro .voyage-hero-block {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
@media (prefers-reduced-motion: reduce) {
  .voyage-hero-intro .voyage-hero-block {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

.voyage-icon-btn {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(62, 245, 224, 0.35);
  background: rgba(15, 26, 46, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: var(--cyan-glow);
  font-size: 1.15rem;
  cursor: pointer;
  touch-action: manipulation;
}
.voyage-icon-btn:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 3px;
}

.voyage-nav {
  position: fixed;
  inset: 0;
  z-index: 100040;
  background: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: max(var(--s-8), env(safe-area-inset-top)) var(--s-6);
  transform: translateX(100%);
  transition: transform var(--d-med) var(--ease);
  overflow-y: auto;
}
.voyage-nav.is-open {
  transform: translateX(0);
}
.voyage-nav__inner {
  max-width: 28rem;
  margin-left: auto;
}
.voyage-nav h2 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: var(--s-8) 0 var(--s-3);
}
.voyage-nav h2:first-child {
  margin-top: 0;
}
.voyage-nav a {
  display: block;
  padding: var(--s-3) 0;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.voyage-nav a:hover,
.voyage-nav a:focus-visible {
  color: var(--cyan-glow);
}
.voyage-nav__close {
  margin-bottom: var(--s-8);
}

.voyage-scene {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  isolation: isolate;
  padding-block: var(--space-cinema-lg);
  margin: 0;
  border: none;
}

.scene-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  opacity: 0.7;
  margin: 0 0 1.5rem 0;
  display: block;
}

/* V5.0 — H2 pilotes lisible sur fond vidéo (WCAG) */
#s2 #voyage-duo-title {
  color: var(--ivory-text);
  text-shadow:
    0 1px 2px rgba(10, 20, 37, 0.5),
    0 0 20px rgba(10, 20, 37, 0.3);
}

.manifesto-text {
  font-family: var(--font-accent);
  font-style: italic;
}

.auto-stats.glass-card {
  padding: var(--s-6);
}

.end-credits {
  font-family: var(--font-accent);
  font-style: italic;
  text-align: center;
  padding: var(--space-cinema-lg) var(--space-cinema-sm);
  color: rgba(244, 228, 193, 0.88);
}
.end-credits p {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0.4rem 0;
}
.end-credits strong {
  color: var(--gold-primary);
  font-weight: 500;
}

/* Glass + portraits : clip contenu */
figure.pilote.glass-card {
  overflow: hidden;
}
figure.pilote.glass-card .pilote__photo {
  border-radius: 16px;
}

/* Hauteurs chapitres V2.5 — 9 chapitres (data-chapter sur .voyage-scene) */
.voyage-scene[data-chapter='1'],
.voyage-scene[data-chapter='2'] {
  min-height: 100vh;
  min-height: 100svh;
}
.voyage-scene[data-chapter='3'],
.voyage-scene[data-chapter='4'] {
  min-height: 120vh;
  min-height: 120svh;
}
.voyage-scene[data-chapter='5'],
.voyage-scene[data-chapter='6'],
.voyage-scene[data-chapter='7'] {
  min-height: 100vh;
  min-height: 100svh;
}
.voyage-scene[data-chapter='8'],
.voyage-scene[data-chapter='9'] {
  min-height: 140vh;
  min-height: 140svh;
}

@media (max-width: 720px) {
  .voyage-scene--automation {
    min-height: auto;
    padding-block: var(--s-12);
  }
}

@media (min-width: 721px) {
  .voyage-scene--automation {
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* Couche cinéma plein écran : masque les fonds vidéo par section (scrub centralisé) */
html.voyage-v24-cinema .voyage-scene__bg {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-short) var(--ease);
}

html.voyage-sober #voyage-cinema {
  display: none !important;
}

.cinema {
  position: fixed;
  inset: 0;
  z-index: var(--v24-cinema-z);
  pointer-events: none;
  overflow: hidden;
}

/* V2.6 — cinéma derrière le contenu, pas de double stack vidéo (évite noir si seul le layer compte) */
html.voyage-v24-cinema:not(.voyage-sober) #voyage-cinema.cinema {
  z-index: 0 !important;
}
html.voyage-v24-cinema:not(.voyage-sober) #voyage-main {
  position: relative;
  z-index: 2;
  background: transparent !important;
}
html.voyage-v24-cinema:not(.voyage-sober):not(.voyage-v40-per-scene) .voyage-scene__media-stack {
  display: none !important;
}

/* V5.0 — fond vidéo par scène : toujours afficher la pile média */
html.voyage-v40-per-scene .voyage-scene__bg {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Quand le scrubber active le cinéma : forcer une boîte viewport (évite offset 0×0 si [hidden] / UA). */
html.voyage-v24-cinema #voyage-cinema.cinema:not([hidden]) {
  display: block !important;
  width: 100vw;
  width: 100dvw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
}

#voyage-main {
  position: relative;
  z-index: 1;
}

.cinema[hidden] {
  display: none !important;
}
.cinema__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: none;
}
.cinema__track.is-active {
  opacity: 1;
}
.chapter__content {
  position: relative;
  z-index: var(--v24-chapter-content-z);
  width: 100%;
}
.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.voyage-scene__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.voyage-scene__media-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.voyage-scene__media-stack picture,
.voyage-scene__media-stack .lieu-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.voyage-scene__media-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
}
.voyage-scene__media-stack .lieu-bg-video {
  display: none;
  object-fit: cover;
  pointer-events: none;
}
.voyage-scene__media-stack.has-video .lieu-bg-video {
  display: block;
}
.voyage-scene__media-stack.has-video picture {
  opacity: 0;
  pointer-events: none;
}

.voyage-scene--edge-fade .lieu-bg-video {
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

html.voyage-v41-magic-media .voyage-scene__veil {
  background: linear-gradient(
    180deg,
    rgba(10, 20, 37, 0.35) 0%,
    rgba(10, 20, 37, 0.55) 50%,
    rgba(10, 20, 37, 0.65) 100%
  );
}

.voyage-scene__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.55) 0%, rgba(5, 11, 20, 0.25) 40%, rgba(5, 11, 20, 0.75) 100%);
  pointer-events: none;
  opacity: 0.88;
  will-change: opacity;
}
.voyage-scene__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 72rem;
  padding: max(var(--s-16), var(--space-cinema-sm)) max(var(--s-6), clamp(1.5rem, 5vw, 4rem))
    max(var(--s-24), var(--space-cinema-sm));
}
.voyage-scene--duo .voyage-scene__inner {
  max-width: 56rem;
}
.voyage-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-8);
}
@media (max-width: 767px) {
  .voyage-duo-grid {
    grid-template-columns: 1fr;
  }
}
.voyage-card {
  background: rgba(15, 26, 46, 0.55);
  border: 1px solid rgba(166, 127, 255, 0.12);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.voyage-card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
}

.voyage-portrait-wrap {
  position: relative;
  margin: 0 0 var(--s-4);
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% var(--r-md) var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(166, 127, 255, 0.14);
  transform: translateZ(0);
}

.voyage-card .voyage-portrait-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
}

.voyage-portrait-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(62, 245, 224, 0.18), rgba(230, 185, 115, 0.14));
}

.voyage-card .voyage-portrait-fallback--michael {
  background: linear-gradient(145deg, rgba(230, 185, 115, 0.2), rgba(62, 245, 224, 0.12));
}

.voyage-portrait-fallback__initials {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.voyage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.voyage-badge {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  border: 1px solid rgba(62, 245, 224, 0.25);
  color: var(--text-secondary);
}
.voyage-welcome-note {
  margin-top: var(--s-8);
  font-family: ui-serif, Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--amber-warm);
  opacity: 0.85;
}
.voyage-scroll-hint {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: voyage-pulse 2.4s ease-in-out infinite;
}
@keyframes voyage-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voyage-scroll-hint {
    animation: none;
    opacity: 0.6;
  }
}

.voyage-watermark {
  position: absolute;
  bottom: var(--s-6);
  right: var(--s-6);
  width: min(28vw, 140px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 3;
}

.voyage-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-8);
}
@media (max-width: 767px) {
  .voyage-pillars {
    grid-template-columns: 1fr;
  }
}
.voyage-pillar {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: rgba(15, 26, 46, 0.5);
  border: 1px solid rgba(62, 245, 224, 0.12);
}
.voyage-pillar strong {
  color: var(--cyan-soft);
}

.voyage-planet {
  position: relative;
  margin-top: var(--s-8);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.voyage-planet svg {
  width: 100%;
  height: auto;
  display: block;
}
.voyage-planet-hub {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--s-8);
}
.voyage-planet-hub__motion {
  transform-origin: 50% 50%;
}
.voyage-planet-hub__svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 auto;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  #s3 .voyage-planet-hub__motion.is-revealed .voyage-planet-hub__svg {
    animation: voyage-planet-s3-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@keyframes voyage-planet-s3-in {
  from {
    opacity: 0.85;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  #s3 .voyage-planet-hub__motion.is-revealed .voyage-planet-hub__svg {
    animation: none;
  }
}
.voyage-planet-hub__panel {
  margin-top: var(--s-5);
}
.voyage-planet .region {
  cursor: pointer;
  transform: scale(1);
  transform-box: fill-box;
  transform-origin: center;
  outline: none;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s var(--ease);
  touch-action: manipulation;
}
.voyage-planet .region--cyan {
  filter: drop-shadow(0 0 8px rgba(62, 245, 224, 0.35));
}
.voyage-planet .region--violet {
  filter: drop-shadow(0 0 8px rgba(230, 185, 115, 0.32));
}
.voyage-planet .region--pink {
  filter: drop-shadow(0 0 8px rgba(230, 185, 115, 0.3));
}
.voyage-planet .region--amber {
  filter: drop-shadow(0 0 8px rgba(232, 166, 97, 0.38));
}
.voyage-planet .region--cyan:hover,
.voyage-planet .region--cyan:focus-visible {
  transform: scale(1.15);
  filter: drop-shadow(0 0 18px rgba(62, 245, 224, 0.72));
}
.voyage-planet .region--violet:hover,
.voyage-planet .region--violet:focus-visible {
  transform: scale(1.15);
  filter: drop-shadow(0 0 18px rgba(230, 185, 115, 0.55));
}
.voyage-planet .region--pink:hover,
.voyage-planet .region--pink:focus-visible {
  transform: scale(1.15);
  filter: drop-shadow(0 0 18px rgba(230, 185, 115, 0.52));
}
.voyage-planet .region--amber:hover,
.voyage-planet .region--amber:focus-visible {
  transform: scale(1.15);
  filter: drop-shadow(0 0 18px rgba(232, 166, 97, 0.68));
}
@media (prefers-reduced-motion: reduce) {
  .voyage-planet .region {
    transition: none;
  }
  .voyage-planet .region:hover,
  .voyage-planet .region:focus-visible {
    transform: none;
  }
}
.voyage-real-panel {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: rgba(15, 26, 46, 0.75);
  border: 1px solid rgba(166, 127, 255, 0.2);
  min-height: 3.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.voyage-encart-realisations {
  margin-top: var(--s-12);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.voyage-encart-realisations__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 520px) {
  .voyage-encart-realisations__grid {
    grid-template-columns: 1fr;
  }
}
.voyage-encart-realisations__card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(15, 26, 46, 0.55);
  border: 1px solid rgba(62, 245, 224, 0.14);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transform: translateZ(0);
  transition:
    border-color var(--d-short) var(--ease),
    box-shadow var(--d-short) var(--ease);
  touch-action: manipulation;
}
.voyage-encart-realisations__card:hover,
.voyage-encart-realisations__card:focus-visible {
  border-color: rgba(62, 245, 224, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 10px 28px rgba(0, 0, 0, 0.1), var(--glow-cyan);
  outline: none;
}
.voyage-encart-realisations__name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.voyage-encart-realisations__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.voyage-encart-realisations__teaser {
  margin: var(--s-6) 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  text-wrap: balance;
}

/* Ch.4 — constellation décorative (tokens couleur) */
.voyage-constellation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  margin: var(--s-10) auto 0;
  min-height: 4rem;
  max-width: 22rem;
}
.voyage-constellation__orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 20px rgba(62, 245, 224, 0.35);
  opacity: 0.85;
}
.voyage-constellation__orb--violet {
  background: var(--violet-glow);
  box-shadow: 0 0 20px rgba(166, 127, 255, 0.35);
}
.voyage-constellation__orb--amber {
  background: var(--amber-warm);
  box-shadow: 0 0 20px rgba(232, 166, 97, 0.3);
}

/* Ch.5 — tableau comparatif */
.voyage-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: var(--s-4);
  border: 1px solid rgba(62, 245, 224, 0.14);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(15, 26, 46, 0.45);
}
.voyage-stats-table th,
.voyage-stats-table td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}
.voyage-stats-table tr:last-child th,
.voyage-stats-table tr:last-child td {
  border-bottom: none;
}
.voyage-stats-table th {
  font-weight: 600;
  color: var(--text-primary);
  width: 38%;
}
.voyage-cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

/* Ch.7 — grille réalisations + bouton preview Vimeo (sans iframe) */
.voyage-real-grid {
  list-style: none;
  margin: var(--s-10) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-4);
}
.voyage-real-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: rgba(15, 26, 46, 0.55);
  border: 1px solid rgba(62, 245, 224, 0.14);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transform: translateZ(0);
}
.voyage-real-card__link {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  text-decoration: none;
  color: var(--text-primary);
  touch-action: manipulation;
}
.voyage-real-card__link:hover .voyage-real-card__name,
.voyage-real-card__link:focus-visible .voyage-real-card__name {
  color: var(--cyan-soft);
}
.voyage-real-card__link:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
}
.voyage-real-card__name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.voyage-real-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.voyage-real-card__preview {
  align-self: flex-start;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  border: 1px solid rgba(166, 127, 255, 0.35);
  background: rgba(14, 20, 40, 0.55);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color var(--d-short) var(--ease),
    background var(--d-short) var(--ease);
}
.voyage-real-card__preview:hover:not(:disabled),
.voyage-real-card__preview:focus-visible:not(:disabled) {
  border-color: rgba(166, 127, 255, 0.55);
  background: rgba(166, 127, 255, 0.12);
  outline: none;
}
.voyage-real-card__preview:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.voyage-s8-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
}

.voyage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-8);
}
@media (max-width: 1023px) {
  .voyage-split {
    grid-template-columns: 1fr;
  }
}
.voyage-stat {
  margin-bottom: var(--s-6);
}
.voyage-stat__bar {
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: var(--s-2);
}
.voyage-stat__fill {
  height: 100%;
  width: 0%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--cyan-glow), var(--v26-warm-gold));
  transition: width 1.2s var(--ease-out);
}

.voyage-footer {
  padding: var(--s-16) var(--s-6);
  background: var(--bg-void);
  border-top: 1px solid rgba(62, 245, 224, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.voyage-footer a {
  color: var(--cyan-soft);
}
.voyage-footer__grid {
  display: grid;
  gap: var(--s-6);
  max-width: 48rem;
  margin: 0 auto;
}

.voyage-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  /* Lisible sur --bg-void : évite double atténuation (opacity × text-muted) sous Lighthouse */
  color: rgba(244, 228, 193, 0.82);
}
.voyage-footer__trust span {
  white-space: nowrap;
}

.voyage-footer__cookies {
  margin: 0;
}
.voyage-footer__cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  color: rgba(200, 245, 238, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
}
.voyage-footer__cookie-link:hover,
.voyage-footer__cookie-link:focus-visible {
  color: var(--cyan-glow);
}
.voyage-footer__cookie-link:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

.voyage-cookie-dialog {
  margin: auto;
  max-width: 22rem;
  width: calc(100% - 2rem);
  padding: 0;
  border: 1px solid rgba(62, 245, 224, 0.22);
  border-radius: var(--r-lg);
  background: rgba(15, 26, 46, 0.96);
  color: var(--text-secondary);
  box-shadow: var(--shadow-depth);
}
.voyage-cookie-dialog::backdrop {
  background: rgba(5, 11, 20, 0.72);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}
.voyage-cookie-dialog__inner {
  padding: var(--s-8);
}
.voyage-cookie-dialog__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.voyage-cookie-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

html.voyage-sober .voyage-scene__media-stack img,
html.voyage-sober .voyage-scene__media-stack .lieu-bg-video {
  transform: none !important;
}
html.voyage-sober .particles-canvas {
  opacity: 0 !important;
  pointer-events: none !important;
}
html.voyage-sober .reveal {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}


/* ========== V2.3 / V2.4 extensions ========== */
/* Pinapp V2.3 — Nuit d'Arabie × plan-séquence (lieux empilés + scroll long) */

.v23-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.v23-skip:focus {
  left: max(var(--s-4), env(safe-area-inset-left));
  top: max(var(--s-4), env(safe-area-inset-top));
  width: auto;
  height: auto;
  padding: var(--s-3) var(--s-6);
  background: var(--bg-elevated);
  color: var(--cyan-glow);
  z-index: 200000;
  border-radius: var(--r-md);
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
}

.v23-entry {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  background: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.v23-entry[hidden] {
  display: none !important;
}
.v23-entry__panel {
  max-width: 26rem;
  width: 100%;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  border: 1px solid rgba(62, 245, 224, 0.2);
  background: rgba(15, 26, 46, 0.75);
}
.v23-entry__panel h2 {
  margin: 0 0 var(--s-6);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.v23-entry__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.v23-entry__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 48px;
  padding: var(--s-4) var(--s-6);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  touch-action: manipulation;
}
.v23-entry__btn--voyage {
  background: transparent;
  border-color: rgba(62, 245, 224, 0.45);
  color: var(--cyan-soft);
}
.v23-entry__btn--rapide {
  background: rgba(62, 245, 224, 0.1);
  border-color: rgba(62, 245, 224, 0.25);
  color: var(--text-primary);
}

.v23-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100060;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  padding: max(var(--s-3), env(safe-area-inset-top)) max(var(--s-4), env(safe-area-inset-right)) var(--s-2)
    max(var(--s-4), env(safe-area-inset-left));
  pointer-events: none;
}
.v23-topbar > * {
  pointer-events: auto;
}
.v23-milestone {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  border: 1px solid rgba(62, 245, 224, 0.15);
  background: rgba(15, 26, 46, 0.65);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  max-width: min(100%, 14rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v23-icon-btn {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(62, 245, 224, 0.28);
  background: rgba(15, 26, 46, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--cyan-glow);
  font-size: 1rem;
  cursor: pointer;
  touch-action: manipulation;
}
.v23-icon-btn:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 3px;
}

.v23-nav {
  position: fixed;
  inset: 0;
  z-index: 100050;
  background: rgba(5, 11, 20, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: max(var(--s-12), env(safe-area-inset-top)) var(--s-6);
  transform: translateX(100%);
  transition: transform var(--d-med) var(--ease);
  overflow-y: auto;
}
.v23-nav.is-open {
  transform: translateX(0);
}
.v23-nav__inner {
  max-width: 26rem;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.v23-nav a {
  color: var(--cyan-soft);
  text-decoration: none;
  padding: var(--s-2) 0;
  border-bottom: 1px solid rgba(62, 245, 224, 0.08);
}
.v23-nav a:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
}

.v23-float-diag {
  position: fixed;
  right: max(var(--s-4), env(safe-area-inset-right));
  bottom: max(var(--s-6), env(safe-area-inset-bottom));
  z-index: 100040;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.v23-float-diag.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.v23-float-diag a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-full);
  border: 1px solid rgba(62, 245, 224, 0.55);
  background: rgba(5, 11, 20, 0.55);
  color: var(--cyan-soft);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  touch-action: manipulation;
}
.v23-float-diag a:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 3px;
}


/* Lieu 3 marché */
.diegetic-market {
  position: relative;
  width: min(100%, 52rem);
  height: min(70vh, 28rem);
  margin: 0 auto;
}
.diegetic-market__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.2;
}
.diegetic-market__path path {
  fill: none;
  stroke: rgba(62, 245, 224, 0.25);
  stroke-width: 1;
}
.diegetic-market__objects {
  position: absolute;
  inset: 0;
}
.objet-diegetique {
  position: absolute;
  width: min(22vw, 7.5rem);
  height: min(22vw, 7.5rem);
  min-width: 48px;
  min-height: 48px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(62, 245, 224, 0.12));
}
.objet-diegetique img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: v23-spin 60s linear infinite;
}
.objet-diegetique[data-obj='auto'] img {
  animation-duration: 45s;
}
.objet-diegetique[data-obj='ia'] img {
  animation: v23-pulse 3s ease-in-out infinite;
}
.objet-diegetique[data-obj='video'] img {
  animation-duration: 90s;
}
.objet-diegetique:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 4px;
}
.objet-diegetique:hover,
.objet-diegetique:focus-visible {
  filter: drop-shadow(0 0 14px rgba(62, 245, 224, 0.22));
}
@keyframes v23-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes v23-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* Livres lieu 4 */
.v23-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-8);
}
@media (max-width: 639px) {
  .v23-books {
    grid-template-columns: 1fr;
  }
}
.v23-book {
  padding: var(--s-6);
  border-radius: var(--r-md);
  border: 1px solid rgba(166, 127, 255, 0.12);
  background: rgba(15, 26, 46, 0.5);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.v23-book h3 {
  margin: 0 0 var(--s-2);
  font-size: 1rem;
}
.v23-book .prix {
  color: var(--magenta-rare);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Planète lieu 5 */
.v23-planet-wrap {
  margin-top: var(--s-8);
  display: grid;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 768px) {
  .v23-planet-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
.v23-planet {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
}
.v23-planet svg {
  width: 100%;
  height: auto;
  display: block;
}
.v23-planet .region {
  cursor: pointer;
  transition: stroke-width 0.2s var(--ease), opacity 0.2s var(--ease);
}
.v23-planet .region:hover,
.v23-planet .region:focus-visible {
  stroke-width: 3px;
  opacity: 1;
}
.v23-real-panel {
  min-height: 5rem;
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 245, 224, 0.15);
  background: rgba(5, 11, 20, 0.55);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Lieu 6 stats */
.v23-stats {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.v23-stat {
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 245, 224, 0.12);
  background: rgba(15, 26, 46, 0.45);
}
.v23-stat__nums {
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}
.v23-stat__nums .amber {
  color: var(--amber-warm);
  font-weight: 700;
}
.v23-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-8);
}
.v23-badge {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-full);
  border: 1px solid rgba(62, 245, 224, 0.18);
  color: var(--text-muted);
}

/* Lieu 7 signature */
.v23-signature {
  margin-top: var(--s-10);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Lieu 8 form */
.v23-holo {
  margin-top: var(--s-8);
  padding: var(--s-8);
  border-radius: var(--r-lg);
  border: 1px solid rgba(62, 245, 224, 0.35);
  background: rgba(15, 26, 46, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.v23-holo details {
  margin-bottom: var(--s-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: var(--s-2);
}
.v23-holo summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--s-2) 0;
}
.v23-holo summary:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
}
.v23-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.v23-cta-row .btn-primary {
  /* seul magenta primaire lieu 8 */
}

/* Subtitles */
.v23-sub-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(10vh, env(safe-area-inset-bottom));
  z-index: 100030;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 var(--s-4);
}
.v23-sub {
  margin: 0;
  max-width: 36rem;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.25rem, 6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(40px);
  filter: blur(20px);
  transition:
    opacity 1.2s var(--ease),
    transform 1.2s var(--ease),
    filter 1.2s var(--ease);
}
@media (min-width: 1200px) {
  .v23-sub {
    font-size: clamp(2rem, 5vw, 4rem);
  }
}
.v23-sub.is-on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.v23-sub--cyan {
  color: var(--cyan-glow);
}
.v23-sub--magenta {
  color: var(--magenta-rare);
}
.v23-sub--amber {
  color: var(--amber-warm);
}

/* Tooltips + modal */
.v23-tip {
  position: fixed;
  z-index: 110000;
  max-width: min(22rem, 92vw);
  padding: var(--s-6);
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 245, 224, 0.22);
  background: rgba(15, 26, 46, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-depth);
  pointer-events: auto;
}
.v23-tip[hidden] {
  display: none !important;
}
.v23-tip h3 {
  margin: 0 0 var(--s-2);
  font-size: 1rem;
}
.v23-tip .prix {
  color: var(--magenta-rare);
  font-weight: 700;
  margin: var(--s-2) 0;
}
.v23-tip .btn-magenta {
  margin-top: var(--s-4);
  width: 100%;
  padding: var(--s-3);
  border-radius: var(--r-full);
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--magenta-rare);
  color: var(--bg-void);
  box-shadow: var(--glow-magenta);
  font-family: inherit;
  touch-action: manipulation;
}
.v23-tip .btn-magenta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.v23-modal {
  position: fixed;
  inset: 0;
  z-index: 115000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  background: rgba(5, 11, 20, 0.72);
}
.v23-modal[hidden] {
  display: none !important;
}
.v23-modal__inner {
  max-width: 28rem;
  width: 100%;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  border: 1px solid rgba(62, 245, 224, 0.2);
  background: rgba(15, 26, 46, 0.95);
}
.v23-modal__close {
  margin-top: var(--s-6);
  width: 100%;
}

/* Duo silhouettes */
.v23-silhouettes {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 28rem);
  opacity: 0.35;
  pointer-events: none;
  z-index: 8;
}

/* Mode rapide */
.mode-rapide {
  display: none;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100svh;
}
html.v23-rapide .mode-rapide {
  display: block;
}
.mode-rapide__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--s-16) var(--s-6) var(--s-24);
}
.mode-rapide .rapide-hero {
  margin-bottom: var(--s-16);
}
.mode-rapide h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
}
.mode-rapide section {
  margin-bottom: var(--s-16);
}
.mode-rapide .grid-2 {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 640px) {
  .mode-rapide .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.mode-rapide .card {
  padding: var(--s-6);
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 245, 224, 0.12);
  background: rgba(15, 26, 46, 0.45);
}

.v23-cookie {
  position: fixed;
  bottom: max(var(--s-4), env(safe-area-inset-bottom));
  right: max(var(--s-4), env(safe-area-inset-right));
  z-index: 130000;
  max-width: 26rem;
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 245, 224, 0.18);
  background: rgba(15, 26, 46, 0.92);
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: none;
}
.v23-cookie.is-visible {
  display: block;
}

html.v23-sober .particles-canvas,
html.v23-sober .v23-foreground {
  opacity: 0 !important;
}
html.v23-sober .voyage-scene__media-stack img,
html.v23-sober .voyage-scene__media-stack .lieu-bg-video,
html.v23-sober .lieu__media {
  transform: none !important;
  filter: none !important;
}

/* ═══ Chapitre 1 — cercle holo « Bande-annonce » + modal <dialog> (couleurs via tokens --v24-holo-*) ═══ */
html.voyage-page body.is-modal-open {
  overflow: hidden;
}

.holo-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 1;
  margin: clamp(24px, 4vh, 48px) auto;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--v24-holo-stroke);
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  color: var(--text-primary);
  font-family: inherit;
  box-shadow: var(--v24-holo-shadow-rest);
  transition:
    transform var(--d-short) var(--ease),
    box-shadow var(--d-short) var(--ease),
    border-color var(--d-short) var(--ease);
  touch-action: manipulation;
}

.holo-circle__media {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  pointer-events: none;
  z-index: 0;
}

.holo-circle__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.holo-circle__sound-hint {
  position: absolute;
  left: 50%;
  top: -2rem;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
  text-shadow: 0 0 12px rgba(5, 11, 20, 0.85);
}

.holo-circle:hover .holo-circle__sound-hint,
.holo-circle:focus-visible .holo-circle__sound-hint {
  opacity: 1;
}

.holo-circle:hover,
.holo-circle:focus-visible {
  transform: scale(1.05);
  border-color: var(--v24-holo-stroke-strong);
  box-shadow: var(--v24-holo-shadow-hover);
}

.holo-circle:focus-visible {
  outline: 2px solid var(--v24-holo-stroke-strong);
  outline-offset: 4px;
}

.holo-circle__pulse {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid var(--v24-holo-pulse-border);
  pointer-events: none;
  z-index: 2;
  animation: holo-pulse 2600ms var(--ease) infinite;
}

.holo-circle__ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed var(--v24-holo-ring-border);
  pointer-events: none;
  z-index: 2;
  animation: holo-spin 18s linear infinite;
}

@keyframes holo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes holo-spin {
  to {
    transform: rotate(360deg);
  }
}

.holo-circle__badge {
  position: relative;
  z-index: 3;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--v24-holo-badge-bg);
  color: var(--v24-holo-text);
  border: 1px solid var(--v24-holo-badge-border);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  transform: translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  .holo-circle__pulse,
  .holo-circle__ring {
    animation: none;
  }
  .holo-circle {
    transition: none;
  }
  .holo-circle__sound-hint {
    display: none;
  }
}

.holo-modal {
  padding: 0;
  max-width: min(560px, calc(100vw - 32px));
  max-height: min(80vh, 640px);
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  animation: holo-modal-in 280ms var(--ease) forwards;
}

.holo-modal::backdrop {
  background: var(--v24-holo-modal-backdrop);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  animation: holo-backdrop-in 280ms var(--ease-out) forwards;
}

.holo-modal__inner {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(145deg, var(--v24-holo-modal-inner-top) 0%, var(--v24-holo-modal-inner-bot) 100%);
  border: 1px solid var(--v24-holo-modal-border);
  border-radius: var(--r-md);
  box-shadow:
    var(--v24-holo-modal-shadow),
    0 0 48px var(--v24-holo-modal-glow),
    inset 0 1px 0 var(--v24-holo-modal-inset-top);
  transform: translateZ(0);
}

.holo-modal__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--v24-holo-tag-bg);
  color: var(--v24-holo-text);
  border: 1px solid var(--v24-holo-tag-border);
}

.holo-modal__header h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.holo-modal__body {
  margin: 0 0 14px;
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  line-height: 1.55;
  color: var(--text-primary);
}

.holo-modal__body--muted {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.holo-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.holo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--v24-holo-close-bg);
  border: 1px solid var(--v24-holo-close-border);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
  transition:
    background var(--d-micro) var(--ease),
    border-color var(--d-micro) var(--ease);
  touch-action: manipulation;
}

.holo-modal__close:hover,
.holo-modal__close:focus-visible {
  background: var(--v24-holo-close-bg-hover);
  border-color: var(--v24-holo-close-border-hover);
  outline: none;
}

.holo-modal__close:focus-visible {
  outline: 2px solid var(--v24-holo-stroke-strong);
  outline-offset: 2px;
}

.holo-modal__close-x {
  display: block;
  width: 14px;
  height: 14px;
  position: relative;
}
.holo-modal__close-x::before,
.holo-modal__close-x::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}
.holo-modal__close-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.holo-modal__close-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.holo-modal__btn-holo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4) var(--s-6);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--v24-holo-stroke);
  color: var(--cyan-soft);
  background: transparent;
  transition:
    border-color var(--d-short) var(--ease),
    background var(--d-short) var(--ease);
  touch-action: manipulation;
}

.holo-modal__btn-holo:hover,
.holo-modal__btn-holo:focus-visible {
  border-color: var(--v24-holo-stroke-strong);
  background: var(--v24-holo-btn-hover-bg);
  outline: none;
}

.holo-modal__btn-holo:focus-visible {
  outline: 2px solid var(--v24-holo-stroke-strong);
  outline-offset: 2px;
}

@keyframes holo-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes holo-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holo-modal,
  .holo-modal::backdrop {
    animation: none;
  }
}

@media (max-width: 520px) {
  .holo-modal__actions .btn-primary,
  .holo-modal__actions .holo-modal__btn-holo {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* P3 — sand reveal H2 (canvas overlay) */
#voyage-main section.voyage-scene > .chapter__content h2.h-1.sand-text {
  position: relative;
}
#voyage-main section.voyage-scene > .chapter__content h2.h-1.sand-text--ready {
  color: transparent;
  text-shadow: none;
}
#voyage-main section.voyage-scene > .chapter__content h2.h-1.sand-text--ready .sand-text__wrap {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}
#voyage-main section.voyage-scene > .chapter__content h2.h-1.sand-text--settled {
  color: inherit;
}
@media (prefers-reduced-motion: reduce) {
  #voyage-main section.voyage-scene > .chapter__content h2.h-1.sand-text--ready {
    color: inherit;
    animation: sand-fade-in 0.4s var(--ease-out) both;
  }
  @keyframes sand-fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* V2.6 — #s2 pilotes (portraits pleine colonne) */
.voyage-pilotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-10);
  width: 100%;
}
@media (max-width: 720px) {
  .voyage-pilotes {
    grid-template-columns: 1fr;
  }
}
.pilote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.pilote__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg-deep);
}
.pilote__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(60%) contrast(1.1) brightness(0.85);
  transition:
    filter var(--d-med) var(--ease),
    transform var(--d-med) var(--ease);
}
.pilote:hover .pilote__photo img,
.pilote:focus-within .pilote__photo img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
}
.pilote__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(62, 245, 224, 0);
  pointer-events: none;
  transition: background var(--d-med) var(--ease);
}
.pilote:hover .pilote__photo::after,
.pilote:focus-within .pilote__photo::after {
  background: rgba(62, 245, 224, 0.08);
}
.pilote__placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-6);
  background: linear-gradient(160deg, rgba(26, 43, 64, 0.96) 0%, rgba(10, 20, 37, 0.98) 100%);
}
.pilote__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.pilote__placeholder--visible {
  display: flex;
}
.pilote__placeholder-text {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 14rem;
}
.pilote__cap {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.pilote-name {
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--v26-warm-gold);
  letter-spacing: -0.02em;
}
.pilote-role {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(62, 245, 224, 0.7);
}

/* V2.6 — #s4 constellation SVG */
.voyage-constel {
  margin: var(--s-12) auto;
  max-width: min(100%, 800px);
  display: flex;
  justify-content: center;
}
.voyage-constel__svg {
  width: 100%;
  height: auto;
  max-height: min(56vh, 520px);
}
.voyage-constel__planet {
  cursor: pointer;
  outline: none;
}
.voyage-constel__orbit {
  transform-origin: center;
  transform-box: fill-box;
  transition:
    transform var(--d-med) var(--ease),
    filter var(--d-med) var(--ease);
  filter: drop-shadow(0 0 0 transparent);
}
.voyage-constel__orbit--a {
  animation: constel-spin-a 60s linear infinite;
}
.voyage-constel__orbit--b {
  animation: constel-spin-b 75s linear infinite;
}
.voyage-constel__orbit--c {
  animation: constel-spin-c 45s linear infinite;
}
@keyframes constel-spin-a {
  to {
    transform: rotate(360deg);
  }
}
@keyframes constel-spin-b {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes constel-spin-c {
  to {
    transform: rotate(360deg);
  }
}
.voyage-constel__planet:hover .voyage-constel__orbit,
.voyage-constel__planet:focus-visible .voyage-constel__orbit {
  transform: scale(1.1);
  filter: drop-shadow(0 0 18px rgba(62, 245, 224, 0.35));
}
@media (prefers-reduced-motion: reduce) {
  .voyage-constel__orbit--a,
  .voyage-constel__orbit--b,
  .voyage-constel__orbit--c {
    animation: none;
  }
}
html.voyage-sober .voyage-constel__orbit--a,
html.voyage-sober .voyage-constel__orbit--b,
html.voyage-sober .voyage-constel__orbit--c {
  animation: none;
}

/* V2.6 — #s6 manifeste (vidéo locale + overlay) */
.voyage-manifeste {
  position: relative;
  margin-top: var(--s-12);
  min-height: min(72vh, 520px);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.voyage-manifeste__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
html.voyage-v24-cinema:not(.voyage-sober) .voyage-manifeste__video {
  display: none !important;
}
.voyage-manifeste__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 20, 37, 0.5);
  pointer-events: none;
}
.voyage-manifeste__content {
  position: relative;
  z-index: 2;
  padding: var(--s-12) var(--s-6) var(--s-16);
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}
#voyage-s6-manifest {
  font-style: italic;
}
.manifest-word {
  display: inline-block;
  margin-right: 0.28em;
}
@media (prefers-reduced-motion: reduce) {
  .pilote__photo img {
    filter: grayscale(35%) contrast(1.05) brightness(0.92);
  }
  .pilote:hover .pilote__photo img {
    filter: grayscale(0%) contrast(1.05) brightness(1);
  }
}

/* —— V3.0 Phase 2 : chapter nav, breath, marker, view-transition fallback —— */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0ms !important;
  }
}

.chapter-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--black-night);
  opacity: 0;
  pointer-events: none;
  z-index: 100049;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chapter-transition-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

#chapter-breath {
  position: fixed;
  inset: 0;
  background: var(--black-night);
  opacity: 0;
  pointer-events: none;
  z-index: 100050;
  transition: opacity 200ms ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chapter-breath.active {
  opacity: 1;
  pointer-events: auto;
}

#chapter-breath .breath-star {
  width: 40px;
  height: 40px;
}

#chapter-breath.active .breath-star {
  animation: breath-pulse 400ms ease-out;
}

@keyframes breath-pulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #chapter-breath {
    display: none !important;
  }
}

html.voyage-sober #chapter-breath {
  display: none !important;
}

#chapter-marker {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 10px 16px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(10, 20, 37, 0.8);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-radius: 20px;
  border: 1px solid rgba(230, 185, 115, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
  pointer-events: none;
  z-index: 100048;
}

#chapter-marker.visible {
  opacity: 1;
  transform: translateY(0);
}

#chapter-skip-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 100047;
}

#chapter-skip-nav a {
  display: block;
  width: 12px;
  height: 12px;
  min-width: 48px;
  min-height: 48px;
  margin: -18px 0;
  box-sizing: border-box;
  padding: 18px;
  background-clip: content-box;
  border-radius: 50%;
  background-color: rgba(244, 228, 193, 0.3);
  transition:
    background-color 300ms ease,
    transform 300ms ease;
  position: relative;
  text-decoration: none;
}

#chapter-skip-nav a:hover,
#chapter-skip-nav a:focus-visible,
#chapter-skip-nav a.current {
  background-color: var(--cyan-glow);
  transform: scale(1.15);
}

#chapter-skip-nav a span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

#chapter-skip-nav a::after {
  content: attr(aria-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

#chapter-skip-nav a:hover::after,
#chapter-skip-nav a:focus-visible::after {
  opacity: 1;
}

@media (max-width: 720px) {
  #chapter-skip-nav {
    display: none;
  }
}

html.voyage-sober #chapter-skip-nav,
html.voyage-sober #chapter-marker {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────────
   Form inputs — iOS zoom prevention + touch target WCAG 2.2 AA
   (fix Bloc 1 Tier Jaune #4)
   Règle : tout input/select/textarea doit avoir font-size ≥ 16px
   et min-height 48px pour ne pas déclencher le zoom iOS Safari
   au focus et pour respecter les touch targets.
   ───────────────────────────────────────────────────────────── */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='search'],
input[type='number'],
input[type='password'],
select,
textarea {
  font-size: 16px;
  min-height: 48px;
  padding-block: var(--s-3);
  padding-inline: var(--s-4);
  font-family: inherit;
  color: inherit;
}
textarea {
  min-height: 120px;
  line-height: 1.55;
  resize: vertical;
}
button[type='submit'],
input[type='submit'] {
  min-height: 48px;
}
