/* ==========================================================================
   Le Café des Ternes — système de design
   Mise en page éditoriale plein cadre : bandes alternées, capitales serrées,
   images révélées au volet. Aucune dépendance, aucun traceur.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Jetons */
:root {
  /* Couleurs */
  --paper:       #FCFBF8;   /* blanc chaud */
  --paper-2:     #F3F1EA;
  --greige:      #E3E3DB;   /* bandeau bas de page */
  --ink:         #141414;
  --ink-2:       #3A3A38;
  --muted:       #77776F;
  --brick:       #7C3924;   /* terre cuite — accent principal */
  --brick-soft:  #C08A6C;
  --blue:        #2F5C7E;   /* zellige du bar, accent discret */
  --line:        rgba(20, 20, 20, .14);
  --line-soft:   rgba(20, 20, 20, .08);
  --white:       #FFFFFF;

  /* Typographie — Archivo partout, un didone pour le seul nom de la maison */
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Playfair Display", "Didot", Georgia, "Times New Roman", serif;

  /* Rythme */
  --wrap: 1240px;
  --measure: 680px;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --band: clamp(5rem, 11vw, 10rem);

  --header-h: 72px;
  --sbw: 0px;            /* largeur de la barre de défilement, mesurée en JS */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------ 2. Réglages */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip; /* les médias débordants ne créent pas de barre horizontale */
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(.97rem, .35vw + .88rem, 1.06rem);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* le rognage est porté par <html> : garder aussi le corps en overflow
     casserait la position collante de la navigation de la carte */
}

img, picture, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.06; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--brick); outline-offset: 4px; }
::selection { background: var(--brick); color: var(--paper); }

/* ------------------------------------------------------- 3. Utilitaires */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1600px; }
.measure { max-width: var(--measure); }

.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band--paper2 { background: var(--paper-2); }
.band--greige { background: var(--greige); }
.band--ink { background: var(--ink); color: var(--paper); }

.center { text-align: center; }
.center .measure { margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -120px; left: 12px; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: .8rem 1.2rem; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Titres — capitales, chasse serrée, comme un titre de générique */
.display {
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.028em;
  text-transform: uppercase;
  line-height: .98;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.8rem, 9vw, 7rem); }
.display--sm { font-size: clamp(1.5rem, 3vw, 2.3rem); }

.title-brick { color: var(--brick); }

.kicker {
  display: block;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1.6rem;
}
.kicker--light { color: var(--brick-soft); }

.lede {
  font-size: clamp(1.02rem, .5vw + .92rem, 1.16rem);
  line-height: 1.75;
  color: var(--ink-2);
}
.band--ink .lede, .overlay-content .lede { color: rgba(252, 251, 248, .82); }

.rule {
  width: 46px; height: 1px;
  background: var(--brick);
  margin: 1.8rem 0;
}
.center .rule { margin-inline: auto; }

/* --------------------------------------------------------- 4. Boutons */
.btn {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2.1rem;
  min-height: 50px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
/* Remplissage qui monte au survol */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bd);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
  z-index: 0;
}
.btn > * , .btn { position: relative; }
.btn span { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }

.btn--dark { --bd: var(--ink); --fg: var(--ink); }
.btn--dark:hover { color: var(--paper); }

.btn--brick { --bd: var(--brick); --fg: var(--brick); }
.btn--brick:hover { color: var(--paper); }

.btn--light { --bd: rgba(252,251,248,.8); --fg: var(--paper); }
.btn--light:hover { color: var(--ink); }
.btn--light::before { background: var(--paper); }

.btn--solid { --bd: var(--ink); --fg: var(--paper); background: var(--ink); }
.btn--solid::before { background: var(--brick); }
.btn--solid:hover { color: var(--paper); border-color: var(--brick); }

.btn--sm { padding: .72rem 1.35rem; min-height: 42px; font-size: .67rem; letter-spacing: .17em; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

/* Lien souligné qui se dessine */
.link-line {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brick);
  padding-bottom: .35rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s var(--ease);
}
.link-line:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* --------------------------------------------------------- 5. En-tête */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--paper);
  transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}

.header--solid {
  background: rgba(252, 251, 248, .96);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
}
.headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: .9rem;
}

.brand {
  text-decoration: none;
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.1vw, 2.1rem); }
.nav a {
  position: relative;
  text-decoration: none;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-block: .3rem;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__cta { display: flex; align-items: center; gap: .75rem; }

/* Le bouton de l'en-tête suit l'état clair/sombre de la barre */
.header .btn { --bd: rgba(252, 251, 248, .75); --fg: var(--paper); }
.header .btn::before { background: var(--paper); }
.header .btn:hover { color: var(--ink); }
.header--solid .btn { --bd: var(--ink); --fg: var(--ink); }
.header--solid .btn::before { background: var(--ink); }
.header--solid .btn:hover { color: var(--paper); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid currentColor; cursor: pointer;
}
.burger span { display: block; position: relative; width: 15px; height: 1px; background: currentColor; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 15px; height: 1px; background: currentColor;
  transition: transform .3s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
/* Sur les petits écrans, « Réserver » vit dans la barre fixe du bas :
   l'en-tête garde le nom et le menu, et rien ne déborde. */
@media (max-width: 480px) {
  .header .btn { display: none; }
  .brand { font-size: .8rem; letter-spacing: .12em; }
}

/* Panneau plein écran */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  /* La visibilité bascule d'un coup à l'ouverture (sinon rien à l'intérieur
     n'est focalisable) et attend la fin du fondu à la fermeture. */
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
  overflow-y: auto;
}
.menu-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s;
}
.menu-panel a.panel-link {
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: .55rem;
  border-bottom: 1px solid rgba(252,251,248,.14);
}
.menu-panel .btn { margin-top: 2rem; align-self: flex-start; }
.menu-panel__meta {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(252,251,248,.6);
  line-height: 2;
}
.menu-panel__meta a { text-decoration: none; }

/* ------------------------------------------------------------ 6. Héros */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* repli pour les navigateurs sans unités dynamiques */
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,.9) 0%, rgba(10,10,10,.45) 34%, rgba(10,10,10,.05) 62%, rgba(10,10,10,.5) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  padding-top: calc(var(--header-h) + 3rem);
  text-align: center;
}
.hero__inner .btn-row { justify-content: center; }

/* Le nom de la maison — didone en casse mixte, uniforme (le <em> autour de
   « des » ne sert plus qu'à la sémantique, plus à l'italique).
   Seul endroit du site où cette police est utilisée. Playfair Display plutôt
   qu'un Bodoni pur : mêmes empattements élégants, mais des pleins moins fins
   et un contraste moins tranché, donc plus confortable à lire en grand. */
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 10vw, 7.6rem);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1;
  margin-bottom: 1.6rem;
}
.hero__title em { font-style: normal; font-weight: inherit; }
.hero__sub {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(252,251,248,.85);
  margin-bottom: 2.4rem;
}

.hero__foot {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(252,251,248,.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem 2.5rem;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(252,251,248,.78);
}

.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 8vh, 6rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(252,251,248,.7);
  text-decoration: none;
}
.scroll-hint i {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(252,251,248,.75), transparent);
  animation: hintSlide 2.4s ease-in-out infinite;
}
@keyframes hintSlide {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
@media (max-width: 780px) { .scroll-hint { display: none; } }

/* Pastille d'ouverture */
.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.status[data-state="open"] { color: #8FBF7F; }
.status[data-state="closed"] { color: #D8A06C; }
.status[data-state="open"] .status__dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid currentColor;
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .8; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
.status--dark[data-state="open"] { color: #4E7A44; }
.status--dark[data-state="closed"] { color: #A9642C; }

/* ----------------------------------------- 7. Images : volet + fondu + grain */
/* Le média est masqué par un volet qui se lève, l'image se dézoome et apparaît.
   C'est l'effet d'apparition repris du site de référence. */
.figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--paper-2);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  opacity: 0;
  transition: transform 1.6s var(--ease), opacity 1.1s ease;
}
.figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 1.05s var(--ease);
  z-index: 2;
}
.figure.is-in img { transform: scale(1); opacity: 1; }
.figure.is-in::before { transform: scaleY(0); }

.no-js .figure img { opacity: 1; transform: none; }
.no-js .figure::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .figure img { opacity: 1; transform: none; transition: none; }
  .figure::before { display: none; }
}

/* Grain de pellicule, très léger, sur les images */
.figure::after,
.hero__media::after,
.parallax__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.figure--tall { aspect-ratio: 3 / 4; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--square { aspect-ratio: 1 / 1; }

.caption {
  margin-top: .9rem;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Apparition du texte */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-up.is-in { opacity: 1; transform: none; }
.no-js .fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

/* ------------------------------------------------ 8. Bandes alternées */
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.duo__text { max-width: 34rem; }
/* Dans une bande inversée, le média est écrit en premier dans le HTML :
   il occupe donc naturellement la colonne de gauche, du côté de son débord. */

@media (max-width: 880px) {
  .duo { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Média débordant jusqu'au bord de l'écran */
.bleed-left .duo__media { margin-left: calc(var(--gutter) * -1); }
.bleed-right .duo__media { margin-right: calc(var(--gutter) * -1); }
/* Dès que la page dépasse la largeur du bloc de contenu, le média rejoint
   vraiment le bord de l'écran (barre de défilement déduite). */
@media (min-width: 1241px) {
  .bleed-left .duo__media { margin-left: calc((100vw - var(--sbw) - var(--wrap)) / -2 - var(--gutter)); }
  .bleed-right .duo__media { margin-right: calc((100vw - var(--sbw) - var(--wrap)) / -2 - var(--gutter)); }
}
@media (max-width: 880px) {
  .bleed-left .duo__media, .bleed-right .duo__media {
    margin-inline: calc(var(--gutter) * -1);
  }
}

/* ------------------------------------------- 9. Bande plein cadre (parallaxe) */
.parallax {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  display: grid;
  place-items: center;
  min-height: min(88vh, 780px);
  min-height: min(88svh, 780px);
  padding-block: var(--band);
}
.parallax__media { position: absolute; inset: -12% 0; }
.parallax__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.parallax::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.62), rgba(10,10,10,.72));
}
.overlay-content { position: relative; z-index: 2; }

/* Les heures : quatre moments en ligne */
.hours-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: rgba(252,251,248,.24);
  border: 1px solid rgba(252,251,248,.24);
}
.hours-row li {
  background: transparent;
  padding: clamp(1.3rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: background .4s var(--ease);
}
.hours-row li[data-now="true"] { background: rgba(252,251,248,.13); }
.hours-row b {
  display: block;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brick-soft);
  margin-bottom: .6rem;
}
.hours-row strong {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.hours-row span { font-size: .84rem; color: rgba(252,251,248,.7); line-height: 1.55; }

@media (max-width: 900px) { .hours-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hours-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------- 10. Extraits de carte */
.picks {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  max-width: 34rem;
}
.pick {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.pick:first-child { border-top: 1px solid var(--line-soft); }
.pick__name {
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pick__price { font-size: .93rem; font-weight: 600; color: var(--brick); font-variant-numeric: tabular-nums; }
.pick__desc { grid-column: 1 / -1; font-size: .87rem; color: var(--muted); margin-top: -.35rem; }

/* --------------------------------------------------- 11. Trois espaces */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2.2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.trio h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 1.3rem;
  margin-bottom: .5rem;
}
.trio p { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; gap: 2.5rem; } }

/* --------------------------------------------------- 12. Infos & accès */
.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.info h3 {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1.1rem;
}
.info p, .info li { font-size: .93rem; color: var(--ink-2); }
.info li + li { margin-top: .45rem; }
.info a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.info a:hover { border-bottom-color: var(--brick); color: var(--brick); }
.info .small { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours-table th, .hours-table td { padding: .42rem 0; text-align: left; font-weight: 400; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr[data-today="true"] th, .hours-table tr[data-today="true"] td {
  color: var(--brick); font-weight: 600;
}

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tags li {
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: .35rem .7rem; color: var(--muted);
}

/* ------------------------------------------------------ 13. Newsletter */
.newsletter { text-align: center; }
.newsletter .display { margin-bottom: 1.2rem; }

/* ---------------------------------------------------- 14. Pied de page */
.footer { background: var(--greige); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-size: .64rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem;
}
.footer li + li { margin-top: .5rem; }
.footer a { font-size: .9rem; text-decoration: none; }
.footer a:hover { color: var(--brick); }
.footer__brand { font-size: 1.05rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.footer__brand + p { font-size: .9rem; color: var(--muted); margin-top: 1rem; max-width: 28ch; }

.footer__bottom {
  margin-top: 3.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(20,20,20,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer__bottom a { font-size: .72rem; }

/* ------------------------------------------------ 15. Barre fixe mobile */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px;
  background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  flex: 1;
  text-align: center;
  padding: 1.05rem .5rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--paper);
  background: var(--ink);
}
.action-bar a + a { background: var(--brick); }
@media (max-width: 780px) {
  .action-bar { display: flex; }
  /* la hauteur de la barre + l'encoche du bas, pour ne rien masquer du pied de page */
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------- 16. La carte */
.menu-head {
  position: relative;
  min-height: min(58vh, 520px);
  min-height: min(58svh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}
.menu-head__media { position: absolute; inset: 0; }
.menu-head__media img { width: 100%; height: 100%; object-fit: cover; }
.menu-head::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.85), rgba(10,10,10,.3) 60%, rgba(10,10,10,.5));
}
.menu-head__inner { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 5vw, 4rem); }

.menu-nav {
  position: sticky;
  top: calc(var(--header-h) - 1px); /* 1 px de recouvrement : aucun filet ne passe */
  z-index: 80;
  background: rgba(252,251,248,.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.menu-nav__inner {
  display: flex; gap: 1.6rem;
  overflow-x: auto; scrollbar-width: none;
  padding-block: 1.1rem;
}
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none;
  font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); white-space: nowrap;
  padding-bottom: .3rem; border-bottom: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
.menu-nav a:hover { color: var(--ink); }
.menu-nav a[aria-current="true"] { color: var(--brick); border-bottom-color: var(--brick); }

.carte { max-width: 660px; margin-inline: auto; text-align: center; }
.carte__section {
  padding-block: clamp(3rem, 6vw, 5rem);
  /* s'ajoute au scroll-padding de <html> : ensemble ils placent la section
     juste sous la barre de sections collante */
  scroll-margin-top: 44px;
}
.carte__section + .carte__section { border-top: 1px solid var(--line-soft); }
.carte__title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brick);
  margin-bottom: .8rem;
}
.carte__note {
  font-size: .84rem; color: var(--muted);
  max-width: 42ch; margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.plat { padding-block: 1.35rem; }
.plat__name {
  font-size: 1rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  line-height: 1.35;
}
.plat__desc { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.plat__price {
  display: block;
  margin-top: .55rem;
  font-size: .95rem; font-weight: 600; color: var(--brick);
  font-variant-numeric: tabular-nums;
}
.carte__block {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--paper-2);
  font-size: .89rem;
  color: var(--ink-2);
}
.carte__block strong {
  display: block;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brick); margin-bottom: .5rem;
}
.carte__block p + strong { margin-top: 1.1rem; }

.carte__legal {
  max-width: 660px; margin: 0 auto;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: .78rem; color: var(--muted); line-height: 1.8;
}
.carte__legal a { color: var(--brick); }

/* ------------------------------------------------------- 17. Page 404 */
.error {
  min-height: 88vh;
  min-height: 88svh;
  display: grid; place-items: center; text-align: center;
  padding-top: var(--header-h);
}

/* =========================================================================
   19. Appareils tactiles
   Sur un écran tactile, l'état de survol reste « collé » après un appui :
   on le neutralise et on rend l'effet au moment de l'appui (:active).
   ========================================================================= */
@media (hover: none) {
  .btn:hover::before,
  .header .btn:hover::before { transform: translateY(101%); }
  .btn:hover,
  .header .btn:hover,
  .header--solid .btn:hover { color: var(--fg); }

  .btn:active::before { transform: translateY(0); }
  .btn--dark:active, .btn--brick:active, .btn--solid:active { color: var(--paper); }
  .btn--light:active { color: var(--ink); }
  .header .btn:active { color: var(--ink); }
  .header--solid .btn:active { color: var(--paper); }

  .nav a:hover::after { transform: scaleX(0); }
  .link-line:hover { background-size: 100% 1px; background-position: 0 100%; }
  .link-line:active { background-size: 0% 1px; background-position: 100% 100%; }
  .info a:hover { border-bottom-color: var(--line); color: inherit; }
  .footer a:hover { color: inherit; }
  .menu-nav a:hover { color: var(--muted); }
  .action-bar a:active { opacity: .85; }
}

/* Le voile qui masque une image avant sa révélation doit avoir exactement
   la couleur du fond de sa bande, sinon on aperçoit un rectangle plus clair. */
.band--paper2 .figure::before { background: var(--paper-2); }
.band--greige .figure::before { background: var(--greige); }
.band--ink .figure::before { background: var(--ink); }
