/* ** ----------- TEST 2 GRADIENT ------------------ */
/* === Fond principal du site (V2) ===
body {
  /* Dégradé linéaire en diagonale à 155° :
     - Commence blanc en haut à gauche
     - Passe par des tons pêche et orangés
     - Termine sur un rouge rosé
     Utilisation des HSL pour un rendu plus doux et équilibré. */
  /* background-image: linear-gradient(155deg,
      hsl(0deg 0% 100%) 0%, */
      /* blanc pur */
      /* hsl(27deg 93% 88%) 6%, */
      /* beige clair / pêche */
      /* hsl(27deg 93% 76%) 19%, */
      /* pêche moyen */
      /* hsl(20deg 88% 68%) 36%, */
      /* orange doux */
      /* hsl(7deg 76% 63%) 58%, */
      /* corail chaud */
      /* hsl(354deg 66% 59%) 100% */
      /* rose foncé / rouge doux */
    /* ); */

  /* Fixation du fond pour un effet de profondeur au scroll */
  /* background-attachment: fixed; */

  /* Garantit que le fond couvre toute la page */
  /* min-height: 100vh; */

  /* Retire les marges par défaut du navigateur */
  /* margin: 0; */

  /* Nécessaire pour le positionnement du ::before */
  /* position: relative;
} */


/* === Couche de texture et de lumière (overlay subtil) === */
/* body::before {
  content: "";
  position: absolute;
  inset: 0;


  background-image:
 
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 70%),

   
    radial-gradient(circle at 75% 80%, rgba(255, 255, 255, 0.25) 0%, transparent 6)
} */

/* Animation subtiles background */
/* @keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
} */ 


h2,
h3{
   margin-bottom: 16px;
}

h2 {
  margin-top: 16px;
  color: var(--dark-green)
}



h3 {
  color: var(--brown);
}


/* .containerCadreLegal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32%;

} */

.containerRapport {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;


}

/* Glass effect container - padding unifié */
.glass-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  padding: 40px 40px 50px;
  /* identique à Index */
  max-width: 900px;
  margin: 0 auto;
}

/* 
.containerRapport>a,
.sectionContainer>a {
  display: inline-block;
  border: 1px solid black;
  padding: 10px;
  color: black;
  text-decoration: none;
  width: fit-content;
} */

.containerIntro {
  padding: 40px 40px 50px;
  /* identique à Index */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mainContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
}

.sectionContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  /* padding: 40px 40px 50px; */
  max-width: 900px;
  /* margin: 0 auto; */

  padding: 60px 50px;
  /* + interne plus généreux */
  margin: 40px auto;
  /* + espace externe entre sections */

  /* Glass effect v2*/
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);

}



.containerCards {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  /* passer à la ligne petit écran */
  gap: 24px;
  align-items: stretch;
  /* cartes même hauteur */
  margin-top: 32px;
  justify-content: center;
  /* centrer les cartes sur la ligne */

  &>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    flex: 1 1 280px;
    /* largeur minimale */
    max-width: 220px;
    padding: 16px;
    /* gap: 16px; */
    margin-bottom: 24px;

    /* effet Ombre */
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    /* padding: 24px; */
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    /* 
    &>a {
      display: inline-block;
      border: 1px solid black;
      padding: 10px;
      color: black;
      width: fit-content;
    } */

    &>h4 {
      width: 100%;
      /* pour que le texte prenne la largeur de la carte et s’aligner */
      text-align: center;
      margin-bottom: 4%;
    }

    &>p {
      width: 100%;
      /* pour que le texte prenne la largeur de la carte et s’aligner */
      text-align: center;
    }

    &>img:first-child {
      max-width: 1000px;
      width: 100%;
      height: auto;
      object-fit: cover;
      margin-bottom: 12px;
    }
  }
}


.btn-link {
  display: inline-block;
  /* inline-like, mais conservant padding */
  background-color: transparent;
  /* fond transparent */
  color: var(--dark-green);
  /* texte en dark green */
  border: 1px solid var(--dark-green);
  /* bordure fine en dark green */
  padding: 8px 16px;
  /* padding confortable */
  border-radius: 8px; /* ! same as Sara */
  text-decoration: none;
  /* pas de souligné */
  font-weight: normal;
  /* pas de gras */
  cursor: pointer;
  /* pointeur au hover */
  transition: all 0.25s ease;
  /* transition douce 
  */
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Hover */
.btn-link:hover {
  background-color: var(--dark-green);
  /* fond dark green */
  color: white;
  /* texte blanc */
  border-color: var(--dark-green);
  /* bordure inchangée */
  transform: translateY(-2px);
  /* léger effet levitation */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Style global pour les liens dans les titres */
.cardSyndicat h4 a,
.sectionContainer a {
  color: var(--dark-green);
  font-weight: normal;
  /* enlever le gras */
  text-decoration: none;
  /* enlever le souligné */

}

/* Effet au survol */
.cardSyndicat h4 a:hover,
.sectionContainer a:hover {
  color: var(--dark-violet);
  /* couleur du thème sur hover */
  text-decoration: underline;
  /* optionnel : un léger souligné pour indiquer le hover */
}

