/* =====================================================
   Curseur personnalisé — style minimaliste cartoon
   Désactivé sur touch / mobile via JS
   ===================================================== */

.custom-cursor-active,
.custom-cursor-active * {
    cursor: none !important;
}

#custom-cursor {
    position: fixed;
    /* Décalage pour aligner le point chaud (tip SVG = 4px, 3px) */
    top: -3px;
    left: -4px;
    pointer-events: none;
    z-index: 999999;
    will-change: transform;
    /* Légère ombre pour l'effet "au-dessus de la page" */
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.22));
    transition: filter 0.2s ease;
}

/* Contour orange au survol des éléments interactifs */
#custom-cursor.is-pointer path {
    stroke: #ee7326;
}
#custom-cursor.is-pointer {
    filter: drop-shadow(1px 2px 6px rgba(238, 115, 38, 0.35));
}

/* ── Compagnon (suit avec inertie, positionné en bas à droite) ── */
#cursor-companion {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    pointer-events: none;
    z-index: 999998;
    will-change: transform;
}

#cursor-companion img {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    transform-origin: center center;
}
