@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root{
  --bg: #0b0b0c;
  --bg2: #0f0f11;
  --text: #f5f5f5;
  --muted: rgba(245,245,245,.72);
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 22px;
  --max: 1160px;
  --nav-h: 76px;
  --gold: #d9c7a1;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 700px at 20% 0%, rgba(217,199,161,.12), transparent 60%),
    radial-gradient(700px 600px at 80% 10%, rgba(217,199,161,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.6;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 10px; }

header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(11,11,12,.70);
  backdrop-filter: blur(14px);
}
.navbar{
  height: var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand-logo{
  width: 160px;
  height: 160px;
  border-radius: 999px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55)) drop-shadow(0 0 14px rgba(217,199,161,.22));
  opacity: .95;
}
.brand-text{
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13px;
}
.brand-sub{
  color: var(--muted);
  font-weight: 500;
  text-transform:none;
  letter-spacing: 0;
}

.navlinks{
  display:none;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.navlinks a{
  padding: 8px 10px;
  border-radius: 999px;
}
.navlinks a:hover{ color: var(--text); background: rgba(255,255,255,.06); }

.nav-actions{ display:flex; align-items:center; gap: 10px; }

.lang-switch{
  display:flex;
  gap: 6px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 6px;
}
.lang-switch a{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.lang-switch a.active{
  background: rgba(217,199,161,.16);
  color: var(--text);
  border: 1px solid rgba(217,199,161,.25);
}
.lang-switch a:hover{ background: rgba(255,255,255,.08); color: var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  border-color: rgba(217,199,161,.35);
  background: linear-gradient(135deg, rgba(217,199,161,.20), rgba(217,199,161,.10));
}
.btn-primary:hover{ border-color: rgba(217,199,161,.55); }

main{ padding: 22px 0 70px; }

.card{
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow:hidden;
}

h1,h2,h3{ font-family: "Playfair Display", Georgia, serif; }

/* HERO */
.hero{
  position: relative;
  min-height: 540px;
  display:grid;
  align-items:end;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-image: url("../images/gallery/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 520px at 20% 20%, rgba(217,199,161,.16), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.75));
}
.hero-inner{
  position: relative;
  z-index: 2;
  padding: 74px 26px;
  max-width: 760px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(217,199,161,.85);
  box-shadow: 0 0 0 6px rgba(217,199,161,.12);
}
.hero h1{
  margin: 10px 0 0;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero p{
  margin: 14px 0 0;
  color: rgba(245,245,245,.80);
  font-size: 15px;
  max-width: 62ch;
}
.hero-actions{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.pills{
  margin-top: 16px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.pill{
  font-size: 12px;
  color: rgba(245,245,245,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 999px;
}

/* SECTIONS — plus d'air + scroll propre */
.section{
  margin-top: 200px;
  margin-bottom: 200px;
  padding-top: 10px;
}

#styles, #process, #gallery{
  scroll-margin-top: 130px;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.section h2{
  margin:0;
  font-size: 26px;
}
.section .hint{
  color: var(--muted);
  font-size: 13px;
  max-width: 62ch;
}

.grid{ display:grid; gap: 12px; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }

.item{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  transition: transform .18s ease, background .18s ease;
}
.item:hover{ transform: translateY(-2px); background: rgba(255,255,255,.07); }
.item .title{ font-weight: 600; }
.item .desc{ margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Carousel */
.carousel-wrap{
    max-width: 860px;
    margin: 0 auto;
}

.carousel{
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.c-stage{
  position: relative;
  width: 100%;
  height: 320px;
  cursor: zoom-in;
}
.c-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,.35);
  display:block;
  transform: none;
  filter: contrast(1.03) saturate(1.05);
  opacity: 1;
}
.c-caption{
  position:absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: rgba(255,255,255,.92);
}
.c-btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.95);
  font-size: 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 5;
}
.c-btn:hover{ background: rgba(0,0,0,.50); }
.c-prev{ left: 12px; }
.c-next{ right: 12px; }

/* Fullscreen lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  padding: 18px;
}
.lightbox.open{ display:flex; }

.lb-panel{
  width: min(1100px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,10,11,.70);
  box-shadow: 0 30px 120px rgba(0,0,0,.65);
  overflow:hidden;
}
.lb-img{
  width: 100%;
  height: auto;
  display:block;
  max-height: 80vh;
  object-fit: contain;
  background: rgba(0,0,0,.35);
}
.lb-bar{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(245,245,245,.86);
  font-size: 13px;
}
.lb-title{ color: rgba(245,245,245,.86); }

.lb-close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(245,245,245,.95);
  font-size: 18px;
  cursor:pointer;
}
.lb-close:hover{ background: rgba(255,255,255,.10); }

.lb-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(245,245,245,.95);
  font-size: 32px;
  cursor:pointer;
}
.lb-nav:hover{ background: rgba(255,255,255,.12); }

.lb-prev{ left: 14px; }
.lb-next{ right: 14px; }

/* Floating CTA */
.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  border-radius: 999px;
  padding: 12px 14px;
  border: 1px solid rgba(217,199,161,.35);
  background: linear-gradient(135deg, rgba(217,199,161,.20), rgba(217,199,161,.10));
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.fab:hover{ border-color: rgba(217,199,161,.60); }

footer{
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 13px;
  padding: 18px 0 30px;
}

@media (min-width: 860px){
  .carousel-wrap { max-width: 920px; }
  .navlinks{ display:flex; }
  .hero-inner{ padding: 86px 42px; }
  .hero h1{ font-size: 64px; }
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
  .c-stage{ height: 420px; }
}

/* ===== BOOKING / FORM ===== */
.page-hero{
  margin-top: 22px;
  padding: 34px 26px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}

.page-hero .kicker{ margin-bottom: 10px; }
.page-hero h1{
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
}

.booking-grid{
  margin-top: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.panel{
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  box-shadow: 0 14px 50px rgba(0,0,0,.45);
  overflow: hidden;
}

.panel-inner{ padding: 18px; }

.panel h3{
  margin: 0 0 10px;
  font-size: 18px;
}

.muted{ color: var(--muted); font-size: 13px; }

.form{
  display: grid;
  gap: 12px;
}

.field{
  display: grid;
  gap: 8px;
}

label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245,245,245,.78);
}

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(245,245,245,.92);
  outline: none;
}

textarea{ min-height: 140px; resize: vertical; }

input:focus, select:focus, textarea:focus{
  border-color: rgba(217,199,161,.45);
  box-shadow: 0 0 0 6px rgba(217,199,161,.10);
}

.help{
  font-size: 12px;
  color: rgba(245,245,245,.65);
  margin-top: -2px;
}

.form-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.note{
  font-size: 12px;
  color: rgba(245,245,245,.65);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

@media (min-width: 860px){
  .page-hero{ padding: 44px 42px; }
  .page-hero h1{ font-size: 56px; }
  .booking-grid{ grid-template-columns: 1.1fr 1.4fr; }
  .panel-inner{ padding: 22px; }
}

/* =========================================================
   NAVBAR FIX (logo + align left) + HAMBURGER + MOBILE MENU
   À COLLER TOUT EN BAS DU FICHIER
========================================================= */

/* --- petit décalage optique vers la gauche --- */
.brand{
  margin-left: -6px; /* ajuste -4 / -8 si tu veux */
}


/* --- évite que le texte casse/chevauche --- */
.brand-text{
  white-space: nowrap;
}

/* =========================================================
   BURGER + MOBILE MENU
========================================================= */

/* burger caché en desktop */
.burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* IMPORTANT: le menu mobile ne doit JAMAIS être visible en desktop */
.mobile-menu{
  display: none; /* caché par défaut */
  position: fixed;
  inset: var(--nav-h) 0 0 0; /* sous la navbar */
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 14px;
}

/* menu ouvert */
.mobile-menu.open{
  display: block;
}

.mobile-inner{
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--border);
  background: rgba(11,11,12,.92);
  border-radius: calc(var(--radius) + 8px);
  padding: 14px;
  box-shadow: var(--shadow);
}

.mobile-links a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--text);
}
.mobile-links a:hover{
  background: rgba(255,255,255,.06);
}

.mobile-actions{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* bloque le scroll quand le menu est ouvert */
.no-scroll{ overflow: hidden; }

/* =========================================================
   RESPONSIVE: en mobile on cache navlinks + CTA, on affiche burger
========================================================= */
@media (max-width: 859px){
  .navlinks{ display:none !important; }

  /* on enlève le bouton booking de la navbar (il est dans le menu mobile) */
  .nav-actions .btn-primary{ display:none; }

  .burger{
    display: inline-flex;
  }

  /* petit ajustement si ça serre trop sur mobile */
  .container{ padding: 0 12px; }
}

/* ===== SOCIAL FLOATING BUTTONS ===== */

.social-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(217,199,161,.35);
  background: linear-gradient(135deg, rgba(217,199,161,.18), rgba(217,199,161,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  transition: transform .15s ease, border-color .15s ease;
}

.social-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(217,199,161,.65);
}

.social-btn img{
  width: 56px;
  height: 56px;
  filter: brightness(1.1);
}

@media (max-width:768px) {
  .lang-switch{
    display: none;
  }
}

@media (max-width : 460px) {
  .brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
  }

  .brand-sub {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
  }
  
}

/* Ultra small phones: header clean (no overlap) */
@media (max-width: 340px) {

  /* 1) On enlève les actions desktop (déjà dans le menu mobile) */
  .nav-actions {
    display: none !important;
  }

  /* 2) Navbar = 2 colonnes: brand | burger */
  .container.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  /* 3) Brand peut rétrécir sans casser */
  .brand {
    min-width: 0 !important; /* super important pour éviter le débordement */
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* 4) On autorise le texte à passer sur 2 lignes si besoin */
  .brand-text {
    min-width: 0 !important;
    white-space: normal !important;
    line-height: 1.1 !important;
  }

  /* Optionnel: petite réduction du logo pour gagner de la place */
  .brand-logo {
    width: 40px !important;
    height: auto !important;
  }

  /* 5) Burger toujours visible et à droite */
  .burger {
    flex: 0 0 auto !important;
  }
}

/* =========================
   REVEAL ON SCROLL
========================= */

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce){
  .reveal{
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* Lang switch visible UNIQUEMENT dans le menu mobile */
.mobile-menu .lang-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Sécurité : jamais visible hors mobile */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}
