.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
    margin-top: 0;
    /* Supprimez les propriétés background qui seraient en conflit */
  }
  
  /* Ajoutez ceci pour remplacer le ::before original */
  .hero::before {
    display: none; /* Désactive l'overlay existant */
  }
  
  .hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
  }
  
  .slideshow-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
  }
  
  .slideshow-item.active {
    opacity: 1;
    z-index: 2;
  }
  
  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
  }
  
  /* Overlay pour améliorer la lisibilité du texte */
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  /* Contrôles du diaporama */
  .slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 4;
  }
  
  .slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slideshow-dot.active {
    background: #fff;
  }
  
  /* Ajustements pour mobile */
  @media (max-width: 768px) {
    .hero {
      height: 50vh;
    }
    
    .hero-content {
      max-width: 90%;
      padding: 15px;
    }
  }