html {
  scroll-behavior: smooth;
}
body{
    margin: 0px;
}

#main-accueil {
  scroll-margin-top: 15vh;
}

.background_img_container {
  width: 100%;
  height: 90vh;
  overflow: hidden;

  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.20) 45%,
      rgba(0, 0, 0, 0.45) 100%
    ),
    url("../../img/backgroundpelouse.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 0 18px;
  box-sizing: border-box;
}

.background_img_container h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0b0b0b;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.background_img_container h1 .highlight {
  color: rgb(3, 66, 3) !important;
  display: block;
}

.background_img_container h2 {
  margin: 0 0 28px;
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* descend légèrement le bouton */
}

.btn-transparent {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  padding: 12px 28px 18px; /* texte légèrement plus haut */
  line-height: 1;

  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;

  color: #ffffff;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;

  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn-transparent:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.btn-transparent:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  .btn-transparent {
    width: 100%;
    max-width: 320px;
  }
}
