/* ==============================================
   TWO SEASONS HOTEL — Site officiel
   Bangui, République Centrafricaine

   Palette :
     Noir profond  #0A0A0A
     Crème         #F5F1EA
     Or champagne  #C9A961
     Gris pierre   #4A4A4A

   Typographie :
     Titres  → Cormorant Garamond (serif)
     Corps   → Manrope (sans-serif)
   ============================================== */


/* ---- Variables ---- */

:root {
  --noir:         #0A0A0A;
  --noir-doux:    #111111;
  --noir-gris:    #1A1A1A;
  --creme:        #F5F1EA;
  --creme-fonce:  #EBE5D9;
  --or:           #C9A961;
  --or-clair:     #D9BC7D;
  --or-fonce:     #9A7B3F;
  --pierre:       #4A4A4A;
  --pierre-clair: #707070;
  --blanc:        #FFFFFF;

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Manrope', system-ui, -apple-system, sans-serif;

  --pad-section: clamp(90px, 11vw, 150px);
  --pad-side:    clamp(24px, 7%, 120px);
  --gap-grid:    clamp(16px, 2vw, 24px);
  --radius:      2px;

  --transition:  0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow:      0 40px 120px rgba(0,0,0,0.13);
  --shadow-or:   0 24px 70px rgba(201,169,97,0.28);
}


/* ---- Reset ---- */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background-color: var(--creme);
  color: var(--noir);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

button {
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  background: none;
}


/* ==============================================
   NAVIGATION
   ============================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--pad-side);
  transition:
    background 0.55s ease,
    padding    0.55s ease,
    box-shadow 0.55s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 40px rgba(0,0,0,0.4);
}

/* Logo — superposition blanc/silver avec transition d'opacité */
.nav-logo {
  display: grid;
  height: 48px;
  flex-shrink: 0;
}

.nav-logo img {
  grid-area: 1 / 1;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  align-self: center;
  transition: opacity 0.5s ease;
}

/* Fond sombre → logo blanc visible */
.logo-blanc  { opacity: 1; }
.logo-silver { opacity: 0; }

/* Navbar scrollée (fond foncé) → on garde logo blanc */
/* L'utilisateur veut silver en mode scrollé → */
.navbar.scrolled .logo-blanc  { opacity: 0; }
.navbar.scrolled .logo-silver { opacity: 1; }

/* Liens de navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 36px);
}

.nav-links a {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.82);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav-links a:hover         { color: var(--or); }
.nav-links a:hover::after  { transform: scaleX(1); }

/* Bouton CTA "Réserver" */
.nav-cta {
  background: var(--or);
  color: var(--noir) !important;
  padding: 11px 26px;
  border-radius: var(--radius);
  letter-spacing: 2px;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--or-clair) !important; transform: translateY(-2px); }

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  z-index: 110;
  position: relative;
}

.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--blanc);
  transform-origin: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ==============================================
   HERO
   ============================================== */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--blanc);
  overflow: hidden;
}

/* Image de fond séparée pour permettre le parallax JS */
.hero-bg {
  position: absolute;
  inset: -20% 0;
  background: url('images/two_season_entree.png') center/cover no-repeat;
  will-change: transform;
}

/* Dégradé sombre du bas vers le haut */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.45) 45%,
    rgba(10,10,10,0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-side);
  max-width: 1100px;
}

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--or);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(80px, 13vw, 170px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image-click-target {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-image-click-target:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: -14px;
}

/* Indicateur scroll animé */
.scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(9px); }
}


/* ==============================================
   BOUTONS
   ============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Reflet sur hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.12), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-gold {
  background: var(--or);
  color: var(--noir);
  border-color: var(--or);
}
.btn-gold:hover {
  background: var(--or-clair);
  border-color: var(--or-clair);
  transform: translateY(-3px);
  box-shadow: var(--shadow-or);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.48);
}
.btn-outline:hover {
  border-color: var(--blanc);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}

.btn-outline-light {
  background: transparent;
  color: var(--creme);
  border-color: rgba(245,241,234,0.4);
}
.btn-outline-light:hover {
  border-color: var(--or);
  color: var(--or);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}
.btn-dark:hover {
  background: var(--pierre);
  transform: translateY(-3px);
}

.btn-full { width: 100%; }


/* ==============================================
   IMAGES CLIQUABLES & STATUT DÉMO
   ============================================== */

.visual-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.visual-trigger:focus-visible,
.gallery-filter:focus-visible,
.visual-close:focus-visible,
.visual-modal-backdrop:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 4px;
}

.visual-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.visual-trigger:hover::before,
.visual-trigger:focus-visible::before {
  border-color: rgba(201,169,97,0.82);
  box-shadow: inset 0 0 0 1px rgba(10,10,10,0.22);
}

.demo-status {
  position: sticky;
  top: 76px;
  z-index: 70;
  padding: 12px var(--pad-side);
  border-bottom: 1px solid rgba(201,169,97,0.22);
  background: rgba(17,17,17,0.96);
  color: rgba(245,241,234,0.72);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}


/* ==============================================
   ANIMATIONS AU SCROLL
   ============================================== */

/* Animations du hero (au chargement) */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 1s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal au scroll (Intersection Observer) */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity  0.95s ease,
    transform 0.95s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up    { transform: translateY(52px); }
.reveal-left  { transform: translateX(-52px); }
.reveal-right { transform: translateX(52px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* ==============================================
   SECTIONS — BASE
   ============================================== */

.section {
  padding: var(--pad-section) var(--pad-side);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1;
  color: var(--creme);
  margin-bottom: 20px;
}

.section-intro {
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(245,241,234,0.58);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}


/* ==============================================
   SECTION NOTRE HISTOIRE
   ============================================== */

.section-histoire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(64px, 9vw, 140px);
  align-items: center;
  background: var(--creme);
}

.histoire-text .eyebrow { color: var(--or-fonce); margin-bottom: 20px; }

.histoire-text h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--noir);
  margin-bottom: 28px;
}

.histoire-text h2 em {
  font-style: italic;
  color: var(--or-fonce);
}

.body-text {
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 400;
  color: var(--pierre);
  line-height: 1.85;
  max-width: 520px;
}

.histoire-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(10,10,10,0.1);
}

.point {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pierre);
}

.point-icon {
  color: var(--or);
  font-size: 9px;
  flex-shrink: 0;
}

/* Image histoire */
.histoire-image {
  position: relative;
  padding-bottom: 36px;
}

.image-frame {
  position: relative;
  height: clamp(480px, 62vh, 720px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  transition: transform var(--transition);
}

.image-frame:hover img {
  transform: scale(1.05);
}

/* Badge doré flottant */
.image-badge {
  position: absolute;
  bottom: 0;
  left: -20px;
  background: var(--or);
  color: var(--noir);
  padding: 22px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-or);
}

.image-badge span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.image-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}


/* ==============================================
   SECTION CHAMBRES
   ============================================== */

.section-chambres {
  background: var(--noir);
  color: var(--creme);
}

.section-chambres .section-header .eyebrow { color: var(--or); }

/* Grille chambres */
.chambres-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-grid);
  height: clamp(380px, 52vh, 620px);
  margin-bottom: 52px;
}

.chambre-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.card-image {
  position: absolute;
  inset: 0;
}

.card-image img {
  transition: transform var(--transition);
}

.chambre-card:hover .card-image img {
  transform: scale(1.06);
}

/* Pied de section chambres */
.chambres-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.chambres-footer p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(245,241,234,0.6);
  max-width: 500px;
  line-height: 1.75;
}


/* ==============================================
   SECTION RESTAURANT / GASTRONOMIE
   ============================================== */

.section-restaurant {
  background: var(--creme);
  overflow: hidden;
}

.restaurant-intro {
  text-align: center;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.restaurant-intro .eyebrow { color: var(--or-fonce); margin-bottom: 12px; }

.restaurant-intro h2 {
  font-family: var(--serif);
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 700;
  line-height: 0.85;
  color: var(--noir);
  letter-spacing: 0;
}

/* Layout principal : colonne gauche + colonne droite */
.restaurant-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: stretch;
}

.restaurant-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Grande image portrait — hauteur explicite pour éviter le collapse */
.image-tall {
  position: relative;
  height: clamp(380px, 52vh, 580px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.image-tall img {
  height: 100%;
  transition: transform var(--transition);
}

.image-tall:hover img {
  transform: scale(1.04);
}

.restaurant-caption h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 14px;
}

.restaurant-caption p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--pierre);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* 3 images empilées à droite */
.restaurant-aside {
  display: flex;
  flex-direction: column;
  gap: var(--gap-grid);
}

.aside-img {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 160px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.1);
}

.aside-img img {
  position: absolute;
  inset: 0;
  transition: transform var(--transition);
}

.aside-img:hover img {
  transform: scale(1.06);
}

/* ==============================================
   SECTION SALON / LOBBY
   ============================================== */

.section-salon {
  background: var(--creme-fonce);
}

/* Entête centré */
.salon-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.salon-header .eyebrow { color: var(--or-fonce); margin-bottom: 16px; }

.salon-header h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--noir);
  margin-bottom: 20px;
}

.salon-header .body-text { margin: 0 auto; }

/* Trio de 3 espaces en rangée */
.salon-trio {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--gap-grid);
  height: clamp(400px, 52vh, 580px);
}

.salon-trio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.salon-trio-item img {
  position: absolute;
  inset: 0;
  transition: transform var(--transition);
}

.salon-trio-item:hover img {
  transform: scale(1.06);
}

/* ==============================================
   SECTION TERRASSE
   ============================================== */

.section-terrasse {
  background: var(--noir);
  color: var(--creme);
}

.terrasse-header {
  text-align: center;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.terrasse-header .eyebrow { color: var(--or); margin-bottom: 20px; }

.terrasse-header h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 600;
  color: var(--creme);
  margin-bottom: 20px;
}

/* Grille masonry 3 colonnes × 3 lignes
   Layout :
   [terrasse.jpg ——2col——] [terrasse1]
   [terrasse2] [vue_Bangui ——2col——]
   [vue_montagne ——2col——] [terrasseX]
*/
.terrasse-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 400px 270px 270px;
  gap: 10px;
}

.t-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--noir-gris);
}

.t-item img {
  position: absolute;
  inset: 0;
  transition: transform var(--transition), filter var(--transition);
}

.t-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.07);
}

/* Image principale sur 2 colonnes */
.t-span2 {
  grid-column: span 2;
}

/* ==============================================
   SECTION GALERIE COMPLÈTE
   ============================================== */

.section-galerie {
  background: var(--creme);
  color: var(--noir);
}

.section-galerie .section-header h2 {
  color: var(--noir);
}

.section-galerie .section-intro {
  color: var(--pierre);
}

.section-galerie .eyebrow {
  color: var(--or-fonce);
}

.gallery-toolbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -28px auto 44px;
  max-width: 900px;
}

.gallery-filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(10,10,10,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.32);
  color: var(--pierre);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
  border-color: var(--or-fonce);
  background: var(--noir);
  color: var(--or);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  min-height: 100%;
  border: 1px solid rgba(10,10,10,0.11);
  border-radius: 6px;
  background: rgba(255,255,255,0.44);
  box-shadow: 0 18px 55px rgba(10,10,10,0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: rgba(154,123,63,0.8);
  box-shadow: 0 24px 70px rgba(10,10,10,0.14);
  transform: translateY(-4px);
}

.gallery-card.hidden {
  display: none;
}

.gallery-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--noir-gris);
}

.gallery-card.portrait .gallery-card-media {
  aspect-ratio: 3 / 4;
}

.gallery-card-media img {
  transition: transform var(--transition), filter var(--transition);
}

.gallery-card:hover .gallery-card-media img,
.gallery-card:focus-visible .gallery-card-media img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.gallery-card-copy {
  padding: 16px 16px 18px;
}

.gallery-card-copy h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
  color: var(--noir);
  margin-bottom: 8px;
}

.gallery-card-copy p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--pierre);
  margin-bottom: 14px;
}


/* ==============================================
   MODALE VISUELLE
   ============================================== */

.visual-modal[hidden] {
  display: none;
}

.visual-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 52px);
}

.visual-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.76);
  backdrop-filter: blur(14px);
}

.visual-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  width: min(1120px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  overflow: hidden;
  border: 1px solid rgba(201,169,97,0.34);
  border-radius: 6px;
  background: var(--creme);
  box-shadow: 0 42px 140px rgba(0,0,0,0.5);
}

.visual-dialog-media {
  min-height: 440px;
  background: var(--noir);
}

.visual-dialog-media img {
  object-fit: contain;
  background: var(--noir);
}

.visual-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
  overflow-y: auto;
}

.visual-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 14px;
}

.visual-dialog-copy h3 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  line-height: 1;
  color: var(--noir);
  margin-bottom: 18px;
}

.visual-dialog-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--pierre);
  margin-bottom: 26px;
}

.visual-result {
  display: grid;
  gap: 8px;
  padding: 18px 0 20px;
  border-top: 1px solid rgba(10,10,10,0.12);
  border-bottom: 1px solid rgba(10,10,10,0.12);
  margin-bottom: 28px;
}

.visual-result strong {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--noir);
}

.visual-result span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--pierre);
}

.visual-dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.visual-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 50%;
  background: rgba(245,241,234,0.9);
  color: var(--noir);
  font-size: 26px;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.visual-close:hover {
  background: var(--or);
  transform: rotate(90deg);
}

body.modal-open {
  overflow: hidden;
}


/* ==============================================
   BARRE DE RÉSERVATION RAPIDE (post-hero)
   ============================================== */

.booking-bar {
  background: var(--noir);
  border-bottom: 1px solid rgba(201,169,97,0.18);
  padding: 0 var(--pad-side);
}

.booking-bar-form {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  height: 80px;
}

.booking-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 28px;
}

.booking-field label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or);
  pointer-events: none;
}

.booking-field input,
.booking-field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--creme);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

/* Calendrier blanc sur fond sombre */
.booking-field input::-webkit-calendar-picker-indicator {
  filter: invert(0.75);
  cursor: pointer;
}

.booking-field input::placeholder,
.booking-field select option {
  color: rgba(245,241,234,0.5);
}

/* Séparateur vertical entre les champs */
.booking-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Bouton CTA */
.booking-bar-btn {
  flex-shrink: 0;
  margin-left: 24px;
  padding: 0 32px;
  height: 48px;
  background: var(--or);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.booking-bar-btn:hover {
  background: var(--or-clair);
  transform: translateY(-2px);
}

/* ---- Responsive booking bar ---- */

@media (max-width: 768px) {
  .booking-bar {
    padding: 20px var(--pad-side);
  }

  .booking-bar-form {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .booking-field {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 12px;
  }

  .booking-field label {
    flex-shrink: 0;
    width: 90px;
  }

  .booking-field input,
  .booking-field select {
    text-align: right;
    flex: 1;
  }

  .booking-sep { display: none; }

  .booking-bar-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
    height: 52px;
  }
}


/* ==============================================
   SECTION RÉSERVATION
   ============================================== */

.section-reservation {
  background: var(--noir-doux);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}

/* Ligne décorative dorée en haut */
.section-reservation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or), transparent);
}

.reservation-inner {
  max-width: 780px;
  margin: 0 auto;
}

.reservation-text {
  text-align: center;
  margin-bottom: 56px;
}

.reservation-text .eyebrow { color: var(--or); margin-bottom: 16px; }

.reservation-text h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  color: var(--creme);
  margin-bottom: 16px;
}

.reservation-text p {
  font-size: 15px;
  color: rgba(245,241,234,0.6);
  line-height: 1.7;
}

/* Formulaire */
.reservation-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-group label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--or);
}

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  color: var(--creme);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--or);
  background: rgba(255,255,255,0.09);
}

/* Couleur du texte date/select dans les navigateurs sombres */
.form-group input::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
}

/* Options de contact */
.contact-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.3s ease;
  flex: 1;
  min-width: 180px;
}

.contact-option:hover {
  border-color: var(--or);
  background: rgba(201,169,97,0.07);
  transform: translateY(-2px);
}

.contact-icon {
  color: var(--or);
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.contact-option strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--creme);
  margin-bottom: 3px;
}

.contact-option span {
  font-size: 12px;
  color: rgba(245,241,234,0.58);
}

.contact-divider {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,241,234,0.28);
  flex-shrink: 0;
}


/* ==============================================
   FOOTER
   ============================================== */

.footer {
  background: var(--noir);
  color: var(--creme);
  padding: 88px var(--pad-side) 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 22px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(245,241,234,0.45);
  line-height: 1.75;
  max-width: 240px;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
}

.footer-nav a,
.footer-contact a {
  font-size: 13.5px;
  color: rgba(245,241,234,0.55);
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--or); }

.footer-contact p {
  font-size: 13.5px;
  color: rgba(245,241,234,0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  color: rgba(245,241,234,0.6);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  border-color: var(--or);
  color: var(--or);
  transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 11.5px;
  color: rgba(245,241,234,0.28);
}


/* ==============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================== */

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.38);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 46px rgba(37,211,102,0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #fff;
}


/* ==============================================
   RESPONSIVE — 1100px
   ============================================== */

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .visual-dialog {
    grid-template-columns: 1fr;
    max-width: 760px;
    overflow-y: auto;
  }

  .visual-dialog-media {
    min-height: 360px;
    max-height: 50svh;
  }

  /* Restaurant : passe en colonne */
  .restaurant-layout {
    grid-template-columns: 1fr;
  }

  .restaurant-aside {
    flex-direction: row;
    height: 220px;
  }

  .aside-img {
    min-height: 0;
  }
}


/* ==============================================
   RESPONSIVE — 768px
   ============================================== */

@media (max-width: 768px) {
  :root {
    --pad-section: 80px;
    --pad-side: 24px;
  }

  /* ---- Navigation mobile ---- */
  .burger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    background: rgba(10,10,10,0.98);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
    padding: 80px var(--pad-side);
    z-index: 99;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links a {
    font-size: 13px;
    letter-spacing: 4px;
  }

  .nav-cta {
    padding: 14px 44px;
    font-size: 12px;
  }

  /* ---- Hero ---- */
  .hero h1         { font-size: clamp(58px, 15vw, 86px); letter-spacing: 0; }
  .hero-subtitle   { font-size: 15px; }

  .scroll-hint {
    display: none;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(52px);
  }

  /* ---- Histoire ---- */
  .section-histoire {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .histoire-image {
    padding-bottom: 24px;
  }

  .image-badge {
    left: 20px;
    bottom: 0;
  }

  /* ---- Chambres ---- */
  .chambres-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
  }

  .chambre-card {
    height: 320px;
    position: relative;
  }

  .chambres-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  /* ---- Restaurant ---- */
  .restaurant-layout {
    grid-template-columns: 1fr;
  }

  .restaurant-aside {
    flex-direction: row;
    height: 200px;
  }

  .image-tall {
    min-height: 300px;
  }

  /* ---- Salon ---- */
  .salon-trio {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px;
    height: auto;
  }

  /* Image principale prend toute la première rangée */
  .salon-trio-main {
    grid-column: 1 / 3;
  }

  /* ---- Terrasse ---- */
  .terrasse-masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px 200px;
    grid-auto-rows: 200px; /* rangées implicites éventuelles */
    gap: 8px;
  }

  /* Reposition explicite en grille 2 colonnes */
  .terrasse-masonry .t-item:nth-child(1) { grid-column: 1 / 3; }
  .terrasse-masonry .t-item:nth-child(2) { grid-column: 1; }
  .terrasse-masonry .t-item:nth-child(3) { grid-column: 2; }
  .terrasse-masonry .t-item:nth-child(4) { grid-column: 1 / 3; }
  .terrasse-masonry .t-item:nth-child(5) { grid-column: 1 / 3; }
  .terrasse-masonry .t-item:nth-child(6) { display: none; }

  /* ---- Galerie ---- */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-toolbar {
    justify-content: flex-start;
    margin-top: -20px;
  }

  .demo-status {
    position: static;
    text-align: left;
  }

  .visual-dialog {
    max-height: calc(100svh - 32px);
  }

  .visual-dialog-media {
    min-height: 300px;
  }

  /* ---- Réservation ---- */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-options {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-divider { text-align: center; }

  /* ---- Footer ---- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}


/* ==============================================
   RESPONSIVE — 480px
   ============================================== */

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(52px, 15vw, 62px);
    line-height: 0.95;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { text-align: center; justify-content: center; }

  .whatsapp-float {
    display: none;
  }

  /* Terrasse en une colonne (6 rangées pour 6 images) */
  .terrasse-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
    grid-auto-rows: 220px;
  }

  .terrasse-masonry .t-item:nth-child(1),
  .terrasse-masonry .t-item:nth-child(4),
  .terrasse-masonry .t-item:nth-child(5) {
    grid-column: 1;
  }

  .terrasse-masonry .t-item:nth-child(6) { display: block; }

  .restaurant-aside {
    flex-direction: column;
    height: auto;
  }

  .aside-img { min-height: 180px; }

  /* ---- Salon ---- */
  .salon-trio {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 200px 200px;
    height: auto;
  }

  .salon-trio-main {
    grid-column: 1;
  }

  .image-badge { left: 12px; }

  .footer-bottom { gap: 10px; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    flex: 1 1 calc(50% - 10px);
  }

  .visual-modal {
    padding: 12px;
  }

  .visual-dialog-copy {
    padding: 26px 20px;
  }

  .visual-dialog-actions .btn {
    width: 100%;
  }
}
