/* Lumière en mouvement dans le visuel de l’accueil uniquement. */
.hero-art--motion {
  --hero-flow-x:20px;
  --hero-flow-y:15px;
  --hero-orbit-x:12px;
  --hero-orbit-y:9px;
}
.hero-art--motion::before,
.hero-art--motion::after {
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:-1;
}
.hero-art--motion::before {
  inset:-22%;
  background:radial-gradient(ellipse 65% 58% at 80% 22%,#43c7de38,transparent 72%),radial-gradient(ellipse 72% 60% at 18% 76%,#c585e84d,transparent 74%),radial-gradient(ellipse 58% 35% at 50% 45%,#a796e21a,transparent 76%);
  transform:translate3d(0,0,0) scale(1.04);
  opacity:.86;
}
.hero-art--motion::after {
  inset:-35% -60%;
  background:linear-gradient(112deg,transparent 26%,#f5f3ff05 36%,#e8fbff1f 43%,#ffffff0b 47%,transparent 58%),radial-gradient(ellipse 58% 20% at 50% 30%,#d8f7ff12,transparent 78%);
  transform:translate3d(-8%,0,0) rotate(-8deg);
  opacity:.6;
}
.hero-art--motion .hero-art-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  position:relative;
}
.hero-art--motion .art-heading {
  order:2;
  margin-left:auto;
  min-width:0;
}
.hero-art--motion .hero-motion-toggle {
  order:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 44px;
  width:44px;
  min-height:44px;
  margin-left:28px;
  padding:11px;
  border:1px solid transparent;
  border-radius:50%;
  background:linear-gradient(125deg,#ffffff30,#ffffff09 55%),#ffffff0b;
  color:#fff;
  box-shadow:0 5px 18px #10062218,0 12px 30px #10062212;
  cursor:pointer;
  transition:background-color .2s ease,transform .2s ease;
}
.hero-art--motion .hero-motion-toggle:hover {
  background-color:#ffffff1c;
}
.hero-art--motion .hero-motion-toggle:focus-visible {
  outline:2px solid #b6eef5;
  outline-offset:4px;
}
.hero-art--motion .hero-motion-toggle:active { transform:scale(.96); }
.hero-art--motion .hero-motion-toggle svg {
  display:block;
  width:20px;
  height:20px;
  flex-shrink:0;
}
.hero-art--motion .hero-motion-toggle .hero-motion-play,
.hero-art--motion .hero-motion-toggle[aria-pressed="true"] .hero-motion-pause,
.hero-art--motion .hero-motion-toggle[hidden] { display:none; }
.hero-art--motion .hero-motion-toggle[aria-pressed="true"] .hero-motion-play { display:block; }

/* Le film reste dans la forme de l’accueil et ses textes restent au premier plan. */
.hero-art--video {
  background:#28263a url("media/airport-businessman-poster.jpg") center center / cover no-repeat;
}
.hero-art--video .hero-airport-video {
  position:absolute;
  inset:0;
  z-index:-2;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  pointer-events:none;
}
.hero-art--motion.hero-art--video::before {
  inset:0;
  background:linear-gradient(180deg,#100d2680 0%,#120e2524 28%,#120e254d 56%,#0e092db8 100%);
  transform:none;
  opacity:1;
  animation:none!important;
}
.hero-art--motion.hero-art--video::after {
  inset:0;
  background:linear-gradient(90deg,#110d2533,transparent 62%);
  transform:none;
  opacity:1;
  animation:none!important;
}
.hero-art--video .orbit,
.hero-art--video .globe { display:none; }
.hero-art--video .art-heading {
  color:#fff;
  text-shadow:0 2px 12px #0c082d80;
}
.hero-art--video .art-message p {
  color:#fff;
  text-shadow:0 2px 16px #0c082d66;
}
.hero-art--video .art-message em { color:#eee2ff; }
.hero-art--video .art-ticket {
  border-radius:18px;
  border-top-color:transparent;
  padding:16px;
  background:linear-gradient(120deg,#ffffff24,#ffffff08),#21153438;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
.hero-art--video .hero-motion-toggle {
  background:linear-gradient(125deg,#ffffff36,#ffffff0d 55%),#1a123940;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}

@media(prefers-reduced-motion:no-preference) {
  .hero-art--motion[data-motion-ready="true"]::before {
    animation:aphness-hero-flow 20s ease-in-out infinite alternate paused;
  }
  .hero-art--motion[data-motion-ready="true"]::after {
    animation:aphness-hero-reflection 24s ease-in-out infinite alternate paused;
  }
  .hero-art--motion[data-motion-ready="true"] .orbit-one {
    animation:aphness-hero-orbit-one 28s ease-in-out infinite alternate paused;
  }
  .hero-art--motion[data-motion-ready="true"] .orbit-two {
    animation:aphness-hero-orbit-two 32s ease-in-out infinite alternate paused;
  }
  .hero-art--motion[data-motion-running="true"]::before,
  .hero-art--motion[data-motion-running="true"]::after,
  .hero-art--motion[data-motion-running="true"] .orbit { animation-play-state:running; }
}
@keyframes aphness-hero-flow {
  from { transform:translate3d(calc(-1 * var(--hero-flow-x)),calc(-1 * var(--hero-flow-y)),0) scale(1.04); opacity:.72; }
  to { transform:translate3d(var(--hero-flow-x),var(--hero-flow-y),0) scale(1.1); opacity:1; }
}
@keyframes aphness-hero-reflection {
  from { transform:translate3d(-8%,calc(-1 * var(--hero-flow-y)),0) rotate(-8deg); opacity:.38; }
  to { transform:translate3d(8%,var(--hero-flow-y),0) rotate(-3deg); opacity:.76; }
}
@keyframes aphness-hero-orbit-one {
  from { transform:translate3d(calc(-1 * var(--hero-orbit-x)),0,0) rotate(-42deg); }
  to { transform:translate3d(var(--hero-orbit-x),var(--hero-orbit-y),0) rotate(-36deg); }
}
@keyframes aphness-hero-orbit-two {
  from { transform:translate3d(0,calc(-1 * var(--hero-orbit-y)),0) rotate(18deg); }
  to { transform:translate3d(calc(-1 * var(--hero-orbit-x)),var(--hero-orbit-y),0) rotate(23deg); }
}
@media(max-width:800px) {
  .hero-art--motion { --hero-flow-x:10px; --hero-flow-y:8px; --hero-orbit-x:7px; --hero-orbit-y:5px; }
}
@media(max-width:520px) {
  .hero-art--motion .hero-art-top { gap:12px; }
  .hero-art--motion .hero-motion-toggle { margin-left:16px; }
  .hero-art--motion .globe { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-art--motion::before,.hero-art--motion::after,
  .hero-art--motion .orbit { animation:none!important; }
  .hero-art--motion .hero-motion-toggle { display:none; transition:none; }
}
@media print {
  .hero-art--motion::before,.hero-art--motion::after,
  .hero-art--motion .orbit { animation:none!important; }
  .hero-art--motion .hero-motion-toggle { display:none; }
  .hero-art--video .hero-airport-video { display:none; }
}
