Brazil risks losing its appeal to the international investment community if it does not step up its environmental game, lawyers say.