html, body{
  height: auto;
  min-height: 100%;
}

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  text-align: center;
}

/* =========================
   INTRO (index)
========================= */
.intro{
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.intro img{
  width: 800px;
  max-width: 90%;
  animation: zoomIn 2.5s ease forwards;
}

.enter-btn{
  margin-top: 15px;
  padding: 18px 56px;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 30px;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2.6s, pulse 2.8s ease-in-out infinite 3.6s;
}

@keyframes zoomIn{
  0% { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn{ to { opacity: 1; } }
@keyframes pulse{
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* =========================
   CONTENU GLOBAL
   (visible pour éviter page blanche si JS bug)
========================= */
.content{
  display: block;
}

/* HEADER */
header{
  padding: 26px 20px 10px;
}

header img{
  max-width: 240px;
}

/* MENU NAV */
.nav{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 25px;
  padding: 0 14px;
}

.nav a{
  padding: 12px 22px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s, background .2s, border .2s, opacity .2s;
  text-decoration: none;
}

.nav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.55);
}

.nav a.active{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.75);
}

/* =========================
   PAGES (affichage instantané)
========================= */
.page{
  display: none;
}

.page.is-active{
  display: block;
}

/* CONTENEUR */
.container{
  max-width: 1100px;
  margin: auto;
  padding: 0 18px 20px;
  text-align: left;
}

/* BLOCS TEXTE */
.box{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 22px 20px;
  line-height: 1.6;
  font-size: 16px;
}

.box h1{
  margin-top: 0;
  font-size: 22px;
  letter-spacing: 0.2px;
  text-align: center;
}

.section-title{
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 10px;
}

.box ul{
  margin: 10px 0 0;
  padding-left: 18px;
}

.box li{
  margin: 6px 0;
}

/* =========================
   GALERIE
========================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 10px 0 0;
  overflow: visible;
}

@media (max-width: 1100px){
  .gallery{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px){
  .gallery{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}

.gallery img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  position: relative;
  z-index: 1;
}

/* petit hover partout */
.gallery img:hover{
  transform: scale(1.06);
  opacity: 0.88;
}

/* ✅ zoom x2 + glow UNIQUEMENT sur la page galerie */
#page-galerie .gallery img:hover{
  transform: scale(2);
  opacity: 1;
  z-index: 999;
  box-shadow: 0 0 25px rgba(255,255,255,0.15);
}

/* =========================
   DISPONIBILITES (Booka)
========================= */
.booka-wrap{
  max-width: 950px;
  margin: 0 auto;
}

.legend{
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.reservation-container{
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* ✅ BOUTON RESERVATION WHATSAPP */
.btn-reservation-luxe{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;

  background: #25D366;  /* vert WhatsApp */
  color: #000;          /* texte noir */
  border: none;

  transition: transform .2s ease, filter .2s ease;
  animation: pulseLuxury 2.8s ease-in-out infinite;
}

.btn-reservation-luxe:hover{
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-reservation-luxe i{
  font-size: 18px;
  color: #000;
}

@keyframes pulseLuxury{
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.35); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================
   CONTACT (boutons)
========================= */
.buttons{
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 25px 0 20px;
  flex-wrap: wrap;
  text-align: center;
}

.btn{
  padding: 16px 32px;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn.insta{
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}

.btn.info{
  background: #25D366;
}

/* =========================
   BOUTON SON
========================= */
#mute-btn{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox img{
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next{
  position: absolute;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
}

.lightbox .close{
  top: 20px;
  right: 30px;
}

.lightbox .prev{
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .next{
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================
   FOOTER
========================= */
.footer-roi{
  margin: 35px 0 25px;
  font-size: 14px;
  opacity: 0.85;
  text-align: center;
}

.roi-link{
  color: #fff;
  text-decoration: underline;
  margin-left: 8px;
}

.roi-link:hover{
  opacity: 0.8;
}

.footer-sep{
  margin: 0 8px;
  opacity: 0.5;
}

/* =========================
   SAFE BOTTOM (Safari iPhone)
========================= */
.safe-bottom{
  height: 40px;
}

@supports (-webkit-touch-callout: none){
  .safe-bottom{
    height: 60px;
  }
}
/* ✅ Safari iPhone : évite que le footer soit caché par la barre du bas */
.footer-roi{
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* ✅ Safe bottom plus proche */
.safe-bottom{
  height: 15px;
}
/* 🔊 Position normale */
#mute-btn{
  bottom: 20px;
  transition: bottom 0.25s ease;
}

/* 🔊 Quand on est en bas de page : on le remonte */
#mute-btn.lift{
  bottom: 110px;
}

/* POPUP AWARD */

.award-popup{
position:fixed;
inset:0;
background:rgba(0,0,0,0.85);
display:none;
align-items:center;
justify-content:center;
z-index:99999;
}

.award-popup.active{
display:flex;
}

#fireworks{
position:absolute;
inset:0;
}

.award-box{
background:#111;
border-radius:20px;
padding:30px;
max-width:500px;
width:90%;
text-align:center;
position:relative;
z-index:2;
}

.award-box img{
width:100%;
max-width:300px;
margin-bottom:15px;
}

.award-close{
position:absolute;
top:8px;
right:12px;
font-size:26px;
cursor:pointer;
}
