/* ================================================================
   GÎTE DES GROTTES DE ROUFFY — style.css PREMIUM
   Design : Périgord doré · Raffiné · Naturel · Luxe rural
   Fonts  : Playfair Display (titres) + DM Sans (corps)
   ================================================================ */

/* ---- VARIABLES ---- */
:root {
  /* Palette Périgord */
  --or:          #c9a96e;
  --or-clair:    #e8d5b0;
  --or-fonce:    #a07840;
  --creme:       #faf7f2;
  --creme-2:     #f3ede2;
  --creme-3:     #ece5d6;
  --pierre:      #d4c5a9;
  --brun:        #5c3d1e;
  --brun-mid:    #7a5538;
  --brun-light:  #a07060;
  --vert:        #3d5a3e;
  --vert-clair:  #5a7a5b;
  --vert-pale:   #e8f0e8;
  --texte:       #2c1f10;
  --texte-mid:   #5a4030;
  --texte-light: #8a7060;
  --blanc:       #ffffff;
  --terra:       #b85c38;
  --terra-dark:  #8c3f20;

  /* Typographie */
  --font-titre: 'Playfair Display', Georgia, serif;
  --font-corps: 'DM Sans', system-ui, sans-serif;

  /* Espacements */
  --nav-h:   76px;
  --gap:     clamp(24px, 4vw, 56px);
  --r:       14px;
  --r-lg:    24px;
  --r-xl:    36px;

  /* Ombres */
  --ombre:    0 2px 20px rgba(44,31,16,.09);
  --ombre-md: 0 8px 40px rgba(44,31,16,.13);
  --ombre-lg: 0 20px 64px rgba(44,31,16,.18);

  /* Transitions */
  --t: .4s cubic-bezier(.25,.46,.45,.94);
  --t-fast: .2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; text-size-adjust: 100%; }
body {
  font-family: var(--font-corps);
  background: var(--creme);
  color: var(--texte);
  line-height: 1.72;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ---- UTILITAIRES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section-alt { background: var(--creme-2); }
.hide-mobile { display: inline; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.h2 {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--brun);
}
.h2 em { font-style: italic; color: var(--terra); }

.sec-header { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-sub {
  margin-top: 16px;
  color: var(--texte-mid);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
}

/* ---- REVEAL au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }

/* ---- Fade-in Hero ---- */
.fade-in-1 { animation: fadeUp .85s ease .25s both; }
.fade-in-2 { animation: fadeUp .85s ease .5s  both; }
.fade-in-3 { animation: fadeUp .85s ease .75s both; }
.fade-in-4 { animation: fadeUp .85s ease 1s   both; }

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

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(44,31,16,.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blanc);
  transition: color var(--t);
  letter-spacing: .02em;
  white-space: nowrap;
}
.navbar.scrolled .nav-brand { color: var(--brun); }
.brand-icon { font-size: 1.1rem; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color var(--t-fast);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--terra);
  transition: right var(--t);
}
.nav-menu a:hover::after { right: 0; }
.navbar.scrolled .nav-menu a { color: var(--texte-mid); }
.navbar.scrolled .nav-menu a:hover { color: var(--brun); }

.nav-reserve {
  background: var(--terra) !important;
  color: var(--blanc) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: .78rem !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  transition: background var(--t), transform var(--t-fast) !important;
}
.nav-reserve::after { display: none !important; }
.nav-reserve:hover { background: var(--terra-dark) !important; transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: var(--t);
}
.navbar.scrolled .burger span { background: var(--brun); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: heroZoom 14s ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1);    }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,12,5,.5) 0%, rgba(20,12,5,.25) 40%, rgba(20,12,5,.55) 100%);
}
/* Grain subtil pour texture premium */
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .5;
}

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanc);
  padding: 0 24px;
  max-width: 900px;
}

.pill {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 0 4px 4px;
}
.hero-pills { margin-bottom: 24px; }

.hero-h1 {
  font-family: var(--font-titre);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1.03;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--or-clair);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 300;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terra);
  color: var(--blanc);
  padding: 16px 36px;
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--t), transform var(--t-fast), box-shadow var(--t);
}
.cta-primary svg { width: 18px; height: 18px; }
.cta-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(184,92,56,.4);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blanc);
  padding: 16px 32px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,.5);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color var(--t), background var(--t);
}
.cta-ghost svg { width: 16px; height: 16px; }
.cta-ghost:hover { border-color: var(--blanc); background: rgba(255,255,255,.1); }

/* Badges hero */
.hero-badges {
  position: absolute;
  bottom: 60px;
  right: clamp(16px, 4vw, 60px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-badge {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--blanc);
  padding: 10px 18px;
  border-radius: 10px;
  text-align: center;
  min-width: 96px;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.5rem;
  line-height: 1;
}
.hero-badge span { font-size: .72rem; opacity: .8; }

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .7; }
  50%       { transform: scaleY(1.2); opacity: 1; }
}

/* ================================================================
   STRIP CHIFFRES
================================================================ */
.strip-chiffres {
  background: var(--brun);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.strip-inner {
  display: contents;
}
.chiffre-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  transition: background var(--t);
}
.chiffre-item:last-child { border-right: none; }
.chiffre-item:hover { background: rgba(255,255,255,.04); }
.chiffre-item svg { width: 28px; height: 28px; color: var(--or); flex-shrink: 0; }
.chiffre-item b { display: block; font-weight: 500; color: var(--blanc); font-size: .95rem; }
.chiffre-item span { font-size: .76rem; color: rgba(255,255,255,.55); }

/* ================================================================
   SECTION GÎTE — split layout
================================================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-content .lead {
  font-size: 1.08rem;
  color: var(--texte-mid);
  margin-top: 20px;
  line-height: 1.75;
}
.split-content p { margin-top: 14px; color: var(--texte-mid); }

.highlight-box {
  margin-top: 32px;
  border-radius: var(--r);
  border: 1px solid var(--creme-3);
  background: var(--creme-2);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hb-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hb-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.5; }
.hb-item strong { display: block; font-weight: 500; color: var(--brun); margin-bottom: 2px; }
.hb-item span { font-size: .88rem; color: var(--texte-mid); }

.tarifs-inline {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--brun), var(--brun-mid));
  border-radius: var(--r);
  color: var(--blanc);
}
.tarif-label { display: block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--or-clair); margin-bottom: 4px; }
.tarif-prix { display: block; font-family: var(--font-titre); font-size: 1.8rem; font-weight: 500; line-height: 1; }
.tarif-unite { font-size: .8rem; color: rgba(255,255,255,.6); }
.tarif-sep { width: 1px; height: 52px; background: rgba(255,255,255,.2); flex-shrink: 0; }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--terra);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .05em;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--t), color var(--t);
}
.btn-primary-sm:hover { border-color: var(--terra); color: var(--terra-dark); }

/* Visuals stack */
.visuals-stack {
  position: relative;
  height: 560px;
}
.vis-main {
  position: absolute;
  top: 0; left: 0;
  width: 83%;
  height: 76%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--ombre-lg);
}
.vis-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 54%;
  height: 46%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-lg);
  border: 5px solid var(--blanc);
}
.vis-ornament {
  position: absolute;
  top: 58%; left: 0;
  transform: translateY(-50%);
  background: var(--terra);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: .85rem;
  font-style: italic;
  padding: 8px 18px;
  border-radius: 0 30px 30px 0;
  letter-spacing: .08em;
  z-index: 2;
}

/* ================================================================
   CHAMBRES
================================================================ */
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.room-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: transform var(--t), box-shadow var(--t);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-lg);
}
.room-photo { position: relative; height: 290px; }
.room-photo img { height: 100%; }
.room-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(30,18,8,.72);
  backdrop-filter: blur(6px);
  color: var(--blanc);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.room-info { padding: 28px 28px 32px; }
.room-info h3 {
  font-family: var(--font-titre);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--brun);
  margin-bottom: 12px;
}
.room-info h3 em { font-style: italic; color: var(--terra); }
.room-info p { font-size: .95rem; color: var(--texte-mid); margin-bottom: 18px; }
.room-attrs { display: flex; flex-direction: column; gap: 7px; }
.room-attrs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: var(--texte-mid);
}
.room-attrs li span { font-size: 1rem; }

/* SDB banner */
.sdb-banner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-md);
  background: var(--blanc);
  margin-bottom: 32px;
}
.sdb-photo { height: 340px; }
.sdb-text {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.sdb-text h3 {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--brun);
}
.sdb-text p { color: var(--texte-mid); font-size: .97rem; }
.sdb-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.sdb-list li { font-size: .87rem; color: var(--vert); font-weight: 500; }

/* Escalier note */
.escalier-note {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--creme-3);
  border-radius: var(--r);
  overflow: hidden;
  padding-right: 32px;
}
.escalier-note img { width: 220px; height: 180px; flex-shrink: 0; border-radius: 0; }
.escalier-note p { font-size: .95rem; color: var(--texte-mid); }
.escalier-note em { color: var(--brun); }

/* ================================================================
   ÉQUIPEMENTS
================================================================ */
.equip-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.equip-block {
  background: var(--blanc);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: transform var(--t);
}
.equip-block:hover { transform: translateY(-4px); }
.equip-big figure { height: 240px; }
.equip-block h3 {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brun);
  padding: 18px 22px 4px;
}
.equip-block p {
  padding: 0 22px 20px;
  font-size: .9rem;
  color: var(--texte-mid);
}

.equip-grid-small {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.equip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  background: var(--blanc);
  border-radius: var(--r);
  box-shadow: var(--ombre);
  text-align: center;
  transition: background var(--t), transform var(--t-fast);
  cursor: default;
}
.equip-item:hover {
  background: var(--creme-3);
  transform: translateY(-3px);
}
.eq-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--creme-2);
  border-radius: 50%;
  font-size: 1.1rem;
}
.eq-ico svg { width: 20px; height: 20px; color: var(--terra); }
.equip-item span { font-size: .8rem; color: var(--texte-mid); font-weight: 400; }

/* ================================================================
   GALERIE FLOW
================================================================ */
.gallery-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 6px;
  margin-top: 0;
}
.gf-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  margin: 0;
}
.gf-item.gf-wide { grid-column: span 2; }
.gf-item img {
  width: 100%; height: 100%;
  transition: transform .55s ease;
}
.gf-item:hover img { transform: scale(1.06); }
figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(28,16,6,.75), transparent);
  color: var(--blanc);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 28px 12px 10px;
  opacity: 0;
  transition: opacity var(--t);
}
.gf-item:hover figcaption { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,4,1,.95);
  z-index: 300;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 12px;
}
.lightbox.active { display: flex; }
.lb-img-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
}
.lb-cap {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.lb-close {
  position: fixed;
  top: 16px; right: 20px;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--blanc);
  cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-nav {
  background: rgba(255,255,255,.08);
  border: none;
  color: var(--blanc);
  cursor: pointer;
  border-radius: 50%;
  width: 52px; height: 52px;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.lb-nav:hover { background: rgba(255,255,255,.2); }

/* ================================================================
   ACTIVITÉS
================================================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.act-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.act-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--ombre-lg);
}
.act-card.act-featured { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }
.act-img {
  position: relative;
  height: 240px;
}
.act-card.act-featured .act-img { height: 100%; min-height: 300px; }
.act-img img { height: 100%; }
.act-distance {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--brun);
  color: var(--blanc);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.act-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.act-cat {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
}
.act-body h3 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brun);
}
.act-body p { font-size: .9rem; color: var(--texte-mid); line-height: 1.65; }

/* Zone SEO texte */
.seo-zone {
  background: var(--creme-2);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  border-left: 4px solid var(--terra);
}
.seo-zone h3 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brun);
  margin-bottom: 16px;
}
.seo-zone p { font-size: .95rem; color: var(--texte-mid); margin-bottom: 14px; }
.seo-zone p:last-child { margin-bottom: 0; }

/* ================================================================
   LOCALISATION
================================================================ */
.loc-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.loc-adresse {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--creme-3);
  margin-bottom: 28px;
}
.loc-adresse svg { width: 20px; height: 20px; color: var(--terra); flex-shrink: 0; margin-top: 4px; }
.loc-adresse strong { display: block; font-weight: 600; color: var(--brun); margin-bottom: 4px; }
.loc-adresse span { display: block; font-size: .88rem; color: var(--texte-mid); }

.loc-details h3 {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brun);
  margin-bottom: 16px;
}
.dist-list { display: flex; flex-direction: column; gap: 0; }
.dist-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--creme-3);
  font-size: .88rem;
}
.dist-list li span { color: var(--texte-mid); }
.dist-list li b { color: var(--terra); font-weight: 500; }

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--terra);
  font-weight: 500;
  font-size: .88rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--t);
}
.maps-link svg { width: 16px; height: 16px; }
.maps-link:hover { border-color: var(--terra); }

.loc-map iframe {
  border-radius: var(--r-lg);
  box-shadow: var(--ombre-md);
  display: block;
}

/* ================================================================
   CONTACT
================================================================ */
.section-contact { background: var(--brun); }
.section-contact .eyebrow { color: var(--or-clair); }
.section-contact .h2 { color: var(--blanc); }
.section-contact .h2 em { color: var(--or-clair); }
.section-contact .sec-sub { color: rgba(255,255,255,.65); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Tarifs */
.contact-tarifs h3 {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 20px;
}
.tarif-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.tarif-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  color: var(--blanc);
}
.tarif-card.tarif-hs {
  background: var(--terra);
  border-color: transparent;
}
.tarif-card > span { font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 4px; }
.tarif-card.tarif-hs > span { color: rgba(255,255,255,.8); }
.tarif-card strong {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: 500;
  color: var(--blanc);
}
.tarif-card em { font-style: normal; font-size: .8rem; color: rgba(255,255,255,.6); }
.tarif-note { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* Contact direct */
.contact-direct h3 {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 20px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r);
  margin-bottom: 12px;
  transition: transform var(--t-fast), box-shadow var(--t);
  cursor: pointer;
}
.contact-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.contact-tel {
  background: var(--vert);
  color: var(--blanc);
}
.contact-mail {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--blanc);
}
.contact-mail:hover { background: rgba(255,255,255,.18); }
.cbtn-ico {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cbtn-ico svg { width: 20px; height: 20px; }
.cbtn-text span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 2px; }
.cbtn-text strong { display: block; font-size: 1.05rem; font-weight: 500; }

.contact-infos {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-infos p { font-size: .85rem; color: rgba(255,255,255,.6); }
.contact-infos strong { color: rgba(255,255,255,.85); }

/* Carte de visite */
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.contact-card figure { height: 220px; }
.vc-body { padding: 20px 22px 24px; color: var(--blanc); }
.vc-body h4 {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.vc-body p { font-size: .87rem; color: rgba(255,255,255,.6); margin-bottom: 6px; line-height: 1.55; }
.vc-note { color: var(--or-clair) !important; font-weight: 500 !important; }

/* ================================================================
   SEO TEXT SECTION
================================================================ */
.seo-text-section {
  background: var(--creme-3);
  padding: clamp(40px, 6vw, 64px) 0;
}
.seo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.seo-columns h3 {
  font-family: var(--font-titre);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brun);
  margin-bottom: 12px;
}
.seo-columns p { font-size: .88rem; color: var(--texte-mid); line-height: 1.75; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: #1a0e05;
  color: rgba(255,255,255,.6);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}
.footer-logo {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 12px;
}
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-brand a {
  display: block;
  margin-top: 6px;
  color: var(--or);
  font-weight: 500;
  font-size: .88rem;
  transition: color var(--t-fast);
}
.footer-brand a:hover { color: var(--blanc); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-nav a {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--blanc); }
.footer-copy { text-align: right; }
.footer-copy p { font-size: .78rem; line-height: 1.9; }

/* ================================================================
   SCROLL TO TOP
================================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 100;
  width: 46px; height: 46px;
  background: var(--brun);
  border: none;
  border-radius: 50%;
  color: var(--blanc);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(44,31,16,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background var(--t-fast);
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--terra); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .act-card.act-featured { grid-column: span 2; }
  .equip-grid-small { grid-template-columns: repeat(4, 1fr); }
  .gallery-flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 80vw);
    background: var(--creme);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 88px 28px 28px;
    transform: translateX(100%);
    transition: transform var(--t);
    box-shadow: -8px 0 40px rgba(44,31,16,.15);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a {
    color: var(--texte-mid) !important;
    font-size: .92rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--creme-3);
    width: 100%;
  }
  .nav-menu a.nav-reserve {
    margin-top: 16px;
    text-align: center;
    border: none;
  }
  .navbar.scrolled .burger span,
  .burger span { background: var(--brun); }
  /* Sur mobile header, garder blanc quand non scrollé */
  .navbar:not(.scrolled) .burger span { background: var(--blanc); }

  .strip-chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffre-item:nth-child(5) { grid-column: span 2; justify-content: center; }

  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .visuals-stack { height: 400px; }

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

  .sdb-banner { grid-template-columns: 1fr; }
  .sdb-photo { height: 260px; }

  .escalier-note { flex-direction: column; padding: 0; }
  .escalier-note img { width: 100%; height: 200px; border-radius: 0; }
  .escalier-note p { padding: 20px; }

  .equip-masonry { grid-template-columns: 1fr; }
  .equip-big { display: none; }
  .equip-grid-small { grid-column: auto; grid-template-columns: repeat(3, 1fr); }

  .gallery-flow { grid-template-columns: repeat(2, 1fr); }
  .gf-item.gf-wide { grid-column: span 2; }

  .activities-grid { grid-template-columns: 1fr; }
  .act-card.act-featured { grid-column: auto; display: flex; flex-direction: column; }
  .act-card.act-featured .act-img { height: 240px; }

  .loc-layout { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .seo-columns { grid-template-columns: 1fr; gap: 24px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .footer-copy { text-align: center; }
  .footer-brand a, .footer-brand p { text-align: center; }
}

@media (max-width: 600px) {
  .hide-mobile { display: none; }
  .hero-badges { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-primary, .cta-ghost { width: 100%; max-width: 300px; justify-content: center; }
  .equip-grid-small { grid-template-columns: repeat(2, 1fr); }
  .gallery-flow { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .tarifs-inline { flex-direction: column; gap: 16px; align-items: flex-start; }
  .tarif-sep { width: 100%; height: 1px; }
  .strip-chiffres { grid-template-columns: 1fr; }
  .chiffre-item:nth-child(5) { grid-column: auto; justify-content: flex-start; }
}

@media (max-width: 400px) {
  .gallery-flow { grid-template-columns: 1fr; }
  .gf-item.gf-wide { grid-column: auto; }
}
