/* ═══════════════════════════════════════════════════════════
   AU CŒUR DE PERLES — style.css
   Typo   : DM Serif Display (titres) · DM Sans (corps)
   Charte : tokens HSL officiels
   ═══════════════════════════════════════════════════════════ */

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

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
    --background: hsl(40, 33%, 96%);
    --foreground: hsl(0, 0%, 0%);
    --primary: hsl(185, 45%, 42%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(195, 31%, 95%);
    --accent: hsl(185, 55%, 30%);
    --accent-foreground: hsl(0, 0%, 100%);
    --muted: hsl(185, 10%, 92%);
    --muted-foreground: hsl(180, 10%, 8%);
    --border: hsl(30, 20%, 85%);
    --radius: 6px;
    --container: 1400px;
    --container-pad: 2rem;
}

/* ─── BASE ────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-pad);
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease;
}

nav.scrolled {
    background: var(--background);
    box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter .35s;
}

nav.scrolled .nav-logo-img {
    filter: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    color: rgba(255, 255, 255, .88);
    transition: color .2s;
}

nav.scrolled .nav-links a {
    color: var(--foreground);
}

nav.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--primary-foreground);
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid rgba(255, 255, 255, .6);
    border-radius: 6px;
    padding: 8px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, .9);
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .35s;
}

.nav-phone:hover {
    background: rgba(255, 255, 255, .15);
    border-color: white;
}

nav.scrolled .nav-phone {
    border-color: var(--primary);
    color: var(--primary);
}

nav.scrolled .nav-phone:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.nav-phone svg {
    width: 14px;
    height: 14px;
}
/* ── Burger button ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: .5rem;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
}

/* Croix quand ouvert */
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Drawer ── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: hsl(185, 55%, 30%);
  padding: 100px 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 32px rgba(44,26,14,.12);
}
.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.nav-drawer-links li a {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  padding: .6rem 0;
  border-bottom: 1px solid hsl(185, 22%, 65%);
  transition: color .2s;
}
.nav-drawer-links li:last-child a {
  border-bottom: none;
}
.nav-drawer-links li a:hover {
  color: hsl(185, 45%, 42%);
}

.nav-drawer-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #ffffff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  margin-top: auto;
}
.nav-drawer-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,26,14,.35);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Responsive : afficher burger, cacher liens desktop ── */
@media (max-width: 768px) {
  .nav-right {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}
/* Navbar scrolled : burger en blanc sur fond sombre */
#navbar.scrolled .nav-burger span {
  background: hsl(185, 45%, 42%);
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--primary-foreground);
    padding: 0 var(--container-pad);
    animation: fadeIn .95s ease both;
}

.hero-location {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 18px;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(52px, 7.5vw, 90px);
    font-weight: 400;
    line-height: 1.06;
    color: var(--primary-foreground);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, .84);
    max-width: 500px;
    margin: 0 auto;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    animation: bounce 2.2s ease-in-out infinite;
    z-index: 2;
}

.hero-scroll svg {
    width: 26px;
    height: 26px;
}

/* ═══════════════════════════════════════════════════════════
   STATS — bleu ciel
   ═══════════════════════════════════════════════════════════ */
#stats {
    background: var(--secondary);
    padding: 64px var(--container-pad);
}

.stats-grid {
    display: flex;
    justify-content: center;
    max-width: var(--container);
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.stat-icon svg {
    width: 21px;
    height: 21px;
    color: var(--primary);
}

.stat-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 4px;
}

.stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted-foreground);
}

/* ═══════════════════════════════════════════════════════════
   PRÉSENTATION — beige
   ═══════════════════════════════════════════════════════════ */
#presentation {
    background: var(--background);
    padding: 96px var(--container-pad);
}

.pres-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.pres-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.2;
    margin-bottom: 20px;
}

.pres-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.78;
    color: var(--muted-foreground);
    margin-bottom: 34px;
}

/* ─── GRILLE ÉQUIPEMENTS ──────────────────────────────────── */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0 34px;
}

.equip-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--foreground);
    line-height: 1.45;
}

.equip-item small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-top: 2px;
}

.equip-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.equip-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ─── SLIDER PHOTOS ───────────────────────────────────────── */
.slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 20px 56px rgba(0, 0, 0, .11);
    background: var(--muted);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: hsl(185, 22%, 65%);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .82);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .13);
    transition: background .2s, transform .2s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-foreground);
    transform: translateY(-50%) scale(1.07);
}

.slider-btn svg {
    width: 17px;
    height: 17px;
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

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

.dot {
    width: 7px;
    height: 7px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}

.dot.active {
    background: var(--primary-foreground);
    transform: scale(1.3);
}

/* ─── BOUTON PRIMAIRE ─────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 6px;
    padding: 13px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 3px 14px hsla(185, 45%, 42%, .28);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 7px 22px hsla(185, 55%, 30%, .3);
}

/* ─── BOUTON GHOST ────────────────────────────────────────── */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    gap: 4px;
    margin-top: 4px;
    transition: color .2s, gap .2s;
}

.btn-ghost:hover {
    color: var(--accent);
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   QUI SOMMES-NOUS — bleu ciel
   ═══════════════════════════════════════════════════════════ */
#qui {
    background: var(--secondary);
    padding: 96px var(--container-pad);
    text-align: center;
}


.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    color: var(--foreground);
    margin-bottom: 52px;
    line-height: 1.18;
}

.qui-inner {
    display: flex;
    gap: 52px;
    align-items: center;
    max-width: 1000px;
    margin-top: 100px;
    margin: 0 auto;
    text-align: left;
}

/* ─── Photo ronde ─────────────────────────────────────────── */
.qui-photo {
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    border: 4px solid var(--primary-foreground);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

.qui-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.qui-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.78;
    color: var(--muted-foreground);
    margin-bottom: 14px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--container);
    margin: 0 auto 48px;
}

.card {
    background: var(--primary-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.card-icon svg {
    width: 21px;
    height: 21px;
    color: var(--primary);
}

.card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 10px;
}

.card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.68;
    color: var(--muted-foreground);
}

/* ═══════════════════════════════════════════════════════════
   LOCALISATION — beige
   ═══════════════════════════════════════════════════════════ */
#localisation {
    background: var(--background);
    padding: 96px 0 0;
}

.loc-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    text-align: center;
}

.loc-inner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    color: var(--foreground);
    margin-bottom: 20px;
}

/* Texte descriptif — au-dessus de l'adresse */
.loc-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.78;
    color: var(--muted-foreground);
    max-width: 740px;
    margin: 0 auto 36px;
}

/* Bouton adresse centré */
.loc-adresse {
    display: inline-flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    padding: 24px 28px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s;
    margin-bottom: 48px;
    text-align: left;
}

.loc-adresse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.loc-adresse-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-adresse-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.loc-adresse-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.loc-adresse-text strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
}

.loc-adresse-text span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.loc-adresse-text em {
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary);
    margin-top: 4px;
}

/* Carte avec marges sur les côtés et coins arrondis */
.loc-map-wrapper {
    margin: 0 2rem 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.loc-map {
    width: 100%;
    height: 460px;
    display: block;
}

/* Marqueur gîte (rouge) */
.map-marker-gite {
    width: 20px;
    height: 20px;
    background: hsl(0, 65%, 58%);
    border: 3px solid white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

/* Marqueur POI (teal) */
.map-marker-poi {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border: 2px solid white;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}

/* Tooltip labels */
.map-tooltip {
    background: var(--accent) !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15) !important;
    white-space: nowrap !important;
}

.map-tooltip::before {
    border-top-color: var(--accent) !important;
}

/* Popup gîte */
.map-popup {
    font-family: 'DM Sans', sans-serif;
    padding: 4px 2px;
}

.map-popup strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.map-popup span {
    font-size: 12px;
    color: hsl(185, 10%, 45%);
    line-height: 1.5;
}

.leaflet-popup-content-wrapper {
    border-radius: 6px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12) !important;
}

.leaflet-popup-tip-container {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   ACTIVITÉS — bleu ciel
   ═══════════════════════════════════════════════════════════ */
#activites {
    background: var(--secondary);
    padding: 96px var(--container-pad);
}

.act-inner {
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}

.act-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--muted-foreground);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Onglets saison */
.season-tabs {
    display: inline-flex;
    gap: 10px;
    background: var(--muted);
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 40px;
}

.season-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: var(--muted-foreground);
    transition: background .25s, color .25s, box-shadow .25s;
}

.season-btn.active {
    background: var(--primary-foreground);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.season-btn[data-season="hiver"].active {
    color: hsl(185, 45%, 42%);
}

a.act-card:has(.act-card-tag.hiver):hover .act-card-link {
    color: hsl(185, 45%, 42%);
}

.season-btn:not(.active):hover {
    color: var(--foreground);
}

/* Affichage saison */
.act-season {
    display: none;
}

.act-season.active {
    display: block;
}

/* Slider activités */
.act-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 8px 0 12px;
}

.act-track {
    display: flex;
    gap: 24px;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Card activité ───────────────────────────────────────── */
.act-card {
    flex: 0 0 300px;
    background: var(--primary-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.act-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.act-card-photo {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--muted);
    flex-shrink: 0;
    transition: transform .4s ease;
}

.act-card:hover .act-card-photo {
    transform: scale(1.04);
}

.act-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    text-align: left;
}

.act-card-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
}

.act-card-tag.hiver {
    color: hsl(185, 45%, 42%);
}

.act-card-body h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 16.5px;
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.25;
    margin: 0;
}

.act-card-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin: 0;
}

.act-card-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: color .2s, gap .2s;
}

.act-card:hover .act-card-link {
    color: var(--primary);
    gap: 6px;
}

/* Boutons flèches du slider activités */
.act-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--primary-foreground);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    transition: background .2s, transform .2s, opacity .2s;
    z-index: 10;
}

.act-btn:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.07);
}

.act-btn svg {
    width: 16px;
    height: 16px;
}

.act-prev {
    left: 0;
}

.act-next {
    right: 0;
}

/* ═══════════════════════════════════════════════════════════
   TARIFS — beige
   ═══════════════════════════════════════════════════════════ */
#tarifs {
    background: var(--background);
    padding: 96px var(--container-pad);
    text-align: center;
}

#tarifs h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    color: var(--foreground);
    margin-bottom: 16px;
}

#tarifs .subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--muted-foreground);
    max-width: 540px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.tarif-cards {
    display: grid;
    grid-template-columns: repeat(2, 320px);
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.tarif-card {
    background: var(--primary-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.tarif-card .card-icon {
    margin-bottom: 18px;
}

.tarif-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 7px;
    text-align: center;
}

.tarif-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted-foreground);
    text-align: center;
}

.tarif-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted-foreground);
    margin-top: 18px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — bleu canard foncé
   ═══════════════════════════════════════════════════════════ */
footer {
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 64px var(--container-pad) 32px;
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    margin-bottom: 28px;
}

.footer-brand h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-foreground);
    margin-bottom: 12px;
}

.footer-brand p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(255, 255, 255, .62);
}

.footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .46);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, .76);
    margin-bottom: 11px;
    line-height: 1.5;
}

.footer-col li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: .58;
}

.footer-col a {
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--accent-foreground);
}

.footer-col li:has(> a:only-child) {
    gap: 0;
}

.footer-bottom {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .36);
    max-width: var(--container);
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    nav {
        padding: 0 1.25rem;
        height: 72px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo-img {
        height: 48px;
    }

    #stats {
        padding: 48px 1.25rem;
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 50%;
    }

    #presentation {
        padding: 64px 1.25rem;
    }

    .pres-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .slider {
        order: -1;
    }

    .equip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #qui {
        padding: 64px 1.25rem;
    }

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

    .qui-inner {
        flex-direction: column;
        gap: 28px;
        align-items: center;
        text-align: center;
    }

    .qui-photo {
        width: 160px;
        height: 160px;
    }

    #localisation {
        padding: 64px 0 0;
    }

    .loc-inner {
        padding: 0 1.25rem;
    }

    .loc-map-wrapper {
        margin: 0 1.25rem;
        border-radius: 6px;
    }

    .loc-map {
        height: 320px;
    }

    #activites {
        padding: 64px 1.25rem;
    }

    .act-card {
        flex: 0 0 260px;
    }

    .act-card-photo {
        height: 150px;
    }

    #tarifs {
        padding: 64px 1.25rem;
    }

    .tarif-cards {
        grid-template-columns: 1fr;
        width: 100%;
    }

    footer {
        padding: 48px 1.25rem 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 520px) {
    .stat-item {
        flex: 0 0 100%;
    }

    .hero-title {
        font-size: 42px;
    }

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

    .act-card {
        flex: 0 0 230px;
    }

    .act-card-photo {
        height: 130px;
    }

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

    .loc-map-wrapper {
        margin: 0 0.75rem;
        border-radius: 6px;
    }

    .loc-map {
        height: 260px;
    }
}

/*PAGE MODALITÉS*/
/* ─── RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
    --background: hsl(40, 33%, 96%);
    --foreground: hsl(0, 0%, 0%);
    --primary: hsl(185, 45%, 42%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(195, 31%, 95%);
    --accent: hsl(185, 55%, 30%);
    --accent-foreground: hsl(0, 0%, 100%);
    --muted: hsl(185, 10%, 92%);
    --muted-foreground: hsl(180, 10%, 8%);
    --border: hsl(30, 20%, 85%);
    --radius: 6px;
    --container: 1400px;
    --container-pad: 2rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-pad);
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease;
}

nav.scrolled {
    background: var(--background);
    box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter .35s;
}

nav.scrolled .nav-logo-img {
    filter: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    color: rgba(255, 255, 255, .88);
    transition: color .2s;
}

nav.scrolled .nav-links a {
    color: var(--foreground);
}

nav.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid rgba(255, 255, 255, .6);
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, .9);
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .35s;
}

.nav-phone:hover {
    background: rgba(255, 255, 255, .15);
    border-color: white;
}

nav.scrolled .nav-phone {
    border-color: var(--primary);
    color: var(--primary);
}

nav.scrolled .nav-phone:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.nav-phone svg {
    width: 14px;
    height: 14px;
}


/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 64px var(--container-pad) 32px;
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    margin-bottom: 28px;
}

.footer-brand h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-foreground);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.72;
    color: rgba(255, 255, 255, .62);
}

.footer-col h4 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .46);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .76);
    margin-bottom: 11px;
    line-height: 1.5;
}

.footer-col li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: .58;
}

.footer-col a {
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--accent-foreground);
}

.footer-col li:has(> a:only-child) {
    gap: 0;
}

.footer-bottom {
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .36);
    max-width: var(--container);
    margin: 0 auto;
}

.footer-legal {
    text-align: center;
    margin-top: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .36);
}

.footer-legal a {
    color: rgba(255, 255, 255, .48);
    text-decoration: none;
    transition: color .2s;
}

.footer-legal a:hover {
    color: var(--primary-foreground);
}

/* ════════════════════════════════════════════════════════════
       PAGE MODALITÉS
       ════════════════════════════════════════════════════════════ */

.legal-hero {
    background: var(--accent);
    padding: 160px var(--container-pad) 80px;
    text-align: center;
}

.legal-hero .section-tag {
    color: rgba(255, 255, 255, .58);
}

.legal-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    color: var(--primary-foreground);
    margin-bottom: 16px;
    line-height: 1.1;
}

.legal-hero>p {
    font-size: 15px;
    color: rgba(255, 255, 255, .62);
}

/* Layout grille sidebar + contenu */
.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    max-width: 1160px;
    margin: 0 auto;
    padding: 72px 2rem 96px;
    gap: 64px;
    align-items: start;
}

/* Sommaire */
.legal-toc {
    position: sticky;
    top: 120px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 0;
}

.legal-toc-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
    display: block;
}

.legal-toc-section {
    margin-bottom: 4px;
}

.legal-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
}

.legal-toc-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: .5;
    transition: opacity .2s;
}

.legal-toc-link:hover,
.legal-toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: var(--secondary);
}

.legal-toc-link:hover svg,
.legal-toc-link.active svg {
    opacity: 1;
}

.legal-toc-sub {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
}

.legal-toc-sub-link {
    display: block;
    padding: 5px 20px 5px 44px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--muted-foreground);
    text-decoration: none;
    opacity: .72;
    transition: color .2s, opacity .2s;
}

.legal-toc-sub-link:hover {
    color: var(--primary);
    opacity: 1;
}

/* Contenu */
.legal-main {
    min-width: 0;
}

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--muted);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--muted-foreground);
    margin-bottom: 48px;
}

.legal-updated svg {
    width: 12px;
    height: 12px;
    opacity: .55;
}

.legal-section {
    margin-bottom: 80px;
    scroll-margin-top: 140px;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-section-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.legal-section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.2;
}

.legal-article {
    margin-bottom: 36px;
}

.legal-article h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.legal-article p,
.legal-article li {
    font-size: 15px;
    line-height: 1.82;
    color: var(--muted-foreground);
}

.legal-article ul,
.legal-article ol {
    padding-left: 20px;
    margin-top: 8px;
}

.legal-article li {
    margin-bottom: 6px;
}

.legal-article a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.legal-article a:hover {
    color: var(--accent);
}

.legal-callout {
    background: var(--secondary);
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    margin: 20px 0;
}

.legal-callout p {
    font-size: 14px;
    line-height: 1.72;
    color: var(--muted-foreground);
    margin: 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}

.legal-table th {
    background: var(--secondary);
    color: var(--foreground);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}

.legal-table td {
    padding: 12px 16px;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 80px 0;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
    nav {
        padding: 0 1.25rem;
        height: 72px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo-img {
        height: 48px;
    }

    .legal-hero {
        padding: 130px 1.25rem 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 860px) {
    .legal-layout {
        grid-template-columns: 1fr;
        padding: 48px 1.25rem 72px;
        gap: 24px;
    }

    .legal-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .legal-toc-title {
        width: 100%;
    }

    .legal-toc-section {
        flex: 1 1 33%;
    }

    .legal-toc-sub {
        display: none;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
    }
}

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

    .legal-toc-section {
        flex: 1 1 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGE HISTOIRE — CSS additionnel à coller dans style.css
   ═══════════════════════════════════════════════════════════ */

/* ─── Hero histoire ───────────────────────────────────────── */
.hist-hero {
    position: relative;
    height: 72vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hist-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, rgba(15, 25, 24, .18) 0%, rgba(15, 25, 24, .62) 70%, rgba(15, 25, 24, .82) 100%);
    background-size: cover;
    background-position: center;
}

.hist-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad) 64px;
    color: white;
}



.hist-hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1.08;
    color: white;
    margin-bottom: 18px;
}

.hist-hero-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
}
/* ─── Sections génériques ─────────────────────────────────── */
.hist-section {
    padding: 96px var(--container-pad);
}

.hist-container {
    max-width: var(--container);
    margin: 0 auto;
}

/* ─── Pill tag — SUPPRIMÉ, on utilise .section-tag de l'accueil ── */
.hist-section-header {
    margin-bottom: 40px;
}

/* ─── Option B : section aventure pleine hauteur ─────────────── */
.hist-aventure-b {
    display: grid;
    grid-template-columns: 55% 1fr;
    min-height: 520px;
    background: var(--background);
}

.hist-aventure-b-photo {
    position: relative;
    overflow: hidden;
}

.hist-aventure-b-photo img {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hist-aventure-b-since {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--accent);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: .06em;
}

.hist-aventure-b-content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hist-aventure-b-content p:not(.section-tag) {
    font-family: 'DM Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.78;
    color: var(--muted-foreground);
    margin-bottom: 18px;
}

/* ─── Grille texte / visuel ───────────────────────────────── */
.hist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hist-grid-reverse {
    direction: rtl;
}

.hist-grid-reverse>* {
    direction: ltr;
}

/* ─── Titres ──────────────────────────────────────────────── */
.hist-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.18;
    margin-bottom: 24px;
}

.hist-text p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.78;
    margin-bottom: 18px;
}


/* ─── Citation ────────────────────────────────────────────── */
.hist-quote {
    border-left: 3px solid var(--primary);
    padding: 18px 24px;
    margin: 28px 0 0;
    background: var(--secondary);
    border-radius: 0 6px 6px 0;
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    font-style: italic;
    color: var(--foreground);
    line-height: 1.6;
}

.hist-quote cite {
    display: block;
    margin-top: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    color: var(--primary);
}

/* ─── Visuel principal ────────────────────────────────────── */
.hist-visual {
    position: relative;
}

.hist-img-main {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 0, 0, .12);
    aspect-ratio: 4/3;
}

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

.hist-img-badge {
    position: absolute;
    bottom: -16px;
    right: 24px;
    background: var(--accent);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}

.hist-img-badge svg {
    width: 14px;
    height: 14px;
}

/* ─── Galerie rénovation ──────────────────────────────────── */
.hist-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hist-gallery-img {
    margin-top: 150px;
    margin-left: 15px;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
    cursor: zoom-in;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hist-gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.hist-gallery-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--muted-foreground);
    opacity: .75;
    justify-content: center;
}

/* ─── Lightbox ────────────────────────────────────────────── */
.hist-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.hist-lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.hist-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 6px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
    object-fit: contain;
    transform: scale(.92);
    transition: transform .3s ease;
}

.hist-lightbox.open img {
    transform: scale(1);
}

.hist-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .15);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background .2s;
}

.hist-lightbox-close:hover {
    background: rgba(255, 255, 255, .28);
}

.hist-lightbox-close svg {
    width: 18px;
    height: 18px;
}

/* ─── Timeline ────────────────────────────────────────────── */
.hist-timeline {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
}

.hist-timeline-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 28px;
}

.hist-timeline-item:last-child {
    padding-bottom: 0;
}

.hist-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.hist-timeline-dot {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 6px;
    background: var(--primary);
    border: 3px solid var(--primary-foreground);
    box-shadow: 0 0 0 2px var(--primary);
    margin-top: 3px;
    position: relative;
    z-index: 1;
}

.hist-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hist-timeline-content strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.hist-timeline-content span {
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    color: var(--muted-foreground);
    line-height: 1.55;
}

/* ─── 5 bonnes raisons — design dynamique ─────────────────── */
.hist-intro {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--muted-foreground);
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.hist-reasons-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: var(--container);
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.hist-reason {
    position: relative;
    background: var(--primary-foreground);
    border-right: 1px solid var(--border);
    transition: background .25s;
    cursor: default;
}

.hist-reason:last-child {
    border-right: none;
}

.hist-reason:hover {
    background: var(--secondary);
}

.hist-reason-inner {
    padding: 36px 24px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hist-reason-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hist-reason-num {
    font-family: 'DM Serif Display', serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
    color: var(--border);
    transition: color .25s;
}

.hist-reason:hover .hist-reason-num {
    color: var(--primary);
}

.hist-reason-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .25s;
}

.hist-reason:hover .hist-reason-icon {
    background: var(--primary);
}

.hist-reason-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    transition: color .25s;
}

.hist-reason:hover .hist-reason-icon svg {
    color: white;
}

.hist-reason h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 10px;
    text-align: left;
}

.hist-reason p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted-foreground);
    text-align: left;
}

/* Trait de couleur en bas au hover */
.hist-reason::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.hist-reason:hover::after {
    transform: scaleX(1);
}

/* ─── Portrait hôtes ──────────────────────────────────────── */
.hist-portrait {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: center;
}

.hist-portrait-photo {
    width: 300px;
    height: 360px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 0, 0, .12);
    border: 4px solid var(--primary-foreground);
}

.hist-portrait-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hist-portrait-text p {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.78;
    margin-bottom: 18px;
}

.hist-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.hist-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color .2s;
}

.hist-contact-item:hover {
    color: var(--primary);
}

.hist-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary);
}

/* ─── CTA final ───────────────────────────────────────────── */
.hist-cta {
    padding: 96px var(--container-pad);
    text-align: center;
}

.hist-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.hist-cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    margin: 20px 0 16px;
}

.hist-cta-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hist-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Variante outline sur fond beige */
.hist-btn-outline--dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 13px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    color: var(--foreground);
    transition: border-color .2s, color .2s;
}

.hist-btn-outline--dark:hover {
    border-color: var(--primary);
    color: var(--primary);
}
/* ─── SECTION TAG ─────────────────────────────────────────── */
.section-tag {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hist-reasons-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .hist-reason:nth-child(3) {
        border-right: none;
    }

    .hist-reason:nth-child(n+4) {
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 960px) {
    .hist-section {
        padding: 64px 1.25rem;
    }

    .hist-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .hist-grid-reverse {
        direction: ltr;
    }

    .hist-aventure-b {
        grid-template-columns: 1fr;
    }

    .hist-aventure-b-photo {
        height: 300px;
    }

    .hist-aventure-b-content {
        padding: 40px 1.25rem;
    }

    .hist-portrait {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hist-portrait-photo {
        width: 200px;
        height: 240px;
        margin: 0 auto;
    }

    .hist-contact-links {
        align-items: center;
    }

    .hist-reasons-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .hist-reason {
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .hist-reason:nth-child(even) {
        border-right: none;
    }

    .hist-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .hist-cta {
        padding: 64px 1.25rem;
    }
}

@media (max-width: 520px) {
    .hist-reasons-track {
        grid-template-columns: 1fr;
    }

    .hist-reason {
        border-right: none;
    }

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

    .hist-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .hist-portrait-photo {
        width: 160px;
        height: 190px;
    }
}



/* ═════    PAGE MAISON — styles spécifiques ════════ */

/* ─── HERO ─────────────────────────────────── */
.maison-hero {
    position: relative;
    height: 72vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.maison-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, rgba(15, 25, 24, .18) 0%, rgba(15, 25, 24, .62) 70%, rgba(15, 25, 24, .82) 100%);
    background-size: cover;
    background-position: center;
}

.maison-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad) 64px;
    color: white;
}

.maison-hero-content .section-tag {
    color: rgba(255, 255, 255, .62);
    margin-bottom: 14px;
}

.maison-hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1.08;
    color: white;
    margin-bottom: 18px;
}

.maison-hero-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
}

/* ─── STATS RAPIDES ─────────────────────────── */
.maison-stats {
    background: var(--secondary);
    padding: 48px var(--container-pad);
}

.maison-stats-grid {
    display: flex;
    justify-content: center;
    max-width: var(--container);
    margin: 0 auto;
    gap: 0;
}

/* ─── SECTION GÉNÉRIQUE ─────────────────────── */
.maison-section {
    padding: 96px var(--container-pad);
}

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

.maison-section-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.maison-section-inner>.section-tag {
    margin-bottom: 10px;
}

.maison-section-inner>h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.18;
    margin-bottom: 14px;
}

.maison-section-inner>.section-intro {
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.78;
    color: var(--muted-foreground);
    max-width: 680px;
    margin-bottom: 56px;
}

/* ─── LAYOUT 2 COLONNES ─────────────────────── */
.maison-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.maison-2col.reverse {
    direction: rtl;
}

.maison-2col.reverse>* {
    direction: ltr;
}

.maison-col-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.2;
    margin-bottom: 18px;
}

.maison-col-text p {
    line-height: 1.78;
    margin-bottom: 20px;
}

.maison-col-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .12);
    aspect-ratio: 4/3;
}

.maison-col-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── GALERIE PHOTOS ────────────────────────── */
.maison-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Bloc supérieur : grande image + grille droite */
.gallery-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 540px;
}

.gallery-item--large {
    height: 100%;
}

.gallery-grid-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    height: 100%;
}

/* Rangée basse : 6 images égales */
.gallery-bottom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    height: 160px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border-radius: 6px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

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

/* Overlay discret au survol */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .3s;
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(0,0,0,.12);
}

/* ─── BOUTON PHOTO NIVEAU ────────────────────── */
.niveau-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, color .2s, transform .15s;
}

.niveau-photo-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.niveau-photo-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ─── MODALE PHOTO NIVEAU ────────────────────── */
.niveau-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.niveau-modal.open {
    opacity: 1;
    pointer-events: all;
}

.niveau-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 15, .88);
    cursor: pointer;
}

.niveau-modal-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 92vw;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,.4);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.niveau-modal.open .niveau-modal-box {
    transform: scale(1);
}

.niveau-modal-box img {
    width: 100%;
    max-height: 72vh;
    object-fit: cover;
    display: block;
}

.niveau-modal-caption {
    padding: 14px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted-foreground);
    text-align: center;
}

.niveau-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--foreground);
    transition: background .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.niveau-modal-close:hover {
    background: white;
}

.niveau-modal-close svg {
    width: 18px;
    height: 18px;
}

/* ─── RESPONSIVE GALERIE ─────────────────────── */
@media (max-width: 900px) {
    .gallery-top {
        height: 380px;
    }
    .gallery-bottom {
        grid-template-columns: repeat(3, 1fr);
        height: auto;
    }
    .gallery-bottom .gallery-item {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .gallery-top {
        grid-template-columns: 1fr;
        height: auto;
    }
    .gallery-item--large {
        height: 240px;
    }
    .gallery-grid-right {
        height: auto;
        grid-template-rows: repeat(3, 110px);
    }
    .gallery-bottom {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-bottom .gallery-item {
        height: 100px;
    }
}

/* ─── LIGHTBOX ──────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 15, .92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, .12);
    border: none;
    border-radius: 6px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background .2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .22);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: none;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background .2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, .22);
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    font-family: 'DM Sans', sans-serif;
}

/* ─── LISTE ÉQUIPEMENTS ─────────────────────── */
.equip-category {
    margin-bottom: 48px;
}

.equip-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.equip-category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.equip-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: none;
}

.equip-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
}

.equip-list li svg {
    width: 15px;
    height: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ─── CHAMBRES GRID ─────────────────────────── */
.chambres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.chambre-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

.chambre-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .09);
    transform: translateY(-3px);
}

.chambre-photo {
    height: 185px;
    background-size: cover;
    background-position: center;
}

.chambre-body {
    padding: 20px;
}

.chambre-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--foreground);
    margin-bottom: 8px;
}

.chambre-body p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin-bottom: 14px;
}

.chambre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chambre-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
}

.chambre-tag svg {
    width: 11px;
    height: 11px;
}

/* ─── ESPACES / NIVEAUX ─────────────────────── */
.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.niveau-card {
    position: relative;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    overflow: hidden;
}

.niveau-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 6px 6px 0 0;
}

.niveau-number {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1;
    margin-bottom: 8px;
}

.niveau-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--foreground);
    margin-bottom: 12px;
}

.niveau-card p {
    font-size: 14px;
    line-height: 1.72;
    color: var(--muted-foreground);
}

.niveau-card ul {
    list-style: none;
    margin-top: 16px;
}

.niveau-card ul li {
    font-size: 13.5px;
    color: var(--muted-foreground);
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.niveau-card ul li:last-child {
    border-bottom: none;
}

.niveau-card ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 6px;
    background: var(--primary);
    flex-shrink: 0;
}

/* ─── CTA FINAL ─────────────────────────────── */
.maison-cta {
    background: var(--secondary);
    padding: 96px var(--container-pad);
    text-align: center;
}

.maison-cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.15;
}

.maison-cta p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.btn-white:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, .55);
    text-decoration: none;
    transition: border-color .2s, background .2s, transform .2s;
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 960px) {
    .maison-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .maison-2col.reverse {
        direction: ltr;
    }

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

    .niveaux-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .equip-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {

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

    .equip-list {
        grid-template-columns: 1fr;
    }

    .maison-stats-grid {
        flex-wrap: wrap;
    }

    .maison-stats-grid .stat-item {
        flex: 1 1 33%;
    }
}
/* ═══════════════════════════════════════════════════════════
   GALERIE MAISON — nouvelle structure
   ═══════════════════════════════════════════════════════════ */

.maison-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Ligne 1 : grande photo à gauche + 4 petites en 2x2 à droite */
.gallery-row-a {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 8px;
    height: 480px;
}

.gallery-row-a .gallery-item:first-child {
    height: 100%;
}

.gallery-col-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

/* Ligne 2 : 5 photos égales */
.gallery-row-b {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    height: 180px;
}

/* Item générique */
.gallery-item {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    border-radius: 6px;
    background: var(--muted);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
}

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

/* Icône zoom au survol */
.gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background .25s;
    pointer-events: none;
}

.gallery-zoom svg {
    width: 28px;
    height: 28px;
    color: white;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s, transform .25s;
}

.gallery-item:hover .gallery-zoom {
    background: rgba(0,0,0,.22);
}

.gallery-item:hover .gallery-zoom svg {
    opacity: 1;
    transform: scale(1);
}

/* Overlay "+3" sur la dernière vignette */
.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.48);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: white;
    pointer-events: none;
    transition: background .25s;
}

.gallery-item--last:hover .gallery-more-overlay {
    background: rgba(0,0,0,.32);
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX SLIDER avec miniatures
   ═══════════════════════════════════════════════════════════ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.92);
}

/* Bouton fermeture */
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background .2s;
}

.lightbox-close:hover { background: rgba(255,255,255,.24); }
.lightbox-close svg   { width: 18px; height: 18px; }

/* Zone image principale */
.lightbox-main {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
    padding: 0 20px;
    flex: 1;
    max-height: calc(100vh - 160px);
}

.lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 88vw;
    max-height: calc(100vh - 180px);
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 24px 64px rgba(0,0,0,.6);
    transition: opacity .2s ease;
}

/* Boutons nav */
.lightbox-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background .2s, transform .15s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,.26);
    transform: scale(1.08);
}

.lightbox-nav svg { width: 22px; height: 22px; }

/* Compteur */
.lightbox-counter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    background: rgba(0,0,0,.35);
    padding: 5px 14px;
    border-radius: 6px;
}

/* Bande de miniatures */
.lightbox-thumbs {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 6px;
    padding: 12px 20px 16px;
    overflow-x: auto;
    max-width: 100vw;
    scrollbar-width: none;
}

.lightbox-thumbs::-webkit-scrollbar { display: none; }

.lb-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s, opacity .2s;
    opacity: .55;
}

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

.lb-thumb:hover { opacity: .8; }
.lb-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

/* ─── Responsive galerie ──────────────────────────────────── */
@media (max-width: 960px) {
    .gallery-row-a { grid-template-columns: 1fr; height: auto; }
    .gallery-row-a .gallery-item:first-child { height: 260px; }
    .gallery-col-right { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; height: 120px; }
    .gallery-row-b { grid-template-columns: repeat(3, 1fr); height: 120px; }
}

@media (max-width: 520px) {
    .gallery-col-right { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); height: 200px; }
    .gallery-row-b { grid-template-columns: repeat(2, 1fr); height: 160px; }
    .lightbox-nav { width: 38px; height: 38px; }
    .lightbox-nav svg { width: 18px; height: 18px; }
    .lb-thumb { width: 56px; height: 42px; }
}


/*=======PAGE SÉJOUR=====*/

/* ── Hero séjour compact ── */
.sejour-hero {
    padding: 110px 5vw 56px;
    text-align: center;
    background: hsl(185, 55%, 30%);
    border-bottom: 1px solid #e8d9c8;
}

.sejour-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: .4rem 0 .8rem;
    color: #ffffff;
}

.sejour-hero-sub {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
}

/* ── Section tarifs ── */
.tarifs-section {
    background: hsl(195, 31%, 95%);
    padding: 72px 5vw 80px;
    border-bottom: 1px solid #e8d9c8;
}

.tarifs-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tarifs-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #000000;
    margin: .4rem 0 .7rem;
}

.tarifs-title span {
    color: hsl(185, 55%, 30%);
}

.tarifs-intro {
    color: #000000;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-size: .95rem;
    line-height: 1.6;
}

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

.tarif-card {
    background: #fff;
    border: 1.5px solid hsl(185, 22%, 65%);
    border-radius: 6px;
    padding: 2rem 1.8rem;
    text-align: left;
    transition: box-shadow .25s, transform .25s;
}

.tarif-card:hover {
    box-shadow: 0 8px 30px rgba(184, 92, 42, .12);
    transform: translateY(-3px);
}

.tarif-card--featured {
    border-color: hsl(185, 55%, 30%);
    background: #fff9f5;
    position: relative;
}

.tarif-card--featured::after {
    content: "Haute saison";
    position: absolute;
    top: -12px;
    right: 18px;
    background: hsl(185, 55%, 30%);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 6px;
}

.tarif-card-icon {
       width: 2.2rem;
       height: 2.2rem;
       margin-bottom: .8rem;
       color: hsl(185, 55%, 30%);
}
 .tarif-card-icon svg {
       width: 100%;
       height: 100%;
}

.tarif-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 .3rem;
}

.tarif-period {
    font-size: .8rem;
    color: hsl(185, 55%, 30%);
    font-weight: 600;
    margin: 0 0 .2rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tarif-min {
    font-size: .78rem;
    color: #9e7d63;
    margin: 0 0 1.2rem;
}

.tarif-prices {
    border-top: 1px solid #f0e4d7;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.tarif-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tarif-label {
    font-size: .85rem;
    color: hsl(185, 45%, 42%);
}

.tarif-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #2c1a0e;
}

.tarif-week .tarif-amount {
    color: hsl(185, 55%, 30%);
    font-size: 1.05rem;
}

/* ── Intro calendrier ── */
.sejour-calendrier-intro {
    text-align: center;
    padding: 64px 5vw 36px;
    background: hsl(40, 33%, 96%);
}

.sejour-calendrier-intro h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #000000;
    margin: .4rem 0 .7rem;
}

.sejour-calendrier-intro p {
    font-size: .95rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Widget wrapper ── */
#widget-produit-OSMB-133585-1 {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5vw 72px;
}

/* ── À faire autour ── */
.autour-section {
    background: hsl(195, 31%, 95%);
    padding: 80px 5vw 88px;
    border-top: 1px ;
}

.autour-header {
    max-width: 1000px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.autour-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #000000;
    margin: .4rem 0 .7rem;
}

.autour-intro {
    color: #000000;
    max-width: 520px;
    margin: 0 auto;
    font-size: .95rem;
    line-height: 1.6;
}

/* track horizontal centré */
.autour-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

/* chemin SVG entre cartes */
.autour-connector {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.autour-connector svg {
    display: block;
    overflow: visible;
}

/* carte ronde */
.autour-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.autour-card-circle {
    width: 150px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid hsl(185, 22%, 65%);
    transition: border-color .25s, transform .25s, box-shadow .25s;
    flex-shrink: 0;
}

.autour-card:hover .autour-card-circle {
    border-color: hsl(185, 55%, 30%);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(184, 92, 42, .18);
}

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

.autour-card-body {
    padding: 1rem .5rem .4rem;
}

.autour-card h3 {
    font-size: .88rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 .35rem;
}

.autour-card p {
    font-size: .76rem;
    color: #000000;
    line-height: 1.5;
    margin: 0 0 .6rem;
}

.autour-distance {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    color: hsl(185, 55%, 30%);
    background: #fdf0e8;
    border: 1px solid #f0d5c0;
    padding: .18rem .6rem;
    border-radius: 6px;
    letter-spacing: .04em;
}

.OsProduit.api .OsProduitPlanning .etat1 .ui-state-default {
   background-color: var(--primary) !important;
}


body .OsProduit.api .OsProduitPlanning .etat1.ui-state-disabled .ui-state-default {
   background: url(images/fd-trait.png) left top var(--primary) !important;
}



