/* ==========================================================================
   Les Loges du Léman — feuille de style
   Ambiance : nuit indigo, or rosé, crème. Italiana (titres) + Manrope (texte).
   Aucune dépendance. Mobile et bureau dans le même fichier.
   ========================================================================== */

/* ---------- Polices auto-hébergées (OFL) ---------- */
@font-face {
  font-family: "Italiana";
  src: url("../fonts/italiana-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Repli métrique proche pour limiter le décalage au chargement */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 102%;
  descent-override: 29%;
}

/* ---------- Jetons ---------- */
:root {
  /* couleurs de la marque */
  --night: #070625;        /* fond : nuit indigo */
  --night-2: #0f0c3a;      /* surface : un cran plus clair */
  --night-3: #18144d;      /* surface active */
  --rose: #efb99c;         /* accent : or rosé du logo */
  --rose-deep: #e3a383;    /* accent pressé */
  --cream: #f7eae3;        /* encre sur la nuit, papier */
  --paper: #f7eae3;
  --ink: #070625;          /* encre sur le papier */
  --soft: #c9c1dc;         /* encre douce sur la nuit (≈ 10:1) */
  --soft-ink: #423c63;     /* encre douce sur le papier (≈ 8:1) */
  --scrim: rgba(4, 3, 18, 0.62);

  /* typographie */
  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: 0.9375rem;                                      /* 15px */
  --step-body: clamp(1.0625rem, 1rem + 0.22vw, 1.1875rem);      /* 17 → 19px */
  --step-lead: clamp(1.375rem, 1.12rem + 0.95vw, 2rem);         /* 22 → 32px */
  --step-sub: clamp(2.25rem, 1.6rem + 1.6vw, 3.25rem);          /* 36 → 52px */
  --step-head: clamp(2.875rem, 1.6rem + 4.4vw, 5.75rem);        /* 46 → 92px */

  /* espace */
  --m: clamp(16px, 2.4vw, 36px);           /* marge extérieure, identique des deux côtés */
  --g: clamp(12px, 1.7vw, 24px);           /* gouttière */
  --section: clamp(104px, 12vw, 208px);    /* écart entre sections */
  --radius: 0px;                           /* boutons et médias : angles droits */

  /* mouvement */
  --ease-out: cubic-bezier(0.16, 0.84, 0.24, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-mid: 420ms;
  --t-slow: 900ms;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html.smooth { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--text);
  font-size: var(--step-body);
  font-weight: 450;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--rose); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; /* taste-skill-ignore : utilitaire d’accessibilité, invisible */
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.anchor { position: absolute; top: 0; left: 0; width: 0; height: 0; pointer-events: none; }
.skip {
  position: fixed; z-index: 100; left: var(--m); top: -100px;
  background: var(--rose); color: var(--ink);
  padding: 14px 18px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Titres et textes ---------- */
.h2 {
  font-family: var(--display);
  font-size: var(--step-head);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.statement {
  font-size: var(--step-lead);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.lead { font-size: var(--step-lead); line-height: 1.32; letter-spacing: -0.01em; max-width: 34ch; }
.small { font-size: var(--step-small); }
.soft { color: var(--soft); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Boutons et liens ---------- */
.btn {
  --btn-bg: var(--rose);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step-small);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:hover { --btn-bg: var(--cream); }
.btn:active { transform: translateY(1px) scale(0.985); --btn-bg: var(--rose-deep); }
.btn--ghost { --btn-bg: var(--night-3); --btn-fg: var(--cream); }
.btn--ghost:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--ink:hover { --btn-bg: var(--night-3); --btn-fg: var(--cream); }
.btn--block { display: flex; width: 100%; }
.btn--plain { --btn-bg: transparent; --btn-fg: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.btn--plain:hover { --btn-bg: rgba(7, 6, 37, 0.07); }
.btn .arrow { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arrow { transform: translate(2px, -2px); }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--t-fast) ease, text-underline-offset var(--t-fast) ease, color var(--t-fast) ease;
}
.link:hover { text-decoration-color: currentColor; text-underline-offset: 0.18em; color: var(--rose); }
.on-paper .link:hover { color: var(--ink); }

/* ==========================================================================
   En-tête : posé sur la photo, puis barre pleine au défilement
   ========================================================================== */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--m);
  /* voile neutre sous la rangée de liens seulement */
  background: linear-gradient(rgba(5, 4, 12, 0.55), rgba(5, 4, 12, 0)); /* taste-skill-ignore : voile de lisibilité sur la photo */
}
.top__logo { display: block; width: 52px; height: 52px; border-radius: 50%; flex: none; }
.top__logo img { width: 52px; height: 52px; }
.top__nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); margin-left: auto; }
.top__nav a {
  font-size: var(--step-small);
  font-weight: 600;
  padding: 10px 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-mid) ease, text-underline-offset var(--t-mid) var(--ease-out), color var(--t-fast);
}
.top__nav a:hover { color: var(--rose); text-decoration-color: currentColor; text-underline-offset: 0.3em; }
.top__cta { display: none; }
.top__menu {
  display: none;
  min-height: 44px; padding: 0 4px;
  border: 0; background: none;
  font-size: var(--step-small); font-weight: 700;
}

/* Barre fixe qui apparaît après le héros */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  padding: 0 var(--m);
  background: var(--night);
  transform: translateY(-101%);
  transition: transform var(--t-mid) var(--ease-out);
}
.bar.is-on { transform: none; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); } /* taste-skill-ignore : barre fixe qui flotte */
.bar__name {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
}
.bar__name img { width: 40px; height: 40px; }
.bar .top__nav { margin-left: auto; }
.bar .btn { min-height: 44px; }

/* Menu plein écran (téléphone) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 18px var(--m) calc(24px + env(safe-area-inset-bottom));
  background: var(--night);
}
.menu:not(.is-open) { display: none; }
.menu.is-open { animation: fade var(--t-mid) var(--ease-out); }
.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.menu__close { min-height: 44px; border: 0; background: none; font-size: var(--step-small); font-weight: 700; padding: 0 4px; }
.menu__links { margin-top: 6vh; display: grid; gap: 2px; }
.menu__links a {
  font-family: var(--display);
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: 1.12;
  text-decoration: none;
}
.menu__links a:hover { color: var(--rose); }
.menu__foot { margin-top: auto; display: grid; gap: 14px; }
.menu__foot p { margin: 0; color: var(--soft); font-size: var(--step-small); }

/* Barre d'actions du téléphone */
.dock {
  position: fixed;
  z-index: 35;
  left: 0; right: 0; bottom: 0;
  display: none;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 8px var(--m) calc(8px + env(safe-area-inset-bottom));
  background: var(--night);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35); /* taste-skill-ignore : barre fixe qui flotte */
  transform: translateY(110%);
  transition: transform var(--t-mid) var(--ease-out);
}
.dock.is-on { transform: none; }
.dock .btn { min-height: 50px; padding: 0 12px; }

/* ==========================================================================
   Héros : le nom sous la photographie
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 58fr) auto;
  min-height: 100vh; /* taste-skill-ignore : repli avant svh */
  min-height: 100svh;
  background: var(--night);
}
.hero__photo { position: relative; overflow: hidden; min-height: 300px; }
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 40%;
}
.hero__band {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 56px);
  padding: 24px var(--m) max(22px, 2.1vw);
}
.hero__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.hero__lead { max-width: 44ch; margin: 0; font-size: var(--step-body); }
.hero__lead strong { font-weight: 700; color: var(--rose); }
.hero__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.hero__fit { container-type: inline-size; }
.hero__name {
  font-family: var(--display);
  /* « Les Loges du Léman » ≈ 8,4 em : la ligne remplit la largeur, sans retour */
  font-size: 11.6vw;
  font-size: calc(100cqi / 8.28);
  line-height: 0.92;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin: 0 0 0 -0.06em;
  transform-origin: 50% 100%;
}
.hero__line { display: inline-block; }

/* ==========================================================================
   Le dîner festif : photo plein cadre, bons de commande au bord
   ========================================================================== */
.festif {
  position: relative;
  min-height: 96vh;
  min-height: 96svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #04131f;
}
.festif__photo, .festif__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.festif__photo img { object-fit: cover; object-position: 50% 38%; }
.festif__text {
  position: relative;
  z-index: 2;
  margin-left: 18%;
  max-width: min(640px, 62vw);
  padding: clamp(88px, 12vh, 140px) clamp(20px, 2.4vw, 32px) 36px;
  background: var(--scrim);
}
.festif__text .h2 { margin-bottom: 0.32em; }
.festif__text .statement { margin-bottom: 0.9em; }
.festif__text .more { max-width: 46ch; color: var(--cream); }
.festif__text .btn { margin-top: 10px; }
.slips {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 48px var(--m) 0;
}
.slip {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 22px 20px 28px;
  font-size: var(--step-small);
  line-height: 1.45;
  min-height: var(--h, 32svh);
  margin-bottom: -28px; /* le bas du bon passe sous le bord de la section */
  transform: rotate(var(--r, 0deg));
  transform-origin: 50% 100%;
  transition: transform var(--t-mid) var(--ease-out);
}
.slip:hover { transform: rotate(0deg) translateY(-10px); }
.slip p { margin: 0 0 0.5em; }
.slip__head { font-weight: 800; letter-spacing: 0.01em; }
.slip__rule { color: var(--soft-ink); letter-spacing: 0.08em; white-space: nowrap; overflow: hidden; user-select: none; }
.slip__dish { font-family: var(--text); font-size: var(--step-body); font-weight: 700; line-height: 1.25; margin: 0 0 0.35em; }
.slip__total { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; }
.slip:nth-child(1) { --h: 30svh; --r: -1.2deg; }
.slip:nth-child(2) { --h: 38svh; }
.slip:nth-child(3) { --h: 33svh; --r: 1.4deg; }
.slip:nth-child(4) { --h: 42svh; }
.slip:nth-child(5) { --h: 29svh; --r: -0.8deg; }
.slip:nth-child(6) { --h: 44svh; }

/* ==========================================================================
   Réserver : le formulaire et le billet de loge
   ========================================================================== */
.resa {
  position: relative;
  overflow-x: clip;
  background: var(--night-2);
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  row-gap: 56px;
}
.resa__intro { grid-column: 1 / span 7; }
.resa__intro .h2 { margin-bottom: 0.3em; }
.resa__intro p { max-width: 52ch; margin: 0; }
.resa__form { grid-column: 1 / span 7; display: grid; gap: 34px; }
.resa__aside { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: start; position: sticky; top: 96px; }

.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > legend, .label {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: var(--step-body);
}
.field__hint { display: block; font-weight: 450; color: var(--soft); font-size: var(--step-small); margin-top: 2px; }
.mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 10px 16px;
  background: var(--night-3);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.25;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.choice span small { font-weight: 450; font-size: var(--step-small); color: var(--soft); }
.choice:hover span { background: #231d63; }
.choice input:checked + span { background: var(--rose); color: var(--ink); }
.choice input:checked + span small { color: var(--soft-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 3px; }
.choice input:disabled + span { opacity: 0.42; cursor: not-allowed; text-decoration: line-through; }
.choice:active span { transform: scale(0.98); }

.dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dates .choice span { min-height: 64px; }
.dates .choice span b { font-weight: 700; }
.other-date { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.other-date label { color: var(--soft); font-size: var(--step-small); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slots .choice span { align-items: center; min-height: 48px; font-variant-numeric: tabular-nums; }
.slots__empty { grid-column: 1 / -1; color: var(--soft); margin: 0; }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--night);
  color: var(--cream);
  border: 1px solid #3a3474; /* taste-skill-ignore : champ de formulaire */
  border-radius: 0;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.input::placeholder, .textarea::placeholder { color: #8f88ad; }
.input:hover, .select:hover, .textarea:hover { border-color: #5b5399; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--rose); background: #0a0830; }
.input[type="date"] { color-scheme: dark; max-width: 240px; }
.input:user-invalid { border-color: #ff9d8a; }
.textarea { min-height: 96px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-2 > div, .stack > div { display: grid; gap: 8px; }
.grid-2 label, .stack label { font-weight: 700; }
.opt { color: var(--soft); font-weight: 450; }

.stepper { display: inline-grid; grid-template-columns: 52px 76px 52px; align-items: stretch; }
.stepper button {
  border: 0;
  background: var(--night-3);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.stepper button:hover { background: var(--rose); color: var(--ink); }
.stepper button:active { transform: scale(0.94); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; background: var(--night-3); color: var(--cream); }
.stepper input {
  width: 100%;
  min-height: 52px;
  text-align: center;
  background: var(--night);
  border: 0;
  font-size: var(--step-lead);
  font-family: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.party-note { margin: 10px 0 0; color: var(--soft); font-size: var(--step-small); }

.menus { background: var(--night); padding: 18px 18px 6px; }
.menus summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 44px;
}
.menus summary::-webkit-details-marker { display: none; }
.menus summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; transition: transform var(--t-fast) var(--ease-out); }
.menus[open] summary::after { transform: rotate(45deg); }
.menus__guests { display: grid; gap: 18px; padding: 12px 0 14px; }
.guest { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guest legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--rose); }
.guest label { display: grid; gap: 6px; font-size: var(--step-small); color: var(--soft); }
.select { appearance: none; background-image: none; padding-right: 14px; }

/* Le billet */
.ticket {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  isolation: isolate;
}
.ticket__body { padding: 30px 28px 26px; }
.ticket__brand { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; font-size: var(--step-small); font-weight: 700; }
.ticket__title { font-family: var(--display); font-size: var(--step-sub); line-height: 1; letter-spacing: -0.02em; margin: 0 0 22px; }
.ticket__rows { display: grid; gap: 12px; margin: 0; }
.ticket__rows > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: baseline; }
.ticket__rows dt { font-size: var(--step-small); color: var(--soft-ink); font-weight: 600; }
.ticket__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticket__rows dd.is-empty { color: var(--soft-ink); font-weight: 450; }
.ticket__rows dd.flash { animation: flash 700ms var(--ease-out); }
.ticket__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 20px; padding-top: 18px;
  border-top: 3px dotted var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ticket__total small { display: block; font-weight: 450; color: var(--soft-ink); font-size: var(--step-small); }
.ticket__stub {
  position: relative;
  padding: 24px 28px 28px;
  border-top: 4px dotted var(--night-2);
  display: grid;
  gap: 10px;
  background: #f1dfd6;
}
.ticket__stub::before, .ticket__stub::after {
  content: "";
  position: absolute;
  top: -15px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--night-2);
}
.ticket__stub::before { left: -13px; }
.ticket__stub::after { right: -13px; }
.ticket__stub .btn--ink { min-height: 56px; }
.ticket__note { margin: 6px 0 0; font-size: var(--step-small); color: var(--soft-ink); }
.ticket__error { margin: 0; font-weight: 700; color: #8a1c2b; font-size: var(--step-small); }
.ticket__stamp {
  position: absolute;
  right: -18px;
  top: 92px;
  width: 132px;
  height: 132px;
  z-index: 2;
  opacity: 0;
  transform: rotate(-14deg);
  pointer-events: none;
}
/* le tampon de la maison « oblitère » le billet au moment de l’envoi */
.ticket.is-stamped .ticket__stamp { opacity: 0.9; animation: stamp 520ms var(--ease-out) both; }

/* ==========================================================================
   La carte : prix comme sur un menu
   ========================================================================== */
.carte {
  position: relative;
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
}
.carte__side { grid-column: 1 / span 3; position: sticky; top: 100px; align-self: start; }
.carte__side .h2 { margin-bottom: 0.35em; }
.carte__side > p { color: var(--cream); }
.carte__side figure { margin-top: 32px; max-width: 260px; }
.carte__side figcaption { margin-top: 10px; color: var(--soft); font-size: var(--step-small); }
.carte__main { grid-column: 5 / -1; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.carte__side .tabs { flex-direction: column; align-items: stretch; margin-top: 28px; }
.carte__side .tab { text-align: left; }
.tab {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  background: var(--night-2);
  color: var(--cream);
  font-weight: 700;
  font-size: var(--step-small);
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.tab:hover { background: var(--night-3); }
.tab[aria-selected="true"] { background: var(--rose); color: var(--ink); }
.carte__legend { margin: 16px 0 0; color: var(--soft); font-size: var(--step-small); }
.panel { columns: 2; column-gap: 64px; padding-top: 8px; }
.panel[hidden] { display: none; }
.panel__intro { column-span: all; margin: 28px 0 0; color: var(--soft); max-width: 60ch; }
.js .panel.is-entering { animation: panel-in 480ms var(--ease-out); }
.group { break-inside: avoid-column; padding-top: 76px; }
.panel > .group:first-child, .panel > .panel__intro + .group { padding-top: 40px; }
.group > summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.group > summary::-webkit-details-marker { display: none; }
@media (min-width: 761px) { .group > summary { pointer-events: none; } }
.group h3 {
  font-family: var(--display);
  font-size: var(--step-lead);
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--rose);
}
.items { display: grid; gap: 20px; }
.item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.item__name { font-weight: 700; }
.item__price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.item__desc { margin: 2px 0 0; color: var(--soft); font-size: var(--step-small); max-width: 38ch; }
.v { font-size: 0.8125rem; font-weight: 800; color: var(--rose); vertical-align: 0.2em; margin-left: 4px; text-decoration: none; cursor: help; }
.carte__notes { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; color: var(--soft); font-size: var(--step-small); }
.carte__notes p { margin: 0; }
.carte__notes strong { color: var(--cream); }

/* ==========================================================================
   Le Jura à table : photographie collante, liste active (fond papier)
   ========================================================================== */
.jura {
  background: var(--paper);
  color: var(--ink);
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
}
.jura__media {
  grid-column: 1 / span 5;
  position: sticky;
  top: 12vh;
  align-self: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9d6cc;
}
.jura__pic { position: absolute; inset: 0; opacity: 0; transition: opacity 380ms ease; }
.jura__pic.is-active { opacity: 1; }
.jura__pic picture, .jura__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jura__pic img { object-fit: cover; }
.jura__media figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
}
.jura__list { grid-column: 7 / span 6; }
.jura__list .h2 { margin-bottom: 0.3em; }
.jura__intro { max-width: 46ch; margin-bottom: 40px; }
.dishes { display: grid; }
.dish__row {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--soft-ink);
  text-align: left;
  transition: color var(--t-fast) ease;
}
.dish__name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.dish__price { font-variant-numeric: tabular-nums; font-size: var(--step-small); font-weight: 700; white-space: nowrap; text-align: right; }
.dish__price .unit { display: block; font-weight: 450; }
.dish.is-active .dish__row, .dish__row:hover { color: var(--ink); }
.dish.is-active .dish__name::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; background: var(--rose-deep); border-radius: 50%; vertical-align: 0.18em; }
.dish__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-mid) var(--ease-out); }
.dish__more > div { overflow: hidden; }
.dish__more p { margin: 0 0 18px; max-width: 40ch; color: var(--ink); }
.dish.is-active .dish__more { grid-template-rows: 1fr; }
.jura__extras { margin: 32px 0 0; color: var(--soft-ink); font-size: var(--step-small); }
.jura__extras strong { color: var(--ink); }

/* ==========================================================================
   Crozet : grande photo, tuile de couleur, repères
   ========================================================================== */
.crozet {
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
}
.crozet__head { grid-column: 1 / span 7; }
.crozet__head .h2 { margin-bottom: 0.32em; }
.crozet__photo { grid-column: 1 / span 8; position: relative; margin-top: 72px; }
.crozet__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.crozet__note {
  position: absolute;
  top: 0; right: 0;
  width: min(340px, 46%);
  margin: 0;
  padding: 22px 22px 24px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step-small);
  line-height: 1.5;
}
.crozet__photo figcaption { margin-top: 12px; color: var(--soft); font-size: var(--step-small); }
.crozet__side { grid-column: 9 / -1; grid-row: 1; align-self: start; display: grid; align-content: start; gap: 28px; }
.crozet .facts { grid-column: 9 / -1; grid-row: 2; align-self: start; grid-template-columns: 1fr; gap: 26px; margin-top: 72px; }
.crozet .facts > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.crozet .facts dd { margin: 0; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.crozet__photo { grid-row: 2; }
.tile { background: var(--rose); color: var(--ink); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 18px; }
.tile svg { width: 100%; height: auto; overflow: visible; }
.tile .lake { fill: var(--ink); }
.tile .pin { fill: var(--cream); stroke: var(--ink); stroke-width: 3; }
.tile .pin-ring { fill: none; stroke: var(--ink); stroke-width: 2; transform-origin: 43.3px 233px; }
.tile text { font-family: var(--text); font-weight: 700; font-size: 17px; fill: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin: 0; }
.facts dt { font-size: var(--step-small); color: var(--soft); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.open-dot { display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; margin-right: 0.4em; background: #7be3a8; vertical-align: 0.06em; }
.open-dot.is-closed { background: #ff9d8a; }

/* ==========================================================================
   L'hôtel : le chiffre comme monument
   ========================================================================== */
.hotel {
  background: var(--night-2);
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  row-gap: 64px;
  align-items: end;
  overflow: hidden;
}
.hotel__figure {
  grid-column: 1 / span 5;
  grid-row: 1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(14rem, 34vw, 34rem);
  line-height: 0.74;
  letter-spacing: -0.06em;
  color: var(--rose);
  user-select: none;
}
.hotel__text { grid-column: 6 / span 4; grid-row: 1; }
.hotel__text .h2 { margin-bottom: 0.35em; }
.hotel__text p { max-width: 42ch; }
.hotel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.hotel__poster { grid-column: 10 / -1; grid-row: 1; }
.hotel__poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hotel__poster figcaption { margin-top: 10px; color: var(--soft); font-size: var(--step-small); }
.groups {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  align-items: center;
  background: var(--night-3);
  padding: clamp(28px, 3.4vw, 48px);
}
.groups__pic { grid-column: 1 / span 3; }
.groups__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.groups__text { grid-column: 5 / span 6; }
.groups__text h3 { font-family: var(--display); font-size: var(--step-sub); line-height: 1.02; margin-bottom: 0.4em; letter-spacing: -0.015em; }
.groups__text p { max-width: 48ch; }

/* ==========================================================================
   Horaires et questions : à côté d'une haute photographie (fond papier)
   ========================================================================== */
.faq {
  background: var(--paper);
  color: var(--ink);
  padding: 0 var(--m) var(--section);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
}
.faq__text { grid-column: 1 / span 5; padding-top: var(--section); }
.faq__text .h2 { margin-bottom: 0.4em; }
.status { display: inline-flex; align-items: center; margin: 0 0 18px; font-weight: 700; }
.hours { display: grid; gap: 8px; margin: 0 0 26px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; font-weight: 700; white-space: nowrap; }
.hours .today dt::after { content: " · aujourd’hui"; font-weight: 450; color: var(--soft-ink); }
html[lang="en"] .hours .today dt::after { content: " · today"; }
.faq__facts { margin: 0 0 40px; font-size: var(--step-body); }
.faq__facts p { margin: 0 0 6px; }
.qa { display: grid; gap: 4px; margin-bottom: 40px; }
.qa details { padding: 12px 0; }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: var(--step-body);
  font-weight: 700;
  line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform var(--t-mid) var(--ease-out);
}
.qa details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.qa summary:hover { color: #3b2f8f; }
.qa details p { margin: 10px 0 4px; color: var(--soft-ink); max-width: 52ch; }
.faq__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.faq__media { grid-column: 7 / -1; position: relative; margin-bottom: 80px; align-self: start; }
.faq__tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq__square {
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 34%;
  aspect-ratio: 1;
  object-fit: cover;
}
.faq__media figcaption { position: absolute; right: 0; bottom: -40px; transform: translateY(100%); padding-top: 10px; color: var(--soft-ink); font-size: var(--step-small); text-align: right; max-width: 60%; }

/* ==========================================================================
   Nous trouver : carte de visite sur une photographie
   ========================================================================== */
.contact { position: relative; min-height: 100vh; min-height: 100svh; } /* taste-skill-ignore : repli avant svh */
.contact__photo, .contact__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__photo img { object-fit: cover; object-position: 50% 60%; }
.contact__inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding: 60px var(--m) 60px; min-height: inherit; align-items: flex-start; }
.card {
  position: sticky;
  top: 90px;
  width: 400px;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 32px;
}
.card .h2-card { font-family: var(--display); font-size: var(--step-sub); line-height: 1; letter-spacing: -0.02em; margin-bottom: 18px; }
.card address { margin-bottom: 18px; }
.card .hours { margin-bottom: 18px; font-size: var(--step-small); }
.card .tel { display: grid; gap: 2px; margin-bottom: 18px; }
.card .tel a { font-weight: 700; text-decoration: none; }
.card .tel a:hover { text-decoration: underline; }
.card .tel span { color: var(--soft-ink); font-size: var(--step-small); }
.card .links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-bottom: 22px; }
.card .btn { margin: 0 -32px -32px; width: calc(100% + 64px); min-height: 56px; border-radius: 0 0 8px 8px; }
.contact__credit { position: absolute; z-index: 2; left: var(--m); bottom: 18px; margin: 0; padding: 6px 10px; background: var(--scrim); color: var(--cream); font-size: var(--step-small); }

/* ==========================================================================
   Pied de page : colonnes, puis le nom sur toute la largeur
   ========================================================================== */
.foot {
  position: relative;
  background: var(--rose);
  color: var(--ink);
  min-height: 100vh; /* taste-skill-ignore : repli avant svh */
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 40px var(--m) 22px;
}
.foot a { text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.foot a:hover { text-decoration-color: var(--ink); }
.foot__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 32px; }
.foot__col { grid-column: span 3; font-size: var(--step-small); }
.foot__col p, .foot__col li { margin: 0 0 6px; }
.foot__col li a { display: inline-flex; min-height: 32px; align-items: center; }
.foot__h { font-weight: 800; margin-bottom: 10px !important; }
.foot__alert { display: grid; gap: 10px; align-content: start; }
.foot__alert label { font-weight: 600; }
.foot__alert .row { display: flex; gap: 8px; }
.foot__alert input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 12px;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
}
.foot__alert input::placeholder { color: #6a6283; }
.foot__alert .btn { min-height: 48px; padding: 0 16px; }
.foot__fit { container-type: inline-size; align-self: end; padding-bottom: max(18px, 1.9vw); }
.foot__name {
  font-family: var(--display);
  font-size: 11.6vw;
  font-size: calc(100cqi / 8.28);
  line-height: 0.92;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin: 0 0 0 -0.06em;
  transform-origin: 50% 100%;
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 10px; font-size: 0.8125rem; color: #2a2346; }
.foot__legal p { margin: 0; }
.foot__legal details { width: 100%; }
.foot__legal summary { cursor: pointer; font-weight: 700; display: inline-flex; min-height: 32px; align-items: center; }
.credits { columns: 2; column-gap: 40px; margin-top: 10px; }
.credits li { break-inside: avoid; margin-bottom: 6px; }
.lang-link { font-weight: 700; }

/* ==========================================================================
   Pages secondaires (groupes, mentions, confidentialité)
   ========================================================================== */
.page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.page__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--m); }
.page__top a.back { font-weight: 700; font-size: var(--step-small); }
.page__main { padding: clamp(48px, 8vw, 120px) var(--m) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; }
.page__head { grid-column: 1 / span 7; }
.page__head .h2 { font-size: clamp(2.875rem, 1.6rem + 4.4vw, 5.75rem); }
.page__head p { max-width: 52ch; }
.page__body { grid-column: 1 / span 7; }
.page__body h2 { font-family: var(--display); font-size: var(--step-lead); margin: 40px 0 12px; color: var(--rose); }
.page__aside { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: start; }
.page__aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page__aside figcaption { margin-top: 10px; color: var(--soft); font-size: var(--step-small); }
.page__foot { padding: 28px var(--m); background: var(--night-2); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--step-small); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid > div { display: grid; gap: 8px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-weight: 700; }

/* ==========================================================================
   Mouvement
   ========================================================================== */
@keyframes rise { from { opacity: 0.01; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fade { from { opacity: 0.01; } to { opacity: 1; } }
@keyframes flash { 0% { background: var(--rose); } 100% { background: transparent; } }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-26deg) scale(1.9); }
  60% { opacity: 0.95; transform: rotate(-12deg) scale(0.94); }
  100% { opacity: 0.9; transform: rotate(-14deg) scale(1); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes drift { from { transform: scale(1.06) translate3d(-1%, 0, 0); } to { transform: scale(1.12) translate3d(1%, -1%, 0); } }

@media (prefers-reduced-motion: no-preference) {
  /* Arrivée du héros, réglée en 1,2 s : le titre est là dès la première image */
  .hero__photo img { animation: settle 1600ms var(--ease-out) both; }
  .hero__line { animation: rise 820ms var(--ease-out) both; }
  .hero__line + .hero__line { animation-delay: 90ms; }
  .hero__row { animation: fade 700ms ease 260ms both; }
  .top { animation: fade 700ms ease 120ms both; }

  /* Le nom s'alourdit quand on quitte le premier écran (signature) */
  .hero__name { transform: translateY(calc(var(--p, 0) * 6%)) scale(calc(1 - var(--p, 0) * 0.07)); will-change: transform; }
  .foot__name { transform: scale(calc(0.94 + var(--f, 1) * 0.06)); }

  /* Image en mouvement lent : la boule à facettes */
  .festif__photo img { animation: drift 24s ease-in-out infinite alternate; }
  .tile .pin-ring { animation: ring 2.4s ease-out infinite; }

  /* Entrées section par section : titre, texte, image, décalés */
  /* l’état de départ reste lisible en filigrane : rien n’est jamais caché */
  .js [data-reveal] {
    /* simple glissement : pas de transparence (contraste) ni de flou (coûteux à calculer) */
    transform: translateY(26px);
    transition: transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js .slip[data-reveal] { transform: translateY(70px) rotate(var(--r, 0deg)); }
  .js [data-reveal].is-in { transform: none; }
  .js .slip[data-reveal].is-in { transform: rotate(var(--r, 0deg)); }
  .js .slip[data-reveal].is-in:hover { transform: rotate(0deg) translateY(-10px); transition-delay: 0ms; }
  .js.no-reveal [data-reveal] { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 1100px) {
  .bar .top__nav { display: none; }
  .bar .top__menu { display: inline-flex; align-items: center; }
  .bar .btn { margin-left: auto; }
  .festif__text { margin-left: 10%; max-width: min(620px, 74vw); }
  .slips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slip:nth-child(n+4) { display: none; }
  .resa__intro, .resa__form { grid-column: 1 / span 6; }
  .resa__aside { grid-column: 7 / -1; }
  .ticket__rows > div { grid-template-columns: 1fr; gap: 2px; }
  .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carte__side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-bottom: 24px; }
  .carte__side .h2, .carte__side > p, .carte__side .tabs, .carte__side .carte__legend { grid-column: 1 / span 7; }
  .carte__side .tabs { flex-direction: row; }
  .carte__side figure { grid-column: 9 / -1; grid-row: 1 / span 4; margin-top: 0; }
  .carte__main { grid-column: 1 / -1; }
  .jura__media { grid-column: 1 / span 5; }
  .jura__list { grid-column: 7 / -1; }
  .crozet__head { grid-column: 1 / span 9; }
  .crozet__photo { grid-column: 1 / -1; }
  .crozet__side { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr 1fr; gap: var(--g); margin-top: 32px; }
  .crozet .facts { grid-column: 1 / -1; grid-row: auto; align-self: start; margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crozet__side { grid-row: auto; }
  .crozet__photo { grid-row: auto; }
  .hotel__figure { grid-column: 1 / span 6; font-size: clamp(12rem, 40vw, 24rem); }
  .hotel__text { grid-column: 7 / -1; }
  .hotel__poster { grid-column: 1 / span 5; grid-row: 2; }
  .groups { grid-column: 6 / -1; grid-row: 2; display: block; }
  .groups__pic { display: none; }
  .faq__text { grid-column: 1 / span 6; }
  .faq__media { grid-column: 8 / -1; }
  .foot__col { grid-column: span 6; }
}

/* ==========================================================================
   Téléphone : une composition à part entière
   ========================================================================== */
@media (max-width: 760px) {
  :root { --section: 96px; }
  .top { padding: 14px var(--m); }
  .top__logo, .top__logo img { width: 44px; height: 44px; }
  .top .top__nav { display: none; }
  .top__menu { display: inline-flex; align-items: center; }
  .bar { height: 60px; gap: 12px; }
  .bar .top__nav { display: none; }
  .bar__name { font-size: 1.3rem; }
  .bar__name .bar__word { display: none; }
  .bar .btn .long { display: none; }
  .bar__name img { width: 34px; height: 34px; }
  .bar .btn { margin-left: auto; min-height: 42px; padding: 0 16px; }
  .bar .top__menu { display: inline-flex; align-items: center; }
  .dock { display: grid; }

  .hero { grid-template-rows: 50svh auto; min-height: 0; }
  .hero__photo { min-height: 0; }
  .hero__photo img { object-position: 50% 50%; }
  .hero__band { gap: 22px; padding: 18px var(--m) 30px; }
  .hero__fit { order: -1; }
  .hero__row { flex-direction: column; gap: 18px; }
  .hero__actions { width: 100%; gap: 16px; }
  .hero__actions .btn { flex: 1; }
  .hero__name { font-size: 22vw; font-size: calc(100cqi / 4.16); white-space: normal; line-height: 0.9; }
  .hero__line { display: block; white-space: nowrap; }

  .festif { min-height: 0; grid-template-rows: auto auto; }
  .festif__text { margin: 0; max-width: none; padding: 96px var(--m) 32px; background: rgba(4, 3, 18, 0.7); }
  .slips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 28px var(--m) 0; }
  .slip:nth-child(n+4) { display: block; }
  .slip { min-height: 0; padding: 18px 16px 30px; margin-bottom: 0; }
  .slip:nth-child(odd) { margin-top: 24px; }
  .slip:last-child { margin-bottom: -22px; }

  .resa { display: block; }
  .resa__intro { margin-bottom: 40px; }
  .resa__form { gap: 30px; }
  .resa__aside { position: static; margin-top: 44px; }
  .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .guest { grid-template-columns: 1fr; }
  .ticket__body { padding: 26px 20px 22px; }
  .ticket__stub { padding: 22px 20px 24px; }
  .ticket__rows > div { grid-template-columns: 6.2em 1fr; }
  .ticket__stamp { right: 8px; top: 40px; width: 110px; height: 110px; }

  .carte { display: block; }
  .carte__side { display: block; position: static; }
  .carte__side figure { width: 62%; margin: 28px 0 8px; }
  .carte__side .tabs { margin-top: 20px; }
  .panel { columns: 1; }
  .group { padding-top: 0; }
  .group > summary { cursor: pointer; min-height: 64px; align-items: center; }
  .group > summary h3 { margin: 0; }
  .group > summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--rose); transition: transform var(--t-fast) var(--ease-out); }
  .group[open] > summary::after { transform: rotate(45deg); }
  .group[open] > .items { padding-bottom: 28px; }
  .panel__intro { margin-bottom: 8px; }
  .carte__notes { grid-template-columns: 1fr; }

  .jura { display: block; padding-top: 0; }
  .jura__media { position: relative; top: auto; aspect-ratio: 4 / 3; margin: 0 calc(var(--m) * -1); }
  .jura__list { padding-top: 48px; }
  .jura__media figcaption { left: var(--m); top: 12px; bottom: auto; }
  .dish__row { min-height: 56px; }

  .crozet { display: block; }
  .crozet__photo { margin-top: 40px; }
  .crozet__photo img { aspect-ratio: 4 / 3; }
  .crozet__note { position: static; width: auto; margin-top: 0; }
  .crozet__side { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .crozet .facts { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .tile { aspect-ratio: 3 / 2; }

  .hotel { display: block; }
  .hotel__figure { font-size: 58vw; line-height: 0.78; margin-bottom: 18px; }
  .hotel__poster { margin-top: 40px; width: 78%; }
  .groups { display: block; margin-top: 40px; padding: 26px 20px; }

  .faq { display: flex; flex-direction: column-reverse; padding-top: 0; }
  .faq__text { padding-top: 64px; }
  .faq__media { margin: 0 calc(var(--m) * -1); }
  .faq__tall { aspect-ratio: 4 / 5; }
  .faq__square { left: auto; right: var(--m); bottom: -36px; width: 38%; }
  .faq__media figcaption { position: static; transform: none; text-align: left; max-width: none; padding: 16px calc(38% + var(--m) + 14px) 28px var(--m); min-height: 124px; }
  .faq__square { height: auto; }
  .faq__cta .btn { width: 100%; }

  .contact { min-height: 0; }
  .contact__photo { position: relative; height: 70svh; }
  .contact__inner { display: block; padding: 0 var(--m) 40px; margin-top: -80px; min-height: 0; }
  .card { position: relative; top: 0; width: 100%; padding: 26px 22px; }
  .card .btn { margin: 0 -22px -26px; width: calc(100% + 44px); }
  .contact__credit { position: static; display: block; margin: 12px 0 0; background: none; color: var(--soft); padding: 0; }

  .foot { min-height: 0; padding-bottom: calc(96px + env(safe-area-inset-bottom)); grid-template-rows: auto auto auto auto; }
  .foot__col { grid-column: span 6; }
  .foot__col.wide { grid-column: 1 / -1; }
  .foot__fit { margin-top: 20svh; }
  .foot__name { white-space: normal; font-size: 22vw; font-size: calc(100cqi / 4.16); line-height: 0.9; }
  .foot__name span { display: block; white-space: nowrap; }
  .credits { columns: 1; }

  .page__head, .page__body, .page__aside { grid-column: 1 / -1; }
  .page__aside { grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .dates { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: 48px 64px 48px; }
}


/* Impression : la carte et les infos pratiques */
@media print {
  .top, .bar, .dock, .menu, .festif__photo, .resa, .hero__photo, .contact__photo, .jura__media, .faq__media { display: none !important; }
  body { background: #fff; color: #000; }
  .panel[hidden] { display: block !important; }
  .foot { min-height: 0; background: #fff; }
}

/* Pages secondaires : listes de crédits et formulaires */
.credits--page { columns: 1; margin: 0 0 1em; display: grid; gap: 8px; font-size: var(--step-small); color: var(--soft); }
.credits--page a { color: var(--cream); }
.page__body p a:not(.btn), .page__head p a:not(.btn) { color: var(--rose); }
.page .bar__name { color: var(--cream); }

.page__head .h2 { margin-bottom: 0.32em; }

/* Avant / après l’ouverture : la classe .opened est posée en tête de page, avant l’affichage */
.opened [data-until-opening] { display: none !important; }
html:not(.opened) [data-after-opening] { display: none !important; }
