:root {
  --brass: #bfa15a;
}

/* ---------- BASE ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1530 0, #020617 45%, #000 100%);
  color: #f9fafb;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: none;
}

/* ---------- BOUTONS ---------- */
.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.18s ease-out, border-color 0.18s ease-out;
}

.btn-primary {
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.15) 45%, #0b1024 100%);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.9);
  color: #f9fafb;
}

.btn-primary:hover {
  transform: translateY(-1px);
  border-color: #d4af37;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 1);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
}

.btn-ghost:hover {
  border-color: rgba(212, 175, 55, 0.7);
  color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* ---------- LAYOUT GLOBAL ---------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

section {
  margin-bottom: 3rem;
}

/* ---------- HEADER COMPACT + LOGO + LANGUES ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.96),
    rgba(5, 8, 22, 0.9),
    rgba(5, 8, 22, 0.6),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-start; /* ✅ au lieu de space-between */
}

/* ---------- LOGO TEXTE MAISON BARFUSSER ---------- */

.brand {
  display: flex;
  align-items: center;
  transform: translateX(-100px); /* ajuste: -12 / -16 / -20 */
}

.brand-text {
  text-decoration: none;
  line-height: 1.05;
  text-align: center;   /* ✅ centre les 2 lignes entre elles */
}


.brand-title {
  font-family: "Playfair Display", sans-serif; /* avant modif: Montserrat*/
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass); /* ✅ laiton */
}

.brand-subtitle {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 500;   /* ✅ légèrement épaissi */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.9);
}

@media (max-width: 768px) {
  .brand {
    transform: none;
  }
  .brand-title {
    font-size: 1rem;
    letter-spacing: 0.22em;
  }

  .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }
}

/* Zone menu + langues */
.nav-right {
  margin-left: auto;         /* ✅ pousse tout à droite */
  display: flex;
  align-items: center;
  gap: 1.6rem;
}


/* Liens du menu */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

nav a,
.nav-label {
  position: relative;
  padding-bottom: 0.08rem;
  white-space: nowrap;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #d4af37, transparent);
  transition: width 0.18s ease-out;
}

nav a:hover::after {
  width: 100%;
}

.nav-label {
  color: #9ca3af;
}

/* Sélecteur de langue */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.lang-switch .lang {
  font-size: 0.9rem;
  opacity: 0.55;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.lang-switch .lang:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lang-switch .lang.active {
  opacity: 1;
}

/* ---------- FOOTER ---------- */
/* Texte footer */
.footer-inner > div:first-child {
  font-size: 0.75rem;   /* ⬇ plus discret */
  opacity: 0.75;
}

@media (max-width: 768px) {
  .footer-inner > div:first-child {
    font-size: 0.65rem;
  }
}

/* ---------- SLIDER PLEIN ÉCRAN (accueil) ---------- */
.hero-slider {
  position: relative;
  height: calc(100vh - 70px); /* hauteur = écran - header */
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),     /* ↓ moins sombre en bas */
    rgba(15, 23, 42, 0.28),  /* ↓ moins sombre au milieu */
    rgba(15, 23, 42, 0.12)   /* ↓ moins sombre en haut */
  );
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-content {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 6rem 1.25rem 2.2rem; /* un peu moins haut, un peu moins bas */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.slide-eyebrow {
  font-size: 1.05rem;        /* ⬆ légèrement plus grand */
  font-weight: 700;          /* ⬆ plus épais */
  letter-spacing: 0.3em;     /* garde l’élégance */
  text-transform: uppercase;
  color: var(--brass);
  text-shadow: 0 2px 12px rgba(201, 179, 122, 0.35);

}


.slide-title {
  font-size: 3.2rem;        /* ⬆ plus grand */
  line-height: 1.05;
  font-weight: 700;         /* ⬆ plus épais */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 6px 22px rgba(0,0,0,0.55); /* lisibilité */
}


.slide-title span {
  color: var(--brass);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(201, 179, 122, 0.35);
}


.slide-text {
  font-size: 0.95rem;
  max-width: 32rem;
  color: #e5e7eb;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* petites pastilles d’info */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-top: 0.5rem;
}

.badge {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
}

/* flèches */
.slider-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 1rem;
  z-index: 10;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
}

/* points */
.slider-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

.slider-dot.active {
  background: #d4af37;
  border-color: #d4af37;
}

/* ---------- BLOCS CONTENU ACCUEIL ---------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-kicker {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 30rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
}

/* ---------- PILL SPÉCIFIQUE PAGE D’ACCUEIL ---------- */
.pill-home-capacity {
  font-size: 1.1rem;        /* taille +10% */
  padding: 0.55rem 1.2rem;
  font-weight: 400;
}
.pill-home-capacity .pill-highlight {
  color: var(--brass);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(212,175,55,0.35);
}

/* cartes suites */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.suite-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617 70%);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: space-between;   /* ✅ pousse le bouton en bas */
}

.suite-name {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}

.suite-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.suite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.suite-meta span {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
}

.suite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-mini {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: rgba(212, 175, 55, 0.1);
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* quartier */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip {
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

.quartier-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.quartier-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.35), #020617 70%);
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.quartier-card ul {
  list-style: none;
  margin-top: 0.4rem;
}

.quartier-card li {
  margin-bottom: 0.25rem;
}

.quartier-card li::before {
  content: "• ";
  color: #d4af37;
}

/* contact résumé */
.contact-bloc {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  font-size: 0.86rem;
}

/* ---------- PAGE SUITE ---------- */
.hero-suite {
  padding: 4rem 1.25rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.hero-suite-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}

.hero-suite-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.hero-suite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.hero-suite-meta span {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

/* ---------- GALERIE SUITES : 12 vignettes (4 x 3) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery img {
  border-radius: 14px;
  width: 100%;
  height: 120px;
  object-fit: cover;      /* ✅ miniatures = on remplit, c'est normal de couper */
  cursor: zoom-in;
}

/* Responsive */
@media (max-width: 960px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery img {
    height: 120px;
  }
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery img {
    height: 125px;
  }
}

/* ---------- LIGHTBOX GALERIE SUITES ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.lightbox-overlay.open {
  display: flex;
}

/* ✅ Wrapper : laisse respirer la croix et les flèches, et permet les verticales */
.lightbox-img-wrapper {
  max-width: 92vw;
  max-height: calc(100vh - 120px);  /* ✅ au lieu de 80vh */
  position: relative;

  display: flex;            /* ✅ centre l’image */
  align-items: center;
  justify-content: center;
}

/* ✅ Image : toujours entièrement visible */
.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;       /* ✅ ne coupe jamais */
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

/* Croisillon */
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Flèches */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
  .lightbox-prev {
    left: 0.8rem;
  }
  .lightbox-next {
    right: 0.8rem;
  }

  /* ✅ un peu plus de place en hauteur sur mobile */
  .lightbox-img-wrapper {
    max-height: calc(100vh - 90px);
  }
}
/* 🔥 OVERRIDE FINAL – forcer l'image lightbox à tenir dans l'écran */
.lightbox-overlay img {
  max-height: calc(100vh - 120px) !important;
  max-width: 92vw !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Bouton suite désactivé (Basalte / Sylve temporairement) */
.btn-mini.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;   /* 🔒 empêche le clic */
  filter: grayscale(100%);
}

/* Pastille "Bientôt disponible" – suites non actives */
.suite-soon {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
}

/* Bouton slider désactivé (suites à venir) */
.btn-primary.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(100%);
}

/* Pastille "Bientôt disponible" – slider (lisible & premium) */
.slide-soon {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.8rem;          /* ⬆ était ~0.65rem */
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}


