Juventus booked their place in the last eight of the Coppa Italia with a narrow 1-0 victory over Cagliari, while Catania beat Parma on penalties.