Introduction

Insect biodiversity is declining and severely threatened worldwide (Sánchez-Bayo and Wyckhuys 2019; Brühl and Zaller 2019; Cardoso et al. 2020). Some of the main causes for this condition are the loss and simplification of natural habitats, mainly related to intensive land use on farms with high-impact local management (Hipólito et al. 2018), as well as to increase in the use of pesticides and fertilizers (Brühl and Zaller 2019). Factors on different spatial scales can intensify the erosion of local diversity; changes in the horizontal and vertical structure of the natural landscape (Flores et al. 2018; Fornoff et al. 2021), increased land use intensity (Flores et al. 2018), heterogeneity of the agricultural matrix (Coutinho et al. 2020), and reduced habitat diversity have been identified as a set of factors that lead to the decline in the diversity and abundance of global insects, including invertebrates such as bees and wasps, as well as other organisms (Hendrickx et al. 2007; Sánchez-Bayo and Wyckhuys 2019; Zattara and Aizen 2021).The advancement of these agricultural landscapes has caused almost irreversible changes to the spatial structure of the highly diversified and structured original landscape (Krebs et al. 1999), resulting in a global decline in pollinator diversity and richness (Baldock 2020).

In this context, the study and practice of ecological restoration as an activity to promote biodiversity has gained strength in recent decades, representing an important instrument to halt and mitigate the deterioration of ecosystem health (Borges et al. 2021). Due to the urgency and need for higher investment in ecological restoration projects, the United Nations (UN) has instituted the period 2021 to 2031 as the decade of ecosystem restoration (Waltham et al. 2020).

The greatest challenge of ecological restoration is to restore not only the productivity of an ecosystem but also the biodiversity and ecological interactions, which are essential for the functioning and self-regeneration of habitats degraded or totally devastated by human actions (Lamb and Gilmour 2003; Calmon et al. 2011). Despite efforts to achieve this goal, many restoration projects fail even when the physical environment has been restored (Jones and Davidson 2016). A relevant cause is the lack of structural complexity of the landscape and the specific characteristics required by the biota of each location, limiting and restricting key groups and their numerous ecosystem services (Peipoch et al. 2015; Tonietto and Larkin 2018) that are important for the maintenance of restored environments.

Pollination and predation are listed as the main health-sustaining services of natural and man-made terrestrial ecosystems among these ecosystem services (Kumar 2010). Bees are recognized as the main pollinators in wild and cultivated ecosystems (Tscharntke et al. 1998; Zattara and Aizen 2021), with more than 20,000 species cataloged (Ascher and Pickering 2021). Particularly in restored areas, the presence of pollinators such as bees is essential over time for the success of areas undergoing restoration in the initial stages, contributing to the persistence of plant communities (Montalvo et al. 1997; Holzschuh et al. 2009; Dixon 2009; Cariveau et al. 2020). Wasps play an important role in regulating the population of herbivorous insects in the ecosystem as they are predators of other invertebrates such as spiders, caterpillars, and cockroaches (Crivelato et al. 2017). Wasps also act as occasional pollinators (Sumner et al. 2018).

Many studies have recently evaluated the responses of communities of trap-nesting bees and wasps and their natural enemies to ecosystem modifications (Tscharntke et al. 1998; Taki et al. 2008; Rocha-Filho et al. 2020), including landscape simplification (Wilson et al. 2020). Bees and wasps that nest in pre-existing cavities spend most of their lives building and supplying their nests. They depend directly on the structure of the vegetation due to the need for natural cavities in tree hollows and the specific food resources to feed the immature and adult bees (Krombein 1967). This direct relationship with plant resources and the physical structure of the environment, together with the ease of standardized sampling through the trap nest technique, gives the group of cavity-nesting bees and wasps a character of bioindicators that can be used in the evaluation of areas undergoing restoration (Araújo et al. 2018a, b, 2020, 2021; Fornoff et al. 2021).

The surrounding landscape can have a great influence on the structure of pollinator communities (Zirbel et al. 2019; Sexton et al. 2021). The structural complexity of the habitat is a driver of species richness and diversity in natural environments (Loyola and Martins 2008, 2011). Changes in the horizontal (types of land cover) and vertical (stratification of vegetation) structure are often caused by the increase in high-impact agricultural borders (Kennedy et al. 2013; Rocha-Filho et al. 2017; Hipólito et al. 2018), leading to simplifications in the habitat structure (Steiner et al. 2003). This simplification of the habitat reduces diversity and alters the composition of the community of several taxonomic groups (Wilson et al. 2020), including cavity-nesting bees and wasps (Ebeling et al. 2012; Flores et al. 2018, 2019; Araújo et al. 2021).

Factors such as the size and shape of the restored areas (Araújo et al. 2018a), size of the vegetation cover area, and connectivity and diversity of the surrounding agricultural and urban matrix can positively influence the community of cavity-nesting bees and wasps (Holzschuh et al. 2010; Hadley and Betts 2012; Cariveau et al. 2020; Fornoff et al. 2021; Sexton et al. 2021). Restored areas positioned in matrices of intensive agricultural lands can serve as islands or corridors of habitat and sustain high levels of biodiversity (Araújo et al. 2018a20202021). Despite the evident influence of fragmentation and effects of the landscape on the community of these bees and wasps and the importance of a diverse agricultural landscape for the conservation of natural environments (Hendrickx et al. 2007; Flores et al. 2018, 2019; Rocha-Filho et al. 2020), studies evaluating the effects of the configuration of these landscapes on the abundance, richness, and composition of this community in restored areas are relatively recent and scarce (Krewenka et al. 2011; Tonietto and Larkin 2018; Campbell et al. 2019; Araújo et al. 2018a, b2020, 2021; Fornoff et al. 2021; Sexton et al. 2021).

Standardized monitoring of the restoration of bee and wasp fauna in areas under restoration helps to understand how this community is influenced by the surrounding landscape. This knowledge is essential to mitigate and reverse the decline of these insects, contributing to the establishment of guidelines for the implementation of environmental conservation projects and the implementation and evaluation of areas under restoration (Chapin et al. 2000).

The current study aimed to evaluate whether patterns of the cavity-nesting bee and wasp community and their natural enemies sampled in reforestation areas are affected by aspects of the structure of landscapes as the size of areas under restoration, size of the vegetation cover area, and size of the surrounding agricultural (i.e., monoculture) area. We proposed the following hypotheses: there would be greater abundance, richness, and diversity of bees and wasps that nest in traps and their natural enemies in (i) larger reforested areas, (ii) with larger areas of forest fragments nearby, (iii) with decreases in the distance from the edge of reforestation to the edges of the nearest forest fragment, and (iv) with decreases in soybean/corn monoculture areas. We expected variation in the composition of bees and wasps with the presence of specialized taxa in less simplified landscapes, that is, with greater reforestation, a greater proportion of native vegetation, smaller areas of soybean/corn monoculture nearby, and more connected (shorter distances).

Materials and methods

Study areas

Samplings were carried out in nine reforestation areas (REFs) located on the banks of the Capivara Reservoir on the Paranapanema River (22° 47′ 45′ S, 51° 00′ 12′′ W), near the mouth of the Tibagi River basin, in the state of Paraná, southern Brazil (Table S1; Fig. 1).

Fig. 1
figure 1

Location of the studied reforestation areas (REFs) delimited by a circle with a radius of 2000 m. *The habitat area is represented by forest fragments + reforestation and others, outside the sampled buffers

Aiming to better evaluate the conditions of areas undergoing restoration, the present study selected reforested areas with similar characteristics in terms of age (between 15 and 18 years, implemented in the same event) (Table S1), methodology for planting seedlings and seeds, geography, climatic conditions, altitude (334–338 m), and relief (shallow) (Mendonça 2000).

The reservoir was formed in the 1970s with the construction of a hydroelectric plant between the municipalities of Porecatu (state of Paraná) and Taciba (state of São Paulo). The study region was previously covered by seasonal semideciduous forests (Scervino and Torezan 2015). All reforestations were implemented on the margins of the Capivara Reservoir, starting in 2002. The manual planting of seedling “cocktails” was adopted with 3 × 2 m spacing, using 40 to 50 plant species native to the Tibagi River basin with a high proportion of early pioneer (ex. Aegiphilla sellowiana, Guazuma ulmifolia, Trema micrantha, and Schinus terebinthifolius) and secondary species (ex. Cordia tichotoma, Gallesia integrifolia, Peltophorum dubium), without fertilization and with manual and mechanized maintenance for the rapid control of grasses (Cavalheiro et al. 2002).

The studied reforestation areas are in little diversified landscapes with a predominant matrix of rotating soybean (Glycine. max (L.) Merril) and corn (Zea mays L.) monoculture (Scervino and Torezan 2015). The landscape has been drastically altered since 1920 due to intensive agricultural and urban activities. Today only 2% of the original vegetation remains, represented by a mosaic of small fragments and remnants of seasonal semideciduous forests in different degrees of conservation, primarily in secondary successional stages and suffering from logging and poaching (Scervino and Torezan 2015).

According to the Köppen classification, the region’s climate is Cfa, humid subtropical (Mesothermal), a marginal tropical zone with a hot summer and a mean temperature during the hottest month of around 22 °C. In winter, the area has a dry climate with temperatures below 18 °C in the coldest month, and rains are distributed throughout the year with a mean rainfall index between 1400 and 1600 mm/year (Mendonça 2000).

Samplings of bees, wasps, and their natural enemies

For the sampling of cavity-nesting bees and wasps and their natural enemies, we used two types of trap nests (Krombein 1967; Taki et al. 2008): (a) bamboo canes closed at one end by the node, with varying lengths and diameters, ranging from 8.0 to 30.0 cm and 0.5 to 3 cm, respectively, and grouped in bundles of 50 canes; (b) black cardboard tubes closed at one end, 8 cm long and 0.8 and 1.0 cm in diameter, inserted into a wooden block, 20 × 20 × 5 cm, with a capacity for 82 cardboard tubes per block (41 of each diameter). The two types of trap nests were made available at the sampling points on individual wooden platforms with an approximate height of 1.5 m and covered with plastic protection (transparent PET tile). Two wooden blocks (164 tubes) and two bamboo bundles (100 bamboo canes) were placed on each platform, exposed to opposite sides, totaling 264 trap nests per platform. This sampling method ensures the capture of reproductively active and resident species, excluding those that are just transiting through the reforestation areas (Morato and Martins 2006).

A 500 m transect was implemented in each reforestation area (REF), with five sampling points, 100 m equidistant from each other, and making a total of five sets of traps per REF. At each sampling point, a platform was installed with the set of traps, using the same number of trap nests, with equivalent dimensions, totaling 264 trap nests, 1320 cavities per reforestation area, and 11880 cavities considering the set of nine REFs. All platforms were installed from 10 to 20 m from the edge of the REFs, but they suffer from the evident edge effect due to the corridor shape of all reforestations.

Trap nests were sampled monthly from August 2018 to August 2019, totaling 13 samples in each area. An otoscope was used for the inspection of traps in the field. The occupied trap nests were removed, identified, capped at one end with a test tube and taken to the laboratory. Each trap nest removed was immediately replaced by another of equivalent size. In the laboratory, the nests were monitored daily to record emerging individuals. A few months after collection, the nests were opened, photographed, and inspected for non-emerged individuals, adults or in larval form, usually dead. The nests were classified according to their characteristics such as architecture, building materials, number of cells, and available food. The individuals found alive were killed in ethyl acetate or in a freezer, mounted on pins, labeled, dried in an oven, and stored in entomological drawers. The specimens were identified to the lowest possible taxonomic level, based on dichotomous keys for identification and reference material. The identification of nests with only non-emerged individuals was performed by comparing the characteristics with similar nests and with reference material. Mixed nests, where two or more species nested at the same time, were separated in the data analysis. All the material collected in this study is deposited in the Collection of the Laboratory of Animal Genetics and Ecology of the State University of Londrina. Subsequently, part of this material will be deposited at the Zoology Museum of the State University of Londrina.

Landscape variables

Images extracted from a LANDSAT 8, OLI sensor (Orbit/point: 222/076) with a resolution of 30 m and passing date of 10/22/2018 were used to obtain the landscape metrics. Initially, we defined a circular buffer 2000 m in radius, starting from the central point of the sampling transect (sampling point 3) of each focal reforestation (Fig. 1). This buffer pattern was chosen according to the flight radius and foraging of medium to large-sized bee species, the most commonly found in this study (Greenleaf et al. 2007; Zurbuchen 2010; Pokorny et al. 2015). In the buffers, we classified the images in the following themes based on supervised classification using the Maximum Likelihood Classification algorithm: water, soybean/corn monoculture matrix, reforestation, forest fragment, and urban areas. After classification, we described and estimated the following landscape variables through the polygon areas: (a) Reforestation area (ha), (b) Forest fragment area (ha), and (c) Soybean/corn monoculture area (ha). Within the buffers analyzed, areas of exposed soil were classified as a soybean/corn monoculture matrix area. Flood areas in the process of restoration at the edges of the reforestation areas were classified as reforestation areas. They showed a reflected electromagnetic radiation shine similar to reforestation (Moskalenko 2016) and can be considered areas of extreme importance for the foraging of bees and wasps due to the presence of ruderal plants (Coutinho et al. 2020). All forest fragments found in the analyzed buffers were characterized as Seasonal Semideciduous Forest in the secondary successional stage, with areas of clearings and tangles of vines. All images generated from the supervised classification showed high overall accuracy and Kuiper indices (> 0.75).

To quantify the degree of isolation of the focal reforestations, we used the distances (m) between the focal reforestations and the nearest forest fragment, estimated from the edge closest to the focal reforestations to the edge of the nearest forest fragment (Bender et al. 2003).

All metrics and classifications were calculated using the software QGIS v. 3.14 (QGis Development Team 2020).

Data analysis

To determine the abundance of cavity-nesting bees and wasps, the number of established nests was counted, whether these nests emerged or not. To determine the abundance of natural enemies, the number of parasitized nests was counted, whether the individuals emerged or not. This abundance pattern represents the nesting rate, that is, the number of nests found, and parasitism (= number of nests attacked by natural enemies) of each species.

To compare the richness of bees, wasps, and enemy species of each REF and to evaluate the sampling efficiency, we used integrated rarefaction/extrapolation curves based on the “Hill numbers” approach with asymptotic analysis, q = 0 (Real richness) and a confidence interval of 0.95, calculated using the iNEXT package in the R 3.2.3 program (Chao 2014; R Core Team 2020) and plotted using the ggplot2 package (R Core Team 2020).

The diversity of bees, wasps, and natural enemies of each REF was calculated using the Shannon-Wiener index (H′), considering the abundance of nests collected and using the Diversity function of the Vegan package in the program R 3.2.3 (R Core Team 2020).

Generalized linear models (GLMs) were adjusted to evaluate the influence of landscape characteristics on the abundance, richness, and diversity of bees, wasps, and natural enemies, which constitute the response variables. For this, each response variable was related to the explanatory variables of the landscape, consisting of reforestation area, forest fragment area, soybean/corn monoculture area, and distance. These landscape descriptors were selected since they did not present a significant correlation between them. It is important to note that the water areas were classified but not included in the analysis, as it was negatively correlated with the explanatory variable soybean/corn monoculture matrix. To evaluate the abundance of bees, wasps, and natural enemies, generalized linear models with binomial error distribution were used due to the super-dispersion of the data. For the richness of bees, wasps, and natural enemies, generalized linear models with Poisson error distribution were used for counting data. For the diversity of bees, wasps, and natural enemies, generalized linear models with Gaussian error distribution were used. For all response variables, candidate models were classified using the corrected Akaike information criterion for small samples (AICc) (Akaike 1974). For each response variable, 16 competing models were used to explain the patterns, including a null model representing the lack of effect. Only additive models were used in these analyses. Subsequently, the corrected Akaike Information criterion for small samples was estimated, the ΔAICc (difference between the AICc of each model concerning the best model) and the Akaike weight (wAIC) (the probability of a given model being the best among a set of competing models) (Johnson and Omland 2004). Models with ΔAICc < 2.0 and wAIC > 0.1 were considered equally plausible to explain the patterns observed (Burnham and Anderson 2003). The models selected by the Akaike information criterion (AIC) were performed with the MuMIn package (Bartón 2016) and the model diagnostics were performed with the RT4Bio package (Reis Jr et al. 2015) in the R 3.2.3 program (R Core Team 2020).

Distance-Based Redundancy Analysis - dbRDA (Legendre and Anderson 1999) using the Bray–Curtis index was carried out to investigate the influence of landscape characteristics on the composition of bees, wasps, and natural enemies. For this analysis, five sampling units per REF were considered, referring to the five sampling points of each area. The composition data were previously standardized to minimize the effects of sampling units with a very high abundance. The abundance of nests of each species was divided by the total abundance of nests in each sampling unit. This procedure was performed separately for each studied group. The distance matrices of the composition of bees, wasps, and natural enemies were used as the response variables and the predictor matrix comprised the landscape characteristics (reforestation area, forest fragment area, soybean/corn monoculture area, and distance between reforestation area and forest area). For each group, “ANOVA-like” permutation tests (Legendre and Legendre 1998) were performed to assess the statistical significance of the entire model, of the two first axes, and the association between species composition and the variables selected. Finally, the dbRDA results were plotted to visualize the relationship between the species and the landscape characteristics. The dbRDA was performed using the vegan package (Oksanen et al. 2018) in R 3.2.3 (R Core Team 2020).

Results

A total of 1000 nests were identified in the nine reforestation areas evaluated during the study. Of these, 101 were bee nests and 898 were wasp nests (Table S2). The sampled bees belong to 10 morpho-species from two families, Apidae and Megachilidae, while the wasps belong to 16 morpho-species from four families: Crabronidae, Pompilidae, Sphecidae, and Vespidae (Table S2). The abundances of wasp species that hunt spiders (58.66%) and of species that hunt lepidopteran larvae (41.38%) were close.

Eighteen morpho-species of natural enemies were recorded in 218 parasitized nests, from which 11 were classified as parasitoids (Bombyliidae, Chrysididae, Eulophidae, Ichneumonidae, Leucospidae, Ripiphoridae and Sarcophagidae) and seven as kleptoparasites (Apidae, Chrysididae, Megachilidae). The parasitoids attacked 11 host species, and Auplopus sp. 1 was the wasp species with the most parasitoids (7 morpho-species) (Table S3).

The highest values of bee diversity were found in REF 8 and REF 4, areas with large and nearby forest fragments (Tables S1 and S2). The lowest bee diversity value was found in REF 5 (Table S2). The diversity of wasps and natural enemies was relatively high in all sampled areas (Table S2). The greatest diversity of wasps found was in REF 4 and the lowest in REF 8 (Table S2). The greatest diversity of natural enemies was also found in REF 4 and the lowest diversity of natural enemies was found in REF 9 and REF 7 (Table S3).

The rarefaction curves of bees did not present stabilization (Fig. 2). The areas with a greater abundance of nests (REF7) and greater richness of bees (REF2, REF4, and REF8) indicated stabilization in the rarefaction curve, around 50 nests collected and 8 to 15 expected species. The REF5 reforestation area presented the lowest species richness with only the occurrence of one recorded bee species. The extrapolation curves of bees in less favored reforestation areas (REF3, REF5, and REF6), that is, small reforestation areas with few forest fragment areas nearby and large areas of surrounding monoculture, indicated stabilization with relatively low richness, around 25 sampled nests and 1 to 4 expected species (Fig. 2).

Fig. 2
figure 2

Rarefaction curves based on the number of bee, wasp, and natural enemy species, by number of nests, sampled from August 2018 to August 2019 in nine reforestation areas of seasonal semideciduous forest, located in the state of Paraná, southern Brazil

Wasp rarefaction curves indicated sampling efficiency in most reforestation areas and a pattern in the number of species, around 100 nests collected and 8 to 15 expected species (Fig. 2). The largest number of wasp nests was found in the second largest reforestation area (REF8), indicating stabilization of the curve and confirming the sampling efficiency for the group of wasps that nest in the areas (Fig. 2).

The natural enemies indicated stabilization of the rarefaction curve in only a few areas (REF1, REF7, REF8, and REF9). The areas with the greatest abundance of nests attacked by natural enemies indicated stability in the curves from 25 nests collected and from 5 to 12 expected natural enemy species (Fig. 2). Reforestation areas with a smaller area (REF1) and those with an absence of a nearby forest fragment (REF5) indicated an expected richness of parasite species greater than that of wasps and bees (Fig. 2).

We observed the replacement of the sampled species of bees, wasps, and natural enemies along the gradients of the reforestation areas (Fig. 3a), forest fragment areas (Fig. 3b), and soybean/corn monoculture areas (Fig. 3c). Bees, wasps, and natural enemies presented species that only occurred in more integral regions, that is, with greater areas of reforestation (Tetrapedia diversipes, Podium sp. 1, Caenochrysis crotonis and Ichneumonidae sp. 2) (Fig. 3a), larger areas of forest fragments (Euglossa townsendi, Eufriesea aff. auriceps, Megachile guaranitica, Minixi sp. 1, Chrysis intricata, Caenochrysis crotonis, Ichneumonidae sp. 2, Priochilus sp. 1) (Fig. 3b), and smaller areas of soybean/corn monoculture (Priochilus sp 1, Zethus sp. 2, Euglossa townsendi, Eufriesea aff. auriceps, Ichneumonidae sp. 2, Caenochrysis crotonis and Tetrapedia diversipes) (Fig. 3c). Regarding the monoculture area gradient, a group of species with a much higher relative abundance was observed in regions with smaller monoculture areas (Fig. 3c). All orchid bee species occurred in reforestation areas with nearby forest fragments and with less monoculture areas (REF1, REF2, REF4, and REF8).

Fig. 3
figure 3

Relative abundance of nests of species of bees (green), wasps (red), and their natural enemies (blue), collected from August 2018 to August 2019 in nine reforestation areas in northern Paraná, according to the: a size of the reforestation area (ha); b size of the forest fragments (ha); c size of the soybean/corn monoculture area (ha), evaluated within the 2000 m radius

The models that best explained the abundance of wasps and natural enemies included only the monoculture matrix area as an explanatory variable through a negative relationship. This indicates that the abundance of wasps and natural enemies decreased with the increase in the monoculture matrix area (Tables 1 and S4; Fig. 4). The abundance of bees did not vary according to any of the explanatory variables used (Table 1 and S4). While the diversity of wasps and natural enemies did not change due to explanatory variables (Tables 1 and S4), the diversity of bees was explained by the model that indicates distance as an explanatory variable, through a negative relationship. This indicates that bee diversity decreases with increasing distance between the reforestation area and the nearest forest area. A second plausible model includes only the size of the forest area, indicating that bee diversity increases directly with this variable (Tables 1 and S4). No relationship was found between the different variables and any of the three analyzed groups regarding species richness (Tables 1 and S4). For bees, the first and second axes of dbRDA explained 51.0% (pseudoF = 3.21, P = 0.15) and 34.9% (pseudoF = 2.21, P = 0.31) of dissimilarity in species composition, respectively. The permutation test for the entire model revealed a marginally significant association between species composition and the explanatory variables of landscape characteristics (pseudoF = 1.59, P = 0.06). Reforestation area had a marginally significant effect on the species composition (pseudoF = 2.03, P = 0.06). The other landscape characteristics had no significant effects: forest fragment area (pseudoF = 0.95, P = 0.44), soybean/corn monoculture area (pseudoF = 1.69, P = 0.11), and distance between reforestation area and forest area (pseudoF = 1.66, P = 1.44). They explained together 19.9% of the total variation in the data set. Carloticola paraguayensis and Euglossa pleosticta were the species most associated with larger reforestation areas (Fig. 5).

Table 1 Summary of plausible models adjusted to explain the abundance, richness nad Shannon diversity (H′) of bees, wasps, and natural enemies collected with trap nests from August 2018 to August 2019 in response to landscape variables in nine areas of reforestation located in the state of Paraná, Brazil
Fig. 4
figure 4

Relationship between response variables of the studied groups (bees, wasps, and natural enemies) and explanatory variables of the landscape: A influence of the monoculture area on the abundance of wasps; B influence of the monoculture area on the abundance of natural enemies; C influence of distance on the Shannon (H′) diversity of bees

Fig. 5
figure 5

dbRDA of species composition of the bees (A), wasps (B) and natural enemis (C) collected from August 2018 to August 2019 in nine reforestation areas in northern Paraná whith biplot of explanatory variables of the landscape

For wasps, the first and second axes of dbRDA explained 73.9% (pseudoF = 9.61, P < 0.001) and 15.8% (pseudoF = 2.06, P = 0.23) of dissimilarity in species composition, respectively. The permutation test for the entire model revealed a significant association between species composition and the explanatory variables of landscape characteristics (pseudoF = 3.25, P < 0.001). Reforestation area (pseudoF = 7.77, P < 0.001) and forest area (pseudoF = 2.95, P < 0.005) had a significant effect on the species composition (pseudoF = 2.03, P = 0.06). Soybean/corn monoculture area (pseudoF = 1.19, P = 0.28) and distance between reforestation area and forest area (pseudoF = 1.10, P = 0.34) had no significant effects. They explained together 29.0% of the total variation in the data set. Auplopus sp. 1 was the species most associated with larger reforestation areas, and Priochilus captivum and Pachodynerus guadulpensis were the species most associated with smaller reforestation areas. Pachodinerus grandis was the species most associated with larger forest areas (Fig. 5).

For natural enemies, the first and second axes of dbRDA explained 48.3% (pseudoF = 2.69, P = 0.20) and 24.3% (pseudoF = 1.35, P = 0.72) of dissimilarity in species composition, respectively. The permutation test for the entire model revealed a marginally significant association between species composition and the explanatory variables of landscape characteristics (pseudoF = 1.39, P = 0.08). Reforestation area had a significant effect on the species composition (pseudoF = 2.41, P = 0.02). The other landscape characteristics had no significant effects: forest fragment area (pseudoF = 0.59, P = 0.80), soybean/corn monoculture area (pseudoF = 1.34, P = 0.20), and distance between reforestation area and forest area (pseudoF = 1.20, P = 0.25). They explained together 14.5% of the total variation in the data set. Ichneumonidae sp. 1 and Macrosiagon sp. 1 were the species most associated with larger reforestation areas, and Melittobia sp. 1 and Chrysis intrincata were the species most associated with smaller reforestation areas. (Fig. 5).

Discussion

Our results revealed that aspects of the landscape differently affected the populations of cavity-nesting bees and wasps in reforestation areas, as well as affecting the community of natural enemies of these insects. We detected a negative effect of the amount of soybean/corn monoculture on the abundance of wasp nests and on the abundance of nests attacked by natural enemies sampled in the reforestation areas evaluated. Contrary to our expectations, the richness of bee, wasp, and natural enemy species did not present any variation due to the metrics of the landscape evaluated. Bee diversity was the only variable affected by a landscape factor, being negatively correlated with the increasing distance from the nearest forest fragment and positively correlated with the size of nearby forest fragments. We found an influence of the size of the reforestation areas regarding species composition, altering the composition of bees, wasps, and natural enemies. The wasp composition also varied depending on the area size of the nearby forest fragments. The results obtained only partially confirm the hypotheses raised, indicating that bees, wasps, and their natural enemies sampled in reforestation areas respond differently to variations in the landscape.

The lower abundance of wasps observed in areas with a larger area of monoculture is possibly related to the reduced diversification of the studied agricultural landscapes. These intensely simplified ecosystems are hostile to the majority of species, being favorable only to a few species that adapt well to the dominant condition of low environmental heterogeneity (Hendrickx et al. 2007; Torné-Noguera et al. 2020; Rocha-Filho et al. 2017; Araújo et al. 2018a, 2021). Generally, plants grown in the agricultural matrix do not offer the food resources used by adult wasps (nectar) or only offer it at certain times of the year, through intense flowering and for a short period (Silveira 2004; Hipólito et al. 2018). This resource limitation restricts foraging in areas adjacent to cultivated fields, such as areas under restoration, which in turn suffer from the recurrent impacts of fragmentation caused by agricultural matrices (Rocha-Filho et al. 2017). These matrices of conventional agriculture also interfere negatively with the supply of solitary wasp nests due to the extinction or drastic reduction in species of forage plants and old woody plants that provide preexisting cavities (Holzschuh et al. 2009, 2010; Flores et al. 2019; Araújo et al. 2021). A study found a positive correlation between wasp abundance and crop diversification in family farming areas due to the increase in the variety of agricultural crops introduced in the landscape (Coutinho et al. 2020). It is important to remember that in this study the explanatory variable soybean/corn monoculture matrix was negatively correlated with the water area, which also tends to result in a simplification of habitats for wasps and bees (Flores et al. 2018). In this context, it is important that future studies consider and discuss the effects of the water area on these communities.

Other factors have also been identified as having an impact on the abundance in wasp populations. Land use has been recognized as one of these factors, since recordings of some rarer wasp species have occurred with greater abundance in more “natural” environments, such as fallow land, reforestation of native species, and forest interiors (Matos et al. 2013; Rocha-Filho et al. 2017; Araújo et al. 2021). The authors reported a significant contribution from diversified and organic crops to the maintenance of wasp species by providing resources for feeding and nesting for their populations (Matos et al. 2013). The increase in the cultivated area with the monoculture of grains tends to hinder the colonization of reforestation by species from fragments of native vegetation nearby, which are unable to move through the highly homogeneous matrix. For example, wasps of the subfamily Eumeninae avoid crossing conventionally managed cereal fields, needing strips of fallow fields or organic cultivation fields to move between the native vegetation in the landscape (Hendrickx et al. 2007; Holzschuh et al. 2009, 2010). In young regrowth forests in subtropical South-East China, the abundance of cavity-nesting wasps increased with increasing canopy cover and the subsequent microclimatic alteration brought about by this change (Fornoff et al. 2021).

The effects of the proportion of monoculture area on the community of natural enemies are related to the effect of this landscape variable on the host (wasps). More than 90% of the collected sampled natural enemies were found in wasp nests (Spearman’s Correlation statistic: rs = 0.903; p-value < 0.0005). When monoculture affects the abundance of host wasps, it directly affects the abundance of their natural enemies through ecological interaction between related trophic niches (Veddeler et al. 2005). Recent studies corroborate this statement since there was no direct correlation between the abundance and richness of the parasites and any of the landscape structure variables, but a direct relationship with the hosts was suggested (Holzschuh et al. 2010; Araújo et al. 2018b; Staab et al. 2018). Fornoff et al. (2021) found a direct relationship between the abundance of the “herbivore hunting wasps” community with the abundance of their natural enemies.

The lack of influence of the monoculture area on the abundance of bee nests collected in the reforestation areas was not expected. Thus, the abundance of bees could be influenced on a finer scale by the landscape related to structural complexity factors of the vegetation of the evaluated reforestations, such as plant species richness, height, the density of tree species, canopy cover, and basal area of the trees (a proxy for tree biomass) around sampling points (Steffan-Dewenter et al. 2002; Loyola and Martins 20082011; Araújo et al. 2018a; Coutinho et al. 2020; Fornoff et al. 2021). The surrounding vegetation did not influence the abundance of bees in recovering fallow areas within intensive farming matrices in northern Florida (Campbell et al. 2017). The authors suggested that the availability of preexisting cavities is the only factor that influences the abundance of bees in areas of intensive agriculture. This results from factors often absent from the landscape, such as pre-existing cavities, floral sources, among others.

The fact that the richness of bees, wasps, and natural enemies was not related to any of the landscape variables evaluated could again be explained by the spatial scale adopted in this study. Coutinho et al. (2020) found a positive correlation between the richness of bees and wasps and the size of the surrounding agricultural area considering wide spatial scales (above 2000 m buffer). However, this relationship was observed only in areas with an extremely diversified family farming matrix or surrounded by more structurally diverse environments, such as areas of native vegetation. In homogeneous landscapes, factors related to the structural complexity of local vegetation such as the richness of plant species and the height and density of trees may be more important in determining the richness of bees and wasps than general aspects of the landscape such as the size of the agricultural area (Tscharntke et al. 1998; Araújo et al. 2018a2021).

In agreement with the findings of the current study, the diversity of bees is often positively related to the diversity and vegetation cover of a landscape (Staab et al. 2018; Flores et al. 2019; Araújo et al. 2021; Fornoff et al. 2021). Large areas of continuous forest or more connected areas showed higher indices of bee diversity than small and poorly preserved forest fragments (Morato and Campos 2000). This results from the great heterogeneity of these environments, providing a higher number of resources both for nesting (greater abundance of old and decomposing trees, providing a greater number of nesting sites) and for foraging and provisioning of nests (greater abundance and diversity of resources plants), favoring the increase in bee diversity indices (Morato and Martins 2006; Fabian et al. 2014; Sexton et al. 2021). According to hypotheses derived from the theories of islands and metapopulations, larger forest fragments inserted in agricultural matrixes of great impact may be serving as a “source”, providing greater abundance and species richness for the studied reforestation areas (“sink” areas). These areas would contribute to the increase in the diversity of bees in patches of adjacent favorable vegetation (Bush 2000), as with areas undergoing restoration. The distance from the “source” can also influence the colonization of new areas (Bush 2000), which corroborates what was found in our study where the diversity of bees was greater in restored areas closer to forest fragments.

The fact that the composition of wasps sampled in reforestation areas varied according to the size of the nearby forest fragment areas is also supported by the theories of island and metacommunities. Larger forest areas would provide greater abundance and species richness, influencing the composition of the communities found in adjacent restoration areas (Steckel et al. 2014; Staab et al. 2018). Decreasing the size of forest fragments can also increase interspecific competition (Hadley and Betts 2012), change pollinator/plant network patterns (Hagen et al. 2012; Hadley and Betts 2012), increase local extinctions, and decrease the quality and quantity of resources offered to wasps (Hadley and Betts 2012). These alterations in environmental dynamics resulting from the fragmentation of native habitat favor some species adapted to edges and degraded environments and restrict other more specialized species (Stangler et al. 2015; Oliveira and Gonçalves 2017; Rocha-Filho et al. 2017). More specialized species have a preference for larger and more preserved fragments (Morato and Campos 2000; Araújo et al. 2018a2021) and thus are only found in larger reforestation areas with larger adjacent forested areas. With this evidence, we emphasize the importance of preserving forest fragments and conservation units to maintain the diversity of wasp and bee communities. Recent studies on a gradient of restoration in the Amazon have shown greater diversity of bees and wasps nesting in “mixed reforestations” (with native species planting) and in areas of secondary forest, indicating that the abundance, richness, and diversity of bees and wasps is greater in “intermediate” environments. This suggests that the variation in bee abundance and species richness along the gradient may reflect variation in food resource availability and variations in habitat structure (Araújo et al. 2021).

Wasps present a great capacity to colonize disturbed environments since they find greater prey abundance and a large quantity of ruderal plants that serve as a source of food. This seems to be the most likely factor that explains the absence of an influence of the landscape on the diversity of this group. This result was similar in all the reforestation areas studied (Morato and Campos 2000), indicating a greater capacity of wasps to colonize areas undergoing restoration in a shorter period of time (Araújo 2020; 2021). Concerning the diversity of natural enemies, their greater richness in some areas could be more related to the greater abundance of wasp and bee nests than to environmental factors due to their direct relationship with the hosts (Torné-Noguera et al. 2020; Fornoff et al. 2021).

The size of the area under recovery can directly affect the attempt to restore degraded environments. The size acts as a limiting factor by restricting the richness and abundance of species of colonizing plants, which alters the availability of niches and the heterogeneity of the habitat and hinds the process of ecological succession (Suganuma et al. 2014). The edge effect is also a relevant factor related to the size of the areas under restoration. Due to the irregular shape of the majority of the studied reforestation areas and the proximity to the agricultural matrices, the edge effect acts more intensely in smaller and narrower reforestation areas (Hendrickx et al. 2007; Araújo et al. 2018a; Zirbel et al. 2019). Smaller reforestation areas may be more vulnerable to disturbances from the adjacent agricultural matrices such as the drift of pesticide “clouds”, fire, flooding, wind, solar radiation, and invasive species (Kennedy et al. 2013; Rocha-Filho et al. 2017; Araújo et al. 2018a, 2021; Fornoff et al. 2021). These variations related to the size and irregular shape can affect the formation of the canopy and understory of reforestation areas. They reflect in the structure of the community of plant species that supply resources such as pollen, resins, and pre-existing cavities, favoring the appearance of areas of clearings with a predominance of invasive plant species that do not provide resources for bees and wasps (Montalvo et al. 1997; Morato and Campos 2000; Rocha-Filho et al. 2020). These alterations may favor some species more efficient in colonizing disturbed environments (Morato and Campos 2000; Araújo et al. 2018a) and limit the restoration of species that require specialized resources (Hendrickx et al. 2007; Flores et al. 2018, 2019; Staab et al. 2018). Variation in the composition of wasps and bees that nest in pre-existing cavities has already been observed depending on the size and shape of reforested riparian areas (Araújo et al. 2018a). Smaller and narrower reforestation areas lacked specialized species due to the low plant heterogeneity and the greater intensity of the edge effect in these environments (Araújo et al. 2018a).

We also detected an evident association of bee species such as Euglossa pleosticta, E. townsendi, Eufriesea auriceps, Megachile guaranitica, and Carloticola paraguayensis showing a preference for natural habitats, i.e., landscapes with greater areas of reforestation and forest. Some of these species can be considered indicators of well-structured environments since they are often found in well-preserved forest fragments (Mello and Gaglianone 2019; Sobreiro et al. 2019). In comparison, in smaller reforestation areas we detected a greater association with species of bees with generalist habits, that is, species of broader trophic niches, cosmopolitan, found in all biomes (Aguiar and Zanella 2005). For example, the species Centris analis and C. tarsata are known for their excellent nesting capacity in environments with extensive land and urban use, often found in areas of open vegetation, forest edges, and related to diverse crops of fruit trees (Aguiar and Zanella 2005; Matos et al. 2013). Another generalist species also associated with small reforestation areas established in the vicinity of large monoculture areas was Epanthidium tigrinum. This species presents wide geographical distribution, little demand for nesting sites, polyletic behavior, absence of seasonality patterns, and absence of natural enemies, resulting in a high capacity to colonize environments that suffer constant disturbances (Gomes et al. 2020). These generalist species may also be benefiting from the high abundance of ruderal herbs belonging to the Asteraceae and Leguminosae families, usually associated with these areas of intensive land use and edges of reforestation areas (Matos et al. 2013). Recent studies indicate that the size and shape of riparian areas in the process of restoration influence the composition of cavity-nesting bees and wasps (Araújo et al. 2018a).

Wasps of the genera Pachodynerus, Trypoxylum, Monobia, and Priochilus were sampled in all the studied reforestation areas, although with high abundance in small reforestation areas and with few forest areas nearby. These wasp genera are known for their wide geographical distributions and high abundances in diverse environments such as ecological corridors (Holzschuh et al. 2009), open vegetation areas (Tscharntke et al. 1998), and agro-systems (Matos et al. 2013; Coutinho et al. 2020). They are considered generalist wasps with a high capacity to colonize disturbed environments (Buschini and Buss 2010). This high adaptability to disturbed environments may be related to the greater availability and variety of the prey of these species (larvae of Lepidoptera and spiders) usually found in these locations (Holzschuh et al. 2010; Krewenka et al. 2011). Their medium/large body size allows them to fly long distances and consequently colonize more distant patches in the landscape, as long as they are connected by fallow strips or organic farming (Holzschuh et al. 2009). The species Auplopus sp. 1 was associated with larger fragments and closer to forest areas. Species of this genus usually have a relatively small size and depend on specific food resources to supply their nests (spiders of specific species), being considered rare or exclusive to the neotropical region (Flores et al. 2018, 2019; Rocha-Filho et al. 2020).

We can conclude that reforestation areas such as those evaluated in the present study can be considered refuges or amenable to colonization for several species of bees, wasps, and their natural enemies, as long as these areas are in favorable landscapes (Araújo 2018a2021; Fornoff et al. 2021). Reforestation areas can be considered as corridor areas that connect habitat patches, contributing to the heterogeneity of the landscape. They provide essential resources for the survival of these organisms, functioning as an important tool in the conservation of local biodiversity (Staab et al. 2018). Despite the similarity in the characteristics of establishment and management of the reforested areas evaluated, aspects of the surrounding landscapes influenced the nesting of bees and wasps and, consequently, their natural enemies. Areas under restoration can be considered important refuges for forest species and can assist in the mobility of fauna, increasing the permeability of the landscape. Thus, these are important areas for the conservation of regional species, which provide essential services for the maintenance of ecosystems, including those that are restored. Restoration plans should analyze the effects of human activities on the restored landscapes and develop actions that seek to maximize the quality and heterogeneity of the surrounding matrices to guarantee ecological pollination and predation services, mitigate the decline in biodiversity, and assist in the restoration of degraded areas.