Introduction

Groundwater systems constitute an important and sometimes unique source of drinking water supply in many parts of the world. Freshwater availability is under increasing pressures connected to human activities, varying from water abstraction to contaminating activities such as agriculture and livestock production, which threaten drinking water resources and irrigation supplies. Other than these possible sources of contamination, in coastal regions, the groundwater resource is often vulnerable to seawater intrusion and to polluted-water seepage from upper unconfined aquifers. Day by day, demand for good quality water is rapidly increasing, leading to processes of salinization that threaten the exploitation of additional water resources. Salinization can be the result of processes related to both seawater intrusion and water–rock interaction mechanisms, among them, adsorption of Na by the aquifer matrix, with release of Ca, which is a process that is activated when seawater intrusion occur (Shi et al. 2001; Custodio 2002; Pulido-Leboeuf 2004; Jalali 2007; Bouchaou et al. 2008; Mondal et al. 2011; Ben Hamouda et al. 2013). Besides this, contributing to the increase in pressure on water resources, the expansion of agricultural areas and the excessive use of fertilizers are responsible for another source of groundwater salinization (Kim et al. 2003). The relation between human activities and the increase of salinization of groundwater resources is well documented for situations whereby freshwater is reused in agricultural activities. In this case, the increase of salinization is not only associated with the introduction of fertilizer and pesticides, but also associated with open irrigation channels, which are easily subject to water evaporation and will lead to an accumulation of salts in the remaining fraction. In addition, irrigation return flows can alter natural groundwater salinity.

Knowledge of groundwater flow in an aquifer system is an important tool in the development of a conceptual circulation model. Such a model must consider the geological layers (water–rock interaction processes) and the transport of dissolved salts. In the case of sedimentary basins, models should account for the presence of salt structures or minerals dispersed within the basin layers, as the flow model will be sensitive to these features. In these specific types of investigation, the isotope hydrology approach can provide additional information concerning the groundwater systems (Carreira et al. 1996, 2014); the isotope data will serve as a sometimes crucial tool in identifying the salt origins (Pulido-Leboeuf 2004; Bahir et al. 2008; Galego Fernandes et al. 2009; Stadler et al. 2012; Carreira et al. 2014).

The origin of groundwater salinization in coastal regions has been investigated using a variety of different approaches, from physical-geochemical data to environmental isotopes, and via the traditional hydrogeological tools to statistical approaches. For example, Bouzourra et al. (2015), in the shallow coastal aquifers of Aousja-Ghar El Melh and Kalâat el Andalous, NE Tunisia, identified the origin and processes of groundwater salinization through geochemical and statistical approaches (using principal components analysis, PCA), while Re et al. (2013) identified and characterized the main processes causing groundwater salinization in the coastal aquifer of Bou-Areg (Morocco) by a multi-tracer geochemical approach (chemical data and environmental isotopes).

As mentioned by Custodio (2010), not only the semiarid regions in African and Mediterranean countries are facing degradation/mineralization of groundwater coastal resources; Europe is also handling an increase in aquifer salinization ascribed to the long coastline in which human activities are concentrated. Salinization problems have been growing with more intensive groundwater abstraction from a range of geological formations—for example deltaic areas (Rhine-Meuse in The Netherlands; Aveiro in N Portugal; Llobregat in north-eastern Spain), in the detritical coastal formations of Belgium and northern France, and in the carbonate coastal massifs in Italy. In addition, a growing concern for the southwestern USA aquifers has been reported by Langman and Ellis (2010), as depletion of freshwater aquifers is linked with the potentiometric-surface relationship with deeper aquifers, which can induce saltwater intrusion due to the increase of hydraulic gradient. In Australia, freshwater-resource salinization by seawater intrusion has been reported in several regions, from Queensland to Western and Southern Australia, ascribed to extended periods of low rainfall and abstraction increase, associated with a population increase along the coast (Werner 2010).

One of the main goals of this hydrogeological study is the identification of the key mechanisms responsible for groundwater degradation triggered by an increase in mineralization. Use of the isotopic composition (tritium and carbon-14) and its relation with geochemical parameters, can provide an effective label/tool in the identification of the main cause of this problem (seawater–groundwater mixing; active seawater intrusion vs. ancient seawater; dissolution of salt domes or dissolution of minerals dispersed in the geological layers, for example).

Natural processes of water–rock interaction are the main mechanisms responsible for water mineralization within the two research areas chosen, although this trend can be locally disturbed by anthropogenic activity in agricultural areas by the addition of fertilizer or even due to salts concentration by evaporation of irrigation water. The two research areas are on the Atlantic Coast: the Essaouira basin in western Morocco, and the Lower Tagus-Sado basin in southwest Portugal. Both research areas are located in sedimentary basins, and cation exchange processes can easily occur with the uptake of Na dissolved in the groundwater and release of Ca by the aquifer matrix, leading to an increase in groundwater mineralization.

The main goal of this report is to investigate and compare the origins and variation of solutes present in the two similar sedimentary coastal aquifers, using the same methodologies. The same analytical tools (environmental isotopes and geochemical data) were used in a similar geological and climatic context, and different conclusions can be obtained concerning the origin of salinization and degradation of both groundwater resources. The combination of isotopic data and geochemical data interpretation in a hydrogeological context will be presented and discussed, bearing in mind that the main objective is the identification of the key mechanisms responsible for groundwater degradation in both regions.

A secondary objective of this study is to understand the relation of these coastal systems (discharging directly to the sea) to sea-level fluctuations under a climatic-change scenario that will affect directly the system dynamics. These aquifers can represent potential archives of past climatic events, since the changes in the isotopic composition of the oceans during a glaciation period can be recorded in the paleowaters. The paleoclimate evidences encoded in groundwater composition (isotopic signatures) will allow the extraction of information and help in the reconstruction of past environments (Plummer 1993; Carreira et al. 1996; Carreira 1998; Edmunds and Droubi 1998; Galego Fernandes and Carreira 2008; Re and Zuppi 2011; Foster and MacDonald 2014).

Study areas: geological and hydrogeological settings

Essaouira basin (Morocco)

The first research area is located in Morocco on the Atlantic Ocean coast, in the upper zone of the Essaouira sedimentary basin, in the vicinity of Essaouira municipality (Fig. 1). The area is delimited by the Atlantic Ocean to the west, Mramer Wadi basin to the N and NE, and by Igrounzar Wadi crystalline massive in the E and SE.

Fig. 1
figure 1

a Essauoira regional map with the groundwater sample locations (W Morocco). The orange circles represent the sampled Turonian aquifer points; the pink circles represent the Plio-Quaternary sampled points. bc Schematic cross sections of Essaouira sedimentary basin

From the geological point of view, sedimentary layers from the Triassic to Quaternary fill Essaouira basin, covering a Palaeozoic basement. The Triassic deposits crop out in the eastern and southern parts of the region (Fig. 1), and marly sediments of Lower Cretaceous to Cenomanian overlie the Jurassic layers composed by carbonate rocks. Duffaud et al. (1966) in Galego Fernandes et al. (2009) call attention to the presence of Senonian gypsy marls covered by the Plio-Quaternary detrital deposits of sands, conglomerates and sandstones. The geological structures delineate a syncline bordered by the Tidzi diapir, of Triassic age, outcropping east and south. The main deformations within Essaouira sedimentary basin are represented by circular diapirs such as the Kechoula structure, NE–SW to WNW–ESE trending folds, and by strike-slip faults and by fault zones injected or not by Triassic salt, trending NNW–SSE to ENE–WSW (Medina 1989; Broughton and Trepanier 1993; Mehdi 1994 in Galego Fernandes et al. 2009).

Under the influence of the Atlantic Ocean and continental processes, Essaouira region is characterized by a cool dry season (January mean temperature around 10 °C) followed by a hot dry season (26–27 °C, July average temperature), reflected through large spatial and temporal precipitation variability. The mean annual rainfall ranges from 400 to 560 mm in the High Atlas to approximately 280 mm in the plains (Bahir et al. 2008, 2015).

Two main aquifer systems have been identified in the region: (1) a multi-layer aquifer mainly composed by detritial deposits (sandstones, conglomerates and sands) of the Mio-Plio-Quaternary age, responsible for the majority of water supply to the population. This contacts directly with the Triassic and Cretaceous formations beneath; and (2) calco-dolomitic layers of Cenomanian-Turonian age (Bahir et al. 2015), representing a karstic aquifer, according to Rachid et al. (2014), the Turonian horizon crops out on the Jbel Kchoula between 400 and 700 m above sea level (a.s.l.), while the Plio-Quaternary layers crop out between the sea level and 300 m a.s.l. The Essaouira basin is represented by a succession of syncline and anticline structures, crossed by deep fault systems, ascribed to the Atlas tectonic and Triassic diapirs formation (Rachid et al. 2014).

Lower Tagus–Lower Sado Basin (Portugal)

The second studied region is located south of Lisbon, part of the Lower Tagus–Lower Sado sedimentary basin. The Miocene aquifer constitutes an important water resource for a large highly industrialized region with highly populated urban areas. The mean annual temperature in the region is around 16 °C, and the mean annual precipitation ranges between 500 and 700 mm. About 15% of the precipitation contributes to the annual recharge.

From the geological and structural point of view, the Lower Tagus–Lower Sado basin is characterized by a huge synclinal structure composed by Tertiary sediments, mainly formed by marine deposits (Simões 2003). Alluvial and fluvial terraces are made out of sands and clays representing the Quaternary and the Pliocene layers, overlaying the Miocene deposits composed by sandstones and limestones of marine origin related to different marine transgression and regression events (Fig. 2). These deposits together show an average thickness around 200 to 300 m, although in the central part of the basin these values increase up to 800 m (Simões 2003). Geophysical studies performed by Astier (1979) in the region indicate the presence of a graben structure at a depth to which a “saline formation” was identified. Geological and geophysical data are not in agreement with the type of saline structure associated with Setúbal-Pinhal Novo graben; a brine formation unit, ancient seawater trapped in the sediments, or a diapiric structure at depth are the main hypotheses formulated to explain the increase in the groundwater mineralization.

Fig. 2
figure 2

a Lower Tagus–Lower Sado basin geology and tectonics (adapted from Simões 2003); b Location of the sampling sites; c Schematic cross section of the Lower Tagus–Lower Sado basin (adapted from Simões 1998 and from Carreira et al. 2014)

Three main groundwater systems are recognized in Sado basin: (1) the shallow Quaternary aquifer constituted by the alluvial formations; (2) the Pliocene fluvial terraces composed by the sands and clay layers; and (3) the Miocene deposits made of sandstones and limestones, representing the main water resource in the region (Simões 2003).

Materials and methods

Sampling and analytical approach

With the main goal of combining isotopic and geochemical data to trace and compare the salinization origin of the two sedimentary basins, the selected methodological approach was similar for both studied basins. In Essaouira basin, two field campaigns were carried out, during 2004 and 2006; 20 water samples from springs, dug wells and boreholes, from the coast to inland, were collected and analysed. Physico-chemical parameters such as temperature, pH, and electrical conductivity were determined in situ. Total alkalinity was measured a few hours after collection in the laboratory. The chemical analyses (major anions and cations) were performed at the GEOLAB Laboratory University of Marrakech (Morocco) using the following methods: atomic absorption spectrometry for Ca2+ and Mg2+; emission spectrometry for Na+, K+; ion chromatography for SO42−, NO3 and Cl. The isotopic composition was determined by the IAEA-IHS (International Atomic Energy Agency-Isotope Hydrology Section) laboratories in Vienna, Austria. The δ2H and δ18O composition was obtained by mass spectrometry; the 3H concentration was obtained using the electrolytic enrichment followed by the liquid scintillation counting method (IAEA, 1976). The 13C and 14C determinations were carried out on the total dissolved inorganic carbon (TDIC) of the groundwater, precipitated in the field as BaCO3 at a pH higher than 9.0 and afterwards measured by liquid scintillation counter. The δ13C values were obtained by mass spectrometry.

In the Lower Tagus–Lower Sado basin, 40 boreholes were selected and sampled in five fieldwork campaigns between November 1996 and 1999, tapping both the shallow (Pliocene) and the deep confined aquifer (Miocene). The following determinations were performed:

  1. 1.

    The major cations and anions were measured in the Portuguese National Water Authority laboratories using the following methods: atomic absorption for Ca2+ and Mg2+; emission spectrometry for Na+ and K+; and ion chromatography for SO42−, NO3 and Cl. The total alkalinity was measured a few hours after collection.

  2. 2.

    All the isotopic determinations were performed at C2TN/IST (Portugal) laboratories, using the mass spectrometer SIRA 10 VG-ISOGAS for δ2H, δ13C and δ18O determinations. The 3H concentration in the water samples was obtained using the electrolytic enrichment followed by the liquid scintillation counting method (PACKARD Tri-Car-Carb 2000 CA/LL), and the radiocarbon determinations were carried out in TDIC, precipitated in the field as BaCO3 at a pH environment higher than 9.0. In the laboratory, the barium carbonate was transformed into benzene using a synthesis line and afterwards measured by a liquid scintillation counter (PACKARD Tri-Carb 2770 TR/SL).

The groundwater isotopic composition (2H/1H and 18O/16O ratios) are reported versus the V-SMOW standard, using the conventional δ-notation, whereas 13C/12C ratios of dissolved inorganic carbon are reported versus V-PDB (Coplen et al. 1996). The overall precision was better than ±1 ‰ for δ2H and ± 0.1 ‰ for δ18O, following the analytical methods of Friedman (1953) and Epstein and Mayeda (1953). In the case of δ13C, the overall precision was around ±0.1‰. The 3H concentration was determined by liquid scintillation counting after electrolytic enrichment. The error associated with the 3H measurements (usually around 0.6 TU (tritium units) varies with the 3H concentration in the sample. 14C concentration is expressed in pmC (percentage modern Carbon). The errors associated with this method vary with the concentration of carbon available in each sample, and increase with the decrease of the 14C concentration in the sample (IAEA 2014). For both regions, tritium analyses were carried out for all sampled water points; however, in a selection of samples, radiocarbon determinations were also performed, depending on the accessibility of the points and the available budget.

Data treatment

Geochemical calculations

The chemical data were represented in a Durov diagram in order to evaluate the groundwater chemical evolution along the flow paths and relation/pattern within the water samples. The program HIDSPEC, a hydrogeochemical model that calculates the speciation of natural waters (Carvalho and Almeida 1989), was used to calculate the saturation indexes (SI) of all the groundwater samples collected in the two research areas. Based on the geological layer, the saturation indexes chosen were with respect to calcite, dolomite, gypsum and halite. The same program was also applied to estimate the ionic balance for each water sample.

Moreover, ionic exchange between the clay matrix and the groundwater has a very important role in the geochemical evolution and facies of the water systems, in particular in sedimentary basins, like in Essaouira and the Lower Tagus-Lower Sado basins. The ion exchange “process” is able to modify the ion concentration in the aqueous system to a varying degree. In order to investigate the importance of this process, ion exchange for Ca2+ and Na+ was calculated by comparing the difference (Δn) of the measured concentration (n(m)) and that expected if mixing with seawater is occurring (n(c)). This Eq. (1) proposed by Pennisi et al. (2006) is based on the Cl concentration (conservative ion) and the “mobility behaviour” of Na and Ca:

$$ {\displaystyle \begin{array}{l}\Delta {n}_X={n}_{X(m)}\hbox{--} {n}_{X(c)}\\ {}\Delta {n}_X={n}_{X(m)}\hbox{--} \left[{n}_{X(0)}+\left({n}_{Cl(m)}\hbox{--} {n}_{Cl(0)}\right)\ \left({n}_{X(sea)}/{n}_{Cl(sea)}\right)\right]\end{array}} $$
(1)

where nX(0) and nCl(0) are the concentrations of ions X and Cl in groundwater not affected by sea water intrusion (mean composition).

Stable isotopes (δ2H and δ18O)

The groundwater recharge (in both areas) is derived from direct infiltration of precipitation; groundwater samples in this case will reflect the mean isotopic composition of that regional precipitation. Sometimes a difference is observed between the groundwater isotopic composition and the composition of the regional precipitation. In this situation, assuming that a deviation occurs between the groundwater and the regional precipitation, an explanation for this variation must be sought (Fig. 3). Two different hypotheses can be formulated on the assumption that no evaporation before infiltration has occurred and no mixture between different aquifer units is happening: (1) recharge can be derived from a different source other than regional precipitation, for example surface water (rivers, lakes or dams); (2) precipitation recharge has occurred under a different climatic regime, i.e. paleowaters are involved.

Fig. 3
figure 3

a δ2H vs. δ18O, showing the possible processes that may be able to modify the initial isotopic composition of the groundwater: examples of various mixing lines and hypothetical aquifers are represented. b Stable isotopic composition (δ18O) versus salinity, with identification of the different salinization processes (dissolution of salts; mixing with seawater; mixing with a brine; and evaporation—adapted from Gonfiantini and Araguás-Araguás 1988)

The use of both stable isotopes and radiocarbon as a dating tool in groundwater systems permits the use of δ18O and δ2H data as an archive of ancient climates. The isotopic composition of groundwater is controlled in the first instance by the isotopic composition of rainfall in the recharge area. This in turn, may fluctuate due to several effects: (1) modification in the vapour source conditions, (2) degree of rainout of air masses, (3) a shift in the source of moisture, and (4) change in the isotopic composition of the global ocean (global climatic variations). All these factors are climate-controlled (Rozanski et al. 1992; Edmunds 2005).

In groundwater salinization studies, it is common to try to identify a relation between the isotopic and hydrogeochemical groundwater evolution along the flow paths (Fig. 3b)—i.e., in dissolution processes the stable isotope concentration of the water remains invariable, while the water salinity increase is noticed. A different trend is observed when seawater intrusion is occurring or has occurred, with a parallel isotopic and mineralization enrichment (Fig. 3). This unique characteristic enables the identification of the main processes based on isotopic and geochemical data (Araguás-Araguás and Gonfiantini 1989; Edmunds and Droubi 1998; Carreira et al. 2014).

Radioactive isotopes (3H and 14C)

Tritium can be used as a global transient tracer for studying dynamics of the hydrological cycle or as a qualitative tracer in the identification of active recharge and mixing between different hydrogeological units (Avrahamov et al. 2010; Carreira et al. 2010). Due to its half-life of 12.32 years (Lucas and Unterweger 2000), in hydrogeological studies its application as a dating tool is rather limited, but it has been widely used in hydrology as an age indicator for young groundwater. The large quantity of 3H release into the atmosphere during the early 1960s is nowadays decreasing to environmental levels prior to the thermonuclear tests. Nevertheless, 3H concentration is very useful not only as an indicator of active recharge of the aquifer systems but also in the identification of mixing between aquifer systems (deep aquifers with tritium-free water, and shallow aquifers with tritium detectable).

Radiocarbon, with a half-life of 5,730 years, occurs in atmospheric CO2, living biosphere and the hydrosphere after its production by cosmic radiation and it is partly associated with nuclear activities (anthropogenic origin). The 14C concentration of carbon-containing materials is often given in percent modern carbon (pmC). The apparent age of groundwater was calculated using the carbon-14 concentration measured in the total dissolved inorganic carbon (TDIC), using the following equations (Gonfiantini and Zuppi 2003):

$$ t=8267\ln \frac{C\mathrm{o}}{C} $$
(2)
$$ C\mathrm{o}=100\ \left(\updelta \mathrm{TDIC}-\updelta \mathrm{R}\right).\kern0.5em \frac{\left(1+\frac{2.3\ {\upvarepsilon}_{13}}{1000}\right)}{\left(\delta s-\delta \mathrm{R}+{\upvarepsilon}_{13}\right)} $$
(3)

where C is the measured 14C activity of TDIC in the groundwater sample expressed in pmC, and Co stands for “initial” 14C activity of TDIC (also in pmC). 14C activity of soil CO2 has an assumed value of 100 pmC, while δTDIC stands for the measured 13C concentration of TDIC, δR is the 13C concentration of the carbonates fraction in the reservoir rock matrix, δS represents the 13C concentration of soil CO2, and ε is the 13C enrichment factor associated with dissolution of soil CO2 in the infiltrating water. For 14C, the enrichment factor during CO2 dissolution is assumed to be 2.3ε13; the number 8267 stands for the mean lifetime of 14C in years. The value δS = −22 ± 2 ‰ was adopted for calculating the initial 14C activity using Eq. (2). The value of δR = 0 ± 1 ‰ was adopted for soil and rock carbonates present in the system. To account for fractionation during dissolution of soil CO2 in the infiltrating water, two values for ε13, 9.0 ± 0.1 and 9.7 ± 0.1 ‰, were used, representing Holocene and glacial conditions, respectively, to account for the temperature dependence of ε13 (Mook et al. 1974).

Essaouira Basin (Morocco): results and discussion

Several hydrogeological research studies have been focused on the groundwater salinization within Essaouira sedimentary basin, partially focused on the identification of the main mechanisms responsible for groundwater degradation. Different approaches have been used in the treatment of the chemical and isotopic data such as mass balance simulation and principal component analysis (PCA): Hsissou et al. 1999; Bahir et al. 2000, 2008, 2017; Galego Fernandes et al. 2009; Ouhamdoucha et al. 2017. According to these studies, the groundwater degradation can be ascribed to mixing with seawater in the littoral areas, whereas in inland regions the apparent contribution of Tidzi diaper to the groundwater salinization cannot be ignored. From the 20 groundwater samples collected during this study from boreholes, dug wells and springs (distributed from the coastline towards the central part of the basin), 15 represent the Turonian formations (karst aquifer system), and the remaining five represent the Plio-Quaternary aquifer.

Hydrogeochemical approach: water–rock interaction

The hydrogeochemical results obtained for the Essaouira groundwater samples are reflecting different water–rock interaction processes present along the different flow paths. The depth of the wells—boreholes (B) and dug wells (W)— in the Turonian aquifer varies between 170 and 13.5 m, while in the Plio-Quaternary aquifer the depth varies between 45.0 and 12.5 m. Through the Durov diagram (Fig. 4), it is noticed that most of the water samples from both aquifer systems at Essaouira are Ca-Mg-Na-HCO3-Cl type. From a hydrogeochemical point of view, no clear difference can be found between the Turonian and Plio-Quaternary water samples. Essentially, only the pH values—and the NO3 concentrations, see Table S1 of the electronic supplementary material (ESM)—signify a clear difference between the groundwater samples from the shallow and deep aquifers.

Fig. 4
figure 4

Durov diagram for Essaouira basin: the brown triangles represent Plio-Quaternary groundwater samples and blue circles represent the Turonian groundwater samples. The cluster represented by dotted ellipses is probably due to gypsum dissolution

A cluster of three samples from the Turonian aquifer (BT9, ST7 and ST12) can be identified (Fig. 4) based on the low concentrations of Na and K and the highest concentrations of SO4 and TDS. This facies (Ca-Mg-SO4) should likely be associated with evaporitic minerals dissolution (gypsum) that were identified within Essaouira basin. The possibility that this type of composition can be ascribed only to anthropogenic contamination by agriculture does not seem feasible. However, the accrual of SO4 associated with agricultural activities (use of fertilizers or pesticides) is a possibility, but this hypothesis is not corroborated by the nitrate concentrations found in these samples (Table S1 of the ESM). There is no strong correlation between NO3 and SO4 (r = 0.21). However the hypothesis of a denitrification mechanism within the system should not be disregarded; the coefficient of correlation between NO3 and Cl is r = 0.57, although the correlation between the SO4 and Cl (r = 0.19) is negligible. Another hypothesis to be considered is the intermittent application of fertilizers and pesticides which can lead to contamination of the shallow groundwaters. During its path through the unsaturated zone (soil), groundwater may gather anthropogenic contaminants from the regional application of fertilizers and pesticides, which could cause serious harm to the water resources. Consequently, some waters could be contaminated during their up-flow, from the groundwater reservoir to the ground surface, through processes of mixing with contaminated shallow groundwater (Ouhamdouch et al. 2015).

The anthropogenic influence in groundwater degradation is observed through nitrate determination, with concentrations varying from 0 up to 214 mg/L. The Plio-Quaternary water samples show the highest NO3 concentration, with a mean around 99 ± 64.6 mg/L. A strong correlation between the NO3 with Na and with Cl was found, respectively r = 0.73 and r = 0.66. Galego Fernandes et al. (2009) also mention the NO3-Cl relation. Those authors associated this with an external origin for both ions with salt remobilization caused by precipitation after a long period of drought. The strong correlation (0.73) is possibly due to salts remobilization (increase of Cl, Na and NO3) and simultaneously to more active anthropogenic influence in the basin. During water reuse by agriculture and any water up-flow, evaporation will induce a salt concentration increase. An additional NO3 source could be attributed to the presence of the sodium nitrate mineral nitratine, although not mentioned in the lithological sequence of Essaouira basin. Nitratine can occur in semi-arid to arid environments. Nitrate can be replenished by occasional desert thunderstones, which fix N2 from the air (webmineral.com 2016), supporting the NO3 increase measured in the groundwater.

Minor correlation (r = 0.1 and r = 0.2 for the Turonian and Pliocene aquifers, respectively) is found between the pH values and the salinity, possibly indicating that the concentration of the dissolved salts is not related to the acid conditions of the groundwater but is mainly due to the dissolution of more soluble minerals (Manno et al. 2007), like gypsum and halite. Mass balance data were applied to identify the main mineral dissolution processes that could be responsible for the main geochemical features within the groundwater samples (Fig. 5).

Fig. 5
figure 5

Water–rock interaction in Essaouira groundwater samples, between different solutes: a Ca2+ vs. HCO3; b Ca2+ + Mg2+ vs. HCO3; c Ca2+ vs. SO42−; d Na+ vs. Cl; e Ca2+ vs. Na+; f Ca2+excess vs. Na+ excess, standing for (ΔnCa > 0) and (ΔnNa > 0) respectively. The brown triangles represent Plio-Quaternary and blue circles represent the Turonian groundwater samples

Evaporate minerals dissolution was initially assumed to represent the main processes occurring in the groundwater flow paths from recharge area to discharge. In Fig. 5, evaporate minerals dissolution (1:1 straight lines) for calcite, dolomite, gypsum and halite are shown; however, none of the groundwater samples lies along the different trend lines. HCO3 concentration is not strongly correlated either with Ca or with Mg concentration (Fig. 5a,b) pointing to a different origin, other than calcite or dolomite dissolution. This increase in Ca2+ and Mg2+ is detected in both aquifer systems in Essaouira basin. Highlighted in Fig. 5c, three water samples collected from the Turonian aquifer appear distant from the rest, and above the gypsum dissolution line, indicating an important income of sulphate, probably partly from gypsum dissolution and possibly also some contribution from anthropogenic activities (agriculture). Moreover, the Na+ and Cl dissolved in the groundwater do not seem to be primarily associated with halite dissolution, and neither to seawater/freshwater mixing processes (Fig. 5d).

Ionic exchange processes in different proportions are able to modify the ion concentration in the aqueous system. Several studies (Cates et al. 1996; Martínez and Bocanegra 2002; Pennisi et al. 2006; Carreira et al. 2014) point to the importance of subsurface adsorption of Na+ by the aquifer matrix, with release of Ca2+. According to those studies, this mechanism can be induced by intruded seawater in the geological formations. In order to estimate the importance of this process, ion exchange for Ca2+ and Na+ was calculated by comparing the difference (Δn) of the measured concentration (n(m)) and that expected if mixing with seawater is occurring (n(c)). This Eq. (1) proposed by Pennisi et al. (2006) is based on the Cl concentration (conservative ion) and the “mobility behaviour” of Na and Ca.

In the Essaouira case study, these values represent the average composition of the groundwater samples with an electrical conductivity lower than 1,000 μS/cm (ST4; WT6 and BT10). Most of groundwater samples show Na+ deficit (ΔnNa < 0) and none show Ca2+ excess (ΔnCa > 0), which does not support the hypothesis formulated that the missing Na+ in the groundwater could be the result of cation exchange processes (Fig. 5e,f). Additionally, the saturation indexes (Table 1) of the evaporate minerals show that all water samples are saturated with respect to calcite and dolomite (except for BT1, SP18 and SP19) but under-saturated with respect to gypsum and halite, with the exception of samples ST7 and ST12. The variability in both salinity and ion composition found in the groundwater samples, points to a lithological heterogeneity in the region, which may change considerably from one part of the basin to another.

Table 1 Saturation indexes and isotopic data of the groundwater samples from Essaouira research area

Isotopic approach - Essaouira basin

The δ18O and δ2H composition of Essaouira groundwater samples plot along the global meteoric water line (GMWL), and along the local meteoric water line (LMWL) presented by Rachid et al. (2014), roughly parallel to the GMWL (Fig. 6a). The groundwater samples indicate a meteoric origin, not significantly affected by evaporation. The Plio-Quaternary aquifer (mean composition) shows an enriched isotopic composition when compared with the Turonian water samples, around 0.7 ‰ in oxygen-18 and around 6‰ in deuterium (Table 1). The different isotopic concentrations found between the two aquifers are due to the different recharge altitudes. The main recharge area of the Plio-Quaternary aquifer is located on the Essaouira plain, while recharge of the Turonian aquifer probably takes place in the High Atlas Mountains (the highest peak range, elevation of 4,167 m above sea level (a.s.l.). The isotopic depletion measured in sample WP16 could be associated with mixing with the Turonian aquifer; this hypothesis is also supported by the Plio-Quaternary average value of 23 °C.

Fig. 6
figure 6

Essaouira basin: a δ2H vs. δ18O; b δ18O vs. TDS; c δ18O vs. Cl; d δ18O vs. Na+; e δ18O vs. SO42−. SW–FW seawater–freshwater; LMWL local meteoric water line (Rachid et al. 2014). The freshwater mean composition (end member) was calculated using the mean values of the groundwater samples that have electrical conductivity lower than 1,000 μS/cm; (δ2H = −31.1 ‰; δ18O = −5.43 ‰; TDS = 650.7 mg/L; Cl = 104.03 mg/L; Na = 55.75 mg/L; SO4 = 45.75 mg/L). The brown triangles represent Plio-Quaternary and blue circles represent the Turonian groundwater samples

Plotting the oxygen-18 concentration as function of the total dissolved solids (TDS), Cl, Na+ and SO42− concentration (Fig. 6b–e), no clear trend in the seawater/freshwater characteristics is found. The samples with the highest mineralization are dispersed, not clearly indicating a mixing mechanism, neither a dissolution process. Only three groundwater samples from the Turonian aquifer appear as outliers due to SO4 enrichment, which could be associated with gypsum dissolution or to anthropogenic activities (Fig. 6e).

Tritium concentration was determined in 10 water samples with concentrations varying between 0 and 3.4 TU, indicating an active recharge of the aquifer systems (Table 1). In contrast, the carbon-14 determinations carried out in five wells do not agree with the tritium presence in the groundwater system (samples BT1, WT5 and SP18). As mentioned in the preceding, the apparent radiocarbon age of groundwater was calculated using the carbon-14 concentration measured in the TDIC in the present groundwater (Eqs. 2 and 3). The apparent carbon-14 ages obtained vary from modern to 2.78 ka.

The presence of tritium in “old” groundwater samples BT1 and WT5 can be associated with the contribution of ‘dead’ carbon from the dissolution of carbonate minerals to the groundwater system, meaning that the groundwater samples are much younger than the obtained apparent ages (Table 1). This hypothesis is supported by the groundwater alkalinity values higher than 300 mg/L as wells as a high NO3 concentration, indicating most probably anthropogenic influence.

Lower Tagus–Lower Sado basin (Portugal): results and discussion

The Lower Tagus–Lower Sado aquifer system represents an important water resource for a large region that is highly populated and industrialized. Over the last few decades, this aquifer system has been extensively exploited, leading to an increase in the groundwater mineralization and to a growing concern regarding the quality of the water for human supply, agriculture and industry. From the recharge area towards the coastline, an increase in the groundwater mineralization is observed. The salt concentration (TDS) varies from 80 mg/L near the recharge area, up to around 8,000 mg/L near the coastline (Fig. 2). However, this mineralization tendency is disrupted by the Pinhal Novo graben; geophysical studies performed by Astier (1979) in the region indicate the presence of a “saline formation” connected to the Pinhal Novo graben structure that allows mineralisation to rise.

Several hydrogeological studies have been conducted in the region using hydrodynamic, hydrogeochemical, geophysics and environmental isotope approaches to investigate the main sources of salinization in the groundwater system (Simões 2003; Carreira et al. 1994, 2014). These studies showed that the mineralization should be ascribed to uncontrolled exploitation, inducing: (1) mixing with highly polluted shallow aquifers; (2) active seawater intrusion and/or (3) salinization ascribed to brine dissolution detected at depth by geophysical studies. Ancient seawater trapped in the sediments, a brine formation unit or a diapiric structure at depth are possible structures that can be responsible for the groundwater salinization increase.

Hydrogeochemical approach: water–rock interaction

Natural processes of water–rock interaction are the main mechanisms responsible for water mineralization along the Sado basin, although this trend can be locally disturbed by anthropogenic action in agricultural areas, by the application of fertilizers or even due to the salts concentration by evaporation of irrigation water (Simões 1998, 2003). Analysing the physical and chemical results obtained for the groundwater samples collected in the different fieldwork campaigns, a progressive increase in the TDS is observed. The salts concentration varies from 80 up to 2,565 mg/L in the shallow Pliocene, while in the deeper Miocene aquifer it reaches values between 200 and 8,000 mg/L near Sado River (Table S2 of the ESM). In the discharge zones, the rise of the more mineralized waters, occasionally thermal waters (~26 °C), is detected. These mineralized waters can be partly related with mixing with ancient seawater trapped in the sediments or with brine dissolution mechanisms. Additionally, the tectonic structures found in the basin can act as preferential pathways of this deep groundwater to the surface. A gradual change from Ca-HCO3 type waters to a Na-Cl type is observed when the groundwater-sample composition is plotted on a Durov diagram (Fig. 7).

Fig. 7
figure 7

Durov diagram for Lower Tagus-Lower Sado basin: The green triangles represent Pliocene; the red diamond represent the Mio-Pliocene and blue circles represent the Miocene groundwater samples. The stars represent the mean seawater composition

The Pliocene and Mio-Pliocene water samples have distinctly lower pH values when compared with the Miocene; two evolutionary trends can be recognized based on the anion concentrations, one associated with an increase in the Cl concentration, the other established by SO42− enrichment. An evolutionary pattern towards the seawater composition identified in the TDS distribution suggests that mixing between seawater and freshwater is occurring in the Miocene aquifer.

The lack of correlation (r = 0.21) between the groundwater mineralization (TDS) and the pH indicates that dissolved salts concentration in the water is related to the dissolution of most soluble minerals present in the aquifer matrix and not to the more-or-less acid environment (Manno et al. 2007). In order to find out the significance of the dissolution process within the groundwater evolution, Ca2+, Mg2+ and Na+ concentrations were plotted versus HCO3, SO42− and Cl (Fig. 8).

Fig. 8
figure 8

Water–rock interaction between different solutes for Lower Tagus–Lower Sado groundwater samples: a Ca2+ + Mg2+ vs. HCO3; b Ca2+ vs. HCO3; c Ca2+ vs. SO42− and d Na+ vs. Cl . The green triangles represent Pliocene; the red diamonds represent the Mio-Pliocene and blue circles represent the Miocene groundwater samples

Two trend lines are observed (Fig. 8a,b), related to Ca and Mg, pointing to different sources other than calcite and/or dolomite dissolution. Ca enrichment is also noticed when plotted vs. SO4 concentration (Fig. 8c). A group of samples appears isolated, more enriched in Ca, possibly due to ion exchange mechanisms and higher contribution of gypsum dissolution; these samples define a parallel trend line to the 1:1 gypsum dissolution line.

A strong correlation between the Na and the Cl concentration (r = 0.98) is obtained for the groundwater samples. When represented in an orthogonal diagram, the samples are placed along the seawater/freshwater mixing line, approximately close to the halite dissolution line (Fig. 8d), indicating an important mechanism responsible for the groundwater geochemical signatures. Yet, another process must be investigated to clarify the depletion in Na. The Na+ decrease could be associated with ion exchange mechanisms, corroborating not only the Na decrease but also the Ca enrichment (Fig. 8c,d). To verify this hypothesis, the mean composition of the groundwater symbolising the “initial composition (freshwater component)” was calculated assuming the average electrical conductivity was lower than 1,000 μS/cm (n = 20).

The increase in the groundwater mineralization is consistent with an increase in the saturation indexes, as observed in samples from the Miocene aquifer (Fig. 9). Some of the samples are saturated with respect to calcite and dolomite, but all are under-saturated with respect to gypsum. When the Ca2+ and Mg2+ concentrations are plotted versus HCO3 concentration, the samples do not locate near the calcite or dolomite dissolution lines (1:1 line). This inconsistency could be due to ion exchange mechanisms along the groundwater flow path, explaining the two different evolution trends in the Ca2+ and Na+ plot, both above the line of seawater/freshwater mixing (Fig. 9e); this reflects the lithological heterogeneities inside the sedimentary basin, and ionic exchange mechanisms, with different proportions. The Eq. (1) proposed by Pennisi et al. (2006) was applied (Fig. 9e,f); most groundwater samples present a Na+ deficit (ΔnNa < 0) and an excess of Ca2+nCa > 0), corroborating the hypothesis that the missing Na+ and increasing Ca2+ concentration is ascribed to ion exchange mechanisms.

Fig. 9
figure 9

Water–rock interaction, dissolution processes for Lower Tagus–Lower Sado groundwater samples: a SICalcite vs. TDS; b SIDolomite vs. TDS; c SIGypsum vs. TDS; d SIHalite vs. TDS; e Ca vs. Na; f Ca2+excess vs. Na+excess . The green triangles represent Pliocene; the red diamonds represent the Mio-Pliocene and blue circles represent the Miocene groundwater samples. Part f of the figure is adapted from Carreira et al. 2014

Isotopic approach: Lower Tagus–Lower Sado Basin

Most of the groundwater samples collected in the Lower TagusLower Sado basin are distributed along the GMWL, although a different trend is defined by the seven groundwater samples from the Miocene aquifer. These seven samples draw a parallel line to the GMWL (Table 2); thus, there is no strong evidence of evaporation prior to infiltration (Fig. 10). One possible explanation for this isotopic deviation is that the recharge occurred under a different climatic regime—a colder period (Carreira et al. 2014) towards the last glacial maximum (LGM).

Table 2 Isotopic composition and apparent carbon-14 age of the Lower Tagus–Lower Sado groundwater samples
Fig. 10
figure 10

Lower Tagus–Lower Sado basin: a δ2H vs. δ18O; b δ18O vs. TDS; c δ18O vs. Na+; d δ18O vs. Cl; e δ18O vs. SO42− and f TDS vs. Apparent 14C age. The green triangles represent Pliocene; the red diamonds represent the Mio-Pliocene and blue circles represent the Miocene groundwater samples. Part b of the figure adapted from Carreira et al. 2014. SW–FW seawater–freshwater

The isotopic composition of the glacial ocean is not well defined; however, the available information estimates of changes in δ18O range from +1.3‰ (Fairbanks and Matthews 1978) to +1.0 ‰ (Schrag et al. 2002). During the LGM the European continent remained under prevailing westerly circulation, with an isotopic continental effect for both δ2H and δ18O, similar to the present-day value. (Rozanski 1985; Schrag et al. 2002). The Lower Tagus–Lower Sado system is located on the Atlantic Coast, it would receive precipitation mainly from a first-step condensation of maritime moist air masses. Thus, the isotopic fluctuations of the source (ocean) will have visible impact on the isotopic composition of the newly formed groundwater, greater than the global temperature decrease.

When the 18O isotopic composition of the groundwater samples is plotted versus the TDS, Cl, Na+ or SO42− concentrations, the samples with the highest mineralization plot over or very close to the seawater/freshwater mixing line (Fig. 10), suggesting that this process is mainly responsible for the groundwater salinization. This hypothesis is corroborated by ionic exchange mechanisms in different proportions along the flow paths that can be triggered when seawater intrusion is occurring.

The tritium determinations were carried out on all the groundwater samples collected during the four fieldwork campaigns. In the Pliocene aquifer samples, the tritium (3H) concentration varies between 1 and 3 TU (Table 2), yet no tritium was found in the Miocene groundwater samples. Radiocarbon determinations carried out on the TDIC varied in the Pliocene samples from 71.9 ± 0.7 to 88 ± 0.8 pmC, and from 2.9 ± 0.3 up to 45.6 ± 0.9 pmC in the Miocene groundwater samples.

The apparent radiocarbon age of the groundwater samples was calculated using Eqs. (2) and (3). A simple model was used, since the saturation index with respect to calcite is not significant, and the δ13C concentration in the TDIC of the groundwater samples is around −10 ‰, indicating a minor contribution recognised as carbonate dissolution. The estimated apparent carbon-14 ages of the groundwater samples vary between modern (Pliocene aquifer samples 5 and 27) up to 26.6 ± 3.1 ka BP (Miocene aquifer sample 3d). The 14C apparent ages obtained for the deepest aquifer indicate the possible presence of paleowaters (with exception of borehole 31), with an average age around 19 ka BP (Table 2), pointing to a possible recharge during the LGM.

Two evolution trend lines for the Miocene groundwater samples can be identified when the groundwater mineralization (TDS or Cl concentration) is plotted against the apparent groundwater age, possibly established by different salt origins: brine dissolution, evaporitic dome dissolution, or ancient seawater trapped in the sediments. Equally, active seawater intrusion appears to play the dominant role in water mineralization of the Pliocene aquifer in the northern part of the basin, near the Tagus River, where the increase of salinization is not followed by a groundwater age increase (Fig. 10f). The strong positive correlation between mineralization and ageing of the groundwater indicates mixing with ancient seawater trapped in the sediments of the basin during its formation. This trapped seawater has no 14C in their composition, and thus is 14C free. In this case, the increase of salts in the groundwater system may be ascribed to the ancient seawater trapped in the sediments during the sedimentary basin formation. A similar effect was presented by Sukhija et al. (1996) for a coastal area of Madras, India, and by Avrahamov et al. (2010) in a research project carried out on the saline groundwater in the Dead Sea area (Middle East) involving attempts to date brines. Those projects distinguished paleomarine and modern seawater intrusion on the basis of a combined approach using radiocarbon, tritium and hydrogeochemical data.

Assuming that recharge of the deep aquifer took place during the LGM, the relation between the 14C apparent groundwater ages of samples and their isotopic composition (δ2H and δ18O) was investigated in order to identify the “presence of a cooler period” recorded in the groundwater system. The research works carried out by the authors on Aveiro coastal aquifer, northern Portugal (Carreira et al. 1996; Carreira 1998), found a different isotopic evolution from the European continent, i.e. the paleowaters infiltrated during the LGM are more enriched than the modern regional precipitation. This pattern was also observed in Namibia and in the Florida coastal aquifers, USA (Vogel et al. 1982; Plummer 1993). One possible explanation for this difference in trend must be related to the preferential removal of the lighter isotopic species (1H and 16O) during polar ice cap formation. This isotopic fractionation induced an isotopic enrichment in the residual oceanic water. According to the results of the aforementioned projects in Aveiro, Namibia, and Florida, coastal-aquifer isotopic composition will reflect (1) the isotopic modifications that occurred in the ocean during that period, and not the atmospheric temperature variations, and (2) the position of the polar front during the LGM. Great Britain and all of Central Europe were covered by an ice mass, while the Iberian Peninsula (the Sado Basin and Aveiro) experienced a colder climate of about 5–6 °C, values supported by noble gases determinations (Carreira 1998; Edmunds 2005).

In the case of the Lower Tagus–Lower Sado basin, the groundwater dating indicates the presence of paleowaters recharged during the LGM; however, the isotopic indicator of a different colder period for this time period will be masked by the mixing with a different water body (ancient seawater mixing). Nevertheless, the mean isotopic composition was estimated using the isotopic composition data of all water samples with a TDS < 650 mg/L from the deep (Miocene) aquifer (maximum limit of salinity settled to calculate the mean isotopic composition of the groundwater) in the region, and the mean isotopic composition of the shallow aquifer (Pliocene). The difference in 18O content for these two aquifers is 0.20 ‰ (Miocene aquifer: δ18Omean = −4.54 ± 0.14 ‰, n = 17; Pliocene aquifer: δ18Omean = −4.71 ± 0.15 ‰, n = 9). The Miocene aquifer is isotopically enriched when compared with Plio-Miocene or Pliocene waters. This may indicate an isotopic composition evolution similar to the one observed in Aveiro palaeowaters (Carreira et al. 1996).

Final remarks

Coastal groundwater resources represent relatively multifaceted systems that are not easy to understand, are under complex hydrogeological conditions and often involve human intervention. In previous research, this type of system was studied in a “simple way”, where seawater intrusion was the only mechanism considered able to modify the groundwater composition. Knowledge is sought on the origins of the salinity and the means of preventing the salinity impacts, and therefore the use of integrated geochemical and isotopic methods is important to understand the wide range of salinity issues. This knowledge is fundamental in the context of deterioration of water quality resulting from anthropogenic actions such as pollution or over abstraction of groundwater resources. Among the human factors, the intensification of salinity directly by pollution or indirectly by agricultural activities, and/or excessive pumping, will lead to intrusion of saline groundwater into the freshwater system. Environmental isotopes together with the geochemical data provide, beyond question, an effective marker for seawater and freshwater, and enable tracing of seawater intrusion and identification of processes that may be responsible for water salinization.

Comparison synopsis: Essaouira vs. Sado basin

The main goal of this work was to understand the salinization processes present in the groundwater systems of two sedimentary basins under similar climate and geological settings, using comparable approaches. In Essaouira basin, the groundwater salinity does not increase linearly down gradient; no clear trend of seawater/freshwater mixing was identified by the geochemical approach or by use of isotopes. The groundwater samples from the shallow Miocene aquifer are dispersed and did not clearly point to a mixing mechanism or to dissolution processes, as the major processes responsible for the mineralization increase. However, the water samples from the shallow aquifer are strongly correlated by TDS and Cl, indicating that chemical reactions within the aquifer are clearly occurring through halite dissolution. Active recharge is occurring and, based on tritium concentration and by using the 18O fractionation with altitude, one can assume that the recharge area for the deep aquifer should be in the High Atlas Mountains, about 200 km from Essaouira. The apparent carbon-14 ages obtained vary from modern to 2.78 ka BP. The discrepancy between 3H and 14C concentrations in the water–rock interaction processes must call on the contribution of ‘dead’ carbon from the carbonate minerals to the groundwater system, leading to older carbon-14 apparent ages (Table 1). This hypothesis is supported by the groundwater composition with alkalinity values higher than 300 mg/L as well as a high NO3 concentration, indicating most probably anthropogenic influence and partially to dissolution of the sodium nitrate mineral nitratine. No paleoclimatic record was identified within the Essaouira basin’s deep groundwater system.

In contrast, in the Lower Tagus–Lower Sado basin, the natural processes of water–rock interaction are the main mechanisms responsible for water mineralization, although intermittent evidence of anthropogenic activity in some agricultural areas is found (salt concentrations increase in the groundwater by evaporation of the irrigation water and via the impact of fertilizer usage). Two different geochemical evolution trends, both diverging from the seawater/freshwater mixing line, are associated with different flow paths with different percentages of carbonate minerals. Ion exchange mechanisms occurring along the groundwater flow path are able to influence the ion concentration of the water, especially Ca2+ and Na+. The groundwater geochemical characteristics and distribution within the basin are influenced by the occurrence of a heterogeneous saltwater/freshwater interface, due to the layering of the coastal aquifer system, and the interface moves inland. The alternative hypothesis—that of carbonate-equilibrium control of the alkaline earth elements and proportional Na increase associated with dissolution of evaporitic minerals—seems not be applicable in this particular case.

The apparent groundwater age estimated for the deeper Miocene aquifer (average value) is around 19 ka BP, indicating the presence of paleowaters. Active seawater intrusion appears to play a major role in the groundwater mineralization in the shallow Pliocene aquifer, in the northern part of the basin; the increasing trend in salt concentration is not followed by groundwater ageing. However, in the southern area of the basin, near Setúbal, the deeper groundwater salinization is linked to an increase of the apparent 14C ages. In this case, the increase of salts in the groundwater system can be ascribed to ancient seawater trapped in the sediments, during the sedimentary basin formation. Besides this, the isotopic enrichment observed in the Miocene aquifer when compared with the Pliocene water samples, was most probably caused by isotopically heavier ocean water during the last glacial maximum (LGM).

Conclusions

The use of geochemicals and isotopes as tracers to identify and characterize the origin of salts in groundwater systems proved to be more effective when used simultaneously. In the two case studies (in Morocco and Portugal), the joint use of geochemical and isotopic tracers (stable and radioactive environmental isotopes) proved to be highly effective in the identification of salinization origin. The groundwater stable isotopic composition (δ2H or δ18O) demonstrated, without any doubt, to be a unique tool to distinguish between seawater mixing and dissolution of evaporitic minerals (halite). Complementary groundwater dating using 14C helped to distinguish between the modern or ancient saltwater bodies that are mixing with the freshwater system such as seawater, brackish or brine waters. This joint approach provided a better understanding of the variable nature of groundwater mineralization, which can help to optimize the use of groundwater resources in coastal regions.