/* ============================================================
   GOÛT D'OR : thème clair
   Palette dérivée du logo : or laiton + brun espresso sur blanc chaud.
   La chaleur vient de l'or, de l'encre brune et des photos,
   pas d'un fond crème saturé.
   ============================================================ */
:root {
  /* surfaces */
  --bg:        oklch(0.986 0.004 85);   /* blanc chaud, quasi papier */
  --bg-warm:   oklch(0.962 0.012 82);   /* section alternée */
  --bg-deep:   oklch(0.928 0.018 80);   /* footer / bandes */
  --surface:   oklch(1 0 0);            /* cartes */
  --line:      oklch(0.88 0.016 78);
  --line-soft: oklch(0.93 0.012 80);

  /* encre */
  --ink:       oklch(0.26 0.035 58);    /* brun espresso : texte principal */
  --ink-2:     oklch(0.44 0.030 58);    /* texte secondaire (AA sur --bg) */
  --ink-inv:   oklch(0.97 0.008 85);    /* texte sur fond sombre/photo */

  /* or */
  --gold:      oklch(0.78 0.132 78);    /* or décoratif / fills */
  --gold-warm: oklch(0.72 0.140 70);
  --gold-ink:  oklch(0.52 0.115 62);    /* or foncé lisible en petit texte */

  --shadow: 18px 40px oklch(0.45 0.05 60 / 0.10);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;

  /* échelle z sémantique */
  --z-sticky: 100;
  --z-float: 90;
  --z-overlay: 200;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.005em; }
p  { text-wrap: pretty; }

h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-ink); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.1rem;
}
.center { text-align: center; }
.lead { color: var(--ink-2); font-size: 1.06rem; max-width: 60ch; }

/* ---------- reveal (visible par défaut, masqué seulement si JS actif) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
              background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn--gold {
  background: var(--gold);
  color: oklch(0.24 0.04 55);
  box-shadow: 0 8px 22px oklch(0.72 0.14 72 / 0.28);
}
.btn--gold:hover { background: var(--gold-warm); transform: translateY(-2px); box-shadow: 0 12px 28px oklch(0.70 0.14 68 / 0.36); }
.btn--gold:active { transform: translateY(0) scale(0.98); }
.btn--ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--ink-inv); transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2.6rem; font-size: 0.88rem; }
/* variante sur photo (hero/visite) */
.on-photo .btn--ghost { border-color: oklch(1 0 0 / 0.6); color: var(--ink-inv); }
.on-photo .btn--ghost:hover { background: var(--ink-inv); color: var(--ink); border-color: var(--ink-inv); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.3rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav.is-scrolled {
  background: oklch(0.99 0.004 85 / 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px oklch(0.5 0.04 60 / 0.06);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__brand img { height: 104px; width: auto; transition: height 0.4s ease, filter 0.4s ease; }
.nav.is-scrolled .nav__brand img { height: 78px; }
.nav:not(.is-scrolled) .nav__brand img { filter: drop-shadow(0 2px 10px oklch(0.2 0.02 60 / 0.45)); }
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: oklch(1 0 0 / 0.9);
  text-shadow: 0 1px 10px oklch(0.2 0.02 60 / 0.35);
  transition: color 0.25s ease;
}
.nav.is-scrolled .nav__links a { color: var(--ink-2); text-shadow: none; }
.nav__links a:hover { color: var(--gold); }
.nav.is-scrolled .nav__links a:hover { color: var(--gold-ink); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink-inv); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(1.2rem, 4vw, 3rem);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, oklch(0.22 0.03 55 / 0.86) 0%, oklch(0.22 0.03 55 / 0.5) 44%, oklch(0.22 0.03 55 / 0.15) 100%),
    linear-gradient(to top, var(--bg) 0.5%, transparent 26%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; margin-top: 3.5rem; }
.hero__loc { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.3rem; }
.hero__loc::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--ink-inv); }
.hero h1 em { color: var(--gold); }
.hero__sub { color: oklch(1 0 0 / 0.9); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 40ch; margin: 1.5rem 0 2.3rem; }
.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1.5px solid oklch(1 0 0 / 0.4); border-radius: 999px; z-index: 2; }
.hero__scroll span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll span { animation: none; } }

/* ---------- visite (scrollytelling) ---------- */
.visite__intro { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); max-width: 820px; margin: 0 auto; }
.visite__hint { margin-top: 1.1rem; color: var(--ink-2); font-size: 0.98rem; }
.visite__stage { position: relative; }
.vpanel { position: relative; overflow: hidden; }
.vpanel img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.vpanel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.2 0.03 55 / 0.9) 0%, oklch(0.2 0.03 55 / 0.25) 45%, oklch(0.2 0.03 55 / 0.08) 100%);
  pointer-events: none;
}
.vpanel__caption { position: absolute; z-index: 2; left: clamp(1.2rem, 5vw, 4rem); right: clamp(1.2rem, 5vw, 4rem); bottom: clamp(2rem, 6vh, 4.5rem); max-width: 640px; }
.vstep { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--gold); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.9rem; }
.vstep b { font-variant-numeric: tabular-nums; }
.vpanel__caption h3 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); color: var(--ink-inv); margin-bottom: 0.7rem; }
.vpanel__caption p { color: oklch(1 0 0 / 0.88); font-size: 1rem; max-width: 48ch; }

/* fallback sans JS / reduced motion : panneaux empilés visibles */
.visite:not(.is-ready) .vpanel { height: 82svh; }
.visite:not(.is-ready) .vpanel img { position: absolute; inset: 0; }
/* mode pinné */
.visite.is-ready .visite__stage { height: 100dvh; overflow: hidden; }
.visite.is-ready .vpanel { position: absolute; inset: 0; }
.visite.is-ready .vpanel:not(:first-child) { opacity: 0; visibility: hidden; }

/* ---------- services ---------- */
.services { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem); }
.services__head { max-width: 780px; margin: 0 auto 3.5rem; text-align: center; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; max-width: 1300px; margin: 0 auto; }
.svc {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.9rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.svc:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 var(--shadow); }
.svc__ic { width: 30px; height: 30px; color: var(--gold-ink); margin-bottom: 0.4rem; }
.svc h3 { font-size: 1.45rem; }
.svc p { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- chapitres ---------- */
.chapter { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem); }
.chapter--alt { background: var(--bg-warm); }
.chapter__head { max-width: 820px; margin: 0 auto 3.5rem; text-align: center; }
.chapter__head .lead { margin: 1.3rem auto 0; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; max-width: 1200px; margin: 0 auto; align-items: start; }
.split__img img, .split__img--sm img, .wide-img img, .mosaic img { border-radius: 16px; object-fit: cover; width: 100%; }
.split__img img { height: 560px; }
.split__txt { display: flex; flex-direction: column; gap: 1.2rem; padding-top: 0.4rem; }
.split__txt h3 { font-size: 1.9rem; }
.split__txt p { color: var(--ink-2); }
.split__img--sm img { height: 300px; }

/* plats */
.menu { max-width: 1300px; margin: 4.5rem auto 0; }
.menu__head { text-align: center; margin-bottom: 2.6rem; }
.menu__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1.3rem; margin-bottom: 2.8rem; }
.dish { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease; }
.dish:hover { transform: translateY(-6px); box-shadow: 0 var(--shadow); }
.dish img { height: 208px; width: 100%; object-fit: cover; }
.dish h4 { font-size: 1.3rem; padding: 1rem 1.15rem 0.15rem; }
.dish p { font-size: 0.86rem; color: var(--ink-2); padding: 0 1.15rem 1.25rem; }

/* mosaïque traiteur */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 260px 260px; gap: 1.1rem; max-width: 1200px; margin: 0 auto 2.6rem; }
.mosaic figure { overflow: hidden; border-radius: 16px; }
.mosaic img { height: 100%; transition: transform 0.6s ease; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic__a { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic__b { grid-column: 3 / 5; }
.mosaic__c { grid-column: 3 / 4; }
.mosaic__d { grid-column: 4 / 5; }

/* tarifs */
.tarifs { max-width: 1200px; margin: 5rem auto 0; }
.tarifs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1.3rem; margin: 2.8rem 0 1.5rem; align-items: stretch; }
.tarif { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 2.1rem 1.8rem; }
.tarif--feat { border-color: var(--gold); background: linear-gradient(180deg, oklch(0.97 0.03 82), var(--surface)); box-shadow: 0 var(--shadow); }
.tarif__badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); background: var(--gold); color: oklch(0.24 0.04 55); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 999px; white-space: nowrap; }
.tarif h4 { font-size: 1.7rem; }
.tarif__desc { font-size: 0.85rem; color: var(--ink-2); margin: 0.3rem 0 1.3rem; }
.tarif ul { list-style: none; }
.tarif li { display: flex; justify-content: space-between; align-items: baseline; padding: 0.7rem 0; border-top: 1px solid var(--line-soft); font-size: 0.92rem; }
.tarif li span { color: var(--ink-2); }
.tarif li strong { font-weight: 700; color: var(--gold-ink); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.tarifs__opt { text-align: center; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 2.2rem; }

/* business */
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto 2.6rem; }
.feature { text-align: center; padding: 1.9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.feature strong { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--gold-ink); }
.feature span { font-size: 0.82rem; color: var(--ink-2); }
.wide-img { max-width: 1200px; margin: 0 auto 2.6rem; }
.wide-img img { height: 460px; }

/* amenities */
.amenities { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.amenities li { position: relative; padding-left: 1.7rem; color: var(--ink-2); font-size: 0.96rem; }
.amenities li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); }

/* galerie horizontale */
.hgal { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.hgal__intro { max-width: 820px; margin: 0 auto; text-align: center; padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(2.4rem, 5vw, 3.4rem); }
.hgal__viewport { position: relative; }
.hgal__track {
  display: flex; gap: 1.2rem; align-items: flex-start;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 clamp(1.2rem, 4vw, 3rem) 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hgal__track::-webkit-scrollbar { display: none; }
.hcard { flex: 0 0 min(82vw, 460px); scroll-snap-align: center; }
.hcard img { width: 100%; height: min(62vh, 540px); object-fit: cover; border-radius: 16px; }
.hcard figcaption { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.9rem 0.2rem 0; }
.hcard figcaption b { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.hcard figcaption span { font-size: 0.85rem; color: var(--ink-2); }
.hgal__bar { display: none; height: 2px; background: var(--line); margin: 1.6rem clamp(1.2rem, 4vw, 3rem) 0; border-radius: 2px; overflow: hidden; }
.hgal__bar span { display: block; height: 100%; width: 0; background: var(--gold); }
/* mode pinné (desktop) : le scroll vertical entraîne le pan horizontal */
.hgal.is-pinned .hgal__viewport { height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--bg); }
.hgal.is-pinned .hgal__track { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.hgal.is-pinned .hgal__bar { display: block; }

/* contact */
.contact { background: var(--bg-warm); padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem) 0; }
.contact__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact__addr { margin: 1.4rem 0 2.4rem; color: var(--ink-2); }
.contact__addr small { opacity: 0.75; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-bottom: 2.4rem; }
.contact__grid h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.5rem; }
.contact__grid p { color: var(--ink-2); font-size: 0.95rem; }
.contact__grid a:hover { color: var(--gold-ink); }
.footer { margin-top: 4rem; padding: 2.4rem 0 2.6rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.footer img { width: 152px; }
.footer p { font-size: 0.78rem; color: var(--ink-2); letter-spacing: 0.08em; }

/* WhatsApp float */
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: var(--z-float); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 8px 24px oklch(0.5 0.05 150 / 0.4); transition: transform 0.3s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    background: oklch(0.986 0.004 85 / 0.98);
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.05rem; color: var(--ink); text-shadow: none; }
  .nav.menu-open .nav__brand { position: relative; z-index: calc(var(--z-sticky) + 1); }
  .nav.menu-open .nav__brand span { color: var(--ink); text-shadow: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; z-index: calc(var(--z-sticky) + 1); }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ink); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

  .split { grid-template-columns: 1fr; }
  .split__img img { height: 380px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .mosaic__a { grid-column: 1 / 3; grid-row: 1 / 2; }
  .mosaic__b { grid-column: 1 / 3; grid-row: 2 / 3; }
  .mosaic__c { grid-column: 1 / 2; grid-row: 3 / 4; }
  .mosaic__d { grid-column: 2 / 3; grid-row: 3 / 4; }
  .wide-img img { height: 300px; }

  .menu__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; }
  .dish { flex: 0 0 78%; scroll-snap-align: start; }
}
