/* =========================================================
   Kaysers'Bier - Restaurant alsacien, Kaysersberg
   Palette: warm paper + Alsatian wine red accent (single accent).
   Theme locked to light (brand expression). Radius scale: 4px.
   ========================================================= */

:root {
  --paper:      #faf8f4;
  --paper-2:    #f1ece2;
  --ink:        #23201d;
  --ink-soft:   #5f574f;
  --line:       #e3dbcd;
  --wine:       #8c2f2a;
  --wine-dark:  #6f231f;
  --wine-tint:  #f3e6e2;

  --radius: 4px;
  --wrap: 1200px;
  --shadow: 0 14px 40px rgba(60, 40, 30, 0.10);
  --shadow-sm: 0 6px 18px rgba(60, 40, 30, 0.08);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Typography helpers ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.lead { font-size: 1.2rem; color: var(--ink); font-weight: 400; margin-bottom: 1rem; }
p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--primary { background: var(--wine); color: #fff; }
.btn--primary:hover { background: var(--wine-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--ghost:active { transform: translateY(1px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--wine);
  border-radius: var(--radius);
  line-height: 1;
}
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s var(--ease);
  letter-spacing: 0.01em;
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__links a:not(.btn).is-current { color: var(--wine); }
.nav.is-scrolled .nav__links a:not(.btn).is-current { color: var(--wine); }
.nav__links a:not(.btn).is-current::after { width: 100%; background: var(--wine); }

/* scrolled state -> solid paper nav */
.nav.is-scrolled {
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}
.nav.is-scrolled .nav__brand-name { color: var(--ink); }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 10, 0.78) 0%, rgba(20, 12, 10, 0.45) 45%, rgba(20, 12, 10, 0.15) 100%),
    linear-gradient(0deg, rgba(20, 12, 10, 0.55) 0%, rgba(20, 12, 10, 0) 40%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero__lede {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Hero "défiler pour agrandir" ---------- */
.xhero { position: relative; height: 150vh; background: var(--ink); }
.xhero__sticky {
  --p: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.xhero__bg { position: absolute; inset: 0; z-index: 0; opacity: calc(1 - var(--p)); }
.xhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.xhero__bg-scrim { position: absolute; inset: 0; background: rgba(20, 12, 10, 0.42); }
.xhero__frame {
  position: relative;
  z-index: 1;
  width: calc((42 + var(--p) * 58) * 1vw);
  height: calc((46 + var(--p) * 54) * 1vh);
  max-width: 100vw;
  max-height: 100vh;
  border-radius: calc((1 - var(--p)) * 16px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.xhero__frame video,
.xhero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xhero__frame-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20, 12, 10, 0.5) 0%, rgba(20, 12, 10, 0.2) 45%, rgba(20, 12, 10, 0) 75%),
    linear-gradient(0deg, rgba(20, 12, 10, 0.65) 0%, rgba(20, 12, 10, 0.2) 55%, rgba(20, 12, 10, 0.1) 100%);
}
.xhero__head {
  position: absolute;
  z-index: 2;
  text-align: center;
  color: #fff;
  pointer-events: none;
  width: 100%;
  padding: 0 1rem;
}
.xhero__eyebrow { opacity: calc(1 - var(--p) * 1.6); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.xhero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: center;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.xhero__w1 { transform: translateX(calc(var(--p) * -24vw)); }
.xhero__w2 { transform: translateX(calc(var(--p) * 24vw)); }
.xhero__hint {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
  opacity: calc(1 - var(--p) * 2.5);
}
.xhero__reveal {
  position: absolute;
  bottom: 9vh;
  z-index: 3;
  width: 100%;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  opacity: calc((var(--p) - 0.8) * 5);
  pointer-events: none;
}
.xhero__reveal.is-live { pointer-events: auto; }
.xhero__lede {
  max-width: 36ch;
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__sub { font-size: 1.1rem; margin-top: 0.75rem; }

/* ---------- Maison ---------- */
.maison__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.maison__text p { margin-bottom: 1rem; max-width: 60ch; }
.maison__facts { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.maison__facts li {
  display: flex; flex-direction: column;
  padding-left: 1.1rem;
  border-left: 2px solid var(--wine);
}
.maison__facts strong { font-weight: 500; color: var(--ink); }
.maison__facts span { font-size: 0.92rem; color: var(--ink-soft); }
.maison__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Incontournables (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.6s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 12, 10, 0.82) 0%, rgba(20, 12, 10, 0.15) 60%, rgba(20, 12, 10, 0.05) 100%);
  z-index: -1;
}
.tile__body { align-self: flex-end; padding: 1.5rem; color: #fff; }
.tile__body h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 0.35rem; }
.tile__body p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-bottom: 0.6rem; max-width: 32ch; }
.tile__price {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--wine);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
}
.tile--lg { grid-column: span 2; grid-row: span 2; min-height: 420px; }
.tile--lg .tile__body h3 { font-size: 2.1rem; }

/* ---------- Carte (menu) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.tab {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--ink); border-color: var(--wine); }
.tab.is-active { background: var(--wine); color: #fff; border-color: var(--wine); }

/* Navigation façon "hover slider" */
.hoverslider {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 3.5rem;
}
.hs-list { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.hs-item {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.15rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.06;
  color: var(--ink);
}
.hs-roll { display: inline-block; white-space: nowrap; }
.hs-char { position: relative; display: inline-block; overflow: hidden; }
.hs-char > span { display: inline-block; will-change: transform; }
.hs-char .hs-a {
  opacity: 0.28;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
}
.hs-char .hs-b {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  color: var(--wine);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
}
.hs-item.is-active .hs-a { transform: translateY(-110%); }
.hs-item.is-active .hs-b { transform: translateY(0); opacity: 1; }
.hs-item:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 2px; }

.hs-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.hs-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}
.hs-img.is-active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

.menu-panel { display: none; animation: fadeUp 0.4s var(--ease); }
.menu-panel.is-active { display: block; }
.menu-legend {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.menu-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.menu-group { break-inside: avoid; }
.menu-group__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wine);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.menu-group:first-child .menu-group__title:first-child,
.menu-group .menu-group__title:first-child { margin-top: 0; }
.menu-group__note {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 0.4rem;
}
.menu-list { list-style: none; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item--sub { opacity: 0.85; }
.menu-item__info { display: flex; flex-direction: column; gap: 0.15rem; }
.menu-item__name { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.menu-item__desc { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }
.menu-item__desc em { font-style: italic; opacity: 0.8; }
.menu-item__tag {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine);
  border: 1px solid var(--wine-tint);
  background: var(--wine-tint);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.menu-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.9rem;
  line-height: 1.5;
}
.menu-item__price {
  font-weight: 500;
  color: var(--wine);
  white-space: nowrap;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Carrousel d'images (auto-slider) ---------- */
.slider-sec { padding: clamp(2.5rem, 6vw, 4.5rem) 0; overflow: hidden; }
.slider {
  width: 100%;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.slider__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: slide-x 36s linear infinite;
}
.slider:hover .slider__track { animation-play-state: paused; }
.slider__item {
  flex: none;
  width: clamp(180px, 22vw, 300px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.slider__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.slider__item:hover img { transform: scale(1.05); filter: brightness(1.08); }
@keyframes slide-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Vidéos ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 840px;
  margin: 0 auto;
}
.video-card { display: flex; flex-direction: column; gap: 0.6rem; transition: transform 0.35s var(--ease); }
.video-card:hover { transform: translateY(-4px); }
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--ink);
  display: block;
}
.video-card figcaption {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Avis (colonnes défilantes) ---------- */
.testi__badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.testi__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  height: 720px;
  margin-top: 2.5rem;
  overflow: hidden;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.tcol__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: tscroll var(--dur, 26s) linear infinite;
}
.testi__cols:hover .tcol__track { animation-play-state: paused; }
@keyframes tscroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.tcard {
  width: 100%;
  max-width: 22rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 18px 40px rgba(140, 47, 42, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
@media (max-width: 1024px) {
  .testi__cols { grid-template-columns: repeat(2, 1fr); }
  .tcol--c { display: none; }
}
.tcard__stars { color: #f59e0b; letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 0.7rem; }
.tcard__stars .dim { color: var(--line); }
.tcard__text { color: var(--ink); font-size: 0.98rem; line-height: 1.55; font-weight: 300; }
.tcard__author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.1rem; }
.tcard__avatar {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.tcard__meta { display: flex; flex-direction: column; }
.tcard__name { font-weight: 500; color: var(--ink); }
.tcard__role { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Infos ---------- */
.infos__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.infos__block { margin-top: 1.75rem; }
.infos__block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.infos__block p { color: var(--ink-soft); }
.infos__todo { font-style: italic; color: var(--ink-soft); opacity: 0.75; margin-bottom: 1rem; }
.infos__block .btn { margin-top: 0.5rem; }
.infos__link {
  color: var(--wine);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.infos__link:hover { color: var(--wine-dark); }
.infos__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
#map { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Marqueur personnalisé */
.map-marker { position: relative; width: 20px; height: 20px; cursor: pointer; }
.map-marker__dot {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--wine);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(60, 40, 30, 0.35);
  transition: transform 0.15s var(--ease);
}
.map-marker:hover .map-marker__dot { transform: scale(1.12); }
.map-marker__label {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 1px 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* Popup (surcharge MapLibre) */
.maplibregl-popup { max-width: 260px !important; }
.maplibregl-popup-content {
  padding: 0 !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
  font-family: var(--font-body);
}
.maplibregl-popup-close-button {
  width: 24px; height: 24px;
  font-size: 18px;
  color: #fff;
  border-radius: 999px;
  margin: 6px;
  background: rgba(20, 12, 10, 0.45);
}
.maplibregl-popup-close-button:hover { background: rgba(20, 12, 10, 0.7); }
.mappop__img { height: 128px; overflow: hidden; }
.mappop__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mappop__body { padding: 0.85rem 0.9rem 0.95rem; }
.mappop__cat {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.mappop__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.mappop__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.mappop__rating svg { width: 15px; height: 15px; }
.mappop__rating span { color: var(--ink-soft); font-size: 0.82rem; }
.mappop__rating .mappop__muted { margin-left: 0.15rem; }
.mappop__row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.mappop__row svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: var(--wine); }
.mappop__actions { display: flex; gap: 0.5rem; }
.mappop__btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--wine);
  color: #fff;
  flex: 1;
  transition: background 0.2s var(--ease);
}
.mappop__btn:hover { background: var(--wine-dark); }
.mappop__btn svg { width: 15px; height: 15px; }
.mappop__btn--icon {
  flex: none;
  width: 34px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.mappop__btn--icon:hover { background: var(--paper-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 4rem 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: #fff; }
.footer__tag { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.footer p { color: rgba(255, 255, 255, 0.75); }
.footer__links { list-style: none; display: grid; gap: 0.5rem; }
.footer__links a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 0;
  text-align: center;
}
.footer__bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.reveal-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .maison__grid { grid-template-columns: 1fr; }
  .maison__media { order: -1; }
  .maison__media img { aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--lg { grid-column: span 2; grid-row: auto; min-height: 320px; }
  .menu-cols { grid-template-columns: 1fr; }
  .infos__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .hoverslider { grid-template-columns: 1fr; }
  .hs-media { display: none; }
  .hs-list { flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
  .hs-item { font-size: clamp(1.4rem, 6vw, 2rem); }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a:not(.btn) { color: var(--ink); width: 100%; padding: 0.6rem 0; }
  .nav__cta { margin-top: 0.5rem; width: 100%; }
  .nav__burger { display: flex; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .bento { grid-template-columns: 1fr; }
  .tile--lg { grid-column: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  /* Avis: une seule colonne, mais toujours animée */
  .testi__cols { grid-template-columns: 1fr; height: 560px; }
  .tcol--b, .tcol--c { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }

  /* Vidéos: rangée défilable au doigt */
  .videos, .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .video-card { scroll-snap-align: start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  /* Carrousel figé mais consultable au défilement manuel */
  .slider { overflow-x: auto; }
  .slider__track { animation: none; }
  /* Hero: pas de scroll-hijack, media plein cadre directement */
  .xhero { height: 100svh; }
  .xhero__sticky { --p: 1; }
  .xhero__reveal { pointer-events: auto; }
  /* Avis figés */
  .testi__cols { height: auto; overflow: visible; -webkit-mask: none; mask: none; }
  .tcol__track { animation: none; }
  .tcard.dup { display: none; }
}
