Smooth to discontinuous systems: A geometric and numerical method for slow-fast dynamics