/* Halo interactif (toutes les pages) — suit le curseur via mouse-halo.js */

body.has-mouse-halo .layout-main {
    position: relative;
    z-index: 1;
}

/* AJOUTER : */
body.has-mouse-halo .layout-footer {
    position: relative;
    z-index: 2;
}

.mouse-halo {
    position: fixed;
    top: 0;
    left: 0;
    width: min(480px, 70vw);
    height: min(480px, 70vw);
    pointer-events: none;
    z-index: 2;
    will-change: transform;
    mix-blend-mode: screen;
    opacity: 0.5;
}

.mouse-halo__glow {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(32, 187, 244, 0.45) 0%,
        rgba(79, 119, 249, 0.28) 32%,
        rgba(8, 136, 255, 0.12) 55%,
        transparent 72%
    );
    filter: blur(48px);
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .mouse-halo {
        display: none !important;
    }
}

@media not ((hover: hover) and (pointer: fine)) {
    .mouse-halo {
        display: none !important;
    }
}
