/* =========================================================================
   PRINTÉA v1.5 — Accueil : la vidéo PRINTEA 360° à la place du photocopieur 3D
   Même calque, même place dans l'histoire (après la traversée des nuages).
   ========================================================================= */
.hero__video360 { inset: 0; z-index: 2; opacity: 0; background: var(--c-night); }
.hero__video360 canvas, .hero__video360 video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__video360 video { object-fit: cover; }
/* lisibilité des légendes posées sur la vidéo */
.hero__video360::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 13, 12, .55) 0%, rgba(11, 13, 12, 0) 38%), linear-gradient(0deg, rgba(11, 13, 12, .45) 0%, rgba(11, 13, 12, 0) 30%); }
@media (max-width: 899px) {
  .hero__video360::after { background: linear-gradient(0deg, rgba(11, 13, 12, .7) 0%, rgba(11, 13, 12, 0) 45%); }
}

/* téléphone (écran en hauteur) : la vidéo entière, à la largeur de l'écran, fondue dans le fond sombre */
@media (max-width: 899px) and (orientation: portrait) {
  .hero__video360 video { object-fit: contain; }
  .hero__video360::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: calc(100vw * 9 / 16 + 2px); transform: translateY(-50%); z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, var(--c-night) 0%, rgba(11, 13, 12, 0) 14%, rgba(11, 13, 12, 0) 86%, var(--c-night) 100%); }
}
