/*
 * Curseur du site (proposition C, choisie le 04/11/2026) : flèche et main blanches au contour orange #e67e22.
 * Ajoutée à toutes les pages HTML par App\Filters\SiteCursorFilter, avec vsp-cursor.js qui donne la même main aux
 * éléments cliquables propres au site (règles « cursor: pointer » des pages). Les champs de saisie gardent le curseur
 * texte et les éléments désactivés le leur. Rien ne change sur écran tactile.
 */
:root {
    --vsp-cursor: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2232%22 height=%2232%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M4 2.5 L4 24.5 L9.6 19.2 L13.4 27.6 L17.2 26 L13.5 17.8 L21 17.8 Z%22 fill=%22%23ffffff%22 stroke=%22%23e67e22%22 stroke-width=%221.7%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") 4 3, auto;
    --vsp-cursor-hand: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2232%22 height=%2232%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M10 4.5 a2 2 0 0 1 4 0 V12 a2 2 0 0 1 4 0 V13 a2 2 0 0 1 4 0 V14.5 a2 2 0 0 1 4 0 V21 c0 4 -3 7 -7 7 h-4 c-2.5 0 -4 -1 -5.5 -3 L5 19.2 a1.8 1.8 0 0 1 2.6 -2.5 L10 19 Z%22 fill=%22%23ffffff%22 stroke=%22%23e67e22%22 stroke-width=%221.6%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M14 12.4v4.2M18 13.2v4M22 14.6v3.6%22 stroke=%22%23e67e22%22 stroke-width=%221.3%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") 12 3, pointer;
}
@media (hover: hover) and (pointer: fine) {
    html { cursor: var(--vsp-cursor); }
    :is(a[href], button, select, summary, label[for], [role="button"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], [role="checkbox"], [role="radio"], [onclick], input[type="submit"], input[type="button"], input[type="reset"], input[type="image"], input[type="checkbox"], input[type="radio"], input[type="file"], input[type="range"], input[type="color"], .vsp-hand):not(:disabled):not([aria-disabled="true"]):not(.disabled):not(.is-disabled) { cursor: var(--vsp-cursor-hand) !important; }
    input:not([type="submit"], [type="button"], [type="reset"], [type="image"], [type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"], [type="hidden"]),
    textarea, [contenteditable]:not([contenteditable="false"]) { cursor: text; }
}
