Assessing the Resilience of Socio-Ecological Systems to Shape Scenarios of Territorial Transformation