/* Le Longueville — brasserie & fruits de mer, Dinan
   Couleurs relevées dans la salle : plafond bleu nuit, murs safran, rouge du logo. */

:root {
  --paper: #F4EEE3;
  --paper-2: #ECE4D6;
  --card: #FBF8F2;
  --ink: #1B1D26;
  --ink-2: #4B4C55;
  --navy: #1E2849;
  --navy-2: #172040;
  --red: #A12F2A;
  --saffron: #D6973A;
  --line: #D9CFBE;
  --line-dark: rgba(244, 238, 227, .2);

  --serif: "Libre Caslon Display", Georgia, serif;
  --text-serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, summary, select, label { touch-action: manipulation; }
::selection { background: var(--saffron); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Typo */
.t1 { font-family: var(--serif); font-size: clamp(52px, 9.4vw, 150px); line-height: .92; letter-spacing: -.025em; }
.t2 { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.018em; }
.t3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.fine { font-size: 15px; color: var(--ink-2); }
.label { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }
.on-dark { background: var(--navy); color: var(--paper); }
.on-dark .lead, .on-dark .muted, .on-dark .fine, .on-dark .label { color: rgba(244,238,227,.74); }

/* Découpage des titres (mots) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 0; overflow: hidden;
  background: var(--ink); color: var(--paper); font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  isolation: isolate; transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { border-color: var(--red); }
.btn:active { transform: scale(.985); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper::before { background: var(--saffron); }
.btn--paper:hover { border-color: var(--saffron); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(244,238,227,.5); }
.btn--ghost-light::before { background: var(--paper); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--paper); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ul { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease-out); }
.ul:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Intro (première visite) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--paper); display: grid; place-items: center; pointer-events: none; animation: introsafe 0s 3.5s forwards; }
@keyframes introsafe { to { visibility: hidden; } }
.intro img { width: 64px; height: auto; }
.intro i { position: absolute; left: 50%; bottom: 38%; width: 120px; height: 1px; margin-left: -60px; background: var(--line); overflow: hidden; }
.intro i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; animation: introbar 1s var(--ease-out) forwards; }
@keyframes introbar { to { transform: scaleX(1); } }
.intro.is-done { display: none; }
.no-intro .intro { display: none; }

/* Transition entre pages */
.veil { position: fixed; inset: 0; z-index: 250; background: var(--navy); transform: translateY(100%); pointer-events: none; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--ink); transition: color .35s, background-color .35s, border-color .35s, transform .45s var(--ease-out); border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(244, 238, 227, .96); border-bottom-color: var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top.is-hidden { transform: translateY(-100%); }
.top--over:not(.is-solid) { color: var(--paper); }
.top__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.top__nav { display: flex; gap: 28px; }
.top__nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.top__nav a:hover, .top__nav a[aria-current="page"] { background-size: 100% 1px; }
.top__logo { display: block; position: relative; }
.top__logo img { height: 48px; width: auto; transition: opacity .35s; }
.top__logo .on-photo { position: absolute; inset: 0; opacity: 0; }
.top--over:not(.is-solid) .top__logo .on-photo { opacity: 1; }
.top--over:not(.is-solid) .top__logo .on-paper { opacity: 0; }
.top__end { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.top__tel { font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.top__end .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.top--over:not(.is-solid) .top__end .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.burger { display: none; width: 48px; height: 48px; margin-left: -12px; border: 0; background: none; cursor: pointer; position: relative; color: inherit; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }
.menu-open .top { background: var(--paper); color: var(--ink); }
.menu-open .top .top__logo .on-photo { opacity: 0; }
.menu-open .top .top__logo .on-paper { opacity: 1; }

.drawer { position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: calc(var(--header-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease-out), visibility 0s .6s; }
.drawer.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .6s var(--ease-out); }
.drawer a:not(.btn) { font-family: var(--serif); font-size: clamp(34px, 9vw, 48px); line-height: 1.1; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 28px; }
.drawer p { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

@media (max-width: 1040px) {
  .top__in { grid-template-columns: auto 1fr auto; }
  .top__nav, .top__tel { display: none; }
  .burger { display: block; }
  .top__logo { justify-self: center; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .top__logo img { height: 34px; }
  .top__end .btn { padding: 0 14px; }
  .top__end .btn .long { display: none; }
}
@media (min-width: 481px) { .top__end .btn .short { display: none; } }

/* ---------- Hero plein écran ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; color: var(--paper); overflow: hidden; background: var(--navy-2); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: center 55%; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,30,.55) 0%, rgba(15,18,30,0) 26%, rgba(15,18,30,0) 45%, rgba(15,18,30,.78) 100%); pointer-events: none; }
.hero__in { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-bottom: clamp(28px, 5vw, 64px); }
.hero .t1 { max-width: 10ch; }
.hero__card { width: min(360px, 100%); background: rgba(244,238,227,.96); color: var(--ink); padding: 22px 24px 24px; }
.hero__card .status { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 0 0 4px; }
.hero__card .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #999; }
.hero__card .status.is-open::before { background: #3E8E5A; }
.hero__card p { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }
.hero__card .btn { width: 100%; }
.scrollcue { position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 1px; height: 54px; background: rgba(244,238,227,.3); overflow: hidden; }
.scrollcue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 820px) {
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
  .hero::after { display: none; }
  .hero__media { position: relative; height: 62svh; min-height: 340px; overflow: hidden; }
  .hero__media::after { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(rgba(15,18,30,.5), transparent); }
  .hero__in { grid-template-columns: 1fr; padding-top: 28px; }
  .hero .t1 { max-width: none; }
  .hero__card { width: 100%; background: var(--card); border: 1px solid var(--line); }
  .scrollcue { display: none; }
}

/* ---------- Intro + image qui s'agrandit ---------- */
.statement { padding: clamp(96px, 13vw, 180px) 0 clamp(48px, 6vw, 80px); }
.statement__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement p.big { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.statement .side p { margin: 0 0 20px; }
@media (max-width: 860px) { .statement__grid { grid-template-columns: 1fr; } }
.grow { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.grow__img { position: absolute; inset: 0; clip-path: inset(18% 24% 18% 24%); will-change: clip-path; }
.grow__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.grow__cap { position: absolute; left: var(--gutter); bottom: 24px; z-index: 2; color: var(--paper); font-size: 14px; opacity: 0; }
.no-motion .grow, .grow.is-static { height: auto; min-height: 0; }
.no-motion .grow__img, .grow.is-static .grow__img { position: relative; clip-path: none; aspect-ratio: 16 / 9; }
.no-motion .grow__img img, .grow.is-static .grow__img img { transform: none; }
@media (max-width: 820px) {
  .grow { height: auto; min-height: 0; padding-inline: var(--gutter); }
  .grow__img { position: relative; clip-path: none !important; aspect-ratio: 4 / 3; }
  .grow__img img { transform: none !important; }
}

/* ---------- Groupes (accueil) + simulateur ---------- */
.sec { padding: clamp(80px, 11vw, 160px) 0; }
.grp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.grp-head .lead { margin: 0; }
@media (max-width: 860px) { .grp-head { grid-template-columns: 1fr; } }

.cfg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line-dark); }
.cfg__stage { position: relative; padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 24px; min-height: 520px; }
.cfg__count { display: flex; align-items: baseline; gap: 14px; }
.cfg__count output { font-family: var(--serif); font-size: clamp(72px, 8vw, 128px); line-height: .85; font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.cfg__count span { font-size: 17px; color: rgba(244,238,227,.75); }
.cfg__plan { flex: 1; display: grid; place-items: center; min-height: 260px; }
.cfg__plan svg { width: 100%; height: auto; max-height: 360px; overflow: visible; }
.cfg__plan .tbl { fill: rgba(244,238,227,.08); stroke: rgba(244,238,227,.35); stroke-width: 1; }
.cfg__plan .seat { fill: transparent; stroke: rgba(244,238,227,.22); stroke-width: 1; transition: fill .35s var(--ease-out), stroke .35s, transform .45s var(--ease-out); transform-box: fill-box; transform-origin: center; transform: scale(.55); }
.cfg__plan .seat.on { fill: var(--paper); stroke: var(--paper); transform: scale(1); }
.cfg__plan .seat.free { fill: var(--saffron); stroke: var(--saffron); }
.cfg__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: rgba(244,238,227,.75); }
.cfg__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; background: var(--paper); }
.cfg__legend i.free { background: var(--saffron); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--saffron), var(--saffron)) 0 / var(--p, 0%) 100% no-repeat, rgba(244,238,227,.25); }
.range::-moz-range-track { height: 2px; background: rgba(244,238,227,.25); }
.range::-moz-range-progress { height: 2px; background: var(--saffron); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 0 0 6px rgba(244,238,227,.14); transition: box-shadow .2s; }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 0; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(214,151,58,.55); }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: rgba(244,238,227,.6); margin-top: -4px; }

.cfg__panel { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.cfg fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cfg legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: rgba(244,238,227,.72); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: 10px 14px; border: 1px solid var(--line-dark); transition: background-color .25s, border-color .25s, color .25s; }
.opt b { font-weight: 500; font-size: 15px; }
.opt small { font-size: 13px; color: rgba(244,238,227,.66); }
.opt:hover span { border-color: rgba(244,238,227,.55); }
.opt input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.opt input:checked + span small { color: var(--ink-2); }
.opt input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.opt input:disabled + span { opacity: .35; cursor: not-allowed; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opts--4 .opt span { min-height: 50px; align-items: center; text-align: center; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0; cursor: pointer; font-size: 15px; }
.toggle input { -webkit-appearance: none; appearance: none; width: 46px; height: 26px; border-radius: 13px; background: rgba(244,238,227,.2); position: relative; cursor: pointer; transition: background-color .25s; flex: none; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); transition: transform .3s var(--ease-out); }
.toggle input:checked { background: var(--saffron); }
.toggle input:checked::after { transform: translateX(20px); }
.cfg__total { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.cfg__total .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(244,238,227,.78); padding: 3px 0; font-variant-numeric: tabular-nums; }
.cfg__total .sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 6px; }
.cfg__total .sum span { font-size: 15px; }
.cfg__total .sum output { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.cfg__total .note { font-size: 13px; color: rgba(244,238,227,.6); margin: 0 0 18px; }
.cfg__total .btn { width: 100%; }
@media (max-width: 980px) {
  .cfg { grid-template-columns: 1fr; }
  .cfg__stage { border-right: 0; border-bottom: 1px solid var(--line-dark); min-height: 0; }
  .cfg__plan { min-height: 0; flex: none; }
}
@media (max-width: 480px) { .opts--4 { grid-template-columns: 1fr 1fr; } }

.grp-photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(64px, 8vw, 120px); }
.grp-photo figure { overflow: hidden; }
.grp-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.grp-photo ul { border-top: 1px solid var(--line-dark); }
.grp-photo li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 18px; }
.grp-photo li b { font-family: var(--serif); font-weight: 400; font-size: 22px; min-width: 5.5ch; color: var(--saffron); }
@media (max-width: 860px) { .grp-photo { grid-template-columns: 1fr; } .grp-photo img { aspect-ratio: 4 / 3; } }

/* ---------- La carte : onglets ---------- */
.carte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.carte__side { position: sticky; top: calc(var(--header-h) + 32px); }
.carte__side .t2 { margin-bottom: 22px; }
.carte__side .lead { margin-bottom: 28px; }
.carte__photo { overflow: hidden; margin-top: 36px; }
.carte__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; position: relative; }
.tabs button { position: relative; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; transition: color .3s, border-color .3s, background-color .3s; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel[hidden] { display: none; }
.panel h3 { font-family: var(--text-serif); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 30px 0 6px; }
.panel h3:first-child { margin-top: 0; }
.dish { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dish .n { font-family: var(--text-serif); font-size: 18px; line-height: 1.35; }
.dish .n small { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.dish .d { flex: 1; min-width: 20px; border-bottom: 1px dotted #A59D8F; transform: translateY(-5px); }
.dish .p { font-family: var(--serif); font-size: 21px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.panel .foot-note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.carte-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 36px; font-size: 15px; }
@media (max-width: 900px) { .carte { grid-template-columns: 1fr; } .carte__side { position: static; } .carte__photo { display: none; } }

/* ---------- Galerie horizontale ---------- */
.hgal { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hgal__head { padding-top: clamp(80px, 10vw, 140px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.hgal__head .lead { color: rgba(244,238,227,.72); margin: 0; max-width: 30em; }
.hgal__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(80px, 10vw, 140px); width: max-content; will-change: transform; }
.hgal__item { flex: none; position: relative; }
.hgal__item .ph { overflow: hidden; height: min(62vh, 620px); }
.hgal__item img { height: 100%; width: auto; max-width: none; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hgal__item.w-land .ph { aspect-ratio: 3 / 2; }
.hgal__item.w-port .ph { aspect-ratio: 3 / 4; }
.hgal__item img { width: 100%; }
.hgal__item figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 15px; color: rgba(244,238,227,.75); }
.hgal__item figcaption b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--paper); }
.hgal__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 5vw, 64px); height: 1px; background: rgba(244,238,227,.2); }
.hgal__bar i { position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .hgal__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); transform: none !important; }
  .hgal__item { scroll-snap-align: start; }
  .hgal__item .ph { height: 58vh; max-height: 460px; }
  .hgal__item img { transform: none !important; }
  .hgal__bar { display: none; }
}

/* ---------- Cocktails : glisser ---------- */
.ck { background: var(--paper-2); overflow: hidden; }
.ck-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.ck-head .t2 { margin-bottom: 12px; }
.ck-head p { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; transition: background-color .25s, color .25s; }
.chip:hover { background: rgba(27,29,38,.06); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.drag { display: flex; gap: 18px; padding: 0 var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.drag::-webkit-scrollbar { display: none; }
.drag.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.drag.is-dragging a, .drag.is-dragging img { pointer-events: none; }
@media (min-width: 1320px) { .drag { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.drink { flex: none; width: clamp(220px, 22vw, 300px); scroll-snap-align: start; transition: transform .5s var(--ease-out); }
.drink[hidden] { display: none; }
.drink .ph { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--card); }
.drink img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); -webkit-user-drag: none; }
.drink .ing { position: absolute; inset: auto 0 0; padding: 40px 16px 16px; color: var(--paper); font-size: 14px; line-height: 1.45; background: linear-gradient(transparent, rgba(15,18,30,.82)); transform: translateY(100%); transition: transform .5s var(--ease-out); }
.drink:hover .ing, .drink:focus-within .ing { transform: none; }
.drink:hover img { transform: scale(1.05); }
.drink figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.drink figcaption span { font-family: var(--sans); font-size: 14px; color: var(--ink-2); white-space: nowrap; padding-top: 4px; }
@media (hover: none) { .drink .ing { transform: none; } }
.drag-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.drag-meta .progress { flex: 1; height: 1px; background: #CFC4B1; position: relative; max-width: 360px; }
.drag-meta .progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.2); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--ink); background: transparent; cursor: pointer; transition: background-color .25s, color .25s; }
.arrow:hover { background: var(--ink); color: var(--paper); }
.arrow svg { width: 18px; height: 18px; }
.ck-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(24px, 5vw, 80px); margin-top: 64px; }
.ck-list h3 { display: flex; justify-content: space-between; font-family: var(--text-serif); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); padding-bottom: 10px; border-bottom: 1px solid #CFC4B1; }
.ck-list p { margin: 12px 0 0; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
@media (max-width: 760px) { .ck-list { grid-template-columns: 1fr; } .arrows { display: none; } }

/* ---------- Infos ---------- */
.infos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); }
.infos .t2 { margin-bottom: 32px; }
.bigtel { display: inline-block; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1; text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease-out), color .3s; padding-bottom: 6px; }
.bigtel:hover { background-size: 100% 2px; color: var(--red); }
.infos .block { padding: 22px 0; border-top: 1px solid var(--line); }
.infos .block h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.infos .block p { margin: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--ink-2); }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 500; color: var(--ink); }
.hours tr.is-today th::after { content: " · aujourd'hui"; color: var(--red); font-weight: 400; }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--paper-2); margin-bottom: 40px; filter: grayscale(.2); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans p { color: var(--ink-2); max-width: 38em; margin: 0; padding-bottom: 20px; }
.faq-title { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
@media (max-width: 900px) { .infos { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot__cta { padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-dark); }
.foot__cta .label { color: rgba(244,238,227,.6); display: block; margin-bottom: 18px; }
.foot__cta a.big { display: inline-block; font-family: var(--serif); font-size: clamp(44px, 8.6vw, 140px); line-height: .95; letter-spacing: -.02em; text-decoration: none; position: relative; }
.foot__cta a.big::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.foot__cta a.big:hover::after { transform: scaleX(1); transform-origin: left; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.foot__mark { width: 52px; margin-bottom: 18px; }
.foot h3 { font-size: 14px; font-weight: 500; color: rgba(244,238,227,.6); margin-bottom: 12px; }
.foot p, .foot li { font-size: 15px; line-height: 1.9; margin: 0; color: rgba(244,238,227,.9); }
.foot a { text-decoration: none; transition: color .25s; }
.foot a:hover { color: var(--saffron); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(244,238,227,.6); }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot__grid { grid-template-columns: 1fr; } }

.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .4s var(--ease-out); }
  .callbar.is-visible { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; }
  .callbar a + a { border-left: 1px solid var(--line-dark); }
  .callbar svg { width: 18px; height: 18px; }
  .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ======================================================
   Page Repas de groupe
   ====================================================== */
.ghero { position: relative; padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); }
.ghero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.ghero .t1 { font-size: clamp(52px, 8.4vw, 136px); }
.ghero__side .lead { margin-bottom: 26px; }
.ghero__photo { margin-top: clamp(40px, 6vw, 80px); overflow: hidden; height: min(78vh, 820px); }
.ghero__photo img { width: 100%; height: 120%; object-fit: cover; object-position: center 45%; will-change: transform; }
.keyline { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 16px; margin: 0 0 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyline b { font-weight: 500; }
@media (max-width: 900px) {
  .ghero__grid { grid-template-columns: 1fr; }
  .ghero__photo { height: 60svh; margin-inline: calc(var(--gutter) * -1); }
}

/* Menus empilés */
.stack-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.stack-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.stack-nav button { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line-dark); background: none; cursor: pointer; text-align: left; color: rgba(244,238,227,.55); transition: color .3s, padding .45s var(--ease-out); }
.stack-nav button b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; }
.stack-nav button span { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); }
.stack-nav button:hover { color: var(--paper); }
.stack-nav button[aria-selected="true"] { color: var(--paper); padding-left: 14px; }
.stack-nav button[aria-selected="true"] span { color: var(--saffron); }
.stack-extra { margin-top: 28px; }
.stack { position: relative; display: grid; }
.stack .card { grid-area: 1 / 1; transition: transform .7s var(--ease-out), opacity .5s, box-shadow .7s; transform-origin: 50% 90%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.stack .card[data-pos="1"] { transform: rotate(-4deg) translate(-3%, 2%); }
.stack .card[data-pos="2"] { transform: rotate(5deg) translate(4%, 3%); }
.stack .card[data-pos="0"] { transform: none; z-index: 3; }
.stack .card[data-pos="1"] { z-index: 2; }
.stack .card[data-pos="2"] { z-index: 1; }
.stack .card:not([data-pos="0"]) { cursor: pointer; }
.stack .card:not([data-pos="0"]) > * { visibility: hidden; }
.stack .card:not([data-pos="0"]) .card__brand, .stack .card:not([data-pos="0"]) h3 { visibility: visible; }
@media (max-width: 960px) {
  .stack-wrap { grid-template-columns: 1fr; }
  .stack-nav { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; scrollbar-width: none; }
  .stack-nav button { flex: none; padding: 12px 16px; border: 1px solid var(--line-dark); flex-direction: column; gap: 4px; }
  .stack-nav button[aria-selected="true"] { padding-left: 16px; background: var(--paper); color: var(--ink); }
  .stack-nav button[aria-selected="true"] span { color: var(--red); }
  .stack-nav button b { font-size: 22px; }
  .stack-nav button span { font-size: 17px; }
  .stack .card[data-pos="1"], .stack .card[data-pos="2"] { transform: rotate(0) translateY(10px) scale(.97); opacity: 0; pointer-events: none; }
}

/* Carte imprimée */
.card { background: var(--card); color: var(--ink); padding: clamp(30px, 4vw, 56px) clamp(22px, 4vw, 60px); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -9px; text-align: center; }
.card__brand { font-family: var(--text-serif); letter-spacing: .2em; font-size: 12px; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.card h3 { font-family: var(--serif); font-size: clamp(34px, 3.2vw, 46px); margin: 12px 0 2px; }
.card .price { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 38px); line-height: 1; margin: 12px 0 6px; }
.card .sub { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin: 0; }
.card hr { width: 44px; border: 0; border-top: 1px solid var(--red); margin: 24px auto; }
.card h4 { font-family: var(--text-serif); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.card ul + h4 { margin-top: 22px; }
.card li { font-family: var(--text-serif); font-size: 17px; line-height: 1.5; padding: 2px 0; }
.card .pick { margin-top: 30px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.rules li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.rules li:first-child { border-top: 1px solid var(--line); }

/* Formulaire */
.devis { background: var(--card); border-top: 1px solid var(--line); }
.devis__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
.devis__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.devis__aside .t2 { margin-bottom: 18px; }
.devis__aside .bigtel { margin-top: 24px; font-size: clamp(30px, 3vw, 42px); }
.recap { margin-top: 32px; padding: 20px 22px; background: var(--paper); border-left: 2px solid var(--saffron); font-size: 15px; }
.recap[hidden] { display: none; }
.recap b { font-weight: 500; }
@media (max-width: 900px) { .devis__grid { grid-template-columns: 1fr; } .devis__aside { position: static; } }
.form fieldset { border: 0; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 18px; font-family: var(--serif); font-size: 26px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.form label .req { color: var(--red); }
.form .opt-l { font-weight: 400; color: var(--ink-2); }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #A9A08F; border-radius: 0; background: #fff; font-size: 17px; line-height: 1.35; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231B1D26' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,29,38,.14); }
.form .help { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.form .err { display: none; margin-top: 6px; font-size: 14px; color: var(--red); }
.form .field.is-invalid input, .form .field.is-invalid select { border-color: var(--red); }
.form .field.is-invalid .err { display: block; }
.form .hp { position: absolute; left: -9999px; }
.form .flash { animation: flash 1.2s var(--ease-out); }
@keyframes flash { 0% { box-shadow: 0 0 0 4px rgba(214,151,58,.6); } 100% { box-shadow: 0 0 0 0 rgba(214,151,58,0); } }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__send p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 30em; }
.form__done { display: none; padding: 28px 0; border-top: 2px solid var(--ink); }
.form__done.is-shown { display: block; }
.form__done:focus { outline: none; }
@media (max-width: 620px) { .form fieldset { grid-template-columns: 1fr; } }

/* Mouvement réduit : tout visible, pas d'animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .intro { display: none; }
}

/* Pages de contenu WordPress */
.prose { font-size: 17px; line-height: 1.7; }
.prose h2, .prose h3 { font-family: var(--serif); margin: 40px 0 12px; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }

/* Cocktails sans photo : cartes typographiques */
.drink--type .ph { display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 24px; color: var(--paper); }
.drink--type .kind { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.drink--type .nm { font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); line-height: 1; margin: 0; }
.drink--type .ing2 { font-family: var(--text-serif); font-style: italic; font-size: 16px; line-height: 1.45; margin: 0; opacity: .88; }
.drink--type .ph::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(244,238,227,.28); pointer-events: none; }
.drink--type:hover .ph { transform: none; }
.tone-navy .ph { background: var(--navy); }
.tone-red .ph { background: var(--red); }
.tone-saffron .ph { background: var(--saffron); color: var(--ink); }
.tone-saffron .ph::after { border-color: rgba(27,29,38,.25); }
.tone-ink .ph { background: var(--ink); }

/* Photo de la carte qui suit l'onglet */
.carte__photo { position: relative; aspect-ratio: 4 / 3; }
.carte__photo img { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); transform: scale(1.06); }
.carte__photo img.is-on { opacity: 1; transform: none; }

/* Galerie horizontale : rendu plus stable */
.hgal__track { backface-visibility: hidden; }
.hgal__item img { transform: none; }
.drag { scroll-padding-inline: var(--gutter); }
@media (min-width: 1320px) { .drag { scroll-padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }

/* ---------- Saint-Sylvestre (bloc saisonnier, masqué après le 31/12/2026) ---------- */
.hero__card .hero__rev { margin: -4px 0 16px; }
.hero__rev a { color: var(--red); font-weight: 500; }
.rev { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 150px) 0; background: radial-gradient(110% 80% at 50% 0%, #26315A 0%, var(--navy) 50%, #141B33 100%); }
.rev__fw { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: .9; }
.rev__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.rev__eyebrow { font-family: var(--text-serif); font-style: italic; color: var(--saffron); font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 14px; }
.rev .t2 { margin-bottom: 22px; }
.rev__price { display: flex; align-items: baseline; gap: 12px; font-family: var(--text-serif); font-style: italic; font-size: 18px; margin: 26px 0 30px; }
.rev__price b { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--saffron); }

.rev__menu { text-align: center; padding: clamp(36px, 4.5vw, 56px) clamp(20px, 4vw, 52px); border: 1px solid rgba(214,151,58,.55); outline: 1px solid rgba(244,238,227,.14); outline-offset: -8px; background: rgba(20,27,51,.55); }
.rev__menu li { font-family: var(--text-serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; }
.rev__menu li + li::before { content: ""; display: block; width: 7px; height: 7px; margin: 16px auto; background: var(--saffron); transform: rotate(45deg); }
.rev__menu small { display: block; font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.rev__menu .rev__extra { font-style: italic; color: rgba(244,238,227,.8); }
@media (max-width: 900px) { .rev__grid { grid-template-columns: 1fr; } }
