/* ==========================================================================
   Bouche — restaurant, bar & tapas, Bordeaux
   Direction artistique : l'affiche. Bandeaux mono, lettrage manuscrit,
   photographie au flash, bordeaux / olive / crème.
   ========================================================================== */

/* --- Réinitialisation ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* --- Jetons -------------------------------------------------------------- */
:root {
  --bordeaux: #710F10;
  --bordeaux-clair: #8C1A18;
  --rouge: #B02221;
  --creme: #F0EBE7;
  --creme-chaud: #F7F0E8;
  --olive: #666113;
  --olive-clair: #8C8722;
  --encre: #191512;

  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --band-h: 30px;
  --nav-h: 58px;
  --head-h: calc(var(--band-h) + var(--nav-h));

  --gut: clamp(1rem, 4.2vw, 3.25rem);
  --sp-sec: clamp(4.5rem, 11vw, 9.5rem);
  --maxw: 1560px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.62, .05, .2, 1);

  /* thème courant (surchargé par [data-theme]) */
  --bg: var(--creme);
  --fg: var(--bordeaux);
  --soft: 80%;
  --faint: 70%;
  --fg-soft: color-mix(in srgb, var(--fg) 80%, transparent);
  --fg-faint: color-mix(in srgb, var(--fg) 70%, transparent);
  --rule: color-mix(in srgb, var(--fg) 24%, transparent);
  --accent: var(--rouge);
}

/* les taux de transparence sont calibres pour rester au-dessus de 4.5:1 sur chaque fond */
[data-theme="creme"]      { --bg: var(--creme);       --fg: var(--bordeaux);    --accent: var(--rouge); --soft: 80%; --faint: 70%; }
[data-theme="creme-chaud"]{ --bg: var(--creme-chaud); --fg: var(--bordeaux);    --accent: var(--rouge); --soft: 80%; --faint: 70%; }
[data-theme="bordeaux"]   { --bg: var(--bordeaux);    --fg: var(--creme);       --accent: var(--creme); --soft: 78%; --faint: 66%; }
[data-theme="olive"]      { --bg: var(--olive);       --fg: var(--creme-chaud); --accent: var(--creme-chaud); --soft: 92%; --faint: 84%; }
[data-theme="encre"]      { --bg: var(--encre);       --fg: var(--creme);       --accent: var(--creme); --soft: 78%; --faint: 66%; }
[data-theme="photo"]      { --bg: transparent;        --fg: var(--creme-chaud); --accent: var(--creme-chaud); --soft: 90%; --faint: 82%; }
[data-theme] {
  --fg-soft: color-mix(in srgb, var(--fg) var(--soft, 80%), transparent);
  --fg-faint: color-mix(in srgb, var(--fg) var(--faint, 70%), transparent);
  --rule: color-mix(in srgb, var(--fg) 24%, transparent);
}

/* --- Base ---------------------------------------------------------------- */
body {
  font-family: var(--mono);
  font-variation-settings: "wdth" 100, "wght" 400;
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: -0.012em;
  color: var(--bordeaux);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 14px; } }

::selection { background: var(--rouge); color: var(--creme); }

/* --- Typographie --------------------------------------------------------- */
.lbl {
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 100, "wght" 500;
}
@media (min-width: 900px) { .lbl { font-size: 10.5px; } }

.lbl--lg { font-size: 11px; letter-spacing: .19em; }

.display {
  font-size: clamp(2rem, 7.4vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 92, "wght" 500;
  text-wrap: balance;
}
.display--sm { font-size: clamp(1.55rem, 4.6vw, 3rem); letter-spacing: -.04em; line-height: 1.02; }

.lede {
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  letter-spacing: -.02em;
  max-width: 46ch;
}
.txt { max-width: 54ch; color: var(--fg-soft); }
.txt + .txt { margin-top: 1.1em; }

.num { font-variant-numeric: tabular-nums; }

/* --- Enveloppes ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sec { background: var(--bg); color: var(--fg); position: relative; }
.sec--pad { padding-block: var(--sp-sec); }
.sec--pad-t { padding-top: var(--sp-sec); }
.sec--pad-b { padding-bottom: var(--sp-sec); }

/* --- Bandeau 3 colonnes (signature de la DA) ----------------------------- */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 1rem;
  width: 100%;
}
.band > :nth-child(2) { text-align: center; }
.band > :nth-child(3) { text-align: right; }

/* --- En-tête ------------------------------------------------------------- */
.head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: var(--bg);
  color: var(--fg);
  transition: background-color .55s var(--ease), color .55s var(--ease);
}
.head[data-theme="photo"] { background: transparent; }
.head[data-theme="photo"]::before {
  content: ""; position: absolute; inset: 0 0 -72% 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,9,7,.74) 0%, rgba(14,9,7,.44) 50%, rgba(14,9,7,0) 100%);
}
.head[data-theme="photo"] .head__band { border-bottom-color: rgba(247,240,232,.26); }
.head[data-theme="photo"] .head__inner::after { opacity: 0; }
.head__band {
  height: var(--band-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.head__band .band { padding-inline: var(--gut); }
.head__band .band > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* défilant en mobile */
.marquee { display: none; width: 100%; overflow: hidden; }
@media (max-width: 899px) {
  .head__band .band { display: none; }
  .marquee { display: block; }
}
.marquee__track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee__track > span { padding-inline: 1.1rem; white-space: nowrap; }
.marquee__track > span::after { content: "·"; padding-left: 1.1rem; opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

.head__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: var(--gut);
  position: relative;
}
.head__inner::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--rule); transition: opacity .4s;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: 0 0 auto; }
.brand__mark {
  width: 88px; aspect-ratio: 650 / 259; background: currentColor;
  -webkit-mask: url("../img/logo-bouche.svg") no-repeat center / contain;
          mask: url("../img/logo-bouche.svg") no-repeat center / contain;
}
@media (min-width: 900px) { .brand__mark { width: 104px; } }

.nav { display: none; gap: clamp(1.2rem, 2.6vw, 2.4rem); align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  text-decoration: none; position: relative; padding-block: .35rem;
  transition: opacity .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-variation-settings: "wdth" 100, "wght" 600; }

.head__end { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: .7rem 1.25rem;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
  font-variation-settings: "wdth" 100, "wght" 500;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: currentColor; }
.btn:hover > span { color: var(--bg); }
.btn > span { transition: color .3s var(--ease); display: block; }
.btn--solid { background: currentColor; border-color: currentColor; }
.btn--solid > span { color: var(--bg); }
.btn--solid:hover { background: transparent; }
.btn--solid:hover > span { color: var(--fg); }
.btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: 11px; }
.btn[disabled] { opacity: .38; cursor: not-allowed; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* --- Menu mobile --------------------------------------------------------- */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
}
@media (min-width: 900px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .25s; }
.burger span:nth-child(1) { width: 22px; }
.burger span:nth-child(2) { width: 15px; }
body.is-open .burger span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); width: 22px; }
body.is-open .burger span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); width: 22px; }

.drawer {
  position: fixed; inset: var(--head-h) 0 0 0; z-index: 80;
  background: var(--bordeaux); color: var(--creme);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(2rem, 8vw, 4rem) var(--gut) calc(var(--gut) + 1rem);
  transform: translateY(-101%); visibility: hidden;
  transition: transform .62s var(--ease-io), visibility .62s;
}
body.is-open .drawer { transform: translateY(0); visibility: visible; }
body.is-open { overflow: hidden; }
/* l'en-tete devient opaque des que le tiroir s'ouvre */
body.is-open .head {
  --fg: var(--creme); --soft: 78%; --faint: 66%;
  background: var(--bordeaux); color: var(--creme);
}
body.is-open .head::before { opacity: 0; }
.drawer__nav { display: flex; flex-direction: column; gap: .2rem; }
.drawer__nav a {
  text-decoration: none; padding-block: .45rem;
  font-size: clamp(2rem, 11vw, 3.4rem); line-height: 1.1; letter-spacing: -.05em;
  text-transform: uppercase; font-variation-settings: "wdth" 92, "wght" 500;
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s var(--ease) var(--d, 0s), transform .5s var(--ease) var(--d, 0s);
}
body.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer__foot { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .drawer { display: none; } }

/* --- Héros --------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--head-h);
  color: var(--creme-chaud); overflow: hidden; isolation: isolate;
  background: var(--encre);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* voiles resserres sur les seules zones de texte : le centre reste intact */
    linear-gradient(to bottom, rgba(14,9,7,.48) 0%, rgba(14,9,7,.10) 9%, rgba(14,9,7,0) 18%),
    linear-gradient(to top, rgba(14,9,7,.72) 0%, rgba(14,9,7,.32) 12%, rgba(14,9,7,0) 27%);
}
.hero__body {
  position: relative; z-index: 1;
  text-shadow: 0 1px 3px rgba(14, 9, 7, .45), 0 2px 26px rgba(14, 9, 7, .65);
  padding: 0 var(--gut) clamp(1.4rem, 3vw, 2.4rem);
  display: grid; gap: clamp(1.5rem, 4vw, 2.6rem);
}
.hero__mark { width: min(74vw, 460px); filter: drop-shadow(0 3px 34px rgba(14, 9, 7, .45)); }
@media (min-width: 900px) { .hero__mark { width: min(42vw, 620px); } }
.hero__baseline { display: flex; flex-wrap: wrap; gap: .38em; }
.hero__baseline span { display: inline-block; }
.hero__foot { border-top: 1px solid rgba(247,240,232,.28); padding-top: clamp(.9rem, 2vw, 1.3rem); display: grid; gap: .85rem; }
.hero__addr { text-align: center; }
@media (max-width: 639px) {
  .hero__foot .band { grid-template-columns: 1fr; gap: .5rem; text-align: left; }
  .hero__foot .band > * { text-align: left !important; }
  .hero__foot .band > *:not(:first-child) { display: none; }
  .hero__addr { text-align: left; }
}

/* lettrage manuscrit tracé */
.script { display: block; width: 100%; height: auto; color: currentColor; }
.script .ink {
  stroke-dasharray: 101; stroke-dashoffset: 101;
}
.script.is-drawn .ink { animation: draw 1.75s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.scroll-cue {
  position: absolute; right: var(--gut); bottom: clamp(6.5rem, 16vw, 8rem);
  writing-mode: vertical-rl; letter-spacing: .3em; font-size: 9px;
  text-transform: uppercase; opacity: .8; display: none;
}
@media (min-width: 900px) { .scroll-cue { display: block; } }
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 46px; margin: .9rem auto 0;
  background: currentColor; transform-origin: top;
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* --- En-têtes de page ---------------------------------------------------- */
.phead { padding-top: calc(var(--head-h) + clamp(3rem, 9vw, 6.5rem)); padding-bottom: clamp(2rem, 5vw, 3.4rem); }
.phead__row { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
@media (min-width: 900px) {
  .phead__row { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
}
.rule { height: 1px; background: var(--rule); margin-top: clamp(1.6rem, 4vw, 2.6rem); }

/* --- Images -------------------------------------------------------------- */
.plate { position: relative; overflow: hidden; background: color-mix(in srgb, var(--fg) 8%, transparent); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate--43 { aspect-ratio: 3 / 4; }
.plate--34 { aspect-ratio: 4 / 3; }
.plate--11 { aspect-ratio: 1 / 1; }
.plate--wide { aspect-ratio: 16 / 9; }
/* format naturel : aucun recadrage, donc aucun agrandissement parasite */
.plate--auto { aspect-ratio: auto; }
.plate--auto img { height: auto; }
.plate__tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem clamp(.8rem, 2vw, 1.15rem);
  color: var(--creme-chaud);
  background: linear-gradient(to top, rgba(15,10,8,.58), rgba(15,10,8,0));
}
.plate__tag--top { top: 0; bottom: auto; background: linear-gradient(to bottom, rgba(15,10,8,.5), rgba(15,10,8,0)); }

.figcap { margin-top: .75rem; color: var(--fg-soft); }

/* pleine largeur avec parallaxe douce */
.bleed { position: relative; overflow: hidden; }
.bleed__inner { position: absolute; inset: -12% 0; will-change: transform; }
.bleed__inner img { width: 100%; height: 100%; object-fit: cover; }
.bleed--tall { height: clamp(440px, 86vh, 980px); }
.bleed--mid { height: clamp(340px, 62vh, 720px); }

/* --- Manifeste ----------------------------------------------------------- */
.manif { display: grid; gap: clamp(2.4rem, 6vw, 4rem); }
@media (min-width: 900px) { .manif { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.6rem); } }
.manif__item { display: grid; gap: .9rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.manif__no { color: var(--fg-faint); }
.manif__t { font-size: clamp(1.02rem, 1.7vw, 1.2rem); line-height: 1.4; letter-spacing: -.03em; font-variation-settings: "wdth" 96, "wght" 500; }
.manif__p { color: var(--fg-soft); font-size: 13px; }

/* --- Duo texte / image --------------------------------------------------- */
.duo { display: grid; gap: clamp(1.8rem, 5vw, 3.2rem); align-items: center; }
@media (min-width: 900px) {
  .duo { grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 4vw, 4rem); }
  .duo__media { grid-column: 1 / 7; grid-row: 1; }
  .duo__body  { grid-column: 8 / 13; grid-row: 1; }
  .duo--flip .duo__media { grid-column: 7 / 13; }
  .duo--flip .duo__body  { grid-column: 1 / 6; }
}
.duo__body { display: grid; gap: 1.15rem; align-content: start; }

/* --- Rail horizontal ----------------------------------------------------- */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: clamp(.7rem, 1.6vw, 1.15rem);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-inline: var(--gut); padding-bottom: 1.4rem;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail__item { flex: 0 0 auto; scroll-snap-align: center; }
.rail__item .plate { aspect-ratio: auto; height: clamp(300px, 58vw, 400px); width: auto; }
.rail__item .plate img { height: 100%; width: auto; max-width: none; }
@media (min-width: 900px) { .rail__item .plate { height: clamp(360px, 46vh, 560px); } }
.rail__bar { height: 1px; background: var(--rule); margin: 0 var(--gut); position: relative; }
.rail__bar i { position: absolute; inset: -1px auto -1px 0; height: 3px; background: var(--fg); width: 12%; transform-origin: left; transition: transform .12s linear; }

/* --- Bandeau defilant --- */
.ribbon {
  background: var(--bg); color: var(--fg);
  border-block: 1px solid var(--rule);
  overflow: hidden; padding-block: clamp(.85rem, 2vw, 1.15rem);
}
.ribbon__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ribbon__track > span {
  padding-inline: clamp(1.2rem, 3vw, 2.4rem); white-space: nowrap;
  font-size: clamp(.9rem, 2.4vw, 1.35rem); letter-spacing: -.03em;
  text-transform: uppercase; font-variation-settings: "wdth" 92, "wght" 500;
  display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem);
}
.ribbon__track > span::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: 0 0 auto;
}
.ribbon:hover .ribbon__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; } }

/* --- Carte --------------------------------------------------------------- */
.menu { display: grid; gap: clamp(2.8rem, 7vw, 4.6rem); }
@media (min-width: 1100px) { .menu { grid-template-columns: 1fr 1fr; gap: clamp(2.6rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); } }
.course { display: grid; gap: 1.35rem; align-content: start; }
.course__head { display: grid; gap: .55rem; padding-bottom: .9rem; border-bottom: 1px solid var(--rule); }
.course__t { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.05; letter-spacing: -.045em; text-transform: uppercase; font-variation-settings: "wdth" 92, "wght" 500; }
.course__n { color: var(--fg-soft); font-size: 12px; letter-spacing: -.01em; }
.dishes { display: grid; gap: .95rem; list-style: none; padding: 0; }
.dish { display: flex; align-items: baseline; gap: .7rem; font-size: 13.5px; }
.dish__n { flex: 0 1 auto; }
.dish__d { flex: 1 1 1.5rem; min-width: .9rem; border-bottom: 1px dotted var(--rule); transform: translateY(-.3em); }
.dish__p { flex: 0 0 auto; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.dish__p::after { content: " €"; font-size: .8em; opacity: .55; }
.dish__p--raw::after { content: none; }
.dish__x { display: block; color: var(--fg-faint); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

/* --- Fiche de contact ------------------------------------------------- */
.fiche { display: grid; gap: clamp(2.4rem, 6vw, 4rem); }
@media (min-width: 940px) {
  .fiche { grid-template-columns: repeat(12, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .fiche__adresse { grid-column: 1 / 6; }
  .fiche__liste   { grid-column: 6 / 13; }
}
.fiche__adresse { display: grid; gap: 1.1rem; align-content: start; }
.fiche__adresse .display { text-transform: none; letter-spacing: -.05em; }

.fiche__liste { list-style: none; padding: 0; margin: 0; }
.fiche__liste li { border-top: 1px solid var(--rule); }
.fiche__liste li:last-child { border-bottom: 1px solid var(--rule); }
.fiche__ligne {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: .3rem 1.2rem; padding: clamp(1.1rem, 2.4vw, 1.5rem) 0;
  text-decoration: none; color: inherit;
}
@media (min-width: 620px) {
  .fiche__ligne { grid-template-columns: 8.5rem auto minmax(1.5rem, 1fr) auto; }
}
/* meme conduite pointillee que les plats de la carte */
.fiche__d { display: none; border-bottom: 1px dotted var(--rule); transform: translateY(-.34em); }
@media (min-width: 620px) { .fiche__d { display: block; } }
.fiche__t { color: var(--fg-soft); grid-column: 1; }
.fiche__v {
  justify-self: start;
  font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: -.035em; line-height: 1.25;
  font-variation-settings: "wdth" 96, "wght" 500; position: relative; overflow-wrap: anywhere;
}
.fiche__v::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.16em; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .42s var(--ease);
}
.fiche__ligne:hover .fiche__v::after,
.fiche__ligne:focus-visible .fiche__v::after { transform: scaleX(1); }
.fiche__a { color: var(--fg-faint); justify-self: end; transition: color .3s var(--ease); white-space: nowrap; }
.fiche__ligne:hover .fiche__a { color: var(--fg); }
@media (max-width: 619px) { .fiche__a { grid-column: 2; grid-row: 1; } }

/* --- Équipe / grille ----------------------------------------------------- */
.grid3 { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid2 { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
@media (min-width: 760px) { .grid2 { grid-template-columns: repeat(2, 1fr); } }
.card { display: grid; gap: .85rem; align-content: start; }
.card__t { font-size: 1.05rem; letter-spacing: -.03em; font-variation-settings: "wdth" 96, "wght" 500; }
.card__p { color: var(--fg-soft); font-size: 13px; }

/* --- Citation pleine page ------------------------------------------------ */
.quote { text-align: center; display: grid; gap: clamp(1.4rem, 4vw, 2.4rem); justify-items: center; }
.quote__mark { width: min(80vw, 720px); }
/* le fond de la photo est exactement --creme-chaud : le coulis se fond dans la page */
.quote__coulis { width: min(100%, 980px); }
.quote__coulis img { width: 100%; height: auto; }

/* --- Détails / FAQ ------------------------------------------------------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-size: clamp(.95rem, 2vw, 1.08rem); letter-spacing: -.03em;
  font-variation-settings: "wdth" 96, "wght" 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px;
  background: currentColor; transition: transform .4s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0v12M0 6h12' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0v12M0 6h12' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center/contain;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__a { padding-bottom: 1.4rem; color: var(--fg-soft); font-size: 13.5px; max-width: 62ch; }

/* --- Bandes d'appel ------------------------------------------------------ */
.cta { display: grid; gap: clamp(1.6rem, 4vw, 2.4rem); justify-items: center; text-align: center; }

/* --- Formulaire de réservation ------------------------------------------- */
.book { display: grid; gap: clamp(2rem, 5vw, 3.4rem); }
@media (min-width: 1000px) {
  .book { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(3rem, 6vw, 6rem); }
  .recap { position: sticky; top: calc(var(--head-h) + 1.5rem); }
}
.steps { display: flex; gap: .55rem; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: .5rem; color: var(--fg-faint); transition: color .35s; }
.steps li::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.steps li:last-child::after { display: none; }
.steps li.is-done, .steps li.is-now { color: var(--fg); }

.step { display: none; gap: 1.6rem; }
.step.is-now { display: grid; animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.step__q { font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.045em; text-transform: uppercase; font-variation-settings: "wdth" 92, "wght" 500; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  min-width: 52px; min-height: 52px; padding: .6rem 1rem;
  border: 1px solid var(--rule); border-radius: 999px; background: transparent;
  cursor: pointer; font-size: 12px; letter-spacing: .06em;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip[disabled] { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.field { display: grid; gap: .45rem; }
.field > label { color: var(--fg-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem .95rem;
  background: transparent; border: 1px solid var(--rule); border-radius: 4px;
  font-size: 14px; letter-spacing: -.01em;
  transition: border-color .25s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-soft); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); outline-offset: 2px; }
.field__help { color: var(--fg-faint); font-size: 11px; letter-spacing: .04em; }
.field__err { color: var(--accent); font-size: 11px; letter-spacing: .04em; min-height: 1em; }
.field.is-bad input, .field.is-bad select { border-color: var(--accent); }
.fields2 { display: grid; gap: 1rem; }
@media (min-width: 620px) { .fields2 { grid-template-columns: 1fr 1fr; } }

.recap { align-self: start; display: grid; gap: 1.1rem; padding: clamp(1.3rem, 3vw, 1.9rem); border: 1px solid var(--rule); border-radius: 6px; }
.recap dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: 0; }
.recap dt { color: var(--fg-soft); }
.recap dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.recap__ticket { border-top: 1px dashed var(--rule); padding-top: 1.1rem; }

.done { display: grid; gap: 1.4rem; justify-items: start; }
.done__mark { width: min(56vw, 300px); }

/* --- Pied de page -------------------------------------------------------- */
.foot__label { opacity: .74; }
.foot { background: var(--bordeaux); color: var(--creme); padding-top: clamp(3.2rem, 8vw, 5.5rem); }
.foot__top { display: grid; gap: clamp(2.2rem, 6vw, 3rem); }
@media (min-width: 900px) { .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, .65fr) minmax(0, .95fr); gap: 2.5rem; } }
.foot__col { display: grid; gap: .7rem; align-content: start; }
.foot__col a { text-decoration: none; opacity: .82; transition: opacity .25s; overflow-wrap: anywhere; }
.foot__col a:hover { opacity: 1; }
.foot__mark { width: min(88vw, 1400px); margin: clamp(2.6rem, 7vw, 4.5rem) auto clamp(1rem, 2vw, 1.6rem); opacity: .96; }
.foot__band { border-top: 1px solid rgba(240,235,231,.24); padding-block: 1.1rem clamp(1.4rem, 3vw, 2rem); }
.foot__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; color: rgba(240,235,231,.74); padding-top: 1rem; }

/* --- Révélations --------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .85s var(--ease) var(--d, 0s), transform .85s var(--ease) var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.rv-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease-io) var(--d, 0s); }
.rv-mask.is-in { clip-path: inset(0 0 0 0); }
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.09); transition: transform 1.5s var(--ease-io) var(--d, 0s); }
.rv-img.is-in img { transform: scale(1); }
.rv-char > .w { display: inline-block; white-space: nowrap; }
.rv-char > .w > span { display: inline-block; opacity: 0; transform: translateY(.42em); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.rv-char.is-in > .w > span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv, .rv-char > .w > span { opacity: 1 !important; transform: none !important; }
  .rv-mask { clip-path: none !important; }
  .rv-img img { transform: none !important; }
  .script .ink { stroke-dashoffset: 0 !important; }
  .marquee__track { animation: none; }
  .bleed__inner { transform: none !important; }
}

/* --- Divers -------------------------------------------------------------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -100px; left: var(--gut); z-index: 200; background: var(--bordeaux); color: var(--creme); padding: .8rem 1.2rem; text-decoration: none; transition: top .25s; }
.skip:focus { top: calc(var(--head-h) + .5rem); }
.hr { height: 1px; background: var(--rule); border: 0; }
