/* ==========================================================================
   BONA — Brasserie · Bordeaux
   Charte : #03203d (bleu nuit) / #f7f7f4 (crème) — Tangerine + Sarabun
   ========================================================================== */

:root {
  --navy: #03203d;
  --navy-deep: #021627;
  --navy-soft: #0a2c4e;
  --cream: #f7f7f4;
  --cream-dim: rgba(247, 247, 244, 0.66);
  --cream-faint: rgba(247, 247, 244, 0.34);
  --line: rgba(247, 247, 244, 0.22);
  --gold: #c9a86a;

  --font-display: "Tangerine", "Apple Chancery", cursive;
  --font-body: "Sarabun", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 148px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* Les <svg> inline sans attribut height retombent sur 150px : on impose le ratio du viewBox */
.brand svg, .hero__logo, .footer__brand svg { aspect-ratio: 129.54 / 36.1; height: auto; }
.story__sign svg { aspect-ratio: 45 / 36.1; height: auto; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul { list-style: none; padding: 0; }

::selection { background: var(--cream); color: var(--navy); }

/* ---------- Utilitaires ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1440px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(58px, 10vw, 104px); }
.section-head p {
  max-width: 56ch; margin: 18px auto 0;
  color: var(--cream-dim); font-size: 15px;
}

/* Filet ornemental (rappel des liserés de la carte) */
.rule {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 22px auto 0; max-width: 260px;
  color: var(--cream-faint);
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.rule .lozenge { width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--solid { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--solid:hover { background: transparent; color: var(--cream); border-color: var(--line); }
.btn svg { width: 13px; height: 13px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding: 22px 0;
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3, 32, 61, .82), transparent);
  transition: opacity .4s ease;
}
.header.is-stuck {
  padding: 13px 0;
  background: rgba(3, 32, 61, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header.is-stuck::before { opacity: 0; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { width: clamp(96px, 12vw, 128px); height: auto; color: var(--cream); }
.brand__tag {
  font-size: 8px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--cream-faint); padding-left: 14px; border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  position: relative;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim); transition: color .3s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--cream); }

.header__socials { display: flex; align-items: center; gap: 14px; padding-left: 8px; }
.header__socials a { color: var(--cream-dim); transition: color .3s ease, transform .3s ease; }
.header__socials a:hover { color: var(--cream); transform: translateY(-2px); }
.header__socials svg { width: 17px; height: 17px; }

.burger { display: none; width: 34px; height: 34px; position: relative; }
.burger span {
  position: absolute; left: 5px; right: 5px; height: 1.5px;
  background: var(--cream); transition: transform .35s ease, opacity .25s ease;
}
.burger span:nth-child(1) { top: 12px; }
.burger span:nth-child(2) { bottom: 12px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  text-align: center; overflow: hidden;
  padding: 140px 0 90px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 42%, rgba(3, 32, 61, .42) 0%, rgba(3, 32, 61, .84) 62%, var(--navy) 100%),
    linear-gradient(180deg, rgba(2, 22, 39, .6), rgba(3, 32, 61, .35) 40%, var(--navy) 98%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__logo { width: min(430px, 74vw); margin: 0 auto; color: var(--cream); }
.hero__sub {
  margin-top: 24px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.62em; text-transform: uppercase;
  color: var(--cream-dim); text-indent: 0.62em;
}
.hero__line {
  margin: 26px auto 0; max-width: 20ch;
  font-family: var(--font-display); font-size: clamp(46px, 8vw, 76px);
  line-height: 1; color: var(--cream);
}
.hero__meta {
  margin-top: 30px; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 12px;
}
.hero__meta span {
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim);
}
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 1; display: grid; justify-items: center; gap: 10px;
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--cream-faint);
}
.hero__scroll i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--line), transparent); }

/* ---------- Bandeau valeurs ---------- */
.values { border-block: 1px solid var(--line); background: var(--navy-deep); }
.values__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.values__item {
  padding: clamp(30px, 4vw, 46px) clamp(16px, 3vw, 34px);
  text-align: center;
}
.values__item + .values__item { border-left: 1px solid var(--line); }
.values__item h3 {
  font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1; margin-bottom: 8px;
}
.values__item p { font-size: 13px; color: var(--cream-dim); max-width: 30ch; margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--deep { background: var(--navy-deep); }

/* Histoire */
.story__grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 80px); align-items: center;
}
.story__figure { position: relative; }
.story__figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: saturate(.9) contrast(1.02) brightness(1.12);
}
.story__figure::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(247, 247, 244, .28); pointer-events: none;
}
.story__label {
  position: absolute; left: 0; bottom: -18px;
  background: var(--navy); padding: 10px 18px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cream-dim);
  border: 1px solid var(--line);
}
.story__title { font-size: clamp(56px, 8.5vw, 92px); margin-bottom: 8px; }
.story__intro {
  font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.05; color: var(--cream); margin: 22px 0 26px;
}
.story__body p { color: var(--cream-dim); font-size: 15.5px; }
.story__body p + p { margin-top: 16px; }
.story__body em { font-style: normal; color: var(--cream); }
.story__sign {
  margin-top: 30px; display: flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-faint);
}
.story__sign svg { width: 40px; color: var(--cream); }

/* Signatures */
.signatures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.dish { position: relative; overflow: hidden; background: var(--navy); }
.dish__media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.dish__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 22, 39, 0) 30%, rgba(2, 22, 39, .72) 62%, rgba(2, 22, 39, .96));
}
.dish__body {
  position: absolute; inset: auto 0 0; z-index: 1;
  padding: 22px clamp(16px, 2vw, 24px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.dish__body h3 { font-family: var(--font-display); font-size: 40px; line-height: .95; }
.dish__body p { font-size: 12px; color: var(--cream-dim); margin-top: 4px; }
.dish__price {
  flex: none; font-size: 13px; font-weight: 500; letter-spacing: .08em;
  padding-bottom: 4px;
}

/* Aperçu carte */
.preview__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 64px);
}
.menu-list li {
  display: grid; grid-template-columns: 1fr auto;
  gap: 4px 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(247, 247, 244, .12);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list h4 { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.menu-list .price { font-size: 15px; font-weight: 500; color: var(--cream); white-space: nowrap; }
.menu-list .desc { grid-column: 1 / -1; font-size: 13px; color: var(--cream-dim); line-height: 1.6; }
.menu-group__title {
  font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px);
  line-height: 1; margin-bottom: 6px;
}
.menu-group__note { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 20px; }

/* Galerie */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 15vw; gap: 10px;
}
.gallery figure { position: relative; overflow: hidden; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* Infos */
.infos__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 66px); align-items: stretch;
}
.hours { border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); }
.hours__title { font-family: var(--font-display); font-size: clamp(46px, 5.6vw, 66px); line-height: 1; }
.hours__note { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-faint); margin-top: 6px; }
.hours ul { margin-top: 26px; }
.hours li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(247, 247, 244, .12);
}
.hours li:last-of-type { border-bottom: 0; }
.hours li.is-closed { color: var(--cream-faint); }
.hours .day { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hours .time { font-size: 14px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hours__foot { margin-top: 22px; font-size: 12.5px; color: var(--cream-dim); }

.place { display: flex; flex-direction: column; gap: 18px; }
.place__map {
  flex: 1; min-height: 300px; border: 1px solid var(--line);
  overflow: hidden; position: relative; background: var(--navy-soft);
}
/* Plan statique : 9 tuiles OSM servies en local, recalées sur l'adresse puis teintées */
.place__tiles {
  position: absolute; left: 50%; top: 50%;
  display: grid; grid-template-columns: repeat(3, 256px); grid-auto-rows: 256px;
  width: 768px; height: 768px;
  transform: translate(-394px, -290px);
  filter: grayscale(1) invert(.92) sepia(1) hue-rotate(176deg) saturate(3.4) brightness(.55) contrast(.92);
  opacity: .85;
}
.place__tiles img { width: 256px; height: 256px; }
.place__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  color: var(--cream); filter: drop-shadow(0 2px 6px rgba(2, 22, 39, .9));
}
.place__pin svg { width: 30px; height: 30px; }
.place__pin::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 0 6px rgba(247, 247, 244, .16);
}
.place__marker-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 26px);
  white-space: nowrap; padding: 6px 14px;
  background: rgba(2, 22, 39, .88); border: 1px solid var(--line);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
}
.place__credit {
  position: absolute; right: 8px; bottom: 6px;
  font-size: 9.5px; letter-spacing: .04em; color: var(--cream-faint);
  background: rgba(2, 22, 39, .7); padding: 3px 8px;
}
.place__credit a { text-decoration: underline; text-underline-offset: 2px; }
.place__credit a:hover { color: var(--cream); }
.place__card { border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.place__card .eyebrow { display: block; margin-bottom: 10px; }
.place__addr { font-size: 17px; line-height: 1.55; }
.place__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Réseaux */
.social-band { text-align: center; }
.social-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; max-width: 860px; margin: 0 auto;
}
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 30px 18px; border: 1px solid var(--line);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.social-card svg { width: 26px; height: 26px; }
.social-card b { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.social-card span { font-size: 12px; color: var(--cream-dim); }
.social-card:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); transform: translateY(-4px); }
.social-card:hover span { color: rgba(3, 32, 61, .7); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--navy-deep); padding: clamp(46px, 6vw, 74px) 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.footer__brand svg { width: 150px; color: var(--cream); }
.footer__brand p { margin-top: 16px; font-size: 13px; color: var(--cream-dim); max-width: 34ch; }
.footer h4 { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer li a, .footer address { font-size: 13.5px; color: var(--cream-dim); font-style: normal; transition: color .3s ease; }
.footer li a:hover { color: var(--cream); }
.footer__bottom {
  margin-top: clamp(34px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(247, 247, 244, .12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 11.5px; color: var(--cream-faint);
}
.footer__bottom .socials { display: flex; gap: 16px; }
.footer__bottom .socials a { color: var(--cream-dim); transition: color .3s ease; }
.footer__bottom .socials a:hover { color: var(--cream); }
.footer__bottom svg { width: 16px; height: 16px; }

/* ---------- Page Carte ---------- */
.page-hero {
  position: relative; padding: clamp(160px, 20vw, 230px) 0 clamp(60px, 8vw, 96px);
  text-align: center; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 22, 39, .82), rgba(3, 32, 61, .78) 50%, var(--navy));
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(72px, 13vw, 132px); }
.page-hero p { margin-top: 12px; color: var(--cream-dim); font-size: 14.5px; }

.menu-nav {
  position: sticky; top: 62px; z-index: 40;
  background: rgba(3, 32, 61, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.menu-nav ul {
  display: flex; gap: clamp(16px, 3vw, 34px);
  overflow-x: auto; scrollbar-width: none;
  padding: 15px var(--gutter); justify-content: center;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  white-space: nowrap; font-size: 10.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cream-faint);
  transition: color .3s ease;
}
.menu-nav a:hover, .menu-nav a.is-active { color: var(--cream); }

/* Cadre ornemental façon dépliant */
.frame {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(30px, 5vw, 62px) clamp(20px, 4vw, 54px);
}
.frame::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid rgba(247, 247, 244, .14); pointer-events: none;
}
.frame__dot {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cream-faint);
}
.frame__dot--tl { top: -4px; left: -4px; }
.frame__dot--tr { top: -4px; right: -4px; }
.frame__dot--bl { bottom: -4px; left: -4px; }
.frame__dot--br { bottom: -4px; right: -4px; }

.course { scroll-margin-top: 130px; }
.course + .course { margin-top: clamp(56px, 8vw, 100px); }
.course__head { text-align: center; margin-bottom: clamp(30px, 4vw, 48px); }
.course__head h2 { font-size: clamp(58px, 9vw, 96px); }
.course__head p { margin-top: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-faint); }

.dishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px clamp(30px, 5vw, 64px); }
.dish-row {
  padding: 20px 0; border-bottom: 1px solid rgba(247, 247, 244, .12);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: baseline;
}
.dish-row h3 { font-size: 16px; font-weight: 500; letter-spacing: .02em; }
.dish-row .price { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dish-row .desc { grid-column: 1 / -1; font-size: 13px; color: var(--cream-dim); line-height: 1.62; }
.dish-row .tags { grid-column: 1 / -1; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid rgba(247, 247, 244, .2); color: var(--cream-faint);
}

.formula {
  text-align: center; border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 38px); margin-bottom: clamp(34px, 5vw, 52px);
}
.formula strong { font-weight: 500; color: var(--cream); }
.formula p { color: var(--cream-dim); font-size: 14.5px; }
.formula .display { display: block; font-size: clamp(38px, 5vw, 54px); margin-bottom: 8px; }

.allergens { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.allergens caption { text-align: left; padding-bottom: 16px; color: var(--cream-dim); font-size: 13px; }
.allergens th, .allergens td { text-align: left; padding: 13px 14px; border-bottom: 1px solid rgba(247, 247, 244, .12); }
.allergens th {
  font-size: 10px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cream-faint);
}
.allergens td:first-child { color: var(--cream); }
.allergens td:not(:first-child) { color: var(--cream-dim); }
.table-scroll { overflow-x: auto; }
.notice {
  margin-top: 26px; padding: 20px 22px;
  border-left: 2px solid var(--cream-faint); background: rgba(247, 247, 244, .04);
  font-size: 13px; color: var(--cream-dim);
}
.notice + .notice { margin-top: 12px; }

/* ---------- Animations d'apparition ---------- */
/* L'état masqué n'est appliqué que si JS est disponible pour le révéler */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__figure { max-width: 460px; }
  .infos__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 26vw; grid-template-columns: repeat(2, 1fr); }
  .gallery .g-wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .header__socials { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 50;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 26px; background: rgba(2, 22, 39, .98);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
  }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 14px; letter-spacing: .3em; }
  .nav .nav__socials { display: flex; gap: 22px; margin-top: 16px; }
  .nav .nav__socials svg { width: 22px; height: 22px; }
  .values__grid { grid-template-columns: 1fr; }
  .values__item + .values__item { border-left: 0; border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .menu-nav { top: 56px; }
  .hero__scroll { display: none; }
}

@media (min-width: 761px) { .nav__socials { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page Réservation
   ========================================================================== */

.wrap--etroit { max-width: 780px; }
.page-hero--court { padding-bottom: clamp(40px, 6vw, 64px); }

.form { display: grid; gap: clamp(26px, 4vw, 38px); }

.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 26px); }

.field__label {
  display: block; padding: 0; margin-bottom: 12px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-dim);
}
.field__option { letter-spacing: 0.1em; color: var(--cream-faint); text-transform: none; }
.field__aide { margin-top: 10px; font-size: 12.5px; color: var(--cream-faint); line-height: 1.6; }

/* Champs de saisie */
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="date"],
.form input[type="number"],
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: 15px;
  color: var(--cream);
  background: rgba(247, 247, 244, .04);
  border: 1px solid var(--line);
  border-radius: 0;
  appearance: none; -webkit-appearance: none;
  transition: border-color .3s ease, background .3s ease;
}
.form textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--cream-dim) 50%),
                    linear-gradient(135deg, var(--cream-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.form select option { background: var(--navy-deep); color: var(--cream); }
.form input::placeholder, .form textarea::placeholder { color: var(--cream-faint); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 0; border-color: var(--cream); background: rgba(247, 247, 244, .07);
}
.form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .5; cursor: pointer; }
/* Ciblé sur les champs de saisie : une règle sur `.form input:disabled` rendrait
   visibles les radios masqués des créneaux déjà pris. */
.form input[type="text"]:disabled,
.form input[type="tel"]:disabled,
.form input[type="email"]:disabled,
.form input[type="date"]:disabled,
.form input[type="number"]:disabled,
.form select:disabled,
.form textarea:disabled { opacity: .38; cursor: not-allowed; }

/* Bascule réservation / privatisation */
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.segmented__option { position: relative; }
.segmented__option input { position: absolute; opacity: 0; pointer-events: none; }
.segmented__option span {
  display: block; padding: 15px 12px; text-align: center; cursor: pointer;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-dim);
  transition: background .3s ease, color .3s ease;
}
.segmented__option + .segmented__option span { border-left: 1px solid var(--line); }
.segmented__option input:checked + span { background: var(--cream); color: var(--navy); }
.segmented__option input:focus-visible + span { outline: 1px solid var(--cream); outline-offset: -4px; }
#aide-privatisation { display: none; }
.form.is-privatisation #aide-privatisation { display: block; }

/* Soirs d'ouverture */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip__jour, .chip__date { display: block; text-align: center; }
.chip__jour {
  font-size: 10px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cream-faint);
}
.chip__date { margin-top: 4px; font-size: 15px; }
.chip__jour, .chip__date { transition: color .3s ease; }
.chip::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--line); transition: background .3s ease, border-color .3s ease;
}
.chip > span { position: relative; }
.chip { padding: 13px 10px; }
.chip:hover::before { border-color: var(--cream-dim); }
.chip input:checked ~ span { color: var(--navy); }
.chip input:checked ~ .chip__jour { color: rgba(3, 32, 61, .68); }
.chip:has(input:checked)::before { background: var(--cream); border-color: var(--cream); }
.chip:has(input:focus-visible)::before { outline: 1px solid var(--cream); outline-offset: 2px; }

/* Créneaux */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: block; padding: 12px 6px; text-align: center;
  border: 1px solid var(--line);
  font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--cream-dim);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.slot:hover span { border-color: var(--cream-dim); color: var(--cream); }
.slot input:checked + span { background: var(--cream); border-color: var(--cream); color: var(--navy); font-weight: 500; }
.slot input:focus-visible + span { outline: 1px solid var(--cream); outline-offset: 2px; }
.slot.is-pris { cursor: not-allowed; }
.slot.is-pris span {
  color: var(--cream-faint); border-style: dashed; text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.slot.is-pris:hover span { border-color: var(--line); color: var(--cream-faint); }

/* Case à cocher */
.check {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; cursor: pointer; font-size: 14px; color: var(--cream-dim);
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__case {
  flex: none; width: 20px; height: 20px;
  border: 1px solid var(--line); position: relative;
  transition: background .3s ease, border-color .3s ease;
}
.check__case::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--navy); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0); transition: transform .25s ease;
}
.check input:checked + .check__case { background: var(--cream); border-color: var(--cream); }
.check input:checked + .check__case::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__case { outline: 1px solid var(--cream); outline-offset: 2px; }
.check:hover { color: var(--cream); }

/* Pot de miel */
.pot-de-miel {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* États et envoi */
.form__chargement { font-size: 13px; color: var(--cream-faint); }
.form__etat { font-size: 13.5px; line-height: 1.6; min-height: 1em; }
.form__etat.is-erreur { color: #f2b8b8; }
.form__etat.is-attente { color: var(--cream-dim); }
.btn--large { justify-content: center; width: 100%; padding: 18px 30px; }
.form__mentions { font-size: 12px; color: var(--cream-faint); line-height: 1.65; }

.form__merci { text-align: center; padding: clamp(30px, 6vw, 60px) 0; }
.form__merci .display { font-size: clamp(52px, 8vw, 78px); line-height: 1; }
.form__merci p + p { margin: 16px auto 30px; max-width: 44ch; color: var(--cream-dim); font-size: 15px; }

/* Rappel pratique */
.rappel {
  margin-top: clamp(46px, 7vw, 76px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(20px, 4vw, 40px);
}
.rappel .eyebrow { display: block; margin-bottom: 10px; }
.rappel p { font-size: 14px; color: var(--cream-dim); line-height: 1.7; }
.rappel a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s ease; }
.rappel a:hover { color: var(--cream); }

@media (max-width: 620px) {
  .field--duo { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .chips { grid-template-columns: repeat(2, 1fr); }
}
