/* General styles */
body {
  font-family: "Eurostile", sans-serif;
  background-color: #111;
  color: #eee;
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scrollbar */
  display: flex;
  flex-direction: column; /* Empile les éléments verticalement */
  min-height: 100vh; /* Assure une hauteur minimale de 100% de la hauteur de l'écran */
}

/* Header styles */
header {
  text-align: center;
  padding: 50px 0;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: rgb(107, 161, 223);
  color: #111;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: rgb(99, 203, 252);
  transform: scale(1.05);
}

/* Presentation section styles */
.presentation {
  padding: 0px 50px;
  text-align: center;
}

.presentation h2 {
  font-size: 2em;
  margin-bottom: 20px;
  margin-top: 0px;
}

.presentation p {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 30px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* Permet le retour à la ligne */
}

.feature {
  width: calc(33.33% - 20px); /* Ajuste la largeur pour tenir compte du gap */
  text-align: center;
}

@media (max-width: 768px) {
  .feature {
    width: calc(50% - 20px); /* Deux colonnes sur tablette */
  }
}

@media (max-width: 480px) {
  .feature {
    width: 100%; /* Une colonne par ligne sur mobile */
    margin-bottom: 20px; /* Ajoute un espace entre les éléments */
  }
}

.feature h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* Footer styles */
footer {
  background-color: #333; /* Couleur de fond sombre */
  color: #eee; /* Couleur de texte claire */
  padding: 20px 0; /* Padding réduit */
  text-align: center; /* Texte centré */
  border-top: 1px solid #555; /* Ligne de séparation */
  bottom: 0;
  position: fixed;
  width: 100%;
}

footer p {
  font-size: 0.9em; /* Taille de police réduite */
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  display: inline;
  margin: 0 10px;
}

footer a {
  color: #eee;
  text-decoration: none;
}

/* Media queries pour l'adaptation aux petits écrans */
@media (max-width: 768px) {
  footer {
    font-size: 0.8em;
  }
}

/* Background video styles */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1; /* Opacité réduite pour ne pas masquer le contenu */
  object-fit: cover;
  z-index: -1; /* Place video behind other content */
}

.button-container {
  display: flex;
  justify-content: center; /* Centre les boutons horizontalement */
  align-items: center; /* Centre les boutons verticalement */
  gap: 15px; /* Espacement entre les boutons */
  margin-top: 50px; /* Marge au-dessus des boutons */
}

.tile-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 200px; /* Largeur fixe */
}

.tile-button {
  /* ... styles précédents ... */
  background-color: rgba(51, 51, 51, 0.8); /* Fond semi-transparent */
  color: #eee;
  box-shadow: 0 0 10px rgba(133, 215, 248, 0.5); /* Ombre verte plus subtile */
  transition: all 0.3s ease;
}

.tile-button:hover {
  background-color: rgba(
    85,
    85,
    85,
    0.8
  ); /* Fond légèrement plus foncé au survol */
  color: #fff;
  border-color: #999;
  box-shadow: 0 0 15px rgba(137, 231, 255, 0.7); /* Ombre verte plus intense au survol */
  transform: scale(1.02); /* Légère augmentation de taille au survol */
}

.tile-button-text {
  font-family: "Eurostile", sans-serif; /* Police assortie au reste du site */
  font-size: 20px; /* Taille de police légèrement réduite */
  font-weight: normal; /* Poids de police normal */
  text-transform: uppercase;
  color: #8dadca; /* Couleur du texte plus douce (vert clair) */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Légère ombre sur le texte */
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .tile-button {
    width: 90%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  /* Styles pour les écrans de moins de 480px de large (smartphones) */
  .tile-button-text {
    font-size: 14px;
  }
}
