/* ===================== */
/* ===== GLOBAL ======== */
/* ===================== */

html,
body {
  overflow-x: clip;
	
}


html {
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
body {
  background-color: black;
  margin-bottom: 50px;
}

/* Overlay (menu mobile) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  opacity: 1;
  pointer-events: auto;
}

/* ===================== */
/* === SCROLL TO TOP === */
/* ===================== */

#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d9b99b;
  color: black;
  border: none;
  font-size: 22px;
  cursor: pointer;

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

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2000;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===================== */
/* ===== BANNIÈRE ====== */
/* ===================== */


/* ===================== */
/* ===== BANNIÈRE ====== */
/* ===================== */


.banner__img {
  width: 100%;
  height: auto;
  display: block;
}


.banner__logo {
  position: absolute;
  left: 50%;
  top: 88%;
  transform: translate(-50%, -50%);
  width: 60%;
  z-index: 2;
}
.banner-title {
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);

  text-align: center;

  color: white;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 13vw;
  line-height: 0.9;
  letter-spacing: -0.1em;
  margin: 0;  width: 100%;
	

}


.page-subtitle {
  text-align: center;
  color: #e4d5b7;
  font-family: 'Montserrat', sans-serif;
  font-size: 4vw;

  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.banner {
  position: relative;
	  width: 100%;

}

.banner picture,
.banner img {
  display: block;
  width: 100%;
}

.banner h1 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 9vw;
  line-height: 0.9;
  margin: 0 0 1rem 0;
  letter-spacing: -0.06em;


}

.banner__text h1 {
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 12vw;
  line-height: 0.9;
  margin: 1rem 0 0;
  letter-spacing: -0.06em;
}
.page-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.page-title h1 {
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.1em;
  margin-bottom: 0.55em;
  font-size: 12vw;

  text-shadow: 0 20px 60px rgba(0,0,0,0.35);

}


.page-title h2 {
  text-align: center;
  color: #e4d5b7;
  font-family: 'Montserrat', sans-serif;
  font-size: 4vw;
  line-height: 0.4;
  letter-spacing: -0.04em;
	  margin-bottom: 10px;

}


/* ===================== */
/* ===== NAVBAR ======== */
/* ===================== */




/* --- NAVBAR DESKTOP --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.75rem 1rem;
  background-color: rgba(52,55,70,0.2);
  z-index: 1000;

}

.nav-links {
  display: flex; /* desktop intact */
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Liens & icônes */
.nav-links a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links li {
  display: flex;
  align-items: center;
}



.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.nav-links a:hover .social-icon {
  transform: scale(1.1);
  opacity: 0.8;
}

/* --- BURGER --- */
#burger-toggle {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
	

}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s ease;
}

/* ===================== */
/* ===== MOBILE ======== */
/* ===================== */
@media (max-width: 768px) {

  /* Burger visible */
  .burger {
    display: flex;
  }
	#scrollTopBtn {

  width: 30px;   height: 30px;


}
	
.page-title h2 {
  margin: 0.2rem 0;
}

  /* Menu mobile fermé par défaut */
  .nav-links {
    display: none; /* ? totalement invisible */
    position: fixed;
    inset: 0;
    height: 100dvh;
    padding-top: 64px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);

    flex-direction: column;
    align-items: center;
    gap: 2rem;

    overflow-y: auto;
    box-sizing: border-box;

    /* Animation */
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  /* Menu ouvert */
  #burger-toggle:checked + .burger + .nav-links {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* Animation burger -> croix */
  #burger-toggle:checked + .burger span:nth-child(1) {
    transform: rotate(45deg) translate(6px,6px);
  }
  #burger-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  #burger-toggle:checked + .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px,-6px);
  }

  /* Liens apparaissant avec animation individuelle */
  .nav-links li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  #burger-toggle:checked + .burger + .nav-links li {
    opacity: 1;
    transform: translateY(0);
  }

  .banner h1,
  .banner-title,
  .page-title {
    position: static;
    transform: none;
  }

  .page-title {
    padding: 2rem 1rem;
  }

.page-title h1 {
  font-size: 12vw;
  margin-bottom: 1rem;
  text-shadow: 8px 8px 0 rgba(0,0,0,0.15);
}

  .page-title h2 {
    margin-top: 1rem;
  }

  .banner img {
  margin-bottom: 0;
  }
	.banner-title {
  margin: 0;
}

	.banner {
  margin-bottom: 0;
}


	.page-subtitle {
  margin: 0;
}
}
@media (min-width: 769px) {

  .page-subtitle {
    margin-top: 30px;
  }

}
.banner-title{
  font-size: 12vw;
  color: white;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.9),
    0 8px 16px rgba(0,0,0,0.8),
    0 20px 40px rgba(0,0,0,0.7),
    0 40px 80px rgba(0,0,0,0.6),
    0 80px 160px rgba(0,0,0,0.5);
}