/* =========================================================
   Carmin Restaurant — héros défilé & pages de la carte
   ========================================================= */

/* Transition douce entre les pages (navigateurs compatibles) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-out 0.45s var(--ease-in-out) both;
}

::view-transition-new(root) {
  animation: vt-in 0.6s var(--ease) both;
}

@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

.nav-side > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.drawer-links a[aria-current="page"] { color: var(--carmin-vif); }

.footer-top p a { line-height: 1.9; }

/* =========================================================
   Héros : la table se dresse au défilement
   ========================================================= */
.hero-scroll {
  position: relative;
  height: 360vh;
  background: var(--noir);
}

.hs-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hs-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hs-intro,
.hs-outro {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.hs-intro.is-on,
.hs-outro.is-on {
  opacity: 1;
}

.hs-outro.is-on { pointer-events: auto; }

.hs-veil {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hs-veil-top {
  top: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.88), rgba(10, 8, 7, 0));
}

.hs-veil-bottom {
  bottom: 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(10, 8, 7, 0.94) 0%, rgba(10, 8, 7, 0.55) 45%, rgba(10, 8, 7, 0));
}

.hs-intro-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) var(--gutter) 0;
  text-align: center;
}

.hs-kicker,
.hs-sub {
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ivoire-2);
}

.hs-sub {
  margin-top: 8px;
  padding-left: 0.42em;
  letter-spacing: 0.9em;
  color: var(--taupe);
}

.hs-title {
  margin: 14px 0 0;
  overflow: hidden;
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(104px, 21vw, 340px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ivoire);
}

.hs-title span,
.hs-kicker span,
.hs-sub span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.4s var(--ease);
}

.hs-title span { padding: 0 0.06em 0.08em; }

body.is-ready .hs-kicker span { transform: none; transition-delay: 0.15s; }
body.is-ready .hs-title span { transform: none; transition-delay: 0.25s; }
body.is-ready .hs-sub span { transform: none; transition-delay: 0.5s; }

.hs-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ivoire);
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.9s;
}

body.is-ready .hs-cue { opacity: 1; }

/* flèche : un trait qui coule, une pointe qui respire */
.hs-cue i {
  position: relative;
  width: 1px;
  height: 56px;
  overflow: visible;
  background: rgba(242, 233, 221, 0.22);
}

.hs-cue i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--carmin-vif);
  transform-origin: top;
  animation: cue-line 2.2s var(--ease-in-out) infinite;
}

.hs-cue i::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--ivoire);
  border-bottom: 1px solid var(--ivoire);
  transform: rotate(45deg);
  animation: cue-tip 2.2s var(--ease-in-out) infinite;
}

@keyframes cue-line {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@keyframes cue-tip {
  0%, 100% { transform: translateY(-4px) rotate(45deg); opacity: 0.5; }
  55% { transform: translateY(4px) rotate(45deg); opacity: 1; }
}

.hs-outro-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(36px, 8vh, 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 var(--gutter);
  text-align: center;
  transform: translateY(18px);
  transition: transform 0.9s var(--ease);
}

.hs-outro.is-on .hs-outro-inner { transform: none; }

.hs-out-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hs-out-title em { color: var(--carmin-vif); }

.hs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 30px;
}

.hs-tel {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 28px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(10, 8, 7, 0.35);
}

/* =========================================================
   Pages : en-tête
   ========================================================= */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 82vh;
  min-height: 82svh;
  padding: calc(var(--nav-h) + 60px) 0 clamp(64px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

.ph-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ph-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(0.85) contrast(1.05);
  transition: transform 2.4s var(--ease);
}

body.is-ready .ph-media img { transform: scale(1); }

.ph-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.7) 0%, rgba(10, 8, 7, 0.15) 35%, rgba(10, 8, 7, 0.6) 70%, var(--noir) 100%),
    linear-gradient(90deg, rgba(10, 8, 7, 0.75) 0%, rgba(10, 8, 7, 0) 70%);
}

.ph-content { position: relative; }

.ph-title {
  margin: 0 0 32px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 190px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.ph-title .line {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  vertical-align: top;
}

.ph-title em { color: var(--carmin-vif); padding-right: 0.06em; }

.ph-lede {
  max-width: 36em;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ivoire-2);
}

.ph-label[data-hero],
.ph-lede[data-hero] {
  display: flex;
  transform: translateY(20px);
}

.ph-lede[data-hero] { display: block; }

body.is-ready .ph-label[data-hero] { transition-delay: 0.1s; }
body.is-ready .ph-title .line:nth-child(1) [data-hero] { transition-delay: 0.2s; }
body.is-ready .ph-title .line:nth-child(2) [data-hero] { transition-delay: 0.32s; }
body.is-ready .ph-lede[data-hero] { transition-delay: 0.6s; }

.ph-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(64px, 10vh, 120px);
  width: 1px;
  height: 80px;
  padding: 0 10px;
  box-sizing: content-box;
}

.ph-cue i {
  position: absolute;
  inset: 0 10px;
  overflow: hidden;
  background: var(--line-strong);
}

.ph-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--carmin-vif);
  animation: drip 2.4s var(--ease-in-out) infinite;
}

/* =========================================================
   Pages : le livre (index collant + chapitres)
   ========================================================= */
.book {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 140px);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  scroll-margin-top: 40px;
}

.book-index {
  position: sticky;
  top: 120px;
  align-self: start;
}

.book-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.book-index a {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 9px 0 9px 22px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.4s;
}

.book-index a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--carmin-vif);
  transform: scaleY(0);
  transition: transform 0.6s var(--ease);
}

.book-index a em {
  min-width: 22px;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

.book-index a:hover { color: var(--ivoire-2); }
.book-index a.is-current { color: var(--ivoire); }
.book-index a.is-current::before { transform: scaleY(1); }
.book-index a.is-current em { color: var(--carmin-vif); }

.book-aside {
  margin: 36px 0 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--taupe);
}

.chapter {
  scroll-margin-top: 110px;
}

.chapter + .chapter { margin-top: clamp(80px, 9vw, 130px); }

.chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 22px;
  margin-bottom: 18px;
}

.chapter-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--carmin-vif);
}

.chapter-head h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.chapter-note {
  grid-column: 2;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--taupe);
}

/* liste de plats */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.menu-list li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--carmin-vif);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

.menu-list li:hover::after { transform: scaleX(1); }

.menu-list .dish-row h3 { transition: transform 0.6s var(--ease), color 0.4s; }
.menu-list li:hover .dish-row h3 { transform: translateX(8px); font-style: italic; }

.menu-list p {
  max-width: 34em;
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--taupe);
}

.sig {
  align-self: center;
  margin-left: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--carmin-vif);
}

.sides {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-family: var(--f-display);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.6;
}

.sides li:not(:last-child)::after {
  content: "·";
  margin: 0 0.55em;
  color: var(--carmin-vif);
}

.lunch {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 6px 32px;
  margin-top: clamp(80px, 9vw, 120px);
  padding: 40px clamp(24px, 4vw, 48px);
  background: var(--carmin);
}

.lunch-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.lunch-price {
  grid-row: span 2;
  margin: 0;
  text-align: right;
  font-family: var(--f-display);
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1;
}

.lunch p:last-child {
  grid-column: 1;
  max-width: 26em;
  margin: 0;
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.45;
}

.legal {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--taupe);
}

/* image qui suit le curseur */
.float-img {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: clamp(220px, 19vw, 300px);
  aspect-ratio: 4 / 5;
  margin: calc(clamp(220px, 19vw, 300px) * -0.62) 0 0 40px;
  pointer-events: none;
  will-change: transform;
}

.float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(50% 50% 50% 50%);
  opacity: 0;
  transform: scale(1.12);
  transition: clip-path 0.7s var(--ease), opacity 0.5s var(--ease), transform 0.9s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.float-img.is-on img {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: none;
}

/* appel final */
.page-cta {
  padding: clamp(100px, 12vw, 170px) 0;
  border-top: 1px solid var(--line);
  background: var(--encre);
  text-align: center;
}

.page-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cta .body { margin: 0 auto 40px; }

.carte-more,
.cave-more { margin-top: 36px; }

/* =========================================================
   Desserts : le soufflé
   ========================================================= */
.souffle {
  position: relative;
  height: 230vh;
  background: var(--encre);
  border-bottom: 1px solid var(--line);
}

.souffle-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
}

.souffle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
}

.souffle-clock {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
  justify-self: center;
}

.souffle-clock svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sc-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.sc-fill {
  fill: none;
  stroke: var(--carmin-vif);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.sc-time {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(72px, 9vw, 132px);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.02em;
}

.sc-time small {
  margin: 0 0.04em;
  font-size: 0.8em;
  color: var(--carmin-vif);
}

.sc-caption {
  position: absolute;
  bottom: 27%;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: opacity 0.5s;
}

.souffle-done {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--carmin-vif);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.souffle.is-done .souffle-done { opacity: 1; transform: none; }
.souffle.is-done .sc-caption { opacity: 0; }
.souffle.is-done .sc-time { color: var(--carmin-vif); transition: color 0.6s; }

.souffle-text .h-display { font-size: clamp(40px, 4.4vw, 68px); }

.trolley { margin-top: 10px; }

.trolley-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--taupe);
}

/* =========================================================
   Boissons : cocktails
   ========================================================= */
.cocktails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.cocktail {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 32px;
  background: var(--noir);
  transition: background 0.6s var(--ease);
}

.cocktail:hover { background: var(--sang); }

.cocktail-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--carmin-vif);
  transition: color 0.4s;
}

.cocktail:hover .cocktail-num { color: var(--ivoire-2); }

.cocktail h3 {
  margin: auto 0 10px;
  padding-top: 40px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
}

.cocktail p {
  max-width: 22em;
  min-height: 3.2em;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivoire-2);
}

.cocktail .price {
  position: absolute;
  top: 26px;
  right: 32px;
}

/* =========================================================
   La cave
   ========================================================= */
.somm {
  padding: clamp(100px, 12vw, 170px) 0;
  scroll-margin-top: 0;
}

.somm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

.somm-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.somm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.by-glass,
.winelist {
  padding: clamp(90px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.by-glass { background: var(--encre); }

.glasses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.glass {
  position: relative;
  padding: 30px 28px 34px;
  background: var(--encre);
  transition: background 0.5s var(--ease);
}

.glass:hover { background: var(--ebene); }

.glass-year {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--carmin-vif);
}

.glass h3 {
  margin: 34px 0 6px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(25px, 2.2vw, 31px);
  line-height: 1.1;
}

.glass p {
  margin: 0;
  font-size: 14px;
  color: var(--taupe);
}

.glass .price {
  position: absolute;
  top: 24px;
  right: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 18px;
}

.chips button {
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivoire-2);
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}

.chips button:hover { border-color: var(--ivoire-2); }

.chips button[aria-pressed="true"] {
  background: var(--carmin);
  border-color: var(--carmin);
  color: var(--ivoire);
}

.wines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.wine {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 110px 70px 80px;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.55s var(--ease), transform 0.65s var(--ease), background 0.4s;
  transition-delay: calc(var(--i, 0) * 35ms);
}

.wine[hidden] { display: none; }

.wines.is-filtering .wine {
  opacity: 0;
  transform: translateY(12px);
  transition-duration: 0.25s;
  transition-delay: 0s;
}

.wine-region,
.wine-col {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

.wines.is-filtered .wine-region { color: var(--carmin-vif); }

.wine-name h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.2;
}

.wine-name p {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--ivoire-2);
}

.wine-year {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--ivoire-2);
}

.wine .price { text-align: right; }

.vertical {
  padding: clamp(100px, 12vw, 170px) 0;
  background: var(--carmin);
}

.vert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
}

.vertical .chapter-num { display: block; margin-bottom: 18px; color: var(--ivoire); }
.vertical .h-display em { color: var(--noir); }
.vertical .body { color: rgba(242, 233, 221, 0.82); }

.vert-years {
  position: relative;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 233, 221, 0.3);
}

.vert-years button {
  padding: 0 4px 16px;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.1vw, 30px);
  color: rgba(242, 233, 221, 0.55);
  transition: color 0.4s;
}

.vert-years button:hover { color: var(--ivoire); }
.vert-years button[aria-selected="true"] { color: var(--ivoire); font-style: italic; }

.vert-ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ivoire);
  transition: transform 0.7s var(--ease), width 0.7s var(--ease);
}

.vert-notes {
  position: relative;
  display: grid;
  margin-top: 40px;
}

.vert-note {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s 0.5s;
}

.vert-note.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.12s, 0.12s, 0s;
}

.vert-year {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(80px, 10vw, 150px);
  line-height: 0.9;
  color: var(--noir);
  opacity: 0.5;
}

.vert-text {
  max-width: 26em;
  margin: 18px 0 26px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
}

.vert-price {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.vert-price .price { letter-spacing: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-side { gap: 18px; }
  .nav { letter-spacing: 0.18em; }
  .wine { grid-template-columns: minmax(0, 1fr) 100px 60px 70px; }
  .wine-region { display: none; }
}

@media (max-width: 900px) {
  .hs-cue { font-size: 11px; letter-spacing: 0.24em; }

  .book { grid-template-columns: minmax(0, 1fr); }
  .book-index {
    position: sticky;
    top: 70px;
    z-index: 5;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    background: rgba(10, 8, 7, 0.94);
    border-bottom: 1px solid var(--line);
  }
  .book-index ol {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    border: 0;
    scrollbar-width: none;
  }
  .book-index ol::-webkit-scrollbar { display: none; }
  .book-index a { padding: 16px 0; white-space: nowrap; gap: 8px; }
  .book-index a em { min-width: 0; }
  .book-index a::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 1px; transform: scaleX(0); }
  .book-index a.is-current::before { transform: scaleX(1); }
  .book-aside { display: none; }

  .souffle { height: 200vh; }
  .souffle-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .souffle-clock { width: min(62vw, 300px); }
  .souffle-text .h-display { font-size: clamp(34px, 8vw, 52px); margin-bottom: 16px; }
  .souffle-text .body { font-size: 15px; margin-bottom: 14px; }
  .souffle-text .label { margin-bottom: 14px; }

  .somm-grid,
  .vert-grid { grid-template-columns: minmax(0, 1fr); }
  .somm-media { aspect-ratio: 16 / 12; }
  .glasses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hs-title { font-size: clamp(88px, 30vw, 140px); }
  .hs-kicker { font-size: 10px; letter-spacing: 0.26em; }
  .hs-actions { flex-direction: column; gap: 14px; width: 100%; }
  .hs-actions .btn-solid,
  .hs-tel { width: 100%; justify-content: center; }
  .hs-tel { height: 52px; }
  .hs-out-title { font-size: 40px; }

  .page-hero { min-height: 74svh; }
  .ph-lede { font-size: 15.5px; }
  .ph-cue { display: none; }

  .chapter-head { column-gap: 14px; }
  .menu-list li { padding: 24px 0; }
  .menu-list .dish-row h3 { flex: 1; }
  .menu-list .dish-row .dots { display: none; }

  .lunch { grid-template-columns: 1fr; }
  .lunch-price { grid-row: auto; text-align: left; }

  .souffle-clock { width: 220px; }
  .sc-caption { bottom: 24%; font-size: 9.5px; }

  .cocktails,
  .glasses { grid-template-columns: minmax(0, 1fr); }
  .cocktail { min-height: 0; padding: 28px 24px; }
  .cocktail .price { right: 24px; }

  .wine { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; }
  .wine-name { grid-column: 1; }
  .wine .price { grid-column: 2; grid-row: 1; }
  .wine-col { grid-column: 1; }
  .wine-year { grid-column: 2; grid-row: 2; text-align: right; font-size: 17px; }

  .vert-years button { font-size: 18px; padding: 0 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .float-img { display: none; }
}

/* =========================================================
   Fond vidéo de page piloté par le défilement (accueil, desserts)
   ========================================================= */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* la plus grande hauteur d'écran : quand la barre d'adresse mobile se replie,
     le canvas ne change pas de taille, donc rien n'est recalculé en plein geste */
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  contain: strict;
}

.page-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* aucun filtre par-dessus la vidéo */
.has-page-bg .grain { display: none; }

/* sections rendues transparentes pour laisser voir la vidéo */
.has-page-bg .hero-scroll,
.has-page-bg .marquee,
.has-page-bg .tasting,
.has-page-bg .salons,
.has-page-bg .cave,
.has-page-bg .souffle,
.has-page-bg .page-cta {
  background: transparent;
}

.has-page-bg .reserve-bg,
.has-page-bg .ph-media,
.has-page-bg .ph-veil,
.has-page-bg .tasting::before { display: none; }

.has-page-bg .cave,
.has-page-bg .page-cta,
.has-page-bg .souffle { border: 0; }

/* le menu dégustation perd son aplat rouge : ses textes sombres repassent en clair */
.has-page-bg .tasting { color: var(--ivoire); }
.has-page-bg .label-dark,
.has-page-bg .label-dark .num { color: var(--ivoire-2); }
.has-page-bg .label-dark .num { color: var(--carmin-vif); }
.has-page-bg .tasting-title em { color: var(--carmin-vif); }
.has-page-bg .tasting-prices,
.has-page-bg .tasting-prices p,
.has-page-bg .courses li,
.has-page-bg .courses li:first-child { border-color: var(--line); }
.has-page-bg .tasting-note,
.has-page-bg .courses p { color: var(--ivoire-2); }
.courses li { grid-template-columns: minmax(0, 1fr); }

/* ---------- Le héros se fond dans la vidéo de la page ----------
   --hs-fade (0 → 1) est posé par hero-scroll.js sur la fin de course :
   la table se dissout sur place, sans bord qui remonte l'écran. */
.has-page-bg .hs-canvas {
  opacity: calc(1 - var(--hs-fade, 0));
  transform: scale(calc(1 + var(--hs-fade, 0) * 0.06));
  will-change: opacity, transform;
}

.has-page-bg .hs-outro .hs-veil-bottom { opacity: calc(1 - var(--hs-fade, 0)); }

/* ---------- Panneaux : la carte de menu posée devant la vidéo ----------
   Laque sombre, filet ivoire et quatre petits carrés blancs aux angles.
   Pas de flou d'arrière-plan : la vidéo change à chaque image, le navigateur devrait
   recalculer le flou de chaque panneau 60 fois par seconde. */
.has-page-bg {
  --pane-bg: rgba(12, 9, 8, 0.8);
  --pane-line: rgba(242, 233, 221, 0.14);
  --pane-mark: rgba(242, 233, 221, 0.92);
  --pane-pad: clamp(30px, 3.8vw, 60px);
}

.has-page-bg :is(
  .manifesto-text,
  .pillars,
  .chef-body,
  .carte > .wrap,
  .tasting-head,
  .courses,
  .salons-intro,
  .cave-body,
  .press > .wrap,
  .reserve-intro,
  .hs-outro-inner,
  .souffle-grid,
  .chapter,
  .page-cta-inner
) {
  padding: var(--pane-pad);
  border: 1px solid var(--pane-line);
  background:
    linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px top -1px / 5px 5px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px top -1px / 5px 5px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px bottom -1px / 5px 5px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px bottom -1px / 5px 5px no-repeat border-box,
    var(--pane-bg);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.85);
}

/* les panneaux qui étaient des conteneurs pleine largeur gardent leur marge latérale */
.has-page-bg :is(.carte > .wrap, .press > .wrap, .souffle-grid) {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.has-page-bg .manifesto-text { max-width: 24em; margin-left: auto; margin-right: auto; }
.has-page-bg .manifesto-text { font-size: clamp(26px, 3.3vw, 50px); }
.has-page-bg .tasting-head { align-self: start; }
.has-page-bg .courses li:first-child { border-top: 0; padding-top: 0; }
.has-page-bg .courses li:last-child { border-bottom: 0; padding-bottom: 0; }
.has-page-bg .salons-intro { width: min(440px, 36vw); }
.has-page-bg .press { padding-left: 0; padding-right: 0; }

/* en-tête des desserts : le haut de la vidéo est un noir profond, le titre s'y pose
   sans panneau, et l'assiette reste entièrement visible dessous */
.has-page-bg .page-hero {
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(16px, 4vh, 48px));
  text-align: center;
}
.has-page-bg .ph-content { display: flex; flex-direction: column; align-items: center; }
.has-page-bg .ph-label { justify-content: center; }
.has-page-bg .ph-title { margin-bottom: 18px; font-size: clamp(52px, 7.4vw, 116px); text-shadow: 0 2px 30px rgba(10, 8, 7, 0.6); }
.has-page-bg .ph-content { position: static; }

/* l'accroche devient une petite carte posée en bas à gauche, hors de l'assiette */
.has-page-bg .ph-lede {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  width: min(360px, calc(100% - 2 * var(--gutter)));
  margin: 0;
  padding: 24px 26px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  border: 1px solid var(--pane-line);
  background:
    linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px top -1px / 5px 5px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px top -1px / 5px 5px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px bottom -1px / 5px 5px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px bottom -1px / 5px 5px no-repeat border-box,
    var(--pane-bg);
}
.has-page-bg .page-cta-inner { width: min(760px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }

/* la formule finale du héros : un cartouche discret, centré */
.has-page-bg .hs-outro-inner {
  left: 50%;
  right: auto;
  width: min(880px, calc(100% - 2 * var(--gutter)));
  padding: clamp(26px, 3vw, 44px) clamp(22px, 3.4vw, 52px);
  --pane-bg: rgba(12, 9, 8, 0.62);
  transform: translate(-50%, 18px);
}
.has-page-bg .hs-outro.is-on .hs-outro-inner { transform: translate(-50%, 0); }

/* légendes des salons : un fin bandeau sous chaque photo */
.has-page-bg .salon figcaption {
  margin-top: 0;
  padding: 18px 22px;
  background: rgba(10, 8, 7, 0.72);
  border: 1px solid var(--pane-line);
  border-top: 0;
}

/* bandeau défilant : une bande de verre fumé */
.has-page-bg .marquee {
  background: rgba(10, 8, 7, 0.5);
}

/* index des chapitres : panneau sur grand écran (bandeau sur mobile) */
@media (min-width: 901px) {
  .has-page-bg .book-index {
    padding: 30px 28px;
    border: 1px solid var(--pane-line);
    background:
      linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px top -1px / 5px 5px no-repeat border-box,
      linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px bottom -1px / 5px 5px no-repeat border-box,
      var(--pane-bg);
  }
}

.has-page-bg .chapter + .chapter { margin-top: clamp(40px, 5vw, 72px); }

}

@media (max-width: 760px) {
  .has-page-bg { --pane-pad: 26px 22px; --pane-bg: rgba(12, 9, 8, 0.82); }
  .has-page-bg .hs-outro-inner { padding: 24px 20px; gap: 22px; }
}

@media (max-width: 900px) {
  .has-page-bg .salons-intro { width: auto; margin: 0 var(--gutter) 48px; padding: var(--pane-pad); }
}

/* libellés restés hors panneau : une ombre douce, locale */
.has-page-bg .manifesto > .wrap > .label { text-shadow: 0 1px 14px rgba(10, 8, 7, 0.9); }

/* le formulaire de réservation est aussi posé sur la vidéo : pas de flou recalculé */
.has-page-bg .reserve-form {
  background: rgba(17, 12, 11, 0.9);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* =========================================================
   Cartes ivoire et carmin
   Le papier d'une carte de restaurant posé devant la vidéo : fond ivoire, encre brune,
   filet carmin, quatre petits carrés carmin aux angles et un second filet en retrait.
   Les couleurs du site sont redéfinies dans la carte : tout ce qui y est écrit
   passe en encre sans réécrire chaque composant.
   ========================================================= */
.has-page-bg :is(
  .manifesto-text,
  .pillars,
  .chef-body,
  .carte > .wrap,
  .tasting-head,
  .courses,
  .salons-intro,
  .cave-body,
  .press > .wrap,
  .reserve-intro,
  .page-cta-inner
),
.page-desserts :is(.chapter, .page-cta-inner) {
  --pane-bg: rgba(248, 243, 236, 0.97);
  --pane-line: rgba(158, 27, 34, 0.34);
  --pane-mark: var(--carmin);
  --ivoire: #1b1211;
  --ivoire-2: #4a3c35;
  --taupe: #7a6a5f;
  --line: rgba(27, 18, 17, 0.12);
  --line-strong: rgba(27, 18, 17, 0.26);
  --carmin-vif: #a91f26;
  color: var(--ivoire);
  outline: 1px solid rgba(158, 27, 34, 0.16);
  outline-offset: -9px;
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.95);
}

/* les mots du manifeste s'allument en encre */
.has-page-bg .manifesto-text .w { color: rgba(27, 18, 17, 0.14); }

/* un bouton plein garde son texte clair */
.has-page-bg :is(.chef-body, .carte > .wrap, .cave-body, .reserve-intro, .page-cta-inner) .btn-solid,
.page-desserts .page-cta-inner .btn-solid { color: #f8f3ec; }

/* les desserts reçoivent les mêmes cartes, sur le fond noir de la page */
.page-desserts :is(.chapter, .page-cta-inner) {
  padding: clamp(28px, 3.6vw, 56px);
  border: 1px solid var(--pane-line);
  background:
    linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) left -1px bottom -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--pane-mark), var(--pane-mark)) right -1px bottom -1px / 6px 6px no-repeat border-box,
    var(--pane-bg);
}
.page-desserts .chapter + .chapter { margin-top: clamp(40px, 5vw, 72px); }
.page-desserts .page-cta-inner { width: min(760px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }

/* =========================================================
   Héros des pages intérieures (plats, desserts) : 320vh, la vidéo sur toute la course
   ========================================================= */
.hero-scroll--page { height: 320vh; }
.hero-scroll--page .hs-title { font-size: clamp(68px, 12.5vw, 210px); letter-spacing: -0.03em; }
@media (max-width: 760px) {
  .hero-scroll--page .hs-title { font-size: clamp(52px, 16vw, 96px); }
}

/* =========================================================
   Desserts : la signature (la sphère)
   ========================================================= */
.dsig {
  padding: clamp(90px, 11vw, 170px) 0;
  background: var(--noir);
}

.dsig-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}

.dsig-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.dsig-media img { width: 100%; height: 100%; object-fit: cover; }

/* le cadre de la photo : un filet carmin décalé et ses deux carrés */
.dsig-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(248, 243, 236, 0.5);
  background:
    linear-gradient(#f8f3ec, #f8f3ec) left -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(#f8f3ec, #f8f3ec) right -1px bottom -1px / 6px 6px no-repeat border-box;
  pointer-events: none;
}

.dsig-text .h-display { margin: 18px 0 26px; }
.dsig-text .h-display em { color: var(--carmin-vif); }
.dsig-text .body { max-width: 30em; margin: 0; }

.dsig-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(36px, 4vw, 54px) 0 0;
  border-top: 1px solid var(--line-strong);
}

.dsig-facts div { padding: 22px 18px 0 0; }
.dsig-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }

.dsig-facts dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--taupe);
}

.dsig-facts dt::before { content: ""; width: 5px; height: 5px; background: var(--carmin-vif); }

.dsig-facts dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.3;
  color: var(--ivoire);
}

@media (max-width: 900px) {
  .dsig-grid { grid-template-columns: minmax(0, 1fr); }
  .dsig-media { aspect-ratio: 4 / 4.4; }
  .dsig-facts { grid-template-columns: minmax(0, 1fr); }
  .dsig-facts div,
  .dsig-facts div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* desserts : le haut de la vidéo est un noir profond, le titre s'y pose
   et l'assiette reste entièrement visible dessous */
.hero-scroll--top .hs-intro-inner {
  justify-content: flex-start;
  padding-top: calc(var(--nav-h) + clamp(10px, 3vh, 36px));
}
.hero-scroll--top .hs-title { font-size: clamp(56px, 8.2vw, 136px); }
.hero-scroll--top .hs-sub { color: var(--ivoire-2); }
@media (max-width: 760px) {
  .hero-scroll--top .hs-title { font-size: clamp(46px, 13.5vw, 80px); }
}

/* =========================================================
   Assiettes signature : carrousel en orbite (accueil)
   Une carte ivoire épinglée pendant le défilement. À gauche, les assiettes tournent sur
   un arc autour d'un pivot caché sous la scène ; à droite, le nom, la fiche et les vignettes.
   ========================================================= */
.orbit {
  position: relative;
  height: calc(100vh * (1 + (var(--n) - 1) * 0.7));
  height: calc(100svh * (1 + (var(--n) - 1) * 0.7));
}

.orbit-stage {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  padding: calc(var(--nav-h) + 8px) var(--gutter) clamp(16px, 3vh, 32px);
}

.orbit-pane {
  --ivoire: #1b1211;
  --ivoire-2: #4a3c35;
  --taupe: #7a6a5f;
  --line: rgba(27, 18, 17, 0.12);
  --line-strong: rgba(27, 18, 17, 0.26);
  --carmin-vif: #a91f26;
  --mark: var(--carmin);
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "pager scene head"
    "pager scene title"
    "pager scene info"
    "pager scene strip";
  column-gap: clamp(20px, 3vw, 48px);
  width: 100%;
  max-width: calc(1360px - 2 * var(--gutter));
  height: min(100%, 780px);
  padding: clamp(28px, 3.4vw, 54px) clamp(28px, 3.4vw, 54px) clamp(24px, 3vw, 44px) clamp(18px, 2vw, 30px);
  color: var(--ivoire);
  border: 1px solid rgba(158, 27, 34, 0.34);
  outline: 1px solid rgba(158, 27, 34, 0.16);
  outline-offset: -9px;
  background:
    linear-gradient(var(--mark), var(--mark)) left -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--mark), var(--mark)) right -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--mark), var(--mark)) left -1px bottom -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--mark), var(--mark)) right -1px bottom -1px / 6px 6px no-repeat border-box,
    rgba(248, 243, 236, 0.97);
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

/* ---------- Pastilles verticales ---------- */
.orbit-pager {
  grid-area: pager;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
}

.orbit-dot {
  position: relative;
  padding: 9px 14px 9px 0;
  font: 500 11px/1 var(--f-text);
  letter-spacing: 0.12em;
  color: var(--taupe);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.4s var(--ease);
}

.orbit-dot::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--carmin);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}

.orbit-dot:hover { color: var(--ivoire); }
.orbit-dot[aria-current="true"] { color: var(--carmin); }
.orbit-dot[aria-current="true"]::after { transform: scaleY(1); }

/* ---------- Scène : arc, halo, assiettes ---------- */
.orbit-scene {
  grid-area: scene;
  position: relative;
  min-height: 0;
  overflow: hidden;
  contain: layout paint;
}

.orbit-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.oa-track { fill: none; stroke: rgba(27, 18, 17, 0.16); stroke-width: 1; stroke-dasharray: 2 6; }
.oa-band { fill: none; stroke: var(--carmin); stroke-width: 2; stroke-linecap: round; }

/* nappe colorée sous l'assiette active : la teinte du plat */
.orbit-halo,
.orbit-plate {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(74%, 62vh, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
}

.orbit-halo {
  width: min(86%, 72vh, 548px);
  background-color: #c8553d;
  opacity: 0.1;
}

.orbit-arm {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.orbit-plate {
  overflow: hidden;
  background: #e9e1d6;
  box-shadow:
    0 0 0 1px rgba(158, 27, 34, 0.22),
    0 0 0 9px rgba(248, 243, 236, 0.9),
    0 0 0 10px rgba(27, 18, 17, 0.08),
    0 34px 60px -24px rgba(27, 18, 17, 0.55);
  will-change: transform;
}

.orbit-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

/* ---------- En-tête, titres, fiche ---------- */
.orbit-head { grid-area: head; align-self: start; }

.orbit-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding-bottom: 16px;
  font: 500 11px/1.4 var(--f-text);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--carmin);
  border-bottom: 1px solid var(--line);
}

.orbit-lede {
  max-width: 13em;
  margin: clamp(16px, 2.6vh, 26px) 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  color: var(--ivoire-2);
}

.orbit-lede em { color: var(--carmin-vif); }

.orbit-count { font-variant-numeric: tabular-nums; letter-spacing: 0.14em; color: var(--taupe); }
.orbit-count b { font-weight: 500; color: var(--ivoire); }

.orbit-titles {
  grid-area: title;
  align-self: end;
  display: grid;
  padding: clamp(18px, 3vh, 34px) 0 clamp(16px, 2.4vh, 26px);
}

.orbit-title {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-weight: 400;
  opacity: 0;
}

.orbit-title span { clip-path: inset(-35% 100% -35% 0%); }

.ot-cat {
  margin-bottom: 14px;
  font: 500 11px/1 var(--f-text);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.ot-a,
.ot-b {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.012em;
}

.ot-b { font-style: italic; color: var(--carmin-vif); padding-left: 0.9em; }

.orbit-info { grid-area: info; }

.orbit-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 18px;
}

.orbit-tabs button {
  position: relative;
  padding: 0 0 8px;
  font: 500 11px/1 var(--f-text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  background: none;
  border: 0;
  cursor: pointer;
}

.orbit-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--carmin);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.orbit-tabs [aria-selected="true"] { color: var(--ivoire); }
.orbit-tabs [aria-selected="true"]::after { transform: scaleX(1); }

.orbit-cards { display: grid; }
.orbit-card { grid-area: 1 / 1; opacity: 0; }

.oc-desc {
  max-width: 26em;
  min-height: 3.4em;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  color: var(--ivoire-2);
}

.oc-comp {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ivoire-2);
}

.oc-comp li { display: flex; gap: 10px; }
.oc-comp li::before { content: ""; flex: none; width: 4px; height: 4px; margin-top: 0.6em; background: var(--carmin); }

.orbit-cards[data-view="comp"] .oc-desc { display: none; }
.orbit-cards[data-view="comp"] .oc-comp { display: grid; }

.oc-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(16px, 2.6vh, 26px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.oc-wine { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ivoire-2); }
.oc-wine span {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* le prix : un cartouche carmin, comme un sceau */
.oc-price {
  flex: none;
  margin: 0;
  padding: 10px 14px 9px;
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1;
  color: #f8f3ec;
  background: var(--carmin);
  font-variant-numeric: lining-nums;
}

.oc-price small { margin-left: 3px; font-size: 15px; opacity: 0.8; }

/* ---------- Vignettes et flèches ---------- */
.orbit-strip {
  grid-area: strip;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 30px);
}

.orbit-thumbs { display: flex; gap: 10px; flex: 1; justify-content: center; }

.orbit-thumb {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background: #e9e1d6;
  box-shadow: 0 0 0 1px var(--line-strong);
  opacity: 0.55;
  filter: grayscale(0.6);
  transition: opacity 0.4s var(--ease), box-shadow 0.4s var(--ease), filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.orbit-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.orbit-thumb:hover { opacity: 0.9; filter: none; }

.orbit-thumb[aria-current="true"] {
  opacity: 1;
  filter: none;
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--carmin), 0 0 0 4px rgba(248, 243, 236, 1), 0 0 0 5px rgba(158, 27, 34, 0.35);
}

.orbit-arrow {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.orbit-arrow i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--ivoire);
  border-bottom: 1px solid var(--ivoire);
  transform: translate(-30%, -50%) rotate(45deg);
}

.orbit-arrow--next i { transform: translate(-70%, -50%) rotate(-135deg); }
.orbit-arrow:hover { border-color: var(--carmin); background: rgba(158, 27, 34, 0.06); }

.orbit :focus-visible { outline: 1px solid var(--carmin); outline-offset: 3px; }

/* avant le script : la première assiette, posée */
.orbit:not(.is-ready) .orbit-title:first-child,
.orbit:not(.is-ready) .orbit-card:first-child { opacity: 1; }
.orbit:not(.is-ready) .orbit-title:first-child span { clip-path: none; }
.orbit:not(.is-ready) .orbit-arm + .orbit-arm { opacity: 0; }

/* ---------- Tablette et téléphone : tout s'empile ---------- */
@media (max-width: 900px) {
  .orbit-stage { padding: calc(var(--nav-h) + 4px) 14px 14px; }

  .orbit-pane {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
    grid-template-areas: "head" "scene" "pager" "title" "info";
    height: 100%;
    max-height: 760px;
    padding: 22px 22px 22px;
  }

  .orbit-pager {
    flex-direction: row;
    justify-content: center;
    gap: 2px;
    padding-top: 4px;
    border-right: 0;
  }

  .orbit-dot { padding: 10px 9px; font-size: 10px; }
  .orbit-dot::after { left: 9px; right: 9px; top: auto; bottom: 2px; width: auto; height: 1px; transform: scaleX(0); }
  .orbit-dot[aria-current="true"]::after { transform: scaleX(1); }

  .orbit-eyebrow { padding-bottom: 12px; font-size: 10px; letter-spacing: 0.2em; }
  .orbit-lede { display: none; }
  .orbit-halo, .orbit-plate { top: 50%; width: min(70%, 44svh, 360px); }
  .orbit-halo { width: min(82%, 51svh, 420px); }
  .orbit-plate {
    box-shadow:
      0 0 0 1px rgba(158, 27, 34, 0.22),
      0 0 0 6px rgba(248, 243, 236, 0.9),
      0 22px 40px -18px rgba(27, 18, 17, 0.55);
  }

  .orbit-titles { padding: 8px 0 12px; }
  .ot-cat { margin-bottom: 8px; font-size: 10px; }
  .ot-a, .ot-b { font-size: clamp(30px, 8.6vw, 44px); }
  .orbit-tabs { gap: 20px; margin-bottom: 12px; }
  .oc-desc { min-height: 0; font-size: 17px; }
  .oc-comp { grid-template-columns: 1fr; gap: 5px; font-size: 13.5px; }
  .oc-foot { margin-top: 14px; padding-top: 12px; }
  .oc-price { font-size: 22px; padding: 8px 11px 7px; }
  .orbit-strip { display: none; }
}

/* petits écrans peu hauts (iPhone SE, 6S) : on resserre */
@media (max-width: 900px) and (max-height: 700px) {
  .orbit-pane { padding: 16px 18px 18px; }
  .orbit-tabs { display: none; }
  .orbit-cards[data-view] .oc-comp { display: none; }
  .orbit-cards[data-view] .oc-desc { display: block; font-size: 15.5px; }
  .ot-a, .ot-b { font-size: clamp(28px, 8vw, 38px); }
  .oc-foot { margin-top: 10px; padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-arm, .orbit-plate { will-change: auto; }
}

/* ---------- Nos spécialités : la carte passe en noir laqué, écriture ivoire ---------- */
.orbit-pane {
  --ivoire: #f4ece1;
  --ivoire-2: #d6cabb;
  --taupe: #9a8c80;
  --line: rgba(244, 236, 225, 0.12);
  --line-strong: rgba(244, 236, 225, 0.26);
  --carmin-vif: #d23a40;
  --mark: var(--carmin-vif);
  border-color: rgba(244, 236, 225, 0.16);
  outline-color: rgba(210, 58, 64, 0.22);
  background:
    linear-gradient(var(--mark), var(--mark)) left -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--mark), var(--mark)) right -1px top -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--mark), var(--mark)) left -1px bottom -1px / 6px 6px no-repeat border-box,
    linear-gradient(var(--mark), var(--mark)) right -1px bottom -1px / 6px 6px no-repeat border-box,
    radial-gradient(120% 90% at 28% 45%, #1a1312 0%, #0c0908 62%) padding-box;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 1);
}

.orbit-eyebrow { color: var(--carmin-vif); }
.oa-track { stroke: rgba(244, 236, 225, 0.22); }
.orbit-halo { opacity: 0.2; }
.orbit-plate {
  background: #1a1312;
  box-shadow:
    0 0 0 1px rgba(210, 58, 64, 0.35),
    0 0 0 9px rgba(244, 236, 225, 0.92),
    0 0 0 10px rgba(244, 236, 225, 0.2),
    0 40px 70px -24px rgba(0, 0, 0, 0.9);
}
.orbit-thumb { background: #1a1312; }
.orbit-thumb[aria-current="true"] {
  box-shadow: 0 0 0 1px var(--carmin-vif), 0 0 0 4px #110c0b, 0 0 0 5px rgba(244, 236, 225, 0.5);
}
.orbit-arrow:hover { border-color: var(--carmin-vif); background: rgba(210, 58, 64, 0.1); }
.orbit-dot[aria-current="true"] { color: var(--carmin-vif); }
.orbit-dot::after { background: var(--carmin-vif); }

/* pastilles sans numéros : de petits carrés, le carmin marque l'assiette posée */
.orbit-dot { padding: 11px 16px 11px 0; }
.orbit-dot span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--line-strong);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.orbit-dot:hover span { background: var(--ivoire-2); }
.orbit-dot[aria-current="true"] span { background: var(--carmin-vif); transform: scale(1.35); }

@media (max-width: 900px) {
  .orbit-plate {
    box-shadow:
      0 0 0 1px rgba(210, 58, 64, 0.35),
      0 0 0 6px rgba(244, 236, 225, 0.92),
      0 26px 44px -18px rgba(0, 0, 0, 0.9);
  }
  .orbit-dot { padding: 12px 10px; }
  .orbit-dot::after { display: none; }
}

/* ---------- Ils en parlent : flèches de part et d'autre des tirets ---------- */
.press-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}

.press-nav .press-dots { margin-top: 0; }

.press-arrow {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.press-arrow i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--ivoire);
  border-bottom: 1px solid var(--ivoire);
  transform: translate(-30%, -50%) rotate(45deg);
}

.press-arrow--next i { transform: translate(-70%, -50%) rotate(-135deg); }
.press-arrow:hover { border-color: var(--carmin-vif); background: rgba(158, 27, 34, 0.07); }
.press-arrow:active { transform: scale(0.94); }
.press-arrow:focus-visible { outline: 1px solid var(--carmin-vif); outline-offset: 3px; }
