/* ==========================================================================
   Auberge Zaratoustra — feuille de style publique (mobile d'abord)
   ========================================================================== */
:root {
  --ink: #1d2a33;
  --ink-2: #2b3c46;
  --paper: #fffdf9;
  --sand: #f5efe5;
  --sand-2: #ece3d4;
  --terra: #b0502a;
  --terra-dark: #8c3d1d;
  --ochre: #d6a24e;
  --snow: #ffffff;
  --muted: #6c645c;
  --line: #e4d9c8;
  --wa: #1fae55;
  --wa-dark: #178a43;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(29, 42, 51, .28);
  --shadow-lg: 0 24px 60px -20px rgba(29, 42, 51, .45);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-dark); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9em; }
.center { text-align: center; justify-content: center; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding: clamp(48px, 8vw, 104px) 0; }
.section + .section { padding-top: 0; }
.section-soft { background: var(--sand); padding-top: clamp(48px, 8vw, 96px) !important; }
.section-dark { background: var(--ink); color: #f3ede4; padding-top: clamp(48px, 8vw, 96px) !important; }
.section-dark + .section { padding-top: clamp(48px, 8vw, 96px); }
.section-title { text-align: center; }
.section-title.small { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-sub { color: var(--muted); font-size: 1.05em; }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--terra);
  margin: 0 0 .7em;
}
.eyebrow a { color: inherit; text-decoration: none; }
.lead-text { font-size: 1.12em; text-align: center; color: var(--ink-2); }
.lead-text p:last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.2em; color: var(--terra-dark); font-size: 1.35rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--terra); }
.prose.small { font-size: .95em; }
.prose > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--font-sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn-small { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.btn-large { min-height: 56px; padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--terra); color: #fff; box-shadow: 0 8px 22px -10px rgba(176, 80, 42, .8); }
.btn-accent:hover { background: var(--terra-dark); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-dark .btn-outline { color: #f3ede4; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn-row.center { justify-content: center; }
@media (max-width: 560px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ------------------------------------------------------------------ En-tête */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(228, 217, 200, .7);
  transition: background-color .3s, border-color .3s, color .3s;
}
body.is-page main { padding-top: var(--header-h); }
.is-home .site-header:not(.scrolled):not(.open) { background: transparent; border-color: transparent; color: #fff; }
.is-home .site-header:not(.scrolled):not(.open) .brand, .is-home .site-header:not(.scrolled):not(.open) .main-nav a:not(.btn), .is-home .site-header:not(.scrolled):not(.open) .lang-mobile { color: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand-mark { width: 40px; height: 40px; color: var(--terra); flex: none; }
.is-home .site-header:not(.scrolled):not(.open) .brand-mark { color: #fff; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.main-nav a.active:not(.btn) { color: var(--terra); }
.lang-link { font-size: .85rem; font-weight: 600; text-decoration: none; color: inherit; }
.lang-mobile { color: var(--ink); border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 10px; font-size: .75rem; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 12px; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.site-header.open .burger { background: transparent; }
.site-header.open .burger::before { transform: translateY(7px) rotate(45deg); }
.site-header.open .burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1279px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s;
    display: flex; flex-direction: column; gap: 24px;
  }
  .site-header.open .main-nav { transform: none; visibility: visible; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { display: block; padding: 15px 0; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--ink) !important; }
  .nav-extra { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .nav-extra .lang-link { color: var(--ink) !important; }
  .nav-extra .btn { min-height: 54px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1280px) {
  .nav-toggle, .lang-mobile { display: none; }
  .main-nav { display: flex; align-items: center; gap: 22px; }
  .main-nav ul { display: flex; gap: 18px; }
  .main-nav a:not(.btn) { white-space: nowrap; font-size: .9rem; }
  .container.header-inner { max-width: 1400px; }
  .main-nav a:not(.btn) { position: relative; padding: 6px 0; }
  .main-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .main-nav a:not(.btn):hover::after, .main-nav a.active:not(.btn)::after { transform: scaleX(1); }
  .nav-extra { display: flex; align-items: center; gap: 16px; }
}

/* -------------------------------------------------------------------- Héros */
.hero {
  position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 26, 32, .55) 0%, rgba(18, 26, 32, .15) 35%, rgba(18, 26, 32, .78) 100%);
}
.hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(70px, 12vh, 130px); }
.hero-eyebrow { color: var(--ochre); }
.hero-title { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); animation: rise .9s ease both; }
.hero-text { max-width: 600px; font-size: 1.08em; color: rgba(255,255,255,.92); animation: rise .9s .15s ease both; }
.hero .btn-row { animation: rise .9s .3s ease both; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s infinite; }
@media (max-height: 640px) { .hero-scroll { display: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; min-height: clamp(300px, 52vh, 520px); display: flex; align-items: flex-end; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,26,32,.25), rgba(18,26,32,.78)); }
.page-hero-inner { padding-top: 48px; padding-bottom: clamp(36px, 6vw, 64px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 5.6vw, 3.8rem); }
.page-hero .eyebrow { color: var(--ochre); }
.hero-sub { font-size: 1.15em; max-width: 640px; color: rgba(255,255,255,.9); }
.section-intro { padding-bottom: 0; }
.section-intro + .section { padding-top: clamp(32px, 5vw, 56px); }

/* ----------------------------------------------------------- Chiffres clés */
.stats-band { background: var(--ink); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); padding: 0; }
.stat { background: var(--ink); padding: 26px 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-serif); font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 600; color: var(--ochre); line-height: 1; }
.stat-label { font-size: .82rem; letter-spacing: .05em; color: rgba(255,255,255,.78); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 34px 20px; } }

/* --------------------------------------------------------- Blocs alternés */
.split-inner { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-media::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 1.5px solid var(--ochre); border-radius: var(--radius-lg); z-index: -1; }
.split:nth-of-type(even) { background: var(--sand); }
@media (min-width: 900px) {
  .split-inner { grid-template-columns: 1.05fr 1fr; }
  .split-reverse .split-media { order: 2; }
  .split-reverse .split-media::before { inset: 18px 18px -14px -14px; }
}
.split + .split { padding-top: clamp(48px, 8vw, 104px); }

/* ----------------------------------------------------------- Cartes accueil */
.discover-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .discover-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .discover-grid { grid-template-columns: repeat(3, 1fr); } .discover-grid.compact { grid-template-columns: repeat(4, 1fr); } }
.discover-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.discover-grid.compact .discover-card { aspect-ratio: 4 / 3; }
.discover-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; z-index: -2; }
.discover-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18,26,32,.85)); z-index: -1; }
.discover-card:hover img { transform: scale(1.06); }
.discover-card:hover { color: #fff; }
.discover-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; flex-direction: column; }
.discover-body .eyebrow { color: var(--ochre); margin-bottom: .3em; }
.discover-title { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.discover-more { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; font-size: .88rem; font-weight: 600; }
.discover-more .icon { width: 18px; height: 18px; transition: transform .25s; }
.discover-card:hover .discover-more .icon { transform: translateX(4px); }

/* -------------------------------------------------------------- Chambres */
.room-grid { display: grid; gap: 26px; }
@media (min-width: 720px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
.room-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.room-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.room-media { overflow: hidden; display: block; }
.room-card:hover .room-media img { transform: scale(1.04); }
.room-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: clamp(1.45rem, 3vw, 1.8rem); margin-bottom: .35em; }
.card-title a { color: inherit; text-decoration: none; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.price { font-weight: 600; color: var(--terra-dark); white-space: nowrap; }
.section-dark .price { color: var(--ochre); }

/* --------------------------------------------------------- Liste « inclus » */
.included-box { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 52px); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 30px; }
@media (min-width: 800px) { .check-list { grid-template-columns: repeat(2, 1fr); } }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 24px; height: 24px; flex: none; color: #fff; background: var(--terra); border-radius: 50%; padding: 4px; margin-top: 2px; }

/* ----------------------------------------------------------------- Menu */
.dish-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
@media (min-width: 700px) { .dish-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.dish-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.dish-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dish-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-family: var(--font-serif); font-size: 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.menu-group { margin-bottom: 44px; }
.menu-group-title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.2rem); display: flex; align-items: center; gap: 16px; }
.menu-group-title::before, .menu-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.menu-thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.menu-text { flex: 1; min-width: 0; }
.menu-line { display: flex; align-items: baseline; gap: 10px; }
.menu-line h3 { font-size: 1.3rem; margin: 0; }
.menu-dots { flex: 1; border-bottom: 2px dotted var(--sand-2); transform: translateY(-4px); min-width: 20px; }
.menu-desc { color: var(--muted); font-size: .95em; margin-top: 2px; }
.menu-desc p { margin: 0; }
.menu-note { text-align: center; font-size: .9em; }

/* ---------------------------------------------------------------- Treks */
.trek-list { display: grid; gap: 30px; }
.trek-card { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.trek-media { position: relative; overflow: hidden; display: block; }
.trek-media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s; }
.trek-card:hover .trek-media img { transform: scale(1.05); }
.trek-num { position: absolute; top: 14px; left: 16px; font-family: var(--font-serif); font-size: 2.6rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); line-height: 1; }
.trek-body { padding: clamp(22px, 3.5vw, 38px); display: flex; flex-direction: column; }
.trek-excerpt { color: var(--ink-2); }
.trek-question { font-size: .85rem; margin: 12px 0 0; }
@media (min-width: 860px) {
  .trek-card { grid-template-columns: 1fr 1.15fr; }
  .trek-card:nth-child(even) .trek-media { order: 2; }
  .trek-media img { aspect-ratio: auto; min-height: 100%; }
}
.trek-meta { list-style: none; margin: 4px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--ink-2); }
.trek-meta li { display: inline-flex; align-items: center; gap: 6px; }
.trek-meta .icon { width: 18px; height: 18px; color: var(--terra); }
.section-dark .trek-meta { color: #e8dfd2; }
.difficulty { display: inline-flex; align-items: center; gap: 8px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand-2); display: block; }
.difficulty-1 .dots i.on { background: #4f9a5b; }
.difficulty-2 .dots i.on { background: #d6a24e; }
.difficulty-3 .dots i.on { background: #d0702f; }
.difficulty-4 .dots i.on { background: #b0302a; }
.section-dark .dots i { background: rgba(255,255,255,.2); }

/* --------------------------------------------------------- Expéditions */
.expedition-grid { display: grid; gap: 26px; }
@media (min-width: 820px) { .expedition-grid { grid-template-columns: repeat(2, 1fr); } }
.expedition-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.expedition-media { display: block; overflow: hidden; }
.expedition-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s; filter: saturate(.9); }
.expedition-card:hover .expedition-media img { transform: scale(1.05); }
.expedition-body { padding: clamp(22px, 3.5vw, 34px); display: flex; flex-direction: column; flex: 1; }
.expedition-body .card-title { color: #fff; }
.expedition-sub { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--ochre); }
.expedition-body .prose h3 { color: var(--ochre); font-size: 1.15rem; margin-top: 1em; }
.expedition-body .btn { margin-top: 20px; align-self: flex-start; }

/* ----------------------------------------------------------- Témoignages */
.section-testimonials { background: var(--sand); padding-top: clamp(48px, 8vw, 96px) !important; }
.testimonial-grid { display: grid; gap: 20px; margin-top: 30px; }
@media (min-width: 760px) { .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.testimonial blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.45; font-style: italic; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .92rem; }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.stars { display: flex; gap: 2px; color: var(--ochre); }
.stars .icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------- Galerie */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--font-sans); cursor: pointer; color: var(--ink); min-height: 40px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 2 160px; column-gap: 10px; }
@media (min-width: 900px) { .gallery { columns: 3 260px; column-gap: 14px; } }
.gallery-item { display: block; margin-bottom: 10px; break-inside: avoid; border-radius: 12px; overflow: hidden; }
@media (min-width: 900px) { .gallery-item { margin-bottom: 14px; } }
.gallery-item img { width: 100%; transition: transform .6s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.hidden { display: none; }
.empty-state { text-align: center; color: var(--muted); padding: 40px; border: 2px dashed var(--line); border-radius: var(--radius-lg); }

dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(12, 17, 21, .92); }
.lightbox[open], .video-dialog[open] { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1400px, 94vw); text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #eee; margin-top: 12px; font-size: .95rem; }
.dialog-close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; cursor: pointer; }
.lightbox-nav.prev { left: 10px; } .lightbox-nav.next { right: 10px; }
.video-frame { width: min(1100px, 94vw); aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }

/* ----------------------------------------------------------------- Accès */
.directions-grid { display: grid; gap: 34px; }
@media (min-width: 960px) { .directions-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } .map-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; }
.step-body { min-width: 0; }
.step-body .card-title { font-size: 1.4rem; margin-bottom: .1em; }
.step-img { margin-top: 12px; border-radius: 10px; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-frame { aspect-ratio: 4 / 3; background: var(--sand); }
.map-frame.tall { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin: 10px 0 16px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-info { padding: 22px; }
.map-address { display: flex; gap: 10px; align-items: flex-start; }
.map-address .icon { width: 22px; height: 22px; color: var(--terra); flex: none; margin-top: 3px; }
.map-image img { border-radius: var(--radius); border: 1px solid var(--line); margin: 10px 0 16px; }

/* ---------------------------------------------------------------- Contact */
.contact-grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 18px; }
.contact-block .card-title { font-size: 1.5rem; }
.channel-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.channel { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.channel:last-child { border-bottom: 0; padding-bottom: 0; }
.channel-label { font-weight: 600; }
.channel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.link-strong { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; word-break: break-all; }
.link-strong .icon { width: 20px; height: 20px; }
.contact-form-wrap { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); }
.form .field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form label { font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 16px/1.4 var(--font-sans); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(176, 80, 42, .14); }
.form textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.has-error input, .has-error textarea { border-color: #c0392b; }
.field-error { color: #b03026; font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.alert .icon { width: 22px; height: 22px; flex: none; }
.alert-ok { background: #e3f4e7; color: #1c5e2e; }
.alert-error { background: #fbe5e1; color: #8e2a1f; }
.card-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.info-card > h3, .info-card > .prose { padding: 0 24px; }
.info-card > h3 { padding-top: 22px; }
.info-card > .prose { padding-bottom: 22px; }
.info-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info-body { padding: 22px 24px; }

/* ------------------------------------------------------------ Détail élément */
.item-layout { display: grid; gap: 34px; }
@media (min-width: 960px) { .item-layout { grid-template-columns: 1fr 340px; align-items: start; } .item-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.item-main { font-size: 1.04em; }
.item-main h3 { font-size: 1.6rem; }
.item-map-title { display: flex; gap: 10px; align-items: center; font-size: 1.8rem; margin-top: 1.4em; }
.item-map-title .icon { width: 28px; height: 28px; color: var(--terra); }
.facts-card { background: var(--sand); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.facts { margin: 0 0 8px; display: grid; gap: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ------------------------------------------------------------ Bandeau CTA */
.cta-band { background: radial-gradient(circle at 20% 0%, #33505f 0%, var(--ink) 60%); color: #fff; text-align: center; padding: clamp(56px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: auto 0 0 0; height: 120px; background: url('/static/img/ridge.svg') bottom / cover no-repeat; opacity: .18; }
.cta-inner { position: relative; max-width: 760px; }
.cta-text { color: rgba(255,255,255,.85); font-size: 1.08em; }
.cta-band .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: #141d23; color: #c9c1b6; padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-name { font-family: var(--font-serif); font-size: 1.8rem; color: #fff; margin: 0; }
.footer-tagline { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--ochre); }
.footer-title { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e9e2d8; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.social-list { list-style: none; display: flex; gap: 10px; padding: 0; margin: 16px 0 0; }
.social-list a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.social-list .icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; padding-bottom: 70px; }

/* ------------------------------------------------------- WhatsApp flottant */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  height: 58px; padding: 0 18px 0 16px; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(23, 138, 67, .7);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { color: #fff; background: var(--wa-dark); transform: translateY(-2px); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 174, 85, .6); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,174,85,.55); } 70% { box-shadow: 0 0 0 16px rgba(31,174,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,174,85,0); } }
@media (max-width: 520px) { .wa-float { width: 58px; padding: 0; justify-content: center; } .wa-float-label { display: none; } }

/* ---------------------------------------------------------- Apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .wa-float, .cta-band, .site-footer { display: none; } body.is-page main { padding-top: 0; } }
