h1 {
  font-size: 64px;
  line-height: 64px;
  font-weight: 100;
  margin: 0;
}

#title-span {
  position: absolute;
  bottom: 40%;   /* Décalé vers le bas */
  right: 1%;    /* Décalé vers la droite */
  font-size: 200px; /* Plus grand que le reste */
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: rgb(128, 128, 128);
  z-index: -1; /* Passe derrière le texte */
  white-space: nowrap;
  pointer-events: none; /* Pour ne pas gêner l'interaction */
}

h2 {
  font-size: 56px;
  line-height: 64px;
  font-weight: 500;
  background-clip: text;          
  -webkit-background-clip: text;  
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.get-involved-section{
  width: 90%;
  max-width: 1200px;
  margin: auto;
  margin-top: 10vh;
}

.content-container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding-top: 5vh;
  padding-bottom: 5vh;

}

#title-container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding-top: 5vh;
  padding-bottom: 20vh;

  position: relative;
  font-size: 64px;
  line-height: 72px;
  font-weight: 200;
  z-index: 1;
  color: #fff; /* Texte principal clair */
}

.cards {
  flex: 1; /* prend l’espace dispo à gauche */
  display: grid;
  gap: 0.5rem;
}

.cards-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 15px;
  transition: 0.3s ease;
}

.cards-item:hover {
  background: #212121;
}

.cards-item-icon {
  width: 100%;
  max-width: 45px;
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  overflow: visible;
}

.cards-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

.cards-item-title {
  font-weight: bold;
  margin-bottom: 0.25rem;
  
}

.title-box {
  flex: 1;
}

.title-box p:first-child {
  margin-top: 0; /* évite le "décalage" dû aux marges des <p> */
}

#title {
  color: white;
}

#intro {
  width: 90%;
  max-width: 900px;
  margin: auto;
  margin-top: 16vh;
  margin-bottom: 12vh;
  display: flex;
  align-items: flex-start;
  text-align: center;
}

#section-description-text {
  font-weight: bold;
  line-height: 1.5;         
}

#get-invovled-title {
  background: linear-gradient(45deg, hsl(329, 100%, 60%), rgb(255, 200, 125));
  background-clip: text;          
}

#why-contribute-title {
  background: linear-gradient(45deg, hsl(250, 100%, 60%), rgb(164, 125, 255));
  background-clip: text; 
}

#top-separation{
  padding-top: 15vh;
}

#how-to-contribute-title {
  background: linear-gradient(45deg, hsl(140, 100%, 60%), rgb(125, 255, 212));
  background-clip: text; 
}

#Disclaimer {
  width: 90%;
  max-width: 900px;
  margin: auto;
  margin-bottom: 10vh;
  padding: 10px;
  background-color: rgba(255, 0, 0, 0.144);
  border: 2px solid;
  border-color: rgb(173, 0, 0);
  border-radius: 10px;
  justify-content: center;
}

/* ====== RESPONSIVE ====== */

/* Tablettes */
@media (max-width: 900px) {
  h1 {
    font-size: 48px;
    line-height: 52px;
  }

  h2 {
    font-size: 42px;
    line-height: 48px;
  }

  #title-span {
    font-size: 150px;
    bottom: 35%;
  }

  #title-container {
    font-size: 48px;
    line-height: 56px;
    padding-bottom: 15vh;
  }

  .content-container {
    flex-direction: column;
    gap: 2rem;
    padding-top: 3vh;
    padding-bottom: 3vh;
  }

  .cards-item-icon {
    max-width: 40px;
  }

  #intro {
    margin-top: 12vh;
    margin-bottom: 8vh;
  }

  .get-involved-section {
    margin-top: 8vh;
  }

  #top-separation {
    padding-top: 10vh;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  h1 {
    font-size: 36px;
    line-height: 40px;
  }

  h2 {
    font-size: 32px;
    line-height: 36px;
  }

  #title-span {
    font-size: 80px; /* Réduction de la taille pour éviter le débordement */
    bottom: 25%;
    right: -5%; /* Légère position à droite pour éviter le débordement à gauche */
    -webkit-text-stroke-width: 2px;
    overflow: hidden; /* Éviter tout débordement */
  }

  #title-container {
    font-size: 36px;
    line-height: 44px;
    padding-top: 15vh; /* Plus d'espace en haut pour éviter que le header cache le texte */
    padding-bottom: 10vh;
    word-wrap: break-word; /* Permettre au texte de se découper si nécessaire */
    overflow-wrap: break-word;
  }

  .content-container {
    gap: 1.5rem;
    padding-top: 2vh;
    padding-bottom: 2vh;
  }

  .cards-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .cards-item-icon {
    max-width: 35px;
  }

  #intro {
    margin-top: 8vh;
    margin-bottom: 6vh;
  }

  .get-involved-section {
    margin-top: 6vh;
  }

  #top-separation {
    padding-top: 8vh;
  }

  #Disclaimer {
    padding: 8px;
    margin-bottom: 8vh;
  }

  #section-description-text {
    font-size: 0.95rem;
  }
}