/* Supprime tout débordement horizontal global */
html, body {
  overflow-x: hidden;
  margin: 0;
}

/* HEADER PARALLAX */
.parallax-header {
  position: relative;
  width: 100%;
  height: 56.25vw;
  /* format 16/9 */
  max-height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Cadre contenant l'image */
.parallax-frame {
  position: absolute;
  inset: 0;
  /* équivaut à top:0; right:0; bottom:0; left:0; */
  overflow: hidden;
}

/* Image de fond avec effet de parallaxe */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('/asset/img/header-parallax/Visuel-Cellini-Brut-header.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Logo centré */
.parallax-logo {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.parallax-logo img {
  width: 45vw;
}

.parallax-header .bottles {
  position: absolute;
  width: 20vw;
  display: flex;
  flex-direction: row;
  right: 3vw;
  bottom: 1vw;
}

.parallax-header .bottles img {
  width: 10vw;
}

/* Responsive */
@media screen and (max-width: 968px) {
  .parallax-header {
    height: 133vw;
    /* format proche 3:4 */
  }

  .parallax-header .bottles {
    width: 36vw;
  }

  .parallax-header .bottles img {
    width: 18vw;
  }

}

@media screen and (max-width: 768px) {
  .parallax-header {
    height: 177.78vw;
    /* format 9:16 portrait */
  }

  .parallax-logo {
    top: 40%;
    left: 50%;
  }

  .parallax-logo img {
        width: 90vw;
  }

  .parallax-header .bottles {
    width: 46vw;
  }

  .parallax-header .bottles img {
    width: 23vw;
  }
}