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

:root{
  --gold:#C9A227;
  --gold-light:#E0BF5E;
  --dark:#0d0d0d;
  --dark-mid:#141414;
  --dark-card:#1c1c1c;
  --white:#ffffff;
  --text:#cccccc;
  --gray:#777;
  --border:rgba(201,162,39,0.18);
}

html{scroll-behavior:smooth}

body{
  font-family:'Poppins',sans-serif;
  background:var(--dark);
  color:var(--text);
  overflow-x:hidden;
}

::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--dark)}
::-webkit-scrollbar-thumb{background:var(--gold);border-radius:3px}

/* ─── NAV (Bootstrap overrides) ─── */
#navbar{
  padding-top:1rem;
  padding-bottom:1rem;
  transition:background .4s ease, padding .4s ease, border .4s ease;
  background:transparent;
}

#navbar.scrolled{
  background:rgba(13,13,13,.96) !important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding-top:.65rem;
  padding-bottom:.65rem;
}

.nav-logo-img{
  height:46px;
  width:46px;
  object-fit:cover;
  border-radius:50%;
  border:1px solid rgba(201,162,39,.4);
}

/* Toggler button */
.navbar-toggler{
  border-color:rgba(201,162,39,.5);
  padding:.35rem .55rem;
}

.navbar-toggler:focus{
  box-shadow:0 0 0 3px rgba(201,162,39,.25);
}

/* Gold hamburger lines */
.navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,162,39,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Nav links */
.navbar-nav .nav-link{
  color:var(--white) !important;
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  position:relative;
  padding:.5rem .75rem;
  transition:color .3s;
}

.navbar-nav .nav-link:hover{color:var(--gold) !important}

/* Underline hover effect (desktop only) */
@media(min-width:768px){
  .navbar-nav .nav-link::after{
    content:'';
    position:absolute;
    bottom:2px;left:.75rem;
    width:0;height:1px;
    background:var(--gold);
    transition:width .3s;
  }

  .navbar-nav .nav-link:hover::after{
    width:calc(100% - 1.5rem);
  }
}

/* Mobile dropdown panel */
@media(max-width:767.98px){
  .navbar-collapse.show,
  .navbar-collapse.collapsing{
    background:rgba(13,13,13,.98);
    border:1px solid var(--border);
    padding:.75rem 1rem 1rem;
    margin-top:.5rem;
  }

  .navbar-nav .nav-link{
    font-size:1rem;
    padding:.75rem 1rem;
    border-bottom:1px solid rgba(201,162,39,.08);
  }

  .navbar-nav .nav-item:last-child .nav-link{
    border-bottom:none;
  }
}

/* ─── HERO ─── */
#accueil{
  height:100vh;
  min-height:600px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transform:scale(1.06);
  transition:transform 9s ease;
}

.hero-bg.loaded{transform:scale(1)}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(13,13,13,.45) 0%,
    rgba(13,13,13,.6) 40%,
    rgba(13,13,13,.88) 100%
  );
}

.hero-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.9rem;
  padding:0 1.5rem;
}

.hero-logo{
  width:130px;height:130px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid rgba(201,162,39,.65);
  box-shadow:0 0 50px rgba(201,162,39,.25),0 0 0 6px rgba(201,162,39,.08);
  margin-bottom:.3rem;
}

.hero-tag{
  font-size:.7rem;
  letter-spacing:.38em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
}

.hero-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(3.2rem,9vw,6.5rem);
  font-weight:700;
  color:var(--white);
  line-height:1;
  letter-spacing:.03em;
}

.hero-title .apos{color:var(--gold)}

.hero-sub{
  font-size:clamp(.95rem,2.2vw,1.15rem);
  font-weight:300;
  color:rgba(255,255,255,.75);
  font-style:italic;
  letter-spacing:.05em;
}

.hero-loc{
  display:flex;
  align-items:center;
  gap:.45rem;
  font-size:.75rem;
  color:var(--gray);
  letter-spacing:.06em;
  margin-top:-.2rem;
}

.hero-loc svg{color:var(--gold);flex-shrink:0}

/* ─── BUTTONS ─── */
.btn-custom{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.85rem 2.4rem;
  border:1px solid var(--gold);
  color:var(--gold);
  text-decoration:none;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  transition:all .3s;
  cursor:pointer;
  background:transparent;
  font-family:'Poppins',sans-serif;
  margin-top:.4rem;
}

.btn-custom:hover{background:var(--gold);color:var(--dark)}

.btn-custom-solid{background:var(--gold);color:var(--dark);border-color:var(--gold)}
.btn-custom-solid:hover{background:var(--gold-light);border-color:var(--gold-light);color:var(--dark)}

/* ─── SCROLL HINT ─── */
.scroll-hint{
  position:absolute;
  bottom:2rem;left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
  color:rgba(255,255,255,.3);
  font-size:.65rem;
  letter-spacing:.25em;
  text-transform:uppercase;
  animation:float 2.2s ease-in-out infinite;
}

.scroll-hint::after{
  content:'';
  width:1px;height:36px;
  background:linear-gradient(to bottom,rgba(201,162,39,.5),transparent);
}

@keyframes float{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(7px)}
}

/* ─── SECTION SHARED ─── */
section{padding:6rem 1.5rem}

.section-header{text-align:center;margin-bottom:4rem}

.section-tag{
  display:block;
  font-size:.68rem;
  letter-spacing:.38em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
  margin-bottom:.8rem;
}

.section-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(2rem,4.5vw,3rem);
  color:var(--white);
  line-height:1.15;
}

.gold-line{
  width:55px;height:2px;
  background:var(--gold);
  margin:1.25rem auto 0;
  border-radius:1px;
}

/* ─── ABOUT ─── */
#apropos{background:var(--dark-mid)}

.about-inner{max-width:780px;margin:0 auto;text-align:center}

.about-text{
  font-size:1.08rem;
  line-height:2;
  color:var(--text);
  font-weight:300;
  margin-bottom:2.5rem;
}

.about-text em{
  color:var(--gold);
  font-style:normal;
  font-weight:500;
}

.about-card{
  background:var(--dark-card);
  border:1px solid var(--border);
  padding:2rem 1.5rem;
  text-align:center;
  height:100%;
  transition:border-color .3s,transform .3s;
}

.about-card:hover{border-color:var(--gold);transform:translateY(-5px)}

.about-card-icon{font-size:2rem;margin-bottom:.8rem}

.about-card h3{
  font-family:'Playfair Display',serif;
  font-size:1rem;
  color:var(--white);
  margin-bottom:.4rem;
}

.about-card p{font-size:.8rem;color:var(--gray);line-height:1.6}

/* ─── GALLERY ─── */
#galerie{background:var(--dark)}

.gallery-grid{
  columns:4;
  column-gap:10px;
  max-width:1420px;
  margin:0 auto;
  padding:0 1rem;
}

.gallery-item{
  break-inside:avoid;
  margin-bottom:10px;
  overflow:hidden;
  cursor:pointer;
  position:relative;
}

.gallery-item img{
  width:100%;
  display:block;
  transition:transform .5s ease,filter .4s ease;
  filter:brightness(.88);
}

.gallery-item:hover img{transform:scale(1.05);filter:brightness(1)}

.gallery-item::after{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(201,162,39,0);
  transition:background .3s;
  pointer-events:none;
}

.gallery-item:hover::after{background:rgba(201,162,39,.06)}

.load-more-wrap{text-align:center;margin-top:3rem}

/* ─── LIGHTBOX ─── */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.96);
  align-items:center;
  justify-content:center;
}

.lightbox.active{display:flex}

.lb-img{
  max-width:92vw;
  max-height:88vh;
  object-fit:contain;
  border:1px solid rgba(201,162,39,.15);
  box-shadow:0 0 60px rgba(0,0,0,.8);
}

.lb-btn{
  position:absolute;
  background:none;
  border:1px solid rgba(255,255,255,.2);
  color:var(--white);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .25s;
  font-size:1.3rem;
  line-height:1;
}

.lb-btn:hover{background:var(--gold);border-color:var(--gold);color:var(--dark)}

.lb-close{top:1.25rem;right:1.25rem;width:40px;height:40px}

.lb-prev,.lb-next{
  top:50%;
  transform:translateY(-50%);
  width:50px;height:50px;
  font-size:1.6rem;
}

.lb-prev{left:1.25rem}
.lb-next{right:1.25rem}

.lb-counter{
  position:absolute;
  bottom:1.25rem;left:50%;
  transform:translateX(-50%);
  font-size:.72rem;
  color:rgba(255,255,255,.4);
  letter-spacing:.12em;
}

/* ─── CONTACT ─── */
#contact{background:var(--dark-mid)}

.contact-card{
  background:var(--dark-card);
  border:1px solid var(--border);
  padding:1.75rem 1rem;
  text-align:center;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  transition:all .3s;
  color:var(--text);
  width:100%;
}

.contact-card:hover{border-color:var(--gold);transform:translateY(-4px);color:var(--white)}

.contact-card svg{width:28px;height:28px;color:var(--gold)}

.contact-card h3{
  font-size:.68rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600;
  margin:0;
}

.contact-card p{font-size:.82rem;margin:0;word-break:break-word}

.wa-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  background:#25D366;
  color:#fff;
  padding:1rem 2.5rem;
  text-decoration:none;
  font-size:.88rem;
  font-weight:600;
  letter-spacing:.04em;
  transition:background .3s;
  font-family:'Poppins',sans-serif;
}

.wa-btn:hover{background:#1db954;color:#fff}

/* ─── FOOTER ─── */
footer{
  background:var(--dark);
  border-top:1px solid var(--border);
  padding:2rem;
  text-align:center;
  font-size:.76rem;
  color:var(--gray);
}

footer a{color:var(--gold);text-decoration:none}
footer a:hover{text-decoration:underline}

/* ─── ANIMATIONS ─── */
.fade-in{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease,transform .7s ease;
}

.fade-in.visible{opacity:1;transform:translateY(0)}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px){.gallery-grid{columns:3}}

@media(max-width:768px){
  section{padding:4.5rem 1rem}
  .gallery-grid{columns:2}
  .hero-logo{width:105px;height:105px}
  .lb-prev{left:.5rem}
  .lb-next{right:.5rem}
}

@media(max-width:480px){
  .gallery-grid{columns:2}
  .contact-card p{font-size:.75rem}
}
