Introduction

Environmental heterogeneity, which here we define as the variation in environmental conditions among sites (Heino et al., 2015), has long been associated with patterns of species distribution (e.g., Levin et al., 2010; Astorga et al., 2014; Massicotte et al., 2015; Zorzal-Almeida et al., 2017). Thus, it is expected that more environmentally heterogeneous sites support a more diverse biological community because species coexistence is facilitated in such environments due to a greater number of different resources (e.g., MacArthur & MacArthur, 1961; Ricklefs, 1977). Stream ecosystems are a good model system to study this relationship because they are highly heterogeneous (Stein et al., 2014; Heino et al., 2015), which contributes to high biological diversity owing to the accumulation of species with different environmental affinities (Southwood, 1977; Muotka et al., 2002; Brown, 2003; Stein et al., 2014). However, human activities modify the landscape around streams, which may alter environmental conditions and heterogeneity among streams and, consequently, affect the biotic communities (Levin et al., 2010; Giam et al., 2015; Cunha & Juen, 2017; Wilkinson et al., 2018).

The main human activities responsible for changing the environmental characteristics of the Amazonian streams are livestock farming, agriculture (e.g., soybean and oil palm), and logging (IMAZON, 2017). These activities result in the loss of riparian vegetation that in turn results in increased solar radiation, water temperature (Caissie, 2006), fine sediment loading in the streambed, greater bank instability that leads to increased erosion and loss of instream habitat, and consequently, a change in energy and organic matter dynamics (Allan, 2004; Roebuck et al. 2019). Furthermore, these activities can decrease stream depth and dissolved oxygen concentration (Dias et al., 2010; Nogueira et al., 2016; Prudente et al., 2017) and increase nutrient and pollutant concentrations (Belsky et al., 1999; García-García et al., 2017).

The importance of riparian vegetation for water quality and biodiversity is well recognized in headwater streams (e.g., Dala-Corte et al., 2019; Turunen et al., 2021); however, there are relatively few studies on the importance of secondary forest and forest fragments in conserving stream habitat and the biota therein (Wang et al., 2020). Under the current scenario of increased deforestation in the Amazon, which in 2021 alone destroyed an area of 1,195,723 km2 (Terra Brasilis, 2022), assessing the importance of forest fragments continuous to streams is essential for directing public policies for the conservation and potential restoration of these fragments.

Previous studies have shown that human land uses can alter riparian and instream conditions (Ligeiro et al., 2013; Murphy & Romanuk, 2014; de Paiva et al., 2017) and cause a decline in species richness (a measure of α-diversity; Whittaker, 1960). For instance, changes in pH, temperature, and turbidity of the water due to land use (Astorga et al., 2011; Cunha et al., 2015) and proximity to roads (de Paiva et al., 2017) decreased the richness of macroinvertebrate species in streams. More recent studies also assess differences in community composition among sites (β-diversity) (e.g., Alahuhta et al., 2017; Leão et al., 2020), but empirical support for the impact of human activities on environmental heterogeneity and β-diversity remains equivocal. Whereas some studies showed that streams in anthropic landscapes were more environmentally homogeneous (Cunha & Juen, 2017) and supported lower β-diversity (Siqueira et al., 2015), others found that β-diversity was greater in these streams (Hawkins et al., 2015; Fugère et al., 2016), likely because anthropically impacted streams were more environmentally heterogeneous (Leão et al., 2020). The relationship between environmental heterogeneity and β-diversity also varied among various studies. For example, some studies demonstrated a positive relationship between environmental heterogeneity and β-diversity of aquatic macroinvertebrates (Astorga et al., 2014) and diatoms (Zorzal-Almeida et al., 2017). In contrast, other studies found no such relationship (Heino et al., 2013; Bini et al., 2014; Grman et al., 2015).

The mechanisms by which human land uses affect freshwater biodiversity are multifaceted and complex, because different land use alterations result in different changes to the aquatic and riparian environment (Dala-Corte et al., 2019). Most of the previous studies conducted in Amazonian streams evaluated the effect of a single land use type, such as oil palm (Cunha & Juen, 2017; Carvalho et al., 2018) or logging (Calvão et al., 2016; Cardoso et al., 2018), whereas only a few have investigated the relative effect of different land uses within a single study with consistent sampling methods (e.g., Montag et al., 2018; Leão et al., 2020). There is an increasing demand for natural resources and an urgent need to implement effective environmental conservation and restoration measures, as natural landscapes are converted to different types of production lands. Therefore, it is important and timely to investigate the mechanisms underlying the impact of multiple human land uses on habitat heterogeneity and α and β-diversity in streams of the Amazon.

We studied how the Amazonian streams habitat features and aquatic diversity (insects of the orders Ephemeroptera, Plecoptera, and Trichoptera; hereafter, EPT) respond to different human land use types, based on four hypotheses: H1. Environmental characteristics of streams are altered in different ways by the different land uses; H2. Streams surrounded by human land uses are environmentally less heterogeneous than streams in continuous forest and forest fragments; H3. EPT α-diversity is lower in streams surrounded by human land uses; H4. EPT β-diversity is lower among streams surrounded by human land uses than among streams in continuous forest and forest fragments. To test our hypotheses, we recorded habitat features and performed EPT sampling in streams in continuous forest and forest fragments (control streams) and streams affected by reduced-impact logging, conventional logging, oil palm plantation, and livestock farming. As we have clarified throughout this introduction, many studies have tested these hypotheses individually. However, none tested them simultaneously, considering many land uses, and using a standardized sampling protocol. Thus, our approach can deepen the discussion and contribution to the field, providing important insights to the conservation and management of stream ecosystems.

Methods

Study site

We sampled 83 streams of 1st to 3rd order (sensu Strahler, 1957), with a mean width of 3 m and mean depth of 0.28 m. The streams were distributed in the Northeastern and Southeastern mesoregions of the State of Pará (PA), in an area known as the ‘Arc of Deforestation’ that extends across four Brazilian states (Pará, Mato Grosso, Rondônia, and Acre). The Arc of Deforestation is a region on the Amazon where the agricultural frontier is advancing most rapidly at the expense of forest (INPE, 1997; IBGE, 2011) and this is facilitated by new infrastructure (Hansen et al., 2020). These landscape changes began in the 1970’s due to government financial incentives for farmers to establish plantations in the region (Mahar, 1979; Smith et al., 1995; Aldrich et al., 2012). The sampled streams were in two hydrological units (Capim and Acará basins) in the Atlantic Coast-Northeast hydrological region (ANA, 2010). This hydrological region was defined according to the homogeneity of its geophysiological characteristics (e.g., geomorphology, geology, hydrography, soils, and hydroclimatic factors) (SEMAS, Resolution No. 04 of September 2008). All streams in our study are located in the dystrophic yellow latosol soil type, with the predominant texture being clayey soil (IBGE, 2006).

We sampled streams in natural contiguous forest (n = 13; NCF), forest fragment (n = 8; FF), conventional logging (n = 9; CL), reduced-impact logging (n = 21; RIL), oil palm plantation (Elaeis guineensis Jacq.) (n = 22), and livestock farming areas (n = 10; LIV). We sampled streams in these land cover and land use types because they were the most predominant types in the studied region (Fig. 1). In reduced-impact logging (RIL) sites, logging cycles occur after 30 years of forest regeneration and riparian vegetation along streams is preserved. By contrast, in conventional logging (SL) sites, timber is removed without regard for the forest or riparian protection, which results in riparian vegetation impairment and accumulation of woody debris on the forest surface (for more details, see Calvão et al., 2016).

Fig. 1
figure 1

Geographic locations of the 83 stream sites sampled in the Northeastern and Southeastern mesoregions of the state of Pará (PA), Brazil. The streams were distributed in natural contiguous forest (NCF), forest fragment (FF), conventional logging (CL), reduced-impact logging (RIL), plantation of primary oil palm (PPP), plantation of secondary oil palm (PSP), and livestock farming (LIV). The geographical coordinates of each stream are available in the supporting information on Table S1

Oil palm streams were divided into two groups: plantation of primary oil palm (n = 17; PPP) and plantation of secondary oil palm (n = 5; PSP), based on differences in the historical context of the area at the time of planting the crop. In PPP sites, oil palm plantations were directly converted from the forest. In these sites, riparian vegetation is preserved according to Brazilian legislation (Forest Code, Law 12.651 and its amendments; Brasil, 2012), although the streams are used as an irrigation source for young plantations (Agropalma, 2015). In PSP sites, the plantations were converted from non-forest lands, such as lands planted with other crops, pastures for livestock farming or deforested areas (Biopalma, 2015), following the Brazilian federal proposal of the Ecological-Economic Zoning (EEZ) (Ramalho Filho et al., 2010). In these sites, riparian vegetation is sparsely present in some stream reaches. While chemical fertilizers and pesticides are used in both PPP and PSP sites, organic fertilizers of industrial co-products (e.g., empty fruit bunches and palm fibers) are also used in PSP sites. There were fewer streams sampled in PSP than in PPP and other human land uses because PSP is rarer in the landscape since the EEZ, which stipulated for oil palm to be planted only on non-forest lands, was only proposed in 2010. Lastly, in livestock farming sites, the cattle are typically managed according to rotational grazing techniques in which they are allowed to consume all the grass in a particular area before moving to the next area on the farm. The latter area is then left to rest until the grass recover (Silva & Barreto, 2014). In addition, livestock farmers use tanks, artificial dams, or the streams to provide drinking water to cattle. As a result, some streams in livestock farming have a small strip of riparian vegetation (~ 10 m wide) on both banks while, in others, the vegetation is absent.

Study design and physical and chemical factors

We measured instream habitat characteristics along each stream site in which we sampled the EPT community. Each 150 m long stream reach was subdivided into 10 longitudinal sections of 15 m by 11 transects, following the protocol of the United States Environmental Protection Agency (US-EPA, Peck et al., 2006) adapted to tropical areas (Callisto et al., 2014). At each of the 10 longitudinal sections, we measured the thalweg depth and % of riffle habitats. We also recorded % of the organic substrate on the streambed, which included partially decomposed leaf detritus and plant material between 0.053 mm and 2 mm in size. Lastly, the canopy density at the bank was measured at both sides (left and right) of the wetted channel margin with a spherical densiometer (convex type) positioned 0.30 cm above the water surface. These physical characteristics were calculated following Kaufmann et al. (1999). Four environmental characteristics were calculated based on these measurements: mean thalweg depth (cm), % of riffle habitats, % of organic detritus substrate and mean canopy density at stream bank. Dissolved oxygen (mg/L) and pH were measured with an U-50 series multi-parameter at three points along each stream site (downstream, middle, and upstream), and we considered the mean value. Chemical variables were measured before EPT sampling and physical habitat measurements to avoid affecting the water chemistry. The correlations among environmental characteristics were all low to moderate (pairwise Pearson correlation always with r ≤ 0.4, Figure S1), therefore allowing the use of all of them in the analyses.

EPT sampling and laboratory procedures

Each stream site was sampled once, always in the dry season in the region (August—December) to avoid seasonal effects on the environmental characteristics and the EPT communities. For EPT sampling, each longitudinal section was subdivided into three segments of 5 m. Only the first two segments of each section were sampled because the third segment of each section was used to access the environmental variables of the next stream section and to avoid disturbing the substrate of the next section to be sampled. In each segment, two portions of the substrate were randomly collected using an 18 cm diameter dipnet (250 μm mesh), forming one composite sample per segment. Thus, in each stream 40 portions of substrates are collected in 20 segments (more details see Juen et al., 2016). We sampled all available habitats present at the streams, including inorganic substrates, macrophytes, leaf litter, and parts of terrestrial vegetation immersed in the water. This methodology has effectively assessed environmental impacts on aquatic ecosystems in the Amazon and Brazilian Cerrado biomes (Shimano et al., 2013; Brasil et al., 2016; Faria et al., 2017; de Paiva et al., 2017).

The EPT specimens collected were fixed in 85% ethanol and identified at the genus level using the specialized keys of Pes et al. (2014), Hamada & Silva (2014), Domínguez et al. (2006), Salles & Domínguez (2012), and Salles et al. (2014). The genus level is considered sufficient to assess subtle ecological patterns using EPT assemblages (e.g., Godoy et al., 2019). The specimens sampled were deposited in the collection of Aquatic Insects of the Laboratory of Ecology and Conservation at the Federal University of Pará, Brazil.

Data analysis

Each stream site was considered as an independent sample unit in the analyses. To test our first hypothesis (H1), we applied a Permutational Multivariate Analysis of Variance (PERMANOVA; Anderson, 2001) to examine whether the environmental characteristics were different among the land use types, followed by pairwise comparisons between each pair of land use types. The coefficient of determination (R2) provided by PERMANOVA represented the magnitude of the land use effect on environmental conditions. In the PERMANOVA analysis, we used a Euclidean distance matrix calculated from the six standardized (mean = 0 and standard deviation = 1) instream habitat characteristics. We tested for the null hypothesis of no differences between streams using a Monte Carlo method with 10,000 random permutations. P-values ≤ 0.05 were regarded as statistically significant. We corrected the P-value using the sequential Bonferroni correction to minimize inflation of the type I error with multiple comparisons among land uses. We used Principal Coordinates Analysis (PCoA) to visualize differences among land use types. We calculated correlations between environmental characteristics and PCoA axes to quantify how each habitat variable contributed to individual PCoA axes (Legendre & Legendre, 2012).

We evaluated differences in spatial dispersion of streams among the land use types to examine the possibility of spatial dispersion affecting environmental heterogeneity and β-diversity (following Heino et al., 2013; Tonkin et al., 2016), since more clumped sites would be more prone to have lower habitat heterogeneity and beta diversity. We used Multivariate Dispersion Analysis (PERMDISP, Anderson et al., 2006) to evaluate the spatial dispersion among land use types. To calculate spatial dispersion, we used the Euclidean distance between all pairs of sites based on the geographic coordinates (lat-long) of the streams (see Supporting Information Table S1). We did not observe a significant difference in spatial dispersion among land use types (F(6,76) = 1.943; P = 0.09; Figure S2). Therefore, any differences found in environmental heterogeneity and β-diversity were unlikely to be confounded by the spatial dispersion of the streams.

To test our second hypothesis (H2) and fourth hypothesis (H4), we also used PERMDISP. We calculated, for each response matrix (environmental matrix and community matrix), the distance of each site to its group centroid (where each group is a land use type). The higher the average distance to the centroid, the greater the dispersion among sites within a given land use type (Anderson et al., 2006). Therefore, the average distance to the centroid at each land use type was used as a measure of environmental heterogeneity and EPT β-diversity. The significance of among-group differences was tested through the permutation of least-squares residuals (Anderson et al., 2006) running 10,000 permutations (P-values ≤ 0.05 were taken as statistically significant). The environmental characteristics were used for measuring environmental heterogeneity in each land use type. The six instream habitat variables were standardized (mean = 0, standard deviation = 1) and the dissimilarity matrix was constructed using Euclidean distance. β-diversity was calculated using the Jaccard dissimilarity index, which considers taxa occurrences (presence/absence data rather than taxa abundance data), since we were especially concerned about the changes in the taxonomic composition between assemblages. In each analysis, we used a sqrt(n/(n − 1)) F-statistic correction (O’Neill, 2000; Stier et al., 2013) to account for the unbalanced sample sizes (i.e., number of streams) between groups (Anderson and Walsh, 2013).

To test our third hypothesis (H3), we used the genera richness of EPT in each stream site as a measure of α-diversity, and we tested if there were differences between the land use types with a one-way analysis of variance (ANOVA, Zar, 2010), followed by a Tukey’s post hoc test. In addition, we fitted a negative-binomial generalized linear model (GLM) to identify which environmental characteristics were the most important in determining α-diversity (Zuur et al., 2009). The generalized linear model was validated by the residuals of the fitted linear mixed models (DHARMa, Hating, 2022; Figure S3). We performed all analyses in R v. 3.3.2 (R Core Team, 2016), using the "MASS" (Venables & Ripley, 2002), "mgcv" (Wood, 2006), “stats” (R Core Team, 2016), "pairwiseAdonis" (Arbizu, 2019), "vegan" packages (Oksanen et al., 2016), and “hnp” (Moral et al., 2017) for the multivariate analyses.

Results

Environmental characteristics of streams

There were differences in environmental characteristics between streams in different land use types (PERMANOVA pseudo-F(6,76) = 8.0; R2 = 0.386; P < 0.01, Table 1). Pairwise PERMANOVA comparisons (Table 1) indicate significant differences between contiguous forested streams (NCF) versus conventional logging (CL), secondary oil palm plantations (PSP), and livestock farming (LIV). Streams in forest fragments (FF) were significantly different from streams in both conventional (CL) and reduced-impact logging (RIL). As expected, there was no significant difference between our two types of control sites, contiguous (NCF) and fragmented forest (FF) streams.

Table 1 Pairwise comparisons from PERMANOVAa, PERMDISPb and Tukey’s post hoc test of one-way analysis of variance (ANOVAc) among natural contiguous forest (NCF), forest fragment (FF), conventional logging (CL), reduced-impact logging (RIL), plantation of primary oil palm (PPP), plantation of secondary oil palm (PSP), and livestock farming (LIV)

Streams in livestock farming (LIV) were most different from other land uses, presenting high PC1 values and low PC2 values, which was driven by a higher water pH (5.28 vs. 4.6–5.1 in other land uses), higher dissolved oxygen (11.1 mg/L vs. 3.7–7.0 mg/L), and lower canopy cover (64.1% vs. 74.6–96.8%) (Fig. 2A and Table 2). There were also notable differences among the other land use types. Forested streams (NCF and FF) had greater canopy density (94.7–96.8%) than streams of human land uses (64.1–84.1%), except for RIL (96.8%) (Table 2). In addition, forested streams (NCF and FF) had intermediate values of mean thalweg depth (23.9 and 31.0 cm, respectively) and % of riffle habitats (18.6% and 32.9%, respectively) compared to streams in other land use types (depth: 21.0–38.6 cm; % riffle: 4.6–40.1%). There was more organic detritus in PSP, FF and PPP streams (24–42.5%) than in other streams (0.97–11.6%). The dissolved oxygen was lower in CL and PSP streams (3.7 and 4.4 mg/L, respectively) than in streams of other human land uses (6.1–11.1 mg/L).

Fig. 2
figure 2

Principal Coordinate Analysis (PCoA) plot of the first two PCoA axes summarizing environmental characteristics (A) and box plot of values of distances to group centroids calculated by PERMDISP representing the environmental heterogeneity (B). Summary statistics of environmental characteristics in each land use category and Pearson correlations between environmental characteristics and PCoA axes are shown in Table 2. The horizontal line represents the median; the box represents the interquartile range (IQR), and the whiskers represent values up to + / − 1.5 × IQR from the 75th and 25th percentiles, respectively. The letters over the box plots correspond to pairwise comparisons among land use categories (categories that do not share the same letter are significantly different; see Table 1 for results of statistical tests). Points in the PCoA plot are sampling sites color-coded according to land use types: natural contiguous forest (NCF), forest fragment (FF), conventional logging (CL), reduced-impact logging (RIL), plantation of primary oil palm (PPP), plantation of secondary oil palm (PSP), and livestock farming (LIV)

Table 2 Mean and standard deviation (in parentheses) in environmental characteristics of the 83 streams sampled in the natural contiguous forest (NCF), forest fragment (FF), conventional logging (CL), reduced-impact logging (RIL), plantation of primary oil palm (PPP), plantation of secondary oil palm (PSP), and livestock farming (LIV)

Environmental heterogeneity differed significantly among land use types (PERMDISP F(6,76) = 4.7, P = 0.002, Table 1). Streams in LIV, NCF, and FF were more environmentally heterogeneous than streams in other land uses. The difference between streams in LIV, NCF, and FF and streams in RIL and CL was statistically significant. CL streams were most environmentally homogeneous, followed by RIL and PSP streams (Fig. 2B, Table 1).

EPT diversity

We collected 16,038 EPT specimens, representing 51 genera distributed across 18 families (Table S3). The mean abundance of EPT was greater in the streams in PSP (472 ± 219, standard deviation) and LIV (287 ± 256) sites compared the other land use types (NCF, FF, CL, RIL, and PPP, Table S3). EPT α-diversity was significantly different among the land uses (ANOVA, F(6,76) = 5.7; P < 0.001, Fig. 3A and Table 1). Streams in the contiguous forest (NCF) had significantly higher α-diversity than CL, PPP, and LIV streams. Among anthropic land uses, RIL had significantly greater α-diversity than PPP (Table 1). The percentage of riffle habitat was positively associated with EPT α-diversity (Z value = 2.310, P = 0.020; Fig. 3B). Detailed results on the environmental correlates of EPT α-diversity are available in the Supporting Information, Table S4.

Fig. 3
figure 3

A Box plot of the EPT α-diversity in the natural contiguous forest (NCF), forest fragment (FF), conventional logging (CL), reduced-impact logging (RIL), plantation of primary oil palm (PPP), plantation of secondary oil palm (PSP), and livestock farming (LIV). The horizontal line represents the median; the box represents the interquartile range (IQR), and the whiskers represent values up to + / − 1.5 × IQR from the 75th and 25th percentiles, respectively. The letters over the box plots correspond to Tukey’s post hoc test among land use types (types that do not share the same letter are significantly different; see Table 1 for results of statistical tests). B Relationship between α-diversity and % of riffle habitats. The gray color represents the confidence interval of 0.95 for the linear model

EPT β-diversity differed between the land use types (PERMDISP, F(6,76) = 2.7, P = 0.023, Table 1). The β-diversity was highest in LIV and PPP streams than in RIL and forested streams (NCF, FF) (Fig. 4A and B). There was no correlation between β-diversity and environmental heterogeneity (Pearson correlation r = 0.356, Figure S4).

Fig. 4
figure 4

Principal Coordinate Analysis (PCoA) plot of the first two PCoA axes (A) and box plots of values of distances to group centroids calculated by PERMDISP representing EPT β-diversity (B). Points in the PCoA plot are sampling sites color-coded according to land use types: natural contiguous forest (NCF), forest fragment (FF), conventional logging (CL), reduced-impact logging (RIL), plantation of primary oil palm (PPP), plantation of secondary oil palm (PSP), and livestock farming (LIV). The horizontal line represents the median; the box represents the interquartile range (IQR), and the whiskers represent values up to + / − 1.5 × IQR from the 75th and 25th percentiles, respectively. The letters over the box plots correspond to pairwise comparisons among land use types (types that do not share the same letter are significantly different; see Table 1 for results of statistical tests)

Discussion

Effects of land uses on the environmental condition of streams

Our results supported our first hypothesis (H1), that different human land uses altered the environmental characteristics of streams in different ways. It is well known that land use changes in the riparian zone can negatively impact the physical habitats and stream water quality (Ramírez et al., 2008). This is because riparian vegetation acts as a buffer zone that protects streams from inputs of nonpoint source pollutants and from the erosion and subsequent deposition of fine sediments (Dosskey et al., 2010; Pinay et al., 2018). Riparian forests also provide canopy cover that shades the stream from direct shortwave solar radiation, thus moderating stream water temperatures (Caissie, 2006). However, the magnitude and nature of stream environmental impacts under different competing human land uses remain understudied in the Amazon. Here, we found that the impact of forest conversion was mixed; not every human land use was associated with detectable changes to the stream environment. Whereas streams affected by conventional logging differed significantly from streams in both continuous and fragmented forests, stream environments of primary oil palm plantations did not differ significantly from forested streams. Further, although contiguous and fragmented forest streams presented similar environmental conditions, both being considered forested areas, they presented differences in their ecological integrity. Therefore, some human land uses differed significantly from contiguous forest but not from fragmented forest streams. For example, the environmental conditions of streams affected by livestock farming were significantly different from contiguous forest streams but not from fragmented forest streams.

Expansion of areas with human land uses is expected to significantly reduce the landscape vegetation cover since vegetation suppression is still a traditional land preparation method for planting (Denich et al., 2004). However, vegetation suppression (i.e., land management) has important implications for the aquatic environment (Mello et al., 2020). For example, the indiscriminate cutting of trees of all sizes observed in conventional logging practices resulted in streams with lower canopy density, thalweg depth, riffle habitats, and substrate organic detritus (Table 2, Fig. 2A). By contrast, the environmental characteristics in reduced-impact logging did not differ significantly from contiguous forest streams (Table 1). This result suggests that different human land uses resulted in different environmental impacts on the aquatic ecosystems (e.g., Cruz et al., 2022), likely because the land use types have mixed effects on the ecological condition depending on the management techniques adopted. This finding reinforces the importance of conducting studies in streams that drain basins used for different land uses, seeking to understand the main changes that happen, as well as establishing measures to mitigate impacts and environmental restoration programs. However, the science of ecosystem restoration is relatively new and there are still many challenges in defining and applying restoration projects to aquatic ecosystems (Ciotti et al., 2021), mainly due to the complexity of the impacts in the stream catchments (Leitão et al., 2018) and the political-economic drivers underlying environmental change (Osborne et al., 2021).

Our results showed that the context of pre-conversion land cover might also influence the magnitude of human land use on the aquatic ecosystem. We observed that stream environments in oil palm plantations converted from forest areas did not differ significantly from those in the contiguous forest. By contrast, the environmental characteristics of streams in oil palm plantations established on non-forest land differed significantly from stream environmental characteristics in the contiguous forest (Table 1). This result is likely a consequence of land use legacies where deforestation prior to establishing oil palm plantations may have relatively long-lasting effects on the stream environment. A previous study showed that much of the contemporary variation in the physical and chemical characteristics of streams was correlated with historical agriculture (Maloney et al., 2008). Therefore, our results indicate that the relative magnitude of land use effects on aquatic habitats in the Amazon may depend upon the land use surrounding the streams (Sponseller et al., 2001), the intensity of management (Mello et al., 2020), land use legacies (Munteanu et al., 2015; Martin et al., 2017), and the condition of riparian vegetation (Giam et al., 2015; Cruz et al., 2022).

We found partial support for our second hypothesis; on average, forested streams had higher environmental heterogeneity, except for one human land use (livestock farming). However, this difference is only significant when forested streams are compared to streams affected by conventional and reduced-impact logging (Table 1, Fig. 2B). These results are consistent with a meta-analysis (Seiferling et al., 2014) that found that environmental heterogeneity in natural ecosystems is at intermediate levels, increasing or decreasing depending on the intensity of human disturbance. For example, remnant riparian forests adjacent to sugarcane plantations in Southeastern Brazil are structurally heterogeneous due to forest stratification, promoting local aquatic environmental heterogeneity on physical and chemical characteristics of the streams (Fernandes et al., 2014). We found that stream environments in the contiguous forest are statistically indistinguishable from stream environments in fragmented forests in terms of their characteristics and the level of heterogeneity among sites (Table 1). This has important implications because politicians and policymakers often regard forest fragments as degraded landscapes, and use this to justify their conversion to other land uses (e.g., Wang et al., 2020). For example, a recent study showed that the conversion of secondary forest to pastureland in the Brazilian Amazon increased by 282% between 2008 and 2014 (Wang et al., 2020). However, as our results show, these areas provide valuable aquatic habitats comparable to contiguous forests and should also be considered in conservation and zonation projects in the Amazon.

Streams surrounded by livestock farms were the most environmentally heterogeneous (Table 1, Fig. 2B). Significant differences in the amount of patchy canopy and vegetation cover drove the high environmental heterogeneity among livestock farming streams. Further, differences in canopy cover among these streams may lead to heterogeneity in habitat conditions that we did not investigate. For example, greater light input in streams where canopy cover is largely absent will lead to greater primary productivity and an increase in macrophyte cover, whereas streams with greater canopy cover may have more homogeneous benthic habitat, mostly composed by leaf litter (Giam et al. 2015; Fares et al., 2020). Therefore, particular human land uses may result in greater environmental variation among streams due to different intensities of impact on riparian vegetation, which generate greater habitat heterogeneity (e.g., Fugère et al., 2016; Dala-Corte et al., 2019). We would like to emphasize that a greater heterogeneity in livestock farming does not mean that streams have higher environmental quality since it simply measures the variation in environmental characteristics of habitat among streams, but not the water quality or the quality of the environment to stream biota. Controversial results on the effect of pasture on water quality have been found (Tanaka et al., 2016; Mello et al., 2018), possibly because the effect depends on the grazing intensity (Mello et al., 2020). Furthermore, in Brazil, there are farms with natural grasslands associated with low cattle density, which may not strongly affect water quality (Mello et al., 2020). It is important to highlight that our study area does not have large cattle farms, and some fields are in fact only abandoned grasslands. Thus, adverse impacts of the presence of animals on water quality may not be of the same magnitude found by other studies.

The intensification of human activities in highly modified ecosystems can lead to drastic reductions in environmental heterogeneity (Seiferling et al., 2014), likely due to significant changes in instream structure (e.g., Deegan et al., 2011). We observed that the amount of organic detritus is very much reduced in streams in conventional logging landscapes, where up to 26% of above-ground tree biomass can be lost (West et al., 2014). Therefore, the reduction of organic detritus will likely result from lower vegetation and canopy cover and, consequently, lower allochthonous input into the streams from the riparian zone. The dissolved oxygen concentration in conventional logging is below water quality standards allowed for human consumption established by the Brazilian legislation (MMA—CONAMA, Resolution No. 357 of March 17, 2005, and its amendments). This is plausibly a consequence of the intense disturbance associated with conventional logging and low flow velocity (% of rifle habitats) observed in these streams (Table 2), which reduces vertical aeration of the water column. Taken together, these results suggest that environmental heterogeneity is driven not only by the relatively natural characteristics of the preserved ecosystem, but also by dynamic processes derived from land use practices (sensu Leão et al., 2020).

Effects of land uses on alpha and beta diversity of streams

Our results indicated partial support for our third hypothesis. Mean α-diversity of aquatic invertebrates was highest in contiguous forest streams, significantly different from streams affected by conventional logging, livestock farming, and primary oil palm plantation. However, the α-diversity in streams within forest fragments was not significantly different from any of the human land uses (Table 1, Fig. 3). Rapid environmental change can lead to species loss (Suhonen et al., 2014) due to ecological requirements of individual taxa (Marques Peixoto et al., 2020). These differences in biodiversity compared to human land use environments can be explained by the dependence that aquatic systems have on their drainage basin. Environmental alterations and pollutants that may occur at the surrounding marginal vegetation or drainage basin, ending up being leached into the stream channels (Mello et al., 2018), resulting in the simplification of microhabitats and in the decrease of richness of aquatic insects (Sueyoshi et al., 2016). Mean α-diversity in fragmented forest streams was not different from that in contiguous forest streams and other human land uses. This indicates that fragmented forest areas are intermediate in quality for supporting aquatic invertebrate richness between contiguous forest and the other human land use types. Compared to streams in contiguous forest, streams in forest fragments are likely affected by human land uses adjacent to the fragments. This finding is consistent with studies that have found that greater catchment-level forest cover is correlated with higher macroinvertebrate taxa richness (Roy et al., 2003; Harding et al., 2006; Death & Collier, 2010).

Multiple environmental factors such as microclimate, allochthonous resources, vegetation cover and edaphic structure interact to determine biotic assemblages in streams (Marques Peixoto et al., 2020). In our study, the amount of riffle habitat was positively related to α-diversity (Table S4, Figure 3B). This relationship, which was also found in other studies (Roy et al., 2003; Amaral et al., 2015), probably arose as coarser substrate underlying fast riffles provide microhabitat to support riffle specialists such as stoneflies or some caddisfly (Ligeiro et al., 2010). Interestingly, despite livestock farming streams had the highest percent of riffle habitats, their mean α-diversity was lower than control streams (contiguous and fragmented forests), probably due to the lower proportion of organic detritus in the substrate, which provides shelter and food for shredder invertebrates (e.g., Firmino et al., 2021).

We did not find support for our fourth hypothesis that EPT β-diversity is lower among streams surrounded by human land uses than among streams in contiguous or fragmented forests. EPT β-diversity was significantly higher in streams surrounded by livestock farming and primary oil palm plantation than in forested streams (Table 1, Fig. 4). EPT β-diversity had a weak correlation with environmental heterogeneity (Figure S4), which indicates that habitat heterogeneity had little (if any) effect on compositional variation in our study system. It is more likely that under disturbance, taxa that require more pristine instream habitats (i.e., specialists) are negatively affected, whereas the more disturbance-tolerant taxa (i.e., generalists) become more dominant in these sites (Büchi & Vuilleumier, 2016). Our results suggest that streams in human-modified landscapes present assemblages comprising varied subsets of these generalist species. In addition, landscapes are influenced by various management practices, which alter different aspects of the environment and consequently support different sets of species (Sambhu et al., 2018). For example, some farms in our study area adopt environmentally friendly practices, such as maintaining riparian and headland vegetation, while other farms are much more destructive, which might generate high environmental and biological dissimilarities among sites of the same type of land use. Although some studies have found lower beta diversity in anthropized or contaminated areas (Leboucher et al., 2019; Ribeiro et al., 2022), recent studies have observed an opposite pattern, going against the common expectations (Simões et al., 2020; Paiva et al., 2021). However, in cases of greater intensification of anthropic activity and homogenization of the landscape by a certain type of land use, lower beta diversity is often the case (Siqueira et al., 2015; Li et al., 2020).

Conclusion

Our study examined changes in environmental heterogeneity and biological diversity in a region undergoing rapid land use change. We found greater environmental heterogeneity in forested streams than in those embedded in anthropic land uses, except for livestock farms. The responses of α- and β-diversity of EPT differed according to the type of land use. All land uses resulted in a decline of EPT α-diversity relative to streams in the contiguous forest. EPT β-diversity was higher in streams embedded in livestock farming areas and primary oil palm plantations than in forested streams, the former comprising varied sets of generalist taxa. Therefore, our study contributes to understanding the effects of multiple land uses on stream environment and insect diversity at both local and regional scales. We highlight that the association between land use and habitat degradation may not be so direct, mainly when streams are inserted into or surrounded by forest fragments. Even with the landscape altered, the impact may not be evident if the changes do not directly affect the stream or their banks. This has important implications because politicians and policymakers often regard forest fragments as degraded landscapes, to justify their conversion to other land uses. However, our study shows that forest fragments are important for the maintenance of the environmental condition of the streams and should be the focus of conservation and restoration actions, especially in highly biodiverse regions such as the Amazon.