A late penalty secured a 2-1 victory for Juventus over Como to send the visitors fourth in the Serie A standings, as the home side slipped to a third successive defeat.