“…Several recent studies have analyzed the functional and/or phylogenetic diversity of communities of ants (Blaimer et al 2015, Smith et al 2015, Liu et al 2016, Arnan et al 2017, Agavekar et al 2019), a dominant insect group that regulates a wide variety of ecosystem services, such as seed dispersal, decomposition, nutrient cycling, and biological control (Del Toro et al 2012). Many of these studies have documented how the different dimensions of diversity vary among habitat types (Liu et al 2016, Agavekar et al 2019) or along environmental gradients (Smith et al 2015, Arnan et al 2017, Neves et al 2019, Neves et al 2023). Vertical stratification is a common feature of ant assemblages, especially in the tropics (Brühl et al 1998, Vasconcelos and Vilhena 2006, Wilkie et al 2010, Antoniazzi et al 2021, Leponce et al 2021, Leahy et al 2022, Xing et al 2023).…”