.line {
  width: 100%;
  max-width: 800px;
  height: 8px;
  margin: 0 0 10px 0;
  position: relative;
  display: inline-block;
  background-color: rgba(255,255,255,1);
}

#one, #two, #three, #four, #five, #six, #seven, #eight {
  position: relative; 
  background-color: transparent !important;
  color: white;
  padding: 2rem;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 0;
}

/* Puis tu définis les images individuelles par id : */

#one {
  background-image: url(../assets/img1/novascent.jpg) !important;
}

#two {
  background-image: url(../assets/img1/olfactoria.jpg) !important;
}

#three {
  background-image: url(../assets/img1/omist.jpg) !important;
}

#four {
  background-image: url(../assets/img1/tower.jpg) !important;
}

#five {
  background-image: url(../assets/img1/freshwall.jpg) !important;
}

#six {
  background-image: url(../assets/img1/aeromax.jpg) !important;
}

#seven {
  background-image: url(../assets/img1/cylirium.jpg) !important;
}

#eight {
  background-image: url(../assets/img1/scentcar.jpg) !important;
}


#one:before, #two:before, #three:before, #four:before, #five:before, #six:before, #seven:before, #eight:before {
  content: none !important; /* désactive le pseudo-élément pour toutes */
}

.panel {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: flex-start; /* Aligne le container à gauche */
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding: 0; /* évite les décalages */
  color: var(--color-surface-white);
  background-color: transparent !important; /* ou rgba si image de fond */
}

.panel .container {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  
  max-width: 50%;       /* pour s'aligner avec l'image */
  width: auto;
  height: auto;

  background-color: rgba(0, 0, 0, 0.208);
  border-radius: 12px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  z-index: 8;

  margin: 0;
  padding: 0; /* facultatif */
}


.overlay-container {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translatex(-50%);
  justify-content: center;   /* ou left, selon ton besoin */
  width: 30%;    /* largeur fixe */
  height: 70%;   /* hauteur fixe */
  z-index: 10;
  color: inherit;  /* garde la couleur du texte */
  text-decoration: none; /* enlève le soulignement */
  cursor: pointer;
}

.overlay-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: 
    drop-shadow(0 5px 7px rgb(255, 255, 255))     /* ombre principale noire */
    drop-shadow(0 0 5px rgb(0, 0, 0)); /* halo blanc autour */
}

.h1-image {
  position: relative;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  height: 60px;
  z-index: 10;
  display: block; /* enlève l'espace inline */
  margin: 0 auto;
  padding: 10px;
}

