/* VPCrazy Sequence Images - styles front. La scene s'epingle en sticky sur toute
   la hauteur du conteneur (--vpcz-pin-height) : c'est ce qui cree l'effet Apple. */

.vpcz-seq {
    position: relative;
    height: var(--vpcz-pin-height, 400vh);
    background: var(--vpcz-bg, #ffffff);
    margin: 0;
    padding: 0;
}
.vpcz-seq-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--vpcz-bg, #ffffff);
    margin: 0;
    padding: 0;
}
.vpcz-seq-media {
    position: absolute;
    inset: 0;
}
.vpcz-seq-canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.vpcz-seq-img {
    width: 100%;
    height: 100%;
    display: block;
}
.vpcz-seq-media[data-vpcz-fit="cover"] .vpcz-seq-img { object-fit: cover; }
.vpcz-seq-media[data-vpcz-fit="contain"] .vpcz-seq-img { object-fit: contain; }

.vpcz-seq-layers {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}
/* Chaque calque occupe TOUT le parent, sans marge ni padding : l'utilisateur
   place ses blocs dedans et maitrise l'espacement lui-meme. */
.vpcz-layer {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.12s linear;
    will-change: opacity;
}
.vpcz-layer > * { pointer-events: auto; }

/* Mouvement reduit : plus d'epinglage ni d'animation. La scene revient en flux
   normal, une image fixe (poster) s'affiche, et TOUS les calques s'empilent en
   dessous, lisibles (contenu marketing complet, zero motion). */
.vpcz-seq.is-reduced { height: auto; }
.vpcz-seq.is-reduced .vpcz-seq-scene { position: relative; height: auto; overflow: visible; }
.vpcz-seq.is-reduced .vpcz-seq-media { position: relative; inset: auto; }
.vpcz-seq.is-reduced .vpcz-seq-canvas,
.vpcz-seq.is-reduced .vpcz-seq-img { display: none; }
.vpcz-seq.is-reduced .vpcz-seq-poster { display: block; width: 100%; height: auto; }
.vpcz-seq.is-reduced .vpcz-seq-layers { position: static; inset: auto; pointer-events: auto; }
.vpcz-seq.is-reduced .vpcz-layer {
    position: static;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transition: none;
}
.vpcz-seq-poster { display: none; }
