Generate a URL-safe slug from any string. Handles accented characters (normalize NFD), replaces non-alphanumeric with hyphens, collapses and trims. Optional max-length with word-boundary truncation.