
/* Changer couleur et police du texte dans le hero */
.hero-text h1 {
  font-family: 'Poppins', sans-serif; /* ou ta police préférée */
  font-size: 3.5rem;
  color: #ffffff; /* ton vert */
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Pour le texte animé uniquement */
#typewriter {
  color: #ffffff; /* ton vert */
}

.hero-text p {
  font-family: 'Poppins', sans-serif; /* ou une autre police élégante */
  font-size: 3.8rem;                  /* plus grand */
  font-weight: 800;                   /* légèrement en gras */
  color: #fdfdfd;                      /* ton vert préféré */
  margin-top: 1rem;                   /* espace avec le titre */
  letter-spacing: 1px;                 /* espacement lettres */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4); /* ombre douce */
}





.section {
  padding: 5rem 2rem;
  text-align: center;
}

.section.light {
  background: white;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #e6f0ff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  font-weight: 500;
}

.card:hover {
  transform: translateY(-5px);
  background: #dbe9ff;
}







.hero {
  position: relative;
  height: 100vh;
  background: url("images/acceuil.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding-top: 80px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}



.hero-text p {
  font-size: 1.3rem;
  opacity: 0.9;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cursor {
  font-weight: bold;
  color: #43B02A;
  animation: blink 0.7s steps(1) infinite;
}

