What Brazil got right that America got wrong.