Brazil is foregoing oil wealth in favor of environmental goals