:root {
  --primary: #c79d2a;
  --primary-dark: #9b7b1f;
  --dark: #1f252d;
  --text: #1f252d;
  --muted: #6b7280;
  --bg: #f9fafb;
  --bg-alt: #ffffff;
  --border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.15);
  --radius-lg: 18px;
  --radius-sm: 10px;
}

/* RESET SIMPLIFIE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

/* LAYOUT */
.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 54rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: flex-start;
}

/* HEADER / NAV */
/* HEADER global */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.7rem 0;
}

.nav {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.logo img {
  height: 54px;
}

/* Langues en colonne à droite */
.lang-switch {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-end;
  font-size: 0.8rem;
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Langue active */
.lang-switch a.active-lang {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Mobile : on peut masquer le switch langue si tu veux alléger encore */
@media (max-width: 820px) {
  .lang-switch {
    display: none;
  }
}


/* Bloc de droite : bouton + langues */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Bouton principal dans le header (on garde le style .btn .btn-primary existant) */
.header-cta {
  font-size: 0.9rem;
  padding-inline: 1.3rem;
}

/* Switch de langue déjà défini, on enlève l'ancien margin-left si tu l'avais */
.lang-switch {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 0; /* important si tu avais un margin-left avant */
}

@media (max-width: 820px) {
  .header-inner {
    gap: 1rem;
  }

  .nav {
    flex: 0 0 auto;
  }

  .header-right {
    display: none; /* solution simple : on ne garde que le menu + burger sur mobile,
                      le bouton Réserver est dans le menu lui-même si tu veux */
  }
}


.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.18s ease;
}

.nav-list a:hover {
  color: var(--primary-dark);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list a.active {
  color: var(--primary-dark);
}

.nav-list a.active::after {
  width: 100%;
}

/* exception pour le bouton Réserver (texte doit rester blanc) */
.nav-list a.btn-nav,
.nav-list a.btn-nav:hover,
.nav-list a.btn-nav.active {
  color: #ffffff;
}

.nav-list a.btn-nav::after {
  width: 0; /* pas de soulignement animé sur le bouton */
}

/* Bouton nav */
.btn-nav {
  padding-inline: 1.1rem;
  font-size: 0.9rem;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: none;
  background: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO (full background image) */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: #ffffff;
  background-image:
    linear-gradient(110deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.35)),
    url("img/bcr-livingroom.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem 0;
  color: #f9fafb;
}

.hero-highlights li::before {
  content: "• ";
  color: var(--primary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(199, 157, 42, 0.45);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(199, 157, 42, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* CARDS / KEYFACTS */
.keyfacts-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.keyfacts-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.keyfacts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.keyfacts-list li + li {
  margin-top: 0.45rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.3rem 1.3rem;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* FEATURES */
.feature-block {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}

.feature-block h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature-block ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-block li::before {
  content: "– ";
  color: var(--primary-dark);
}

/* GALERIE */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  isolation: isolate;
}

.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none; /* ne bloque plus le clic */
}


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

.gallery-item:hover::after {
  opacity: 1;
}

/* MAP */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 320px;
}

/* BOOKING */
.booking-widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  margin-top: 1rem;
}

.booking-widget iframe {
  border-radius: 1rem;
}

.booking-notes {
  margin-top: 2rem;
}

.booking-notes h3 {
  margin-bottom: 0.5rem;
}

.booking-notes ul {
  color: var(--muted);
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.8rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-small {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}



.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #e5e7eb;
  cursor: pointer;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(199, 157, 42, 0.6);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 45;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .two-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.5rem 1rem;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .btn-nav {
    margin-top: 0.3rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-inner {
    gap: 2.2rem;
  }

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

  .keyfacts-card {
    padding: 1.3rem 1.4rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}
/* Nouvelle grille pour les chambres */
.rooms-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
}

.rooms-grid .room-card:nth-child(3) {
  grid-column: span 2; /* La 3e chambre occupe toute la ligne */
}

.rooms-grid .room-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.rooms-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.room-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.room-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.room-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Tablette : 3 colonnes */
@media (min-width: 900px) {
  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rooms-grid .room-card:nth-child(3) {
    grid-column: span 1;
  }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .rooms-grid .room-card:nth-child(3) {
    grid-column: span 1;
  }
}
/* Grille et cartes chambres avec icônes */
.rooms-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
}

.rooms-grid .room-card:nth-child(3) {
  grid-column: span 2; /* la chambre 3 prend toute la ligne sur desktop */
}

.room-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.room-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.room-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.room-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.room-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Petites pastilles avec icônes */
.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.room-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.8rem;
  color: #4b5563;
  white-space: nowrap;
}

/* Plan du duplex */
.plan-block {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.plan-text p {
  color: var(--muted);
}

.plan-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in; /* pour le lightbox */
}

.plan-figure img {
  width: 100%;
  display: block;
}

/* Tablette : 3 colonnes pour les chambres, disposition plus dense */
@media (min-width: 900px) {
  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rooms-grid .room-card:nth-child(3) {
    grid-column: span 1;
  }
}

/* Mobile : chambres et plan en une colonne */
@media (max-width: 640px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .rooms-grid .room-card:nth-child(3) {
    grid-column: span 1;
  }

  .plan-block {
    grid-template-columns: 1fr;
  }
}
/* Nouvelle grille 3x2 pour les chambres + plan */
.rooms-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, 1fr);
}

.plan-card img {
  object-fit: contain;
  background: #fff;
}

/* mobile */
@media (max-width: 900px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}

/* ÉQUIPEMENTS MODERNES */
.equipment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem 0;
}

.equipment-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.8rem;
  color: #4b5563;
}

.equipment-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.equipment-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.equipment-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.equipment-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fef3c7;
  font-size: 1.2rem;
}

.equipment-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.equipment-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.equipment-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.equipment-list li + li {
  margin-top: 0.25rem;
}

/* Mobile : un peu plus d'air */
@media (max-width: 640px) {
  .equipment-card {
    padding: 1.3rem 1.4rem 1.5rem;
  }
}

/* Tags de tri de galerie */
.gallery-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.gallery-tag {
  background: #f3f4f6;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #374151;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-tag:hover {
  background: var(--primary);
  color: white;
}

.gallery-tag.active {
  background: var(--primary);
  color: white;
}

/* Grille moderne – masonry-like */
.modern-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.modern-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}

.modern-gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-gallery-item:hover img {
  transform: scale(1.06);
}

/* Mobile */
@media (max-width: 640px) {
  .modern-gallery-item img {
    height: 180px;
  }
}

/* Conteneur principal image */
.lightbox-main {
  position: relative;
  width: min(90vw, 1000px);
  height: min(80vh, 650px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Les deux images superposées */
.lightbox-image {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;

  /* ZOOM ENTRANT PLUS FORT */
  transform: scale(1.12) translateX(0); /* Zoom +12% */

  transition:
    opacity 0.7s ease-in-out,
    transform 0.7s ease-in-out;
}

.lightbox-image.active {
  opacity: 1;

  /* fin de zoom */
  transform: scale(1.00) translateX(0);
}


/* Position de départ pour slide horizontal */
.lightbox-image.from-right {
  transform: scale(1.03) translateX(40px);
}

.lightbox-image.from-left {
  transform: scale(1.03) translateX(-40px);
}

/* Compteur */
.lightbox-counter {
  position: absolute;
  bottom: 10px;
  right: 14px;
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Flèches */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 0 15px;
  user-select: none;
  transition: opacity 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Miniatures */
.lightbox-thumbs {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: 90%;
  overflow-x: auto;
  padding: 4px 6px;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 999px;
}

.lightbox-thumb {
  width: 50px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.active {
  border-color: #facc15;
}

/* Mobile : thumbs un peu remontées */
@media (max-width: 640px) {
  .lightbox-thumbs {
    bottom: 12px;
  }
}

/* LOCALISATION MODERNE */
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.8rem;
  color: #4b5563;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: flex-start;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-block p {
  color: var(--muted);
}

.location-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.location-mini h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.location-mini ul {
  margin: 0;
  padding-left: 1em;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-map-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.location-map-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.location-map-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.location-map-card .map-wrapper {
  margin-top: 0.7rem;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .location-map-card {
    padding: 1.2rem 1.3rem 1.4rem;
  }
}

/* SECTION LOCALISATION (fond différent, séparation claire) */
.location-full {
  background: var(--bg);          /* gris très léger, différent de la galerie */
  padding: 4rem 0 4rem;
  margin-top: 3rem;
  border-top: 1px solid #e5e7eb;  /* séparation nette avec la galerie */
}

/* Carte pleine largeur (alignée avec le contenu) */
.location-map-full {
  width: min(1120px, 100% - 3rem);  /* même largeur que .container */
  height: 420px;
  margin: 2rem auto 1.5rem;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Zone du bouton sous la carte */
.location-actions {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* Bouton itinéraire (extérieur à la carte) */
.map-itinerary-btn-outer {
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.map-itinerary-btn-outer:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 640px) {
  .location-map-full {
    height: 300px;
  }

  .location-actions {
    justify-content: center;
  }
}


/* Carte Leaflet pleine largeur */
.location-map-full {
  width: min(1120px, 100% - 3rem);
  height: 420px;
  margin: 2rem auto 1.5rem;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

#bcr-map {
  width: 100%;
  height: 100%;
}

/* Bouton itinéraire déjà défini, on garde ce que tu as, sinon : */
.map-itinerary-btn-outer {
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.map-itinerary-btn-outer:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Conteneur bouton itinéraire */
.location-actions {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* Mobile */
@media (max-width: 640px) {
  .location-map-full {
    height: 300px;
  }
  .location-actions {
    justify-content: center;
  }
}

/* Marker logo mini + animation */
.bcr-marker-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  animation: bcr-marker-in 0.7s ease-out;
}

.bcr-marker-wrapper img {
  max-width: 26px;
  max-height: 26px;
}

/* Animation d’arrivée (zoom + petit bounce) */
@keyframes bcr-marker-in {
  0% {
    transform: translateY(-10px) scale(0.4);
    opacity: 0;
  }
  60% {
    transform: translateY(-22px) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: translateY(-18px) scale(1.0);
  }
}

/* SECTION LOCALISATION : fond différent, séparation nette */
#localisation {
  background: #f9fafb;
  border-top: 0px solid #e5e7eb;
  margin-top: 2rem;
  padding: 4rem 0;
}

/* Bloc carte aligné comme le contenu principal */
.location-map-card {
  width: min(1120px, 100% - 3rem); /* EXACTEMENT comme .container */
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* La carte elle-même */
.location-map-card .map-wrapper {
  margin-top: 0.7rem;

  /* ---- HAUTEUR 20% PLUS GRANDE ---- */
  height: 360px;  /* au lieu des ~260px précédents */

  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Bouton sous la carte */
.map-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.map-btn {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.map-btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.map-btn-primary:hover {
  background: var(--primary-dark);
}

/* Mobile */
@media (max-width: 640px) {
  .location-map-card .map-wrapper {
    height: 220px;
  }

  .map-actions {
    justify-content: center;
  }
}

/* RÉSERVATION / LODGIFY */
.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.reservation-text h2 {
  margin-bottom: 0.8rem;
}

.reservation-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.2rem 0 1.6rem;
}

.reservation-highlight {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.reservation-emoji {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  font-size: 1.2rem;
}

.reservation-highlight h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.reservation-highlight p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.reservation-info h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.reservation-info ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.reservation-cta {
  margin-top: 1.4rem;
}

/* Carte Lodgify */
.reservation-widget-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.reservation-widget-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.reservation-widget-text {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .reservation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reservation-widget-card {
    margin-top: 1rem;
  }
}

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
}

.faq-icon {
  margin-left: 1rem;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  transition: max-height 0.25s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;       /* suffisant pour nos réponses courtes */
  padding-top: 0.3rem;
  padding-bottom: 0.9rem;
}

.faq-answer p {
  margin: 0;
}

/* ========================= */
/* OPTIMISATION VERSION MOBILE */
/* ========================= */

/* 1. Header + nav + logo */
@media (max-width: 640px) {
  .header-inner {
    padding: 0.35rem 0;
  }

  .logo img {
    height: 42px; /* logo un peu plus petit sur mobile */
  }

  .nav-list {
    font-size: 0.95rem;
  }
}

/* 2. HERO : texte centré, taille adaptée */
@media (max-width: 640px) {
  .hero {
    padding: 3.3rem 0 3rem;
    text-align: center;
  }

  .hero-inner {
    justify-items: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-highlights {
    font-size: 0.9rem;
    text-align: left;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }
}

/* 3. Sections : un peu moins de padding pour réduire le scroll */
@media (max-width: 640px) {
  .section {
    padding: 3.2rem 0;
  }

  .section-intro {
    font-size: 0.95rem;
  }
}

/* 4. Chambres : une seule colonne, cartes un peu plus compactes */
@media (max-width: 640px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .room-card img {
    height: 190px;
  }

  .room-body {
    padding: 1rem 1.1rem 1.2rem;
  }

  .room-body h3 {
    font-size: 1rem;
  }

  .room-meta {
    gap: 0.25rem;
  }

  .room-chip {
    font-size: 0.78rem;
  }
}

/* 5. Équipements : une colonne, plus lisible */
@media (max-width: 640px) {
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .equipment-card {
    padding: 1.2rem 1.3rem 1.4rem;
  }
}

/* 6. Galerie : une seule colonne, images moins hautes */
@media (max-width: 640px) {
  .modern-gallery-grid {
    grid-template-columns: 1fr;
  }

  .modern-gallery-item img {
    height: 200px;
  }
}

/* 7. Localisation : bloc plus compact sur mobile */
@media (max-width: 640px) {
  #localisation {
    padding: 3.2rem 0;
  }

  .location-map-card .map-wrapper {
    height: 240px;
  }
}

/* 8. Réservation : piles en colonne, espaces resserrés */
@media (max-width: 900px) {
  .reservation-grid {
    gap: 1.9rem;
  }
}

@media (max-width: 640px) {
  .reservation-text .section-intro {
    margin-bottom: 1.2rem;
  }

  .reservation-highlights {
    gap: 0.75rem;
    margin-bottom: 1.3rem;
  }

  .reservation-widget-card {
    padding: 1.3rem 1.3rem 1.4rem;
  }
}

/* 9. FAQ : boutons plus agréables au doigt */
@media (max-width: 640px) {
  .faq-question {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.88rem;
  }
}

.footer-right {
  display: flex;
  align-items: center;
}

.footer-btn {
  background: var(--primary);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.footer-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-right {
  display: flex;
  align-items: center;
}

.footer-btn {
  background: var(--primary);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.footer-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 1rem;
}

.lang-switch a {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}
/* Bouton Réserver flottant (en haut à droite, sous le header) */
.floating-reserve {
  position: fixed;
  right: 1.5rem;
  top: 5.8rem;  /* juste sous la barre de menu (à ajuster si besoin) */
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.floating-reserve:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}

/* Mobile : un peu plus bas si la barre est plus haute */
@media (max-width: 640px) {
  .floating-reserve {
    top: 4.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.35rem 0;        /* avant: 0.7rem 0 */
}

.logo img {
  height: 46px;             /* avant: 54px – réduit un peu le logo */
}

/* Langues en colonne, mais compactes */
.lang-switch {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;              /* avant: 0.15rem */
  align-items: flex-end;
  font-size: 0.75rem;        /* plus petit */
  line-height: 1.1;
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.05rem 0.35rem;  /* moins de padding vertical */
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a.active-lang {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
