* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  letter-spacing: 0.04em;
  background-color: #000; /* Ensure black background for gaps */
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 5vw;
  position: relative;
}

/* Lines on sides */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5vw;
  width: 2px;
  height: 0%;
  background: rgba(255,255,255,0.3);
  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  right: 5vw;
  width: 2px;
  height: 0%;
  background: rgba(255,255,255,0.3);
  pointer-events: none;
  z-index: 9999;
}

/* Banner */
.banner-container {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #000;
  overflow: hidden;
}

.web-banner-fr {
  width: 100%;
  height: auto;
  display: block;
  line-height: 0;
}

.mobile-banner {
  display: none;
  width: 100%;
  height: auto;
}

.banner-top {
  position: absolute;
  top: 8%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo1 {
  width: 30vw;
  height: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
  font-size: 24px;
}

.language-switch img {
  width: 22px;
  height: auto;
}

.language-switch:hover {
  opacity: 0.7;
}

/* Block1 text */
.block1-container {
  position: relative;
  width: 100%;
  min-height: 250px;
  background-image: url('block1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 10%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.about-text1 {
  font-size: clamp(16px, 2.5vw, 25px);
  line-height: 1.4;
  max-width: 100%;
  color: white;
  margin: 0;
}

/* Block bio */
.block-bio-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
  padding: 60px 5vw;
  background-image: url('block-bio.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.profilepix {
  width: 400px;
  max-width: 100%;
  height: auto;
  flex-shrink: 1;
}

.about-text2 {
  flex: 1 1 0;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.3;
  color: white;
}

.block-bio-container.vertical {
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.block-bio-container.vertical .profilepix {
  margin-bottom: 20px;
}

/* Lauriers Section */
.lauriers-container {
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 0;
  background: black;
}

.lauriers-container img.lauriers-desktop {
  width: 100%;
  height: auto;
  display: block;
}

.lauriers-container img.lauriers-mobile {
  display: none;
  width: 100%;
  height: auto;
}

/* Nuages / posters */
.nuages-container {
  width: 100%;
  padding: 40px 5vw;
  background-image: url('nuages.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.poster {
  width: 90%;
  height: auto;
  transition: all 0.3s ease;
  box-shadow: 15px 15px 20px rgb(0,0,0,0.6);
}

.poster-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2vw;
  width: 100%;
}

.poster-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 calc(33.333% - 2vw);
  max-width: calc(33.333% - 2vw);
}

.poster-icon {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-size: 14px;
}

.poster-icon img {
  width: 12%;
  height: auto;
}

.base-container {
  background-image: url("base.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  height: 200px;
}

.footer-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.footer-icon {
  width: 24px !important; /* Force icons to stay small */
  height: 24px !important;
  margin-right: 8px;
  display: inline-block;
}

.copyright {
  margin-top: 20px;
  font-size: 10px;
  opacity: 0.7;
  color: aqua;
}

/* iPad & Squeezed Desktop (Middle Phase) */
@media (max-width: 1024px) {
  /* Keep Video Visible here, but swap Laurels */
  .lauriers-container img.lauriers-desktop {
    display: none !important;
  }
  .lauriers-container img.lauriers-mobile {
    display: block !important;
    width: 100% !important;
    margin: 0 auto;
  }

  .poster-wrapper {
    flex: 1 1 calc(50% - 2vw);
    max-width: calc(50% - 2vw);
  }

  /* Ensure Video stays visible for Tablet */
  .web-banner-fr {
    display: block !important;
  }
  .mobile-banner {
    display: none !important;
  }
  
  .logo1 {
    width: 25vw; /* Shrink logo slightly for tablet */
  }
}

/* Mobile & Maximum Squeeze (Final Phase) */
@media (max-width: 750px) {
  /* NOW we hide the video and show the image */
  .web-banner-fr {
    display: none !important;
  }
  .mobile-banner {
    display: block !important;
  }

  .poster-wrapper {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px;
  }

  .poster {
    width: 100% !important;
    height: auto;
  }

  .block1-container {
    height: auto;
    padding: 20px 10px;
  }

  .about-text1 {
    padding: 0 20px;
    text-align: left;
    max-width: 100%;
  }

  .logo1 {
    display: none !important;
  }
}