1 Introduction

Water is an essential resource for all living beings, whose quality is one of the most important indicators of a population’s well-being or vulnerability (Minayo et al. 2000). The availability of drinking water sources is decisive for society’s sustainability (WHO 2017).

In coastal areas, as well as in arid and semiarid regions, fresh surface waters are scarce or of low quality, which leads to the exploitation of aquifers, due to their less seasonal variability and ease of abstraction (Kumar et al. 2011; Amiri et al. 2016; Karunanidhi et al. 2020; Liu et al. 2020). In Brazil, groundwater accounts for 50% of the public water supply (ANA 2017). The underground reserves exploration was further intensified to overcome the surface water crisis resulting from the rainfall shortage over the period 2015–2016 (Marengo et al. 2017, 2018). The drilling of residential wells in São Mateus, ES, increased substantially after the collapse of the public supply, which relies on capturing the waters of the São Mateus River (Decree N° 9.319/2017 2020).

Compared to deep aquifers, phreatic groundwater is a lot easier to capture. Moreover, generally, it has good quality, given the recharge from precipitation and rivers (Naik and Awasthi 2003; Belkhiri and Mouni 2012; Tubau et al. 2017). In urban areas, the topmost aquifers have undeniable strategic importance in developing peripheral neighborhoods (Peixoto et al. 2020). The groundwater composition is mainly controlled by the mineralogical composition of the watershed and aquifer layers, rainfall regime, residence time, and aerosol deposition (Schot and Der Wal 1992; Islam et al. 2019). The alteration of these natural processes by anthropic activities, such as excessive abstraction, seepage of cesspits, and application of fertilizers and pesticides, compromises water quality (Chae et al. 2008; Prasanth et al. 2012; Affum et al. 2015; Rao et al. 2017; Gharbi et al. 2019; Akhtar et al. 2019; Mielke et al. 2020; Gaikwad et al. 2020; Costall et al. 2020).

The disordered growth of many Brazilian cities with precarious or nonexistent sanitation infrastructure has forced isolated populations or those from peripheral neighborhoods to resort to alternative water collection systems and to dispose of the domestic sewage in rudimentary cesspits or directly into water bodies (Silva 2003; Hirata et al. 2007, 2016; Malheiros et al. 2009; Oliveira and von Sperling 2011; Withers et al. 2013; Huang et al. 2013; Cotta et al. 2017; Marras et al. 2020). The contamination of an urban aquifer of Fortaleza city due to its sewage collection system’s precariousness was recently demonstrated by Peixoto et al. (2020). The influence of socioeconomic factors, local sanitation infrastructure, and water quality was evidenced by Pacata et al. (2020) and Ducci et al. (2020).

There are many cases of aquifer contamination by disease-causing bacteria, infectious viruses, and household chemicals in locations lacking a sewage system in Brazil (Gomes et al. 2011; Capp et al. 2012; Kronemberger 2013; Suhogusoff et al. 2013; Cavalcante 2014; Hirata et al. 2015; Oliveira et al. 2015; Neto et al. 2017; Varnier et al. 2017; Sabino et al. 2020). According to Hirata et al. (2019), pathogens’ contamination can spread from the water table to as depth as 60 m.

The presence of thermotolerant coliforms (TC) and Escherichia coli (E. Coli) in water is a reliable indicator of fecal contamination (WHO 2017). Mazhar et al. (2019) reported that about 30% of Pakistan’s deaths are related to groundwater consumption contaminated by pathogens given the absence of basic sanitation. Domiciles supplied with groundwater captured with shallow wells are subject to waterborne diseases, since, generally, no treatment technique is used before consumption (Neto et al. 2017). Besides, the lack of monitoring of these sources, the population’s unfamiliarity of the causes, and problems associated with groundwater contamination contribute to a higher incidence of diseases. The present study focused on evaluating the physicochemical characteristics and the microbiological contamination of the groundwater used by residents of Guriri, São Mateus—ES (Brazil), a coastal resort region devoid of a sewage system and without studies on the potability of its waters. The study has involved high school students in alerting the local population about the risks associated with these waters’ consumption.

2 Methodology

2.1 Study area

The city of São Mateus (18°43′ 09ʺ S; 39°51′ 09ʺ W) is 221 km from Vitória, capital of Espírito Santo (ES) State (Fig. 1). The neighborhood of Guriri, São Mateus, has grown at an accelerated pace. Officially, there are about 10,000 inhabitants (IBGE 2010), but more recent estimates indicate a population of 20,000 (Lira and Cavatti 2016). Due to the beauty of its warm water beaches, the beach resort receives a large number of tourists during the summer (between 100 and 150 thousand people), especially during new year’s and Carnival festivities (CHSM 2019).

Fig. 1
figure 1

Study area location

Despite the economic and tourist development, Guriri does not have a sewage collection system. Therefore, all households discharge their domestic effluents into cesspits. Besides that, many houses are not connected to the public water supply system. Even the ones assisted by it also appeal to shallow wells’ drilling to complement their provision in periods of high demand and irregular public supply (summer season). Thus, most homes, hotels, and other businesses have a well as an individual water supply solution. A movement intensified since the 2015–2016 hydric crisis (Alvalá et al. 2019), in which even the central neighborhoods of São Mateus city were under a water rationing (Decree N° 9.319/2017 2020), as a consequence of the marine intrusion in the São Mateus River during a period of low discharge.

The climate in northern ES is tropical (Am) with hot and rainy summers, with 31 to 34 °C and 70% of the annual rainfall of 1100 mm·year−1 concentrated between October and March, and dry winters, 13 to 18 °C (Ramos et al. 2016). The standardized precipitation index (SPI) classifies northern ES as susceptible to severe droughts between November and January (Uliana et al. 2017). This period coincides with the festivities and an increase of up to 500% in Guriri’s population, which intensifies groundwater exploration.

The study area, circumscribed by the 35 sampled wells, is 15 km2 (Fig. 2a). Its relief is flat, with an altitude of about 5 m above sea level.

Fig. 2
figure 2

Sampling points. a Location of the 35 wells and the Wallace Castello Dutra State School (WCDSS) in Guriri, São Mateus, ES. b Subsoil profile

This fluvic–alluvium plain can be considered as a multilayer system with high permeability. In the unconfined aquifer, the water table appears between 2 and 3 m deep in a substrate initially composed of layers (grayish, yellowish, and reddish) of sandstone with about 2 m of thickness up to 5 m. Then, there are layers of reddish clay up to 8 m and whitish clay up to 16 m deep, encompassing the greater quantity of water abstractions with PVC tubular wells (Ø 100 mm). The quaternary sediments consist of medium- to fine-grained quartz sands, with feldspars and micas dispersed between silty clay and clay interleaving, mostly related to floodplains of the Barreiras Formation (Albino et al. 2006).

2.2 Groundwater sampling, characterization, and results representation

High school students from the Wallace Castello Dutra State School (WCDSS) were trained on the techniques for collecting samples (NBR 9898 1987) and performing the hydrochemical characterization (APHA 1998). Sampling was performed after 2 min of pumping, using sterilized and decontaminated glass vials (1L), and analysis took place on the same day. The students registered the wells and recorded the depth and the distance between the well and the cesspit. They assisted in the measurements of pH and EC with portable sensors (KR20 and KR31, AKROM), and during the determinations of alkalinity (\({\text{HCO}}_{3}^{ - }\)), total hardness (\({\text{Ca}}^{ + 2} + {\text{Mg}}^{ + 2}\), both expressed as mg/L of \({\text{CaCO}}_{3}\)) and chloride (\({\text{Cl}}^{ - }\)) by volumetric techniques.

The concentrations of sodium (\({\text{Na}}^{ + }\)) and potassium (\({\text{K}}^{ + } )\) by flame photometry (Q498M2, Quimis), sulfate (\({\text{SO}}_{4}^{ - 2}\)) by turbidimetry (ITEST—IDLT-WV), and total soluble iron (\({\text{Fe}}_{{\text{T}}} = {\text{ Fe}}^{ + 2} + {\text{Fe}}^{ + 3}\)) by colorimetry (Genesys 10S, Thermo) were determined in the CEUNES/UFES laboratories, using standard procedures (APHA 1998). Thermotolerant coliform (TC) and E. coli were quantified using Colipaper®, with incubation for 15 h at 36 °C (Thermobac, Alfakit). The content of total dissolved solids (TDS) was estimated considering: \({\text{TDS}} = {\text{ EC}}^{1.0878} \times 466.5\), with EC in mS/cm. Ammonia (\({\text{NH}}_{4}^{ + }\)) was determined with a selective HANNA electrode (HI 4101). The error in ion balance (Hounslow 1995) usually does not exceed ± 10%.

Five sampling campaigns were carried out (Table 1). The daily rainfall series (1971–2019), minimum, maximum, and mean temperatures of INMET (National Institute of Meteorology) stations 83,550 and A616, installed in São Mateus, were used to estimate surface evapotranspiration (ET), by the Hargreaves method with correction coefficient, Kc = 0.7 (AWWA 1993; Yates and Strzepek 1994). Accumulated rainfall (Rain), ET, and the water balance (Rain–ET) were calculated for 30 days before each sampling campaign. It indicates that the water balance was negative for the first four campaigns and positive only in the last. When considering the monthly averages, the water balance was negative only in September 2016 (first campaign). In the other months, the rains were concentrated in the days after the samples collection (Table 1). In general, the year of 2016 had a negative water balance (− 312 mm), and 2017 a positive balance (+ 299 mm). It is well recognized that shallow aquifers (with water tables less than 3.5 m) may experience significant evapotranspiration losses (Naik and Awasthi 2003). The complete records for 2016 and 2017 are available as Online Resource 1 (Table 1S).

Table 1 Number of samples collected in each campaign, accumulated rainfall (Rain), evapotranspiration (ET), and water balance (Rain–ET)

According to the wells registration data, 31 of them are of the tubular kind, presenting depths from 11 to 13 m, and capturing waters from the whitish clay substrate, while the other four wells are hand-dug, 3 to 4 m deep, thus representing the water table in the fine yellowish sandstone substrate (vadose zone). Unfortunately, there are no monitoring wells in the area to record the water table fluctuations or pumping test results to estimate aquifer recharge (Türker et al. 2013). Additionally, the input associated with the volume of water supplied to residents by the public system (abstracted from a deep aquifer), or the groundwater output due to domestic needs, and residential well’s operation scheme (pumping rate, how many hours/day, and days/year) are highly variable (or unknown), preventing local groundwater budgeting.

In Brazil, Resolution CONAMA No. 396 (2008) provides environmental guidelines for the classification, prevention, and control of water bodies pollution. The Ordinance 2914 (2011) sets the drinking water standards. Internationally, the World Health Organization (WHO) guidelines are considered to ensure public health (WHO 2017). The maximum permitted values (MPV) of these references were used to assess the samples’ potability. For phosphorus, the limit of 0.10 mg/L, CONAMA n° 357 (2005) was used to complement the MPV.

Location maps and for infractions to MPV were generated with Google Earth Pro (Google Earth 2020). The diagrams of Piper and Gibbs were prepared with an electronic spreadsheet (USGS 2005) and with the Origin software (OriginLab 2018), according to Marandi and Shand (2018), to establish the compositional pattern of the waters and to identify the most impacting process on its development.

Principal component analysis (PCA) and hierarchical clustering analysis (HCA) were performed with free Chemoface software (Nunes et al. 2012), with self-scaled data (Lever et al. 2017) to investigate the similarities between variables and wells. Maps representing the spatial distribution of the physicochemical dataset obtained with the tubular wells were prepared using the inverse distance weighted (IDW) interpolation method (Zolekar et al. 2020) in QGIS software (QGIS.org 2020).

A Spearman’s rank-order correlation was used to evaluate the behavior of the variables and to test whether the separation between the well and the beach (\({\text{D}}_{{{\text{beach}}}}\)) or the setback between the well and cesspit (\({\text{D}}_{{{\text{cesspit}}}}\)) influences water quality. Kolmogorov–Smirnov normality test, linear regression, ANOVA, Pearson’s (r), and Spearman’s correlation coefficients (rs), Student’s T test, and F test were performed with the Origin software (OriginLab 2018), at the 5% probability.

3 Results and discussion

3.1 Assessment of potability

The results obtained with 69 samples from the 35 wells are summarized in Table 2. The Kolmogorov–Smirnov normality test (K–S test) indicates that most results have a normal distribution (α = 0.05); those parameters with rejected normality generally present elevated concentrations in individual wells. The complete dataset is available as Online Resource 1 (Table 2S).

Table 2 Compilation of results and infractions to the maximum permitted value (MPV)

To Ordinance 2914 (2011) and WHO (2017), the pH of potable water must be within 6 and 9 or 6.5 and 8.5, respectively. The pH of most samples (average 7.20 ± 0.60) meets the most restrictive WHO (2017) standard, except the four hand-dug wells (numbers 12, 29, 30, and 31) with slightly acidic water (pH 5.47 to 5.87). These wells also present low EC values, indicating waters with distinctive characteristics from those of tubular wells, whose pH values (between 6.78 and 7.89) agree with the drinking water standard.

In natural waters, pH is generally a function of the acid–base balance established by the carbon dioxide–carbonate system, in which an increase in the concentration of \({\text{CO}}_{2}\) implies a reduction in the pH (Hem 1985; Butler 1991). Thus, the acidity of the waters in the hand-dug wells probably results from the oxidation of organic matter present in the upper layers of the soil and the consequent increase in \({\text{CO}}_{2}\) close to the vadose zone, which explains the lower pH values of the shallower wells. Even disagreeing with the ideal range, the pH verified in these wells does not preclude waters use, since extreme values (pH < 4 or pH > 10) capable of irritating eyes, skin, gastrointestinal system, and mucous membranes (WHO 2012) were not recorded in any sample.

In Figs. 3, 4, and 5, the results are represented on a color scale. The infractions to MPV are highlighted in red. The datasets of pH, TDS, and EC are represented in Fig. 3. The EC values are distributed in three classes arbitrarily established because there is no MPV for EC.

Fig. 3
figure 3

Map of infractions for pH and TDS against MPV and distribution of EC values

Fig. 4
figure 4

Map of infractions for chloride, alkalinity, iron, and phosphate

Fig. 5
figure 5

Map of infractions for thermotolerant coliforms (TC) and the total of infractions. n.d. = not detected

The TDS values (50 to 779 mg/L) indicate waters with low to medium salinity, with 11 wells exceeding 500 mg/L. According to CONAMA Resolution No. 396 (2008), all samples are classified as freshwater, as TDS < 1000 mg/L. None sample exceeded the limit of 500 mg/L for total hardness. Other parameters (\({\text{Na}}^{ + } ,{\text{ Ca}}^{2 + } ,{\text{ Mg}}^{2 + }\), and \({\text{SO}}_{4}^{2 - }\)) also meet the respective MPV listed in Table 2.

Iron is an omnipresent element in groundwater (Edmunds and Shand 2008), whose results ranged from below the detection limit to 4.2 mg/L, making iron the parameter with the highest infraction index (70%) (Fig. 4). At this level, it is not harmful to health, but its precipitation may produce taste and color in the water, incrustations in pumps and filters, as well as stained clothes and toilet parts (Di Bernardo 1993).

Values higher than the MPV for alkalinity and chloride were found in 19 and 8% of the samples, respectively. For phosphate, the highest values were recorded in wells 32 and 33 (located in the central region of Guriri), and its origin may be associated with the use of fertilizers in gardens. The contamination from the cesspits is unlikely given the absence of TC in the samples of these wells.

According to Hirata et al. (2015), the deficiency of sanitation infrastructure causes aquifer contamination due to sewage destination in cesspits. In the present study, 43% of the samples (from 17 of the 35 wells) contained TC between 80 and 5,600 CFU/100 mL. Additionally, 20% of the wells also presented \(E. coli\), revealing the population’s exposure to dangerous pathogens.

The loads and high percentage of contaminated wells verified in this study probably stems from the elevated density of cesspits (1000 to 2000 units/km2) in the neighborhood (Lira and Cavatti 2016), which exceeds the recommended limit of 1000 units/km2 (NBR 13969 1997). Besides, most of the units were built in disagreement with the technical parameters for septic tanks, generating an influx of sewer waters that contaminates the aquifer.

Nitrogen compounds may impose a risk to human health (Oliveira and Von Sperling 2011). Wells 7, 13, 20, 28, and 35 were analyzed for ammonia, and results (2.5 to 4.5 mg/L) exceeded the MPV of 1.5 mg/L (Ordinance 2914, 2011). It is noteworthy that these wells also presented TC, indicating that both contaminants originate from the effluents of the cesspits and are dispersed by the groundwater flow. The occurrence of elevated concentrations of ammonia in concert with TC in groundwater was also reported by Chae et al. (2008). Peixoto et al. (2020) correlated the ammonia concentrations (0.1 to 3.0 mg/L) of an urban aquifer with the area’s precariousness of basic sanitation. These studies demonstrate the general decline in water quality in unsewered regions.

According to Fig. 5, the wells with the highest number of violations to the MPV (with two or more infractions) are concentrated in the Guriri beach resort’s central part, coinciding with the population density. Among all of them, the wells 8 and 23 had a higher infraction number. Hence, the residents were recommended to implement both filtration and chlorination systems to reduce iron and pathogens.

Samples from well 17 were collected and analyzed on two occasions, with none infraction perceived. The setback distance to the home’s cesspit is considerable (20 m), and the well is on a corner (between a street and an avenue), diminishing the number of cesspits around it and the chance of the water’s bacteriological contamination. The public water system assists this region. So, most homes only use groundwater during shortage periods with insufficient public supply, which diminishes the transport of cesspit effluents in the well’s direction.

In retribution to water samples donation, each contributing family received a report, alerting for infractions to potability standards. Also, they were instructed to proceed with water treatment before consumption. The construction and installation of the homemade chlorinator, model EMBRAPA (2014), were recommended and exemplified for the WCDSS students. That way, they can act as disseminators of information about the risks of using untreated water and as promoters of the disinfection technique.

3.2 Hydrochemical assessment and correlations

In the Piper diagram, the combination of ternaries, one for cations and another for anions, and its projection on a central diamond allow the hydrochemical classification (Hounslow 1995). As shown in Fig. 6a, the waters of the hand-dug wells (12, 29, 30, and 31) are predominantly chlorinated, while the others are mixed bicarbonate-chlorinated, all with low sulfate content. On average, the composition follows the order \({\text{HCO}}_{3}^{ - }\) > \({\text{Cl}}^{ - }\) >  > \({\text{SO}}_{4}^{2 - }\) (53, 47, and < 0.1% in milliequivalent (mEq)). For cations, the waters are sodium type, with similar proportions of calcium and magnesium, in the order \({\text{Na}}^{ + }\) > \({\text{Ca}}^{ + 2}\) > \({\text{Mg}}^{ + 2}\) (42, 30, and 28% in mEq). A similar hydrochemical pattern was observed in the São Mateus River and reservoirs in the northern region of ES (Cotta et al. 2017; Favero et al. 2020).

Fig. 6
figure 6

Diagrams of Piper (a), Gibbs (b), and TDS versus pH graph with 95% confidence intervals for both types of wells (c)

With the Gibbs diagram, it is possible to infer about the natural processes that contribute to the elevation of the TDS of the waters from its meteoric composition. The interaction of water with carbonates is signaled by low values in the \({\text{Na}}^{ + } /\left( {{\text{Na}}^{ + } + {\text{Ca}}^{2 + } } \right)\) ratio, and with silicates by high quantities (Marandi and Shand 2018). Figure 6b shows that the four hand-dug wells have the lowest TDS values and are aligned between the meteoric composition and the field of water interacting with silicates, in which the tubular wells plot.

According to Hounslow (1995), a reduction in the \({\text{Na}}^{ + } /{\text{Cl}}^{ - }\) ratio with an increase in TDS may indicate the exchange of \({\text{Na}}^{ + }\) for \({\text{Ca}}^{2 + }\) or \({\text{Mg}}^{2 + }\), while \({\text{Na}}^{ + } /{\text{Cl}}^{ - }\) values close to 1 reflect the dissolution of halite (\({\text{NaCl}}_{{\left( {\text{s}} \right)}}\)). However, ratios greater than 1 indicate the weathering of silicates as a source of \({\text{Na}}^{ + }\) for groundwater. The \({\text{Na}}^{ + } /{\text{Cl}}^{ - } { }\) results of this study ranged from 0.43 to 2.59, with a mean of 1.15 (regardless of TDS, r = 0.30), indicating that the weathering of silicates is the leading source of minerals for the waters, as also pointed by the Gibbs diagram of Fig. 6b. Wu and Wang (2014) demonstrated that the hydrolysis of silicates is the principal process responsible for the hydrochemical evolution of water from shallow wells (< 30 m) in the Datong region, China. Rao et al. (2017) and Gharbi et al. (2019) used the Gibbs diagram and ratios between constituents (\({\text{Na}}^{ + } /{\text{Cl}}^{ - }\) and \({\text{Na}}^{ + } /{\text{HCO}}_{3}^{ - }\)) to relate the compositional changes recorded in groundwater from Andhra Pradesh region (India) and Sidi Bouzid aquifer (Tunisia), respectively, with silicate weathering.

Assuming that the aquifer is homogeneous in the area of the present study, it is proposed that the waters of the hand-dug wells are younger, being the direct result of the rainwater infiltration through the vadose zone. This process explains their lower TDS values and the slight compositional change. The waters of the tubular wells, on the other hand, are older and more chemically evolved, as they experience longer residence time and, therefore, present higher TDS and distinct compositional alteration after interacting with the subsequent aquifer layers.

The pH versus EC diagram (Fig. 6c) also presents the separation into two groups with its characteristics, one having low pH and EC values, gathering the four hand-dug wells, and the group of tubular wells with waters of higher pH and EC values. The pH and EC values were evaluated by the F and t tests, revealing that the differences between the means are statistically significant, which probably reflects the fact that these wells capture water from different layers of the aquifer. Several other parameters (\({\text{TDS}},{\text{ Na}}^{ + }\), \({\text{Ca}}^{ + 2} ,{\text{ Mg}}^{ + 2}\), \({\text{HCO}}_{3}^{ - } ,{\text{ Cl}}^{ - }\), and TC) also showed significant differences between the two types of wells, confirming the compositional contrast (Table 3). Maps representing the spatial distribution of the groundwater’s physicochemical characteristics captured by the 31 tubular wells are presented in Fig. 1S (Online Resource 1). Most parameters’ spatial distribution shows a division between the north and south sides of the neighborhood, while some present higher concentration in the central region.

Table 3 Mean values and standard deviation of hand-dug and tubular wells, and probability (p) associated with Student’s t test

The PCA and HCA were applied to the parameters’ mean values (Fig. 7a, b). The principal components (PC), PC1 and PC2, explain 40.28 and 13.48% of the original data, and only these two were used in HCA. The number of groups highlighted in the HCA was established based on a visual examination of the dendrogram, allowing the recognition of two main groups. One composed by the hand-dug wells (12, 29, 30 and 31) and the other by the deeper tubular wells. Among them is the well 20, whose waters (analyzed on two occasions, n = 2) presented an intermediate composition, probably as a result of an intense groundwater extraction rate, which promotes the infiltration and mixing with the waters of the upper layers.

Fig. 7
figure 7

(a) PCA biplot diagram with main components, PC1 versus PC2, (b) HCA dendrogram

In the PCA biplot diagram (Fig. 7a), the larger the vector of a variable on a PC axis, the higher the loading on that PC. The shallow wells stand out from the others, with the separation occurring on the horizontal axis of PC1, due to the high loads of pH, \({\text{CE}},{\text{ Na}}^{ + }\), \({\text{HCO}}_{3}^{ - }\), and total hardness (Hard) on PC1. In the vertical axis, TC and \({\text{Fe}}_{{\text{T}}}\) have the highest projections on PC2, which contributes to the distinction of wells 1 and 20, which presented the highest TC and FeT values, respectively.

Islam et al. (2019), using PCA and HCA, were able to differentiate three distinct groups of water, due to anthropogenic and natural controls of a multilayer aquifer in the Bengal delta, Bangladesh. Gharbi et al. (2019) differentiated five distinct types of waters (with a significant overlap in the Piper and Gibbs diagrams) from the Sidi Bouzid aquifer (Tunisia). Islam et al. (2019) and Gharbi et al. (2019) used three PCs in the HCA, which increase the segregation power of the analysis. In our study, just two PCs were used, since PC3 represented only 10.26% of the data variation, with low eigenvalue and inflection in the scree plot. Gomes et al. (2020) also employed only two PCs at HCA, which were sufficient to classify the groundwater of Boquira, BA (Brazil), into three groups.

The correlation matrix is presented in Table 4, detaching the highest values (rs ≥ /0.6/). EC and pH are strongly correlated with \({\text{Na}}^{ + } ,{\text{ Ca}}^{ + 2} ,{\text{ and HCO}}_{3}^{ - }\) contents since these are the major constituents of these waters. The dissolution and weathering of minerals such as carbonates (\({\text{CaCO}}_{3}\)) and silicates, as albite (\({\text{NaAlSi}}_{3} {\text{O}}_{8}\)), Eq. (1), explain the correlations between \({\text{Na}}^{ + } ,{\text{ Ca}}^{ + 2} ,{\text{ HCO}}_{3}^{ - }\), and pH, since such processes contribute together, to raise the values of these parameters, mainly in the tubular wells that capture slightly alkaline waters below the vadose zone. Similar correlations and weathering processes described the hydrochemical composition of the waters of 20 shallow wells (from 5 to 30 m) studied by Bouderbala and Gharbi (2017) in another alluvial aquifer.

$$2 {\text{NaAlSi}}_{3} {\text{O}}_{8} + 2{\text{H}}_{2} {\text{CO}}_{3} + 9{\text{H}}_{2} {\text{O}} \rightleftharpoons {\text{Al}}_{2} {\text{Si}}_{2} {\text{O}}_{5} \left( {{\text{OH}}} \right)_{4} + 4{\text{H}}_{4} {\text{SiO}}_{4 } + 2{\text{Na}}^{ + } + 2{\text{HCO}}_{3}^{ - }.$$
(1)
Table 4 Spearman’s correlation matrix between the mean values for the 35 wells

The data obtained during the wells’ registration revealed that they are drilled close to the cesspit of the residence (\(D_{{{\text{cesspit}}}}\)). The separation ranged from 5.2 to 25 m, with an average spacing of 15 m. The absence of a significant correlation between TC counts and \(D_{{{\text{cesspit}}}}\) revealed that pathogens’ contamination is not strictly related to the setback distance (Fig. 8). The presence of TC in half of the studied wells probably arises from the high permeability of the aquifer layers, enabling the dispersion of pathogens. The vadose zone’s insufficient filtering action also facilitates the diffusion of pathogens, as exemplified by Voisin et al. (2018), to a shallow aquifer constituted by glaciofluvial sediments.

Fig. 8
figure 8

Thermotolerant coliforms (TC) counts with lateral setback distance from cesspit to residential drinking water wells. Wells are identified by number; those that tested positive to E. Coli are highlighted in red

There is no consensus on the minimum \(D_{{{\text{cesspit}}}}\) capable of preventing groundwater contamination (Vaughn et al. 1983; Yates et al. 1986). Lauthartte et al. (2016) recorded the presence of coliforms in 100% of the 82 residential wells (8.2 to 17 m depth) studied; such a scenario was attributed to the small separation (from 4 to 66 m) between the wells and the cesspits. Elisante and Muzuka (2016) verified the presence of TC and \(E Coli.\) in groundwater, even in samples taken 50 m away from a pit source. In Guriri home lots, the higher setback possible is limited to 25 m, and the correlation between TC and the \(D_{{{\text{cesspit}}}}\) registered in our study was low, as shown in Table 4. Considering these facts, we propose that residents cannot be secure that there will not be contamination of their well, having a cesspit inside their residential plot. Therefore, any improvement in groundwater quality depends on the construction of the sewage collection system or replacing of the current cesspits by septic tank capable of providing the necessary sanitary protection (Withers et al. 2013).

The exploration of coastal aquifers requires specific abstraction strategies to prevent seawater intrusion (Mondal et al. 2011; Ma et al. 2020). Salinization in freshwater pumping areas can occur through the migration of brackish or seawater (Gad and Khalaf 2015; Costall et al. 2020; Liu et al. 2020). The absence of strong correlations between the distance from the well to the beach (\(D_{{{\text{beach}}}}\)) with \({\text{Na}}^{ + }\) or \({\text{Cl}}^{ - }\) or \({\text{SO}}_{4}^{2 - }\) or EC (Table 4) indicates that the seawater intrusion does not reach the well’s capture zone.

Almeida and Junior (2007) used the decrease in the values of EC and \({\text{Cl}}^{ - }\), from the coast, to study the marine intrusion in the aquifer of Maricá, RJ (Brazil). As presented in Fig. 9, there is no systematic reduction in the values of \({\text{Cl}}^{ - }\) and CE with the distance from the beach (the slope of the fittings is not significantly different from zero, α = 0.05), indicating that the wells are not affected by the marine intrusion under current pumping conditions.

Fig. 9
figure 9

Mean values of chloride and electrical conductivity (EC) of the 31 tubular wells

Figure 10 shows the EC value for wells with three or more samples analyzed, along with the average of the rainfall series (mean rainfall), the monthly records (Rain), and evapotranspiration (ET) during the monitoring period. In general, the EC values did not show a single trend of behavior, while some wells presented constant values (e.g., 13 and 14), others showed some variation. A function was adjusted to the EC data, and the rainfall accumulated in the 30 days before each sampling campaign, using the well 8 as an example. The low slope of the linear regression (dashed line) indicates that the EC variation does not correlate with the rainfall (r = 0.35, the slope is not significantly different from zero, at 0.05 level).

Fig. 10
figure 10

Electrical conductivity of water, average (1971–2019) of the rainfall series (mean rainfall), monthly rainfall (Rain), and evapotranspiration (ET), over the study period. The dashed line represents the function adjusted to the EC data of the well 8 with the accumulated rainfall of 30 days before sampling

The highest EC values were recorded in the third campaign (March 2017), preceded by months (December 2016 and January 2017) with small or negative water balance, allowing the accumulation of marine aerosols in the region’s soil. In the sequence, the intense rainfall of February 2017 produced a positive water balance. Therefore, the infiltration of rainwater transported the accumulated salts to the aquifer, increasing the water’s EC. A detailed assessment of the recharge process on Indian groundwater resources was made by Naik and Awasthi (2003), demonstrating the ruling contribution of rainfall to a shallow aquifer’s replenishment.

In 2017, the rainfall regime was atypical, with records from May to July exceeding the historical series’ double (Fig. 10). The reduction in EC recorded in the fourth and fifth campaigns indicates that the rains from this period overcame the ET index, promoting the aquifer’s recharge and dilution of dissolved salts. The reduction in EC is fast due to the intercommunication between the surface and the aquifer’s subsequent layers. Peixoto et al. (2020) and Amiri et al. (2016) reported similar behavior in different coastal aquifers. Troudi et al. (2020) also attributed the variation in EC and TDS values recorded in a shallow aquifer (Guenniche plain, Tunisia) to oscillations of the rainfall regime, and its effect over the piezometric level, the accumulation and the leaching of salts from the topsoil to the groundwater.

4 Conclusions

The physicochemical and bacteriological contamination parameters evaluation for groundwater samples from 35 residential wells revealed violations of drinking water standards. All samples were classified as freshwater, but pH, chloride, and alkalinity in some of them exceeded the desirable limits. Iron presented the highest number of infractions, but at levels that did not compromise groundwater use.

The hydrochemical classification and multivariate techniques revealed the existence of two distinct groups of water. Differences in pH, EC, Na+, hardness, and \({\text{HCO}}_{3}^{ - }\) values were identified as the main responsible for the discrimination. The samples from deeper wells presented higher mineral constituents concentration than shallower wells, revealing the hydrochemical evolution through aquifer layers. The weathering of silicates was identified as the main factor for the development of the Na+\({\text{ HCO}}_{3}^{ - }\) pattern.

Locally, there is no control over groundwater exploitation. Due to the lack of inspection, residential wells are drilled without a minimum setback distance from the cesspits. The leniency of the public administration to this situation results in the contamination of half of the wells. Considering the widespread of TC in the wells, we propose that groundwater quality improvement depends on the replacement of the cesspits by septic tanks or that the construction of new ones becomes prohibited. Meanwhile, water disinfection is necessary, and the tablet chlorinator was recommended to all residences.

The salts accumulation in months with low rainfall and their dissolution and leaching processes during months with positive water balance control the groundwater’s EC values. In turn, this reveals the high permeability of the aquifer layers and its vulnerability to the assimilation of pollutants. Further studies are necessary to assess the recharge and withdrawal processes to establish a management strategy. Our investigation alerts the urgent need to protect this natural resource, vital for the resort’s social and economic development.