/* ===== STYLES DE BASE COMMUNS ===== */
.bg,
.bg-duo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.entete {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 2rem 0;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.element {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.content {
  max-width: 850px;
  color: white;
}

/* ===== THÈME 1: GRANDE IMAGE DE FOND ===== */
.bg.grande-img-bg {
  position: relative;
  height: 40.6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
}

/* Animation du background */
@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}


.grande-img-bg .voile {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 24, 55, 0.00) 53.06%);
  z-index: 1;
}

.grande-img-bg .entete {
  padding: 4rem 0;
}

.grande-img-bg .element {
  min-height: 400px;
  text-align: center;
}

.grande-img-bg h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

 h1.title-content {
  color: var(--white);
}

/* ===== THÈME 2: PETITE IMAGE DE FOND ===== */

.petite-img-bg {
  justify-content: center;
  align-items: end;
  height: 36.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.petite-img-bg .voile {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 20, 41, 0.73);
  z-index: 1;
}

.petite-img-bg .entete {
  max-width: 75rem;
}

.petite-img-bg .entete>.container {
  justify-content: inherit;
  margin-top: 2rem;
  padding: 0;
}

.petite-img-bg .element {
  justify-content: center;
  max-width: 37.0625rem;

}

.petite-img-bg h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  max-width: 43rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.petite-img-bg .intro {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.3;
}



/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .bg.grande-img-bg {
    min-height: 70vh;
  }

  .bg.petite-img-bg {
    min-height: 40vh;
  }

  .bg-duo {
    min-height: 60vh;
  }

  .duo-img {
    background: url('image.png')  no-repeat;
    padding: 2rem 0;
  }

  .duo-img .bg-duo_arrow{
    display: block;
      animation: glissement 2s ease-in-out infinite;  }

 @keyframes glissement {
      0% {
        margin-top: 0;
        opacity: 0.6;
      }
      50% {
        margin-top: 1.5rem;
        opacity: 1;
      }
      100% {
        margin-top: 0;
        opacity: 0.6;
      }
    }

  .bg-duo .img-1 {
    top: 5%;
    left: 5%;
    width: 250px;
    height: 200px;
  }

  .bg-duo .img-2 {
    bottom: 5%;
    right: 5%;
    width: 180px;
    height: 130px;
  }

  .entete {
    padding: 1.5rem 0 !important;
  }

    .bg.petite-img-bg .entete {
    padding: 1.5rem !important;
  }

  .container {
    padding: 0 1rem;
  }

  .btn-cta {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .bg.grande-img-bg {
    min-height: 60vh;
  }

  .bg.petite-img-bg {
    min-height: 35vh;
  }

  .bg-duo {

    min-height: 50vh;
  }

  .duo-img {
    display: block;
    min-height: 250px;
    height: 100vh;
  }

  .duo-img_container {
    display: block;
    text-align: center;
  }

  .duo-img .entete .content {
    text-align: center;
  }

  .duo-img .entete {
  position: relative;
  padding: 0;
  height: 30vh;

}


  .duo-img_images {
    display: block;
    gap: 1.06rem;
  }

  .bg-duo-img.img-1 {
    margin: 10rem auto 2.25rem auto;
    height: 200px;
  }

  .bg-duo-img.img-1 img {
    border-radius: 50%;
    width: 15.5rem;
height: 15.5rem;
    object-fit: cover;
  }

  .bg-duo-img.img-2 {
    display: none;
  }

  .bg-duo .img-1,
  .bg-duo .img-2 {
    width: 120px;
    height: 90px;
  }

  .bg-duo .img-1 {
    top: 8%;
    left: 5%;
  }

  .bg-duo .img-2 {
    bottom: 8%;
    right: 5%;
  }

  .element {
    min-height: 200px !important;
  }
}

/* ===== ANIMATIONS D'ENTRÉE ===== */

.entete {
  animation: fadeInUp 1s ease-out;
}