/* Fond floral plein écran — effets blur/scale (NeoStreamShop.com) */

/*
 * z-index: -1 place le floral derrière le contenu.
 * Le fond page doit être sur html (pas body), sinon body opaque masque l’image.
 */
html {
    background-color: var(--color-page-bg);
}

body {
    background-color: transparent !important;
}

.floral-bg-anchor {
    position: relative;
    height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.floral-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Variante shop : même couverture plein écran */
.floral-bg--shop {
    height: 100%;
}

.floral-bg__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    animation: floral-bg-float 14s ease-in-out infinite;
    will-change: transform, filter;
    user-select: none;
}

@keyframes floral-bg-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1.02);
        filter: blur(0.5px);
    }
    33% {
        transform: translate3d(0, -18px, 0) scale(1.04);
        filter: blur(2.5px);
    }
    66% {
        transform: translate3d(0, -8px, 0) scale(1.03);
        filter: blur(1.2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floral-bg__img {
        animation: none;
        filter: blur(1px);
    }
}
