/* Effets partagés : fond animé clair, curseur rond, apparitions */
.fx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fx-cursor, .fx-dot { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; will-change: transform; }
.fx-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; }
.fx-cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid #fff; transition: width .25s, height .25s, margin .25s, background .25s, opacity .3s; }
.fx-cursor.big { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255,255,255,.12); }
.fx-cursor.down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.fx-ripple { position: fixed; z-index: 9998; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid #14b8a6; animation: fxr .6s ease-out forwards; }
@keyframes fxr { to { transform: scale(7); opacity: 0; } }
@media (pointer: fine) { html.fx-on, html.fx-on * { cursor: none !important; } html.fx-on input, html.fx-on textarea, html.fx-on select { cursor: text !important; } }
@media (pointer: coarse) { .fx-cursor, .fx-dot { display: none; } }
.rv { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .fx-cursor, .fx-dot { display: none; } }
