Linking land-use and land-cover transitions to their ecological impact in the Amazon