/* ======================================================
   ALISIOS EXPERIENCES — polish.css
   Détails "édition limitée" : grain photographique subtil
   sur toute la page + curseur personnalisé (desktop only).
   ====================================================== */

/* ---------- Grain ---------- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-repeat: repeat;
}

/* ---------- Curseur personnalisé (pointeurs fins uniquement) ---------- */
@media (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button {
        cursor: none;
    }
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--dore-clair);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--dore-clair);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-doux),
        height 0.3s var(--ease-doux),
        opacity 0.3s var(--ease-doux),
        border-color 0.3s var(--ease-doux);
}

.cursor-ring.is-hovering {
    width: 58px;
    height: 58px;
    border-color: var(--dore);
    opacity: 1;
}
