:root {
  --BLANC: #ede0ce;
  --BLANC2: #ede0cec5;
  --MARRON1: #ba997d;
  --MARRON3: #4d4138;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
* { font-family: "Lato", sans-serif; word-break: break-word; overflow-wrap: break-word; }

/* Empêche tout débordement horizontal */
html, body { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

/* ── WHATSAPP BUTTON ── */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background-color: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.38);
  z-index: 101;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.50);
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 88px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background-color: var(--MARRON3); color: #fff;
  border: none; cursor: pointer; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease,
              background-color 0.2s ease, box-shadow 0.2s ease,
              visibility 0s linear 0.3s;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease,
              background-color 0.2s ease, box-shadow 0.2s ease,
              visibility 0s linear 0s;
}
.back-to-top:hover {
  background-color: var(--MARRON3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.26);
}
.back-to-top:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,0.18); }

/* ════════ NAVBAR ════════ */
header {
  position: fixed; top: 0; left: 0;
  height: 80px; z-index: 200; width: 100%;
  display: flex; justify-content: center;
  background: var(--BLANC);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar {
  display: flex; padding: 0 24px;
  max-width: 1200px; width: 100%;
  align-items: center; gap: 4px;
}
/* Push nav links (and lang switcher after them) to the right on desktop */
.navbar .all-links { margin-left: auto; }

.navbar input#menu-toggler { display: none; }
.navbar #hamburger-btn {
  cursor: pointer; display: none; background: none; border: none;
  padding: 8px; z-index: 201;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
}
#hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--MARRON3); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
body.nav-open #hamburger-btn span { background: var(--BLANC); }
body.nav-open #hamburger-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open #hamburger-btn span:nth-child(2) { opacity: 0; }
body.nav-open #hamburger-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar .logo img { height: 60px; width: auto; display: block; }

.navbar .all-links { display: flex; align-items: center; list-style: none; gap: 2px; }
.navbar .all-links li { list-style: none; }

header a {
  text-decoration: none;
  color: var(--MARRON3); padding: 8px 12px;
  display: inline-block; font-size: 14px;
  font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header a p { margin: 0; }
header a:hover { color: var(--MARRON3); background: rgba(117,100,87,0.08); }

/* ── HERO (toutes pages) ── */
.homepage {
  width: 100%; height: 100vh;
  position: relative;
  background-size: cover; background-repeat: no-repeat; background-attachment: fixed;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.homepage::before { content: ""; position: absolute; inset: 0; z-index: 1; }

.content {
  display: flex; height: auto; z-index: 3;
  align-items: center; justify-content: center;
  flex-direction: column; color: var(--BLANC2);
  padding: 0 20px; text-align: center;
  width: 100%;
}

.content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 7vw, 80px);
  font-weight: 700; margin-bottom: 12px; line-height: 1.15;
  word-break: break-word;
}

.content .text {
  margin-bottom: 40px;
  font-size: clamp(14px, 2.5vw, 20px);
  text-shadow: 0 0 10px rgba(0,0,0,0.326);
  max-width: 580px; line-height: 1.5;
}

.content a {
  color: var(--MARRON3); display: inline-block;
  text-transform: uppercase; font-size: clamp(11px, 1.8vw, 16px);
  margin: 0 6px; padding: 11px 24px; border-radius: 5px;
  background: var(--BLANC2); border: 2px solid var(--BLANC2);
  transition: 0.4s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  text-decoration: none; font-weight: 700; letter-spacing: 0.04em;
  white-space: nowrap;
}
.content a:hover { color: var(--MARRON1); background: rgba(239,239,235,0.3); }
.content .cta-group { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.content a.secondary { background: transparent; border-color: var(--BLANC2); color: var(--BLANC2); }
.content a.secondary:hover { background: var(--BLANC2); color: var(--MARRON3); }

section { display: flex; align-items: center; flex-direction: column; padding: 80px 0 0; }
section h2 { font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 3vw, 2.2rem); }

section > p { text-align: center; }

/* ── CAROUSEL ── */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  aspect-ratio: 4/3;
  outline: none;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.carousel-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 12px;
  font-family: "Lato", sans-serif;
  padding: 3px 9px;
  border-radius: 20px;
  z-index: 10;
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
}

.carousel-prev,
.carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background-color: rgba(0,0,0,0.3); color: rgba(255,255,255,0.9);
  border: none; cursor: pointer; font-size: 26px; font-weight: 100;
  padding: 10px 13px; z-index: 10; border-radius: 6px;
  transition: background-color 0.2s ease;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.carousel-prev:hover, .carousel-next:hover { background-color: rgba(0,0,0,0.55); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active,
.carousel-dot:hover { background: rgba(255,255,255,0.95); transform: scale(1.2); }

/* ── ANIMATION ONGLETS (partagée gite + activités) ── */
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

body.lb-scroll-lock { overflow: hidden; }

.lb-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.lb-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.12);
  border: none; color: #fff;
  font-size: 18px; width: 42px; height: 42px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lb-close:hover { background: rgba(255,255,255,0.28); }

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none; color: #fff;
  font-size: 28px; padding: 12px 16px;
  cursor: pointer; border-radius: 6px;
  transition: background 0.2s;
  z-index: 10;
  user-select: none;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.28); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* ── FOOTER ── */
footer { background-color: var(--MARRON3); padding: 32px 20px; color: var(--BLANC); border-top: 1px solid rgba(237,224,206,0.18); }
footer .container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; gap: 20px; }
footer .text-container { flex: 1; padding: 20px; min-width: 0; }
footer .text-container p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 15px; }
footer .text-container p i { flex-shrink: 0; width: 16px; text-align: center; margin-top: 3px; }
footer .text-container h2 { font-family: "Playfair Display", serif; margin-bottom: 20px; font-size: 1.4rem; }
footer .image-container { flex: 1; display: flex; justify-content: center; align-items: center; min-width: 0; }
footer .image-container img { max-height: 220px; width: auto; max-width: 100%; border-radius: 6px; }

.footer-map-link { display: inline-block; border-radius: 6px; overflow: hidden; }
.footer-map-link img {
  display: block;
  transition: transform 0.3s ease;
}
.footer-map-link:hover img {
  transform: translateY(-6px);
}

/* ════════ TABLETTE ≤ 1024px ════════ */
@media screen and (max-width: 1024px) {
  .navbar { padding: 0 16px; }
  header a { font-size: 13px; padding: 7px 10px; }
}

/* Bouton × mobile — caché par défaut sur desktop */
.menu-close { display: none; }

/* ════════ MOBILE ≤ 860px ════════ */
@media screen and (max-width: 860px) {
  .homepage { height: 100svh; background-attachment: scroll; }
  .text-container, .text-container-responsive { text-align: center; }
  .text-container ul, .text-container-responsive ul { list-style-position: inside; }
  header { height: 64px; }
  .navbar .logo img { height: 46px; }
  .navbar #hamburger-btn { display: flex; align-items: center; justify-content: center; }

  body.nav-open { overflow: hidden; }

  /* Panneau pleine largeur */
  .navbar .all-links {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: center; justify-content: center;
    background: var(--MARRON3); z-index: 199;
    opacity: 0; pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow-y: auto; gap: 0;
  }
  .nav-open .navbar .all-links { opacity: 1; pointer-events: auto; transform: scale(1); }

  .navbar .all-links li { border-bottom: none; width: 100%; text-align: center; }
  .navbar .all-links a {
    display: flex; align-items: center; justify-content: center;
    margin-left: 0; padding: 18px 28px;
    color: var(--BLANC); font-size: 20px; font-weight: 500;
    letter-spacing: 0.03em;
    width: 100%; height: auto;
    transition: color 0.15s;
  }
  .navbar .all-links a:hover { color: var(--MARRON1); background: none; }


  /* Footer */
  footer .container { flex-direction: column; text-align: center; }
  footer .text-container { padding: 10px; }
  footer .image-container { width: 100%; justify-content: flex-end; padding-right: 10%; }
  footer .image-container img { width: 75%; height: auto; max-height: none; max-width: none; }
  .footer-map-link { display: block; margin: 0 0 0 auto; width: 75%; }
  .footer-map-link img { width: 100%; height: auto; }

  .carousel-prev, .carousel-next { display: none; }
  .lb-prev, .lb-next { display: none; }
  .lb-img { max-width: 98vw; max-height: 82vh; }
}

/* ════════ PETIT MOBILE ≤ 480px ════════ */
@media screen and (max-width: 480px) {
  .content a { padding: 10px 16px; }
  .content .cta-group { gap: 8px; }
  footer .text-container p { font-size: 13px; }
}

/* ════════ TRÈS PETIT MOBILE ≤ 380px ════════ */
@media screen and (max-width: 380px) {
  .navbar .logo img { height: 36px; }
  .content h1 { font-size: clamp(26px, 7vw, 80px); }
  .content a { padding: 8px 12px; font-size: 11px; }
  footer { padding: 24px 12px; }
  footer .text-container { padding: 4px 6px; }
  footer .text-container h2 { font-size: 1.1rem; margin-bottom: 14px; }
  footer .text-container p { font-size: 12px; gap: 8px; margin-bottom: 10px; }
  footer .image-container img, .footer-map-link { width: 55%; }
}

/* ════════════════════════════════
   AJOUTS — CTA sticky + footer
════════════════════════════════ */

/* CTA Réservation flottant (mobile-first) */
.cta-sticky {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  padding: 12px 24px;
  background: var(--MARRON1);
  color: var(--BLANC);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(186,153,125,0.4);
  transition: background 0.2s, transform 0.2s;
  text-transform: uppercase;
}
.cta-sticky i { margin-right: 6px; }
.cta-sticky:hover { background: var(--MARRON3); transform: translateX(-50%) translateY(-2px); }


footer a {
  color: var(--BLANC);
  text-decoration: underline;
  text-decoration-color: rgba(237,224,206,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
footer a:hover { text-decoration-color: var(--BLANC); }

.footer-bottom {
  border-top: 1px solid rgba(237,224,206,0.18);
  padding: 16px 20px 4px;
  text-align: center;
  font-size: 13px;
  color: rgba(237,224,206,0.6);
}
.footer-bottom p { margin: 0; }

/* Logo cliquable */
.logo a { display: block; line-height: 0; }

/* ── MOBILE — afficher CTA sticky ── */
@media screen and (max-width: 860px) {
  .cta-sticky { display: inline-block; }
  .whatsapp-btn { bottom: 84px; right: 16px; }
  .back-to-top { bottom: 144px; right: 16px; }
}

/* Lien actif dans le menu */
.navbar .all-links a.active {
  color: var(--MARRON3);
  font-weight: 700;
  position: relative;
}
.navbar .all-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--MARRON1);
  border-radius: 2px;
}

@media screen and (max-width: 860px) {
  .navbar .all-links a.active {
    color: var(--MARRON1);
    font-weight: 700;
  }
  .navbar .all-links a.active::after {
    display: block;
    left: 50%;
    right: auto;
    width: 28px;
    bottom: 8px;
    transform: translateX(-50%);
    opacity: 0.9;
  }
}

/* ── RÉSERVER — pill CTA (desktop/tablette) ── */
.navbar .all-links li.nav-book a {
  background: var(--MARRON1);
  color: var(--BLANC);
  padding: 9px 20px; border-radius: 24px;
  font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(186,153,125,0.4);
  margin-left: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
.navbar .all-links li.nav-book a:hover,
.navbar .all-links li.nav-book a.active {
  background: var(--MARRON3);
  box-shadow: 0 4px 14px rgba(117,100,87,0.45);
  transform: translateY(-1px);
  color: var(--BLANC);
}
.navbar .all-links li.nav-book a::after,
.navbar .all-links li.nav-book a.active::after { display: none; }

/* ── RÉSERVER — bouton dans le panneau mobile ── */
@media screen and (max-width: 860px) {
  .navbar .all-links li.nav-book { margin-top: 12px; width: auto; }
  .navbar .all-links li.nav-book a {
    background: var(--MARRON1);
    color: var(--BLANC);
    border-radius: 30px;
    padding: 14px 48px;
    width: auto;
    margin: 0;
    justify-content: center;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 20px rgba(186,153,125,0.4);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: none;
  }
  .navbar .all-links li.nav-book a:hover,
  .navbar .all-links li.nav-book a.active {
    background: var(--MARRON3);
    color: var(--BLANC);
    transform: none;
    box-shadow: 0 4px 14px rgba(117,100,87,0.4);
  }
}

/* ════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════ */

/* Wrapper sits as a direct flex child of .navbar */
.lang-switcher { position: relative; display: flex; align-items: center; margin-left: 20px; }

.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1.5px solid rgba(77,65,56,0.25);
  border-radius: 20px; cursor: pointer;
  padding: 5px 10px 5px 8px;
  font-size: 13px; font-weight: 600;
  color: var(--MARRON3); letter-spacing: 0.03em;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--MARRON1); background: rgba(186,153,125,0.08); }
.lang-btn:focus-visible { outline: 2px solid var(--MARRON1); outline-offset: 2px; }

.lang-current-flag { font-size: 16px; line-height: 1; }
.lang-current-code { font-size: 12px; font-weight: 700; }

.lang-chev {
  font-size: 9px; margin-left: 1px;
  transition: transform 0.2s ease;
  color: var(--MARRON3); opacity: 0.6;
}
[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff;
  border: 1px solid rgba(77,65,56,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  list-style: none; padding: 6px;
  min-width: 140px; z-index: 300;
  animation: langDrop 0.15s ease;
}
.lang-menu--open { display: block; }

@keyframes langDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-menu li { margin: 0; }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; background: none; border: none;
  cursor: pointer; padding: 8px 12px; border-radius: 7px;
  font-size: 13px; font-weight: 500; color: #333;
  text-align: left; transition: background 0.15s;
  white-space: nowrap;
}
.lang-option:hover { background: rgba(186,153,125,0.12); }
.lang-option.lang-active {
  color: var(--MARRON3); font-weight: 700;
  background: rgba(186,153,125,0.1);
}
.lang-option:focus-visible { outline: 2px solid var(--MARRON1); outline-offset: -2px; }

/* ── Mobile: lang switcher stays in the header bar, left of hamburger ── */
@media screen and (max-width: 860px) {
  /* order: logo(0) | lang-switcher(2, margin-left:auto) | hamburger(3) */
  .navbar .lang-switcher { margin-left: auto; margin-right: 6px; order: 2; }
  .navbar #hamburger-btn { order: 3; }

  /* dropdown opens downward from the button */
  .lang-menu {
    position: absolute; top: calc(100% + 8px);
    right: 0; bottom: auto; left: auto; transform: none;
    min-width: 150px;
  }
}

/* ── LABELS / CERTIFICATIONS (partagé toutes pages) ── */
.labels {
  background-color: var(--MARRON3);
  padding: 36px var(--gutter);
  width: 100%;
}
.labels-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.label-item { display: flex; align-items: center; gap: 12px; padding: 10px 22px; }
.label-icon { height: 30px; width: auto; flex-shrink: 0; }
.label-text { display: flex; flex-direction: column; gap: 3px; }
.label-name { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(237,224,206,0.6); }
.label-grade { font-size: 0.92rem; font-weight: 700; color: var(--BLANC); letter-spacing: 0.02em; }
.label-sep { width: 1px; height: 44px; background: rgba(237,224,206,0.18); flex-shrink: 0; }
@media screen and (max-width: 860px) {
  .labels-inner { flex-direction: column; gap: 20px; }
  .label-sep { width: 60px; height: 1px; }
  .label-item { padding: 0; }
}

/* ── LOGO PARTENAIRE dans la bande labels ── */
.label-partner-logo {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) sepia(0.22) saturate(0.55);
  opacity: 0.78;
  transition: opacity 0.2s;
}
.label-partner-logo:hover { opacity: 1; }
@media screen and (max-width: 860px) {
  .label-partner-logo { height: 54px; }
}

/* ── LOGOS PARTENAIRES ── */
.logo-partners {
  background: var(--BLANC2);
  padding: 32px var(--gutter);
  display: flex;
  justify-content: center;
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.logo-partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 800px;
}
.logo-partners-inner img {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.logo-partners-inner img:hover { opacity: 1; }
@media screen and (max-width: 600px) {
  .logo-partners-inner { gap: 28px; }
  .logo-partners-inner img { height: 54px; }
}
