/* Styles de la page d'accueil */
.hero {
  text-align: center;
  padding: 25px 20px;

  color: var(--textColor);
  border-radius: 8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5em;
  font-weight: bold;
}

.hero-description {
  font-size: 1.2em;
  margin-top: 10px;
}

#vk_pageContainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Hauteur minimale de l'écran */
}

/* Ajuste le contenu pour qu'il pousse la section Avantages vers le bas */
#vk_pageContent {
  flex: 1; /* Permet au contenu de s'étendre pour remplir l'espace disponible */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  gap: 20px;
}


/* Cartes de services */
.containerAccueil {
  background: var(--primaryBackgroundColor);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--colorShadow);
  transition: all 0.3s ease-in-out;
  height: fit-content;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.containerAccueil:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--colorShadow);
}

.service-content {
  text-align: center;
}

.service-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 10px 0;
  color: var(--textColor);
}

.service-description {
  font-size: 1.1em;
  color: var(--textColor);
  margin-bottom: 15px;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  filter: brightness(0.8);
}

/* Section d'avantages */
.advantages {
  width: 100%;
  padding: 30px 20px;
  background: var(--primaryBackgroundColor);
  border-radius: 8px 8px 0 0;
  text-align: center;
}

.advantages-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--textColor);
}

.advantages-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.advantage-item {
  text-align: center;
  width: 200px;
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  filter: brightness(0.8);
}


/* Responsive */
@media (max-width: 768px) {
  .containerAccueil {
      width: 80%;
  }
  
  .hero-title {
      font-size: 2em;
  }

  .advantages-list {
      flex-direction: column;
      align-items: center;
  }
}

@media (max-width: 480px) {
  .containerAccueil {
      width: 95%;
      padding: 15px;
  }

  .hero-title {
      font-size: 1.8em;
  }
}
