/* ═══════════════════════════════════════════════════════════
   Nostimo Food Truck
   Direction : éditorial méditerranéen, terre cuite sur fond os.
   Le raffinement vient du vide et du cadrage.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Fonds : jamais de blanc pur */
  --bone:        #F7F2EA;
  --bone-deep:   #EFE6D8;
  --char:        #241A14;   /* brun charbon, le "noir" du site */
  --char-soft:   #33261E;

  /* Encres */
  --ink:         #241A14;
  --ink-mid:     #5A4A3E;
  --ink-light:   #F3EADD;
  --ink-light-2: #C4B4A2;

  /* Terre cuite, l'ancrage du logo */
  --terra:       #B7522A;   /* aplats, gros display */
  --terra-text:  #9E4420;   /* AA sur fond os : 5,7:1 */
  --terra-deep:  #7E3517;
  --ember:       #D98240;   /* sur fond sombre uniquement */

  /* Contrepoint */
  --olive:       #636B4F;
  --line:        #D9CBB6;
  --line-dark:   #4A3B30;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --gut:  1.375rem;
  --pad:  clamp(1.25rem, 5vw, 5.5rem);
  --rule: 1px solid var(--line);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;            /* lisible dehors, en plein soleil */
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 5.5rem;     /* place pour la barre d'appel */
}

@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terra-text); }

:focus-visible {
  outline: 2px solid var(--terra-text);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--char); color: var(--ink-light);
  padding: .75rem 1.25rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ── Titres ───────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "SOFT" 20, "WONK" 1;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-size: .74rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra-text);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--ember); }

/* ── Barre haute ──────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem var(--pad);
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}

.topbar__mark {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.02em;
  margin-right: auto;
}

.topbar__nav { display: none; gap: 1.9rem; margin-right: 1.5rem; }
.topbar__nav a {
  color: var(--ink-mid); text-decoration: none;
  font-size: .93rem; font-weight: 500;
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.topbar__nav a:hover { color: var(--ink); border-bottom-color: var(--terra); }
@media (min-width: 900px) { .topbar__nav { display: flex; } }

/* Réseaux sociaux : glyphes monochromes, dans l'encre du site.
   Les logos de marque en couleur auraient fait trois taches
   sans rapport avec la palette. */
.social {
  list-style: none; display: flex; align-items: center;
  gap: .15rem; margin: 0; padding: 0;
  margin-right: .35rem;
}
.social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;        /* cible tactile */
  color: var(--ink-mid);
  transition: color .18s;
}
.social a:hover { color: var(--terra-text); }
.social svg { width: 19px; height: 19px; display: block; }

body.nav-open .social a { color: var(--ink-light-2); }

@media (min-width: 900px) {
  .social { gap: .3rem; margin-right: 1.1rem; }
  .social svg { width: 20px; height: 20px; }
}

.topbar__call {
  display: none;
  background: var(--terra); color: #FFF8F0;
  text-decoration: none; font-weight: 600;
  font-size: .92rem;
  padding: .6rem 1.4rem;
  transition: background .18s;
}
.topbar__call:hover { background: var(--terra-deep); }
@media (min-width: 900px) { .topbar__call { display: block; } }

/* ── Menu mobile ──────────────────────────────────────── */

.burger {
  display: flex; align-items: center; gap: .55rem;
  background: none; border: 0;
  padding: .5rem .25rem .5rem .75rem;
  min-height: 44px;                 /* cible tactile */
  color: var(--ink);
  font-family: var(--body); font-weight: 600;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
}
@media (min-width: 900px) { .burger { display: none; } }

.burger__bars {
  position: relative;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: background .18s;
}
.burger__bars::before,
.burger__bars::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--ink);
  transition: transform .22s ease, top .18s ease;
}
.burger__bars::before { top: -7px; }
.burger__bars::after  { top: 7px; }

/* Ouvert : les trois barres deviennent une croix. */
.burger[aria-expanded="true"] { color: var(--ink-light); }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before,
.burger[aria-expanded="true"] .burger__bars::after {
  top: 0; background: var(--ink-light);
}
.burger[aria-expanded="true"] .burger__bars::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { transform: rotate(-45deg); }

body.nav-open .topbar {
  background: var(--char);
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.nav-open .topbar__mark { color: var(--ink-light); }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--char);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.5rem, 6vw, 2.5rem);
  padding: 5.5rem var(--pad) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
@media (min-width: 900px) { .drawer { display: none !important; } }

.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li + li { margin-top: .15rem; }
.drawer__list a {
  display: block;
  padding: .45rem 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 8.5vw, 2.6rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -.025em;
  color: var(--ink-light);
  text-decoration: none;
}
.drawer__list a:active { color: var(--ember); }

.drawer__foot { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.drawer__call { margin-top: 0; }
.drawer__hours {
  margin: 1rem 0 0;
  color: var(--ink-light-2);
  font-size: .87rem;
}

/* ── Hero ─────────────────────────────────────────────── */
/* Texte sur fond plein, photo à côté. Pas de texte posé sur
   l'image : illisible au soleil, et c'est le réflexe par défaut. */

/* Mobile : la photo passe en bande pleine largeur au-dessus du
   titre. Un bloc de texte suivi d'un bloc image, tous deux à la
   même largeur, donnait un empilement sans rythme. */

.hero { display: grid; gap: 0; padding: 0; }

.hero__figure { margin: 0; position: relative; }

/* La vignette déborde sous la photo du camion : il faut lui
   réserver la place, sinon elle recouvre le titre. */
.hero__text {
  padding: clamp(3.5rem, 13vw, 5rem) var(--pad) clamp(2.5rem, 8vw, 3.5rem);
}
@media (min-width: 900px) {
  .hero__text { padding-top: clamp(3rem, 6vw, 5.5rem); }
}

/* ── Vignette qui défile ──────────────────────────────── */

/* Pile de photos imprimées posée sur la grande image. Chaque carte
   occupe une position (0 = devant) ; à chaque pas les positions
   glissent d'un cran et celle de devant part. */

.deck {
  position: absolute;
  left: var(--pad);
  bottom: clamp(-3.25rem, -9vw, -2.25rem);
  width: clamp(150px, 41vw, 196px);
  z-index: 2;
  cursor: grab;
  touch-action: pan-y;              /* le swipe horizontal nous revient */
  --px: 0px;  --py: 0px;            /* décalage souris, piloté en JS */
}
.deck:active { cursor: grabbing; }
.deck:focus-visible { outline: 2px solid var(--terra); outline-offset: 10px; }

.deck__stage {
  position: relative;
  aspect-ratio: 4 / 5;              /* hauteur réservée, aucun saut */
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.deck__card {
  position: absolute; inset: 0;
  margin: 0;
  background: var(--bone);
  padding: 6px;                     /* le liseré crème d'un tirage papier */
  border: 1px solid rgba(36, 26, 20, .06);
  box-shadow: 0 2px 6px rgba(36, 26, 20, .07),
              0 10px 24px rgba(36, 26, 20, .06);
  transform-origin: 50% 60%;
  will-change: transform, opacity;
  transition: transform .62s cubic-bezier(.22, 1, .36, 1),
              opacity   .62s cubic-bezier(.22, 1, .36, 1);
}

.deck__card img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}

/* Positions dans la pile. Rotations volontairement faibles. */
.deck__card[data-pos="0"] { transform: rotate(-1.2deg) scale(1);    z-index: 4; opacity: 1; }
.deck__card[data-pos="1"] { transform: translate(13px, 9px)  rotate(2.4deg) scale(.965); z-index: 3; opacity: 1; }
.deck__card[data-pos="2"] { transform: translate(24px, 17px) rotate(4deg)   scale(.935); z-index: 2; opacity: 1; }
.deck__card[data-pos="3"] { transform: translate(30px, 22px) rotate(5deg)   scale(.92);  z-index: 1; opacity: 0; }

/* La carte qui quitte la pile : vers le haut-gauche, en tournant. */
.deck__card.is-leaving {
  transform: translate(-26%, -12%) rotate(-9deg) scale(.9);
  opacity: 0;
  z-index: 5;
}

/* Repositionnement en fond de pile, sans rejouer l'animation. */
.deck__card.no-anim { transition: none; }

/* ── Compteur et barre ────────────────────────────────── */

.deck__meta {
  display: flex; align-items: center; gap: .6rem;
  margin: .75rem 0 0;
}
.deck__num {
  font-family: var(--display);
  font-size: .82rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--ink-mid);
  flex: none;
}
.deck__num b { color: var(--terra-text); font-weight: 600; }

.deck__bar {
  flex: 1 1 auto; height: 2px; min-width: 34px;
  background: rgba(36, 26, 20, .16);
  overflow: hidden;
}
.deck__fill {
  display: block; height: 100%;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (min-width: 900px) {
  .deck {
    /* Déborde à gauche par-dessus le bord de la grande photo. */
    left: clamp(-4.5rem, -5vw, -2.5rem);
    bottom: clamp(-3.5rem, -4.5vw, -2.5rem);
    width: clamp(210px, 19vw, 272px);
  }
  .deck__card { padding: 8px; }
  .deck__card[data-pos="1"] { transform: translate(17px, 12px) rotate(2.4deg) scale(.965); }
  .deck__card[data-pos="2"] { transform: translate(31px, 22px) rotate(4deg)   scale(.935); }
  .deck__card[data-pos="3"] { transform: translate(38px, 28px) rotate(5deg)   scale(.92); }
}

/* Sur les écrans étroits la pile se resserre pour ne rien pousser
   hors cadre. */
@media (max-width: 400px) {
  .deck__card[data-pos="1"] { transform: translate(9px, 7px)   rotate(2deg)  scale(.97); }
  .deck__card[data-pos="2"] { transform: translate(17px, 13px) rotate(3.4deg) scale(.945); }
  .deck__card[data-pos="3"] { transform: translate(21px, 16px) rotate(4deg)  scale(.93); }
}

@media (prefers-reduced-motion: reduce) {
  .deck__stage { transition: none; }
  .deck__card  { transition: opacity .2s linear; }
  .deck__bar   { display: none; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    padding-left: var(--pad);   /* l'image file jusqu'au bord droit */
  }
  .hero__text {
    order: -1;                  /* texte à gauche, photo à droite */
    padding: clamp(3rem, 6vw, 5.5rem) 0;
  }
}

.hero__title {
  font-size: clamp(4.2rem, 22vw, 9rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144;
  letter-spacing: -.042em;
  line-height: .86;
  margin-bottom: .3rem;
}

.hero__signature {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  color: var(--terra-text);
  margin: 0 0 1.5rem;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin: 1.35rem 0 1.7rem;
}

.hero__lede {
  font-size: clamp(1.02rem, 2.5vw, 1.15rem);
  color: var(--ink-mid);
  max-width: 36ch;
  margin: 0 0 .7rem;
}

.hero__note {
  font-size: .85rem; color: var(--ink-mid);
  margin: 0; max-width: 38ch;
}

/* ── Statut ouvert / fermé ────────────────────────────── */

.status {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .93rem; font-weight: 600;
  padding: .5rem .95rem .5rem .8rem;
  border: 1px solid var(--line);
  background: var(--bone-deep);
  color: var(--ink-mid);
}

.status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-light-2); flex: none;
}
.status[data-state="open"]   { border-color: #7E8F5E; color: #46522F; background: #EEF1E3; }
.status[data-state="open"]   .status__dot { background: #6E8244; }
.status[data-state="closed"] { border-color: var(--line); }
.status[data-state="soon"]   { border-color: #C9924A; color: #7A5316; background: #F7EEDC; }
.status[data-state="soon"]   .status__dot { background: #C9924A; }

/* ── Boutons ──────────────────────────────────────────── */

.btn {
  display: inline-flex; flex-direction: column;
  justify-content: center;
  text-decoration: none;
  padding: .85rem 1.6rem;
  min-height: 52px;               /* cible tactile confortable */
  font-family: var(--body);
  transition: background .18s, border-color .18s, color .18s;
}

.btn--primary { background: var(--terra); color: #FFF8F0; }
.btn--primary:hover { background: var(--terra-deep); }

.btn--ghost {
  border: 1px solid var(--ink); color: var(--ink);
  justify-content: center; align-items: center;
  font-weight: 600;
}
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.btn--light { background: var(--ink-light); color: var(--char); margin-top: 1.9rem; }
.btn--light:hover { background: #FFFBF4; }

.btn--compact { padding: .7rem 1.4rem; align-items: center; font-weight: 600; }

.btn__kicker {
  font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; opacity: .82;
  font-weight: 600;
}
.btn__number {
  font-family: var(--display);
  font-size: 1.28rem; font-weight: 600;
  letter-spacing: .005em;
}

/* ── Sections ─────────────────────────────────────────── */

.section { padding: clamp(3.5rem, 9vw, 7rem) var(--pad); }
.section--alt { background: var(--bone-deep); }

.section__head { max-width: 46ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }

.section__title {
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 90;
  letter-spacing: -.025em;
}

.section__lede {
  color: var(--ink-mid);
  margin: .9rem 0 0;
  font-size: 1.02rem;
}

/* ── Sélection ────────────────────────────────────────── */

/* Mobile : piste horizontale à faire défiler du pouce. Empilées,
   les quatre cartes pleine largeur imposaient 3 000 px de scroll
   pour quatre produits. Le bord de la carte suivante indique
   qu'il y a autre chose à voir. */

.picks {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1);
  padding: 0 var(--pad) .5rem;
  /* Sans ça, le snap cale la 1re carte sur le bord du snapport,
     qui ignore le padding : la piste se décalait de var(--pad)
     vers la gauche et ne s'alignait plus sur le texte. */
  scroll-padding-inline: var(--pad);
}
.picks::-webkit-scrollbar { display: none; }
.pick { scroll-snap-align: start; }

@media (min-width: 620px) {
  .picks {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}
@media (min-width: 1100px) { .picks { grid-template-columns: repeat(4, 1fr); } }

.pick__body { padding-top: 1rem; }
.pick h3 {
  font-size: 1.32rem;
  font-variation-settings: "SOFT" 25, "WONK" 1;
  margin-bottom: .4rem;
}
.pick__desc {
  font-size: .9rem; color: var(--ink-mid);
  margin: 0 0 .7rem; line-height: 1.5;
}
.pick__price {
  font-family: var(--display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--terra-text); margin: 0;
}

/* ── Navigation de la carte ───────────────────────────── */

.menunav {
  position: sticky; top: 58px; z-index: 60;
  margin: 0 calc(var(--pad) * -1) clamp(2rem, 5vw, 3rem);
  padding: .35rem 0;
  background: color-mix(in srgb, var(--bone) 94%, transparent);
  backdrop-filter: blur(8px);
  border-top: var(--rule);
  border-bottom: var(--rule);
}

.menunav__track {
  display: flex; gap: 1.5rem;
  overflow-x: auto;
  padding: .55rem var(--pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menunav__track::-webkit-scrollbar { display: none; }

.menunav a {
  flex: none;
  color: var(--ink-mid); text-decoration: none;
  font-size: .88rem; font-weight: 500;
  white-space: nowrap;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.menunav a:hover { color: var(--ink); }
.menunav a.is-active { color: var(--terra-text); border-bottom-color: var(--terra); }

/* ── La carte ─────────────────────────────────────────── */

.menu {
  display: grid;
  gap: clamp(2.75rem, 6vw, 4rem);
}
@media (min-width: 1000px) {
  .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .course--choices { grid-column: 1 / -1; }
}

.course { scroll-margin-top: 7.5rem; }

/* Respiration au milieu de la carte : sans elle, le menu est un
   tunnel de texte de plusieurs milliers de pixels sur mobile. */
.menu__break {
  grid-column: 1 / -1;
  margin: clamp(.25rem, 2vw, 1rem) calc(var(--pad) * -1);
}
.menu__break img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (min-width: 1000px) {
  /* 21:8 plutôt que 24:7 : la bande ultra-large coupait le sujet. */
  .menu__break img { aspect-ratio: 21 / 8; }
}

.course__title {
  font-size: clamp(1.45rem, 3.6vw, 1.85rem);
  font-variation-settings: "SOFT" 25, "WONK" 1;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--terra);
  display: inline-block;
}

.course__sub {
  font-size: .8rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-mid);
  margin: .7rem 0 0; font-weight: 600;
}

.course__foot {
  font-size: .87rem; color: var(--ink-mid);
  border-top: var(--rule); padding-top: .9rem; margin: 1.1rem 0 0;
}
.course__foot strong { color: var(--ink); }

.dishes { list-style: none; margin: 1.4rem 0 0; padding: 0; }

.dish {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.dish:last-child { border-bottom: 0; }

.dish__main { flex: 1 1 auto; min-width: 0; }

.dish h4 {
  font-size: 1.04rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 0;
}
.dish__main p {
  font-size: .875rem; color: var(--ink-mid);
  margin: .22rem 0 0; line-height: 1.48;
}

.dish__price {
  flex: none; margin: 0;
  font-family: var(--display);
  font-size: 1rem; font-weight: 600;
  color: var(--terra-text);
  font-variant-numeric: tabular-nums;
}

.dishes--compact .dish { padding: .6rem 0; }

.choices { display: grid; gap: clamp(2rem, 5vw, 3rem); }
@media (min-width: 800px) { .choices { grid-template-columns: repeat(2, 1fr); } }
.choice p {
  margin: 1.2rem 0 0; color: var(--ink-mid);
  font-size: .95rem; line-height: 1.75;
}

/* ── Galerie ──────────────────────────────────────────── */

.grille {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.grille__cell--big { grid-column: span 2; }
/* Ferme la rangée : à 8 photos sur 4 colonnes, la dernière case
   restait vide. */
.grille__cell:last-child { grid-column: span 2; }

@media (min-width: 700px) {
  .grille { grid-template-columns: repeat(4, 1fr); gap: .65rem; }
  .grille__cell--big { grid-column: span 2; grid-row: span 2; }
}

.grille__link {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bone);
  cursor: zoom-in;
}
.grille__cell--big .grille__link { aspect-ratio: 4 / 3; }
.grille__cell:last-child .grille__link { aspect-ratio: 2 / 1; }
@media (min-width: 700px) {
  .grille__cell--big .grille__link { aspect-ratio: 1 / 1; }
}

.grille__link img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
/* Le seul survol animé du site, et seulement sur ce qui est
   cliquable : il signale l'agrandissement possible. */
.grille__link:hover img,
.grille__link:focus-visible img { transform: scale(1.04); }

/* ── Visionneuse ──────────────────────────────────────── */

.visio {
  position: fixed; inset: 0; z-index: 300;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(18, 12, 9, .94);
}
.visio[hidden] { display: none; }

.visio__frame {
  margin: 0; grid-column: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .9rem; min-width: 0;
}
.visio__img {
  max-width: 100%;
  max-height: 76vh;
  width: auto; height: auto;
  object-fit: contain;
}
.visio__cap {
  color: var(--ink-light-2);
  font-size: .88rem;
  text-align: center;
  max-width: 46ch;
}

.visio__btn {
  border: 1px solid rgba(243, 234, 221, .28);
  background: transparent;
  color: var(--ink-light);
  font-size: 1.5rem; line-height: 1;
  width: 48px; height: 48px;       /* cible tactile */
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.visio__btn:hover { background: rgba(243, 234, 221, .12); border-color: rgba(243, 234, 221, .5); }
.visio__btn--prev { grid-column: 1; }
.visio__btn--next { grid-column: 3; }
.visio__btn--close {
  position: absolute;
  top: clamp(.75rem, 3vw, 1.5rem);
  right: clamp(.75rem, 3vw, 1.5rem);
  font-size: 1.15rem;
}

/* ── Sur commande ─────────────────────────────────────── */

.commande { background: var(--char); color: var(--ink-light); }
.commande .section__title { color: var(--ink-light); }

.commande__inner {
  display: grid; gap: clamp(2.25rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .commande__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
}

.commande__lede {
  color: var(--ink-light-2);
  font-size: 1.05rem;
  max-width: 40ch;
  margin: 1.1rem 0 0;
}

.commande__foot {
  font-size: .87rem; color: var(--ink-light-2);
  margin: 1.1rem 0 0;
}

.dishes--dark { margin-top: 2rem; }
.dishes--dark .dish { border-bottom-color: var(--line-dark); }
.dishes--dark .dish h4 { color: var(--ink-light); }
.dishes--dark .dish__main p { color: var(--ink-light-2); }
.dishes--dark .dish__price { color: var(--ember); }

.commande__figure { margin: 0; }

/* ── Venir ────────────────────────────────────────────── */

.venir { display: grid; gap: clamp(2.25rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .venir { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
}

.venir__address {
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  line-height: 1.45;
  margin: 1.6rem 0 .6rem;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

.venir__hint { color: var(--ink-mid); font-size: .93rem; margin: 0; }

.venir__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.7rem 0 2.2rem; }

.infos { margin: 0; border-top: var(--rule); }
.infos__row {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  padding: .85rem 0; border-bottom: var(--rule);
}
.infos dt {
  font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700;
  color: var(--ink-mid); flex: 0 0 11rem;
}
.infos dd { margin: 0; font-weight: 500; }

.venir__figure { margin: 0; }

/* ── Avis ─────────────────────────────────────────────── */

.avis { border-top: var(--rule); }

.avis__head {
  display: flex; align-items: baseline; gap: .85rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.avis__score {
  font-family: var(--display);
  font-size: clamp(3.6rem, 14vw, 6rem);
  font-weight: 600; margin: 0; line-height: .92;
  letter-spacing: -.03em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.avis__score span { font-size: .42em; color: var(--ink-mid); }
.avis__count {
  margin: 0; color: var(--ink-mid);
  font-size: .93rem;
}

.avis__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 850px) { .avis__list { grid-template-columns: repeat(3, 1fr); } }

.avis__item { border-top: 2px solid var(--terra); padding-top: 1.2rem; }
.avis__item blockquote { margin: 0; }
.avis__item p {
  font-family: var(--display);
  font-size: clamp(1.1rem, 3.6vw, 1.3rem);
  line-height: 1.48;
  margin: 0; text-wrap: pretty;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
.avis__author {
  font-family: var(--body) !important;
  font-size: .87rem !important; font-weight: 700;
  margin-top: 1rem !important; color: var(--ink);
}
.avis__author span { font-weight: 400; color: var(--ink-mid); }

/* ── Pied de page ─────────────────────────────────────── */

.footer {
  background: var(--char); color: var(--ink-light-2);
  padding: clamp(3rem, 7vw, 4.5rem) var(--pad) 2rem;
}

.footer__inner {
  display: grid; gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
}

/* Disque clair sous le logo : le texte noir de son centre
   disparaît sur le fond charbon du pied de page. */
.footer__logo {
  width: clamp(98px, 24vw, 124px);
  height: auto;
  background: var(--bone);
  border-radius: 50%;
  padding: 5px;
  display: block;
}
.footer__sig {
  font-family: var(--display); font-style: italic;
  color: var(--ember); margin: .2rem 0 0;
}

.footer__col h2 {
  font-family: var(--body);
  font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-light);
  margin: 0 0 .7rem; font-weight: 700;
}
.footer__col p { margin: 0 0 .4rem; font-size: .93rem; line-height: 1.6; }
.footer__col a { color: var(--ink-light); }

.footer__social { display: flex; gap: 1.25rem; margin-top: .7rem; }

.footer__legal {
  margin: 1.75rem 0 0; font-size: .82rem;
  color: var(--ink-light-2);
}
.footer__legal a { color: var(--ink-light-2); }

/* ── Barre d'appel fixe (mobile) ──────────────────────── */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  gap: .7rem;
  background: var(--terra); color: #FFF8F0;
  text-decoration: none;
  padding: .95rem 1rem calc(.95rem + env(safe-area-inset-bottom));
  box-shadow: 0 -1px 0 var(--terra-deep);
}
.callbar__label {
  font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 700; opacity: .85;
}
.callbar__num {
  font-family: var(--display);
  font-size: 1.16rem; font-weight: 600;
}
@media (min-width: 900px) { .callbar { display: none; } }

/* ── Photos ───────────────────────────────────────────── */
/* width/height sont posés dans le HTML : le navigateur réserve
   la place avant le chargement, donc aucun saut de mise en page. */

.shot {
  display: block;
  width: 100%; height: auto;
  object-fit: cover;
  background: var(--bone-deep);
}

.shot--hero  { aspect-ratio: 3 / 2; }
.shot--pick  { aspect-ratio: 1 / 1; }
.shot--venir { aspect-ratio: 3 / 2; }
.shot--dark  { aspect-ratio: 4 / 5; background: var(--char-soft); }

@media (min-width: 900px) {
  /* Le camion est une photo paysage : un cadre portrait lui
     coupait l'enseigne. 4/3 sur desktop, 3/2 sur mobile. */
  .shot--hero { aspect-ratio: 4 / 3; max-height: min(72vh, 600px); }
}

/* ── Bande de respiration ─────────────────────────────── */

/* Cartouche plein qui chevauche la photo, à la manière d'une
   légende de magazine. Un voile translucide aurait demandé 78 %
   d'opacité pour tenir le contraste AA, ce qui efface la photo. */

.band { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); }

.band__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (min-width: 700px) { .band__img { aspect-ratio: 21 / 8; } }

.band__line {
  position: relative;
  margin: clamp(-3.5rem, -9vw, -2.5rem) var(--pad) 0;
  background: var(--char);
  color: var(--ink-light);
  padding: clamp(1.35rem, 4vw, 2rem) clamp(1.4rem, 4vw, 2.5rem);
  max-width: max-content;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}

@media (min-width: 900px) {
  .band__line { margin-top: clamp(-6rem, -8vw, -4rem); }
}
