/*    
    *****************************ANIMATION du titre****************************
    ******************         Notre raison d'être      ************************ */

/* ************************************************************** */
/*                                                                */
/*                Style de la page HTML equipe                   */
.nousSommes h2 {    
  font-size: 28px;
  color: #75c7edae;
  justify-content: center;
  text-align: center;
  padding: 34px 9px;
  text-size-adjust: 100%;
  margin-bottom: 10px;
  margin-right: 5%;
  line-height: 30px;
}

.nousSommes p {    
  font-size: 24px;
  color: rgb(68, 68, 68);
  justify-content: center;
  padding: 34px 9px;
  text-size-adjust: 100%;
  margin-bottom: 10px;
  line-height: 30px;
}

.profile-card-grid h3{
  font-size:25px;
}
.profile-card-grid p{
  text-decoration: none;
}
.profile-card__category {
  text-decoration: none !important; /* Supprime le soulignement pour la catégorie */
}
.profile-card-grid a {
  text-decoration: none !important; /* Supprime le soulignement des liens pour toutes les cartes */
}

/* ************************************************************** */
/*                                                                */
/*                          Variables CSS                         */
:root {
  --background-dark: #2d3548;
  --text-light: rgba(255, 255, 255, 0.6);
  --text-lighter: rgba(255, 255, 255, 0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;
}

/* ************************************************************** */
/*                          Grille de cartes                      */
.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-l);
  max-width: var(--width-container);
  width: 100%;
  padding: 20px;

}

@media (min-width: 540px) {
  .card-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
      grid-template-columns: repeat(4, 1fr);
  }
}

/* ************************************************************** */
/*                       Styles des cartes                        */
.card {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 300px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Arrière-plan de la carte */
.card__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  filter: brightness(0.85);
  transition: transform 0.3s ease-in-out, filter 0.2s linear;
}

.card:hover .card__background {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Contenu de la carte */
.card__content {
  position: relative;
  z-index: 2;
  padding: 15px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Légère transparence */
  color: white;
}

.card__category {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.card__heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.4;
}

/* ************************************************************** */
/*                          Section héro                          */
.hero-section {
  align-items: flex-start;
  background-image: linear-gradient(15deg, #75c7edae 0%, #448fd4 150%);
  display: flex;
  height: auto;
  justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-l);
}

@media (max-width: 768px) {
  .imLogo {
    display: none;
    visibility: hidden;
  }
}