Pastoral systems in marginal environments