/* =========================================================================
   BORI BORI — bori-bori.fr
   Feuille de style unique. Organisée en 8 blocs :
   1. Tokens   2. Reset   3. Base typographique   4. Mise en page
   5. Composants   6. Sections   7. Mouvement   8. Impression
   ========================================================================= */

/* ---------------------------------------------------------------- 1. TOKENS */

:root {
  /* --- Couleurs : terre, épices, lagon ---------------------------------- */
  --ink:        #17110E;  /* brun-noir, presque un café serré */
  --ink-soft:   #4A3D35;
  --sand:       #FAF3E7;  /* ivoire chaud, la couleur du fond */
  --sand-deep:  #F0E4D0;
  --clay:       #C0472A;  /* terre de latérite — l'accent principal */
  --clay-deep:  #8E2F1B;
  --saffron:    #E8A33D;  /* mangue, safran, huile de palme */
  --palm:       #1E5A48;  /* vert de bananier */
  --lagoon:     #0F8B8D;  /* eau des Caraïbes */
  --hibiscus:   #7A2440;  /* bissap */

  --line:       color-mix(in srgb, var(--ink) 14%, transparent);
  --line-strong:color-mix(in srgb, var(--ink) 28%, transparent);

  /* --- Typographie ------------------------------------------------------ */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* L'écriture calligraphiée — celle de l'enseigne et de l'ardoise.
     Elle ne sert qu'aux accents : jamais un paragraphe entier. */
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 3rem);
  --step-4:  clamp(2.4rem, 1.85rem + 2.7vw, 4.4rem);
  --step-5:  clamp(3rem, 1.9rem + 5.4vw, 7.5rem);

  /* --- Rythme ----------------------------------------------------------- */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --wrap: 78rem;
  --wrap-text: 40rem;
  --section: clamp(4.5rem, 10vw, 9rem);

  --radius: 2px;
  --radius-lg: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Motif inspiré des tissages : bande de losanges et de chevrons.
   Utilisé en séparateur, jamais en aplat — le site doit rester épuré. */
:root {
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='24' viewBox='0 0 96 24'%3E%3Cg fill='none' stroke='%23C0472A' stroke-width='1.5'%3E%3Cpath d='M0 12 L12 2 L24 12 L36 2 L48 12 L60 2 L72 12 L84 2 L96 12'/%3E%3Cpath d='M0 22 L12 12 L24 22 L36 12 L48 22 L60 12 L72 22 L84 12 L96 22' stroke='%231E5A48'/%3E%3C/g%3E%3C/svg%3E");
  --grain: 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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------- 2. RESET */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Le grain : une texture de papier, très légère, sur toute la page. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--saffron); color: var(--ink); }

/* --------------------------------------------------- 3. BASE TYPOGRAPHIQUE */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }

p { text-wrap: pretty; }

a { color: inherit; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Le « kicker » : petite étiquette au-dessus des titres. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}
.kicker::before {
  content: "";
  width: 2.2em;
  height: 1px;
  background: currentColor;
  flex: none;
}
.kicker--plain::before { display: none; }

/* Un mot mis en avant à l'intérieur d'un titre. */
.accent { color: var(--clay); }
.accent--palm { color: var(--palm); }
.accent--lagoon { color: var(--lagoon); }

em, .italic {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}

/* --- L'écriture calligraphiée ----------------------------------------- */
/* Kaushan Script n'a qu'une graisse et une chasse un peu basse : on la
   remonte légèrement pour qu'elle s'aligne avec Fraunces, et on lui laisse
   de l'air à droite pour que les déliés ne soient pas coupés. */

.script,
.hero__title em,
.pagehead h1 em,
.chapter__year--word,
.caption,
.menu-group__note,
.aside-note {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-variation-settings: normal;
  letter-spacing: 0;
  padding-right: 0.08em;
}

.hero__title em,
.pagehead h1 em {
  font-size: 1.04em;
  line-height: 1.15;
  display: inline-block;
  padding-bottom: 0.06em;
}

/* Une note manuscrite, comme un mot laissé sur le comptoir. */
.aside-note {
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--clay);
  max-width: 26ch;
}
.dark .aside-note { color: var(--saffron); }

.small { font-size: var(--step--1); color: var(--ink-soft); }

/* Liens dans le corps de texte : soulignement fin qui s'épaissit. */
.prose a,
.link {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease), color 0.3s var(--ease);
}
.prose a:hover,
.link:hover { background-size: 100% 2px; color: var(--clay); }

.prose > * + * { margin-top: 1.15em; }
.prose { max-width: var(--wrap-text); }

/* ----------------------------------------------------------- 4. MISE EN PAGE */

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { --wrap: 52rem; }
.wrap--wide   { --wrap: 92rem; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 46rem; }
.section-head > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 1.2fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.2fr; }
  .split--flip > :first-child { order: 2; }
}

.rule {
  border: 0;
  height: 24px;
  background-image: var(--weave);
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.5;
  margin-block: var(--section);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--sand);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------ 5. COMPOSANTS */

/* --- Boutons ----------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.7em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); --btn-bg: var(--clay); border-color: var(--clay); }
.btn:active { transform: translateY(0); }

.btn--clay  { --btn-bg: var(--clay); }
.btn--clay:hover { --btn-bg: var(--ink); border-color: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--sand); border-color: var(--ink); }

.btn--light { --btn-bg: var(--sand); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--saffron); --btn-fg: var(--ink); border-color: var(--saffron); }

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --- En-tête ----------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.header.is-stuck { padding-block: 0.7rem; box-shadow: 0 1px 0 var(--line); }
.header.is-stuck::before { opacity: 0.94; backdrop-filter: blur(10px); }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.logo__dot {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.logo:hover .logo__dot { transform: scale(1.4); background: var(--saffron); }
.logo__mark { display: inline-block; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }

.nav__link {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  padding-block: 0.35rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--clay); }

.nav__cta { margin-left: 0.5rem; }

/* Bouton hamburger */
.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
}
.burger__box { display: block; width: 18px; height: 12px; position: relative; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__box span:nth-child(3) { bottom: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

@media (max-width: 55.99rem) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--gutter);
    padding-top: 6rem;
    background: var(--sand);
    background-image: var(--weave);
    background-repeat: repeat-x;
    background-position: center bottom 3rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease);
  }
  .nav[data-open="true"] { clip-path: inset(0 0 0 0); }
  .nav__link { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.5rem 0 0; }
  body.is-locked { overflow: hidden; }
}

/* --- Emplacements photo ------------------------------------------------ */
/* Tant que les vraies photos ne sont pas là, ces blocs tiennent la mise en
   page et restent présentables. Il suffit de glisser une <img> à l'intérieur
   pour qu'elle prenne toute la place. Voir README.md. */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 20% 0%, color-mix(in srgb, var(--saffron) 55%, transparent), transparent 60%),
    radial-gradient(100% 120% at 100% 100%, color-mix(in srgb, var(--palm) 60%, transparent), transparent 62%),
    linear-gradient(150deg, var(--clay), var(--clay-deep) 55%, var(--hibiscus));
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--weave);
  background-size: 96px 24px;
  opacity: 0.16;
  filter: invert(1) brightness(3);
  z-index: 1;
}
.media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.media__hint {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 85%, transparent);
  border-left: 2px solid var(--saffron);
  padding-left: 0.7rem;
  line-height: 1.4;
}
.media > img ~ .media__hint { display: none; }

.media--square { aspect-ratio: 1; }
.media--tall   { aspect-ratio: 3 / 4; }
.media--wide   { aspect-ratio: 16 / 10; }
.media--pano   { aspect-ratio: 21 / 9; }

/* Variantes de teinte, pour que deux blocs voisins ne soient pas jumeaux. */
.media--palm {
  background:
    radial-gradient(110% 90% at 80% 10%, color-mix(in srgb, var(--lagoon) 60%, transparent), transparent 60%),
    linear-gradient(160deg, var(--palm), #123a2e 70%, var(--ink));
}
.media--saffron {
  background:
    radial-gradient(120% 100% at 15% 15%, color-mix(in srgb, #F6C86A 80%, transparent), transparent 65%),
    linear-gradient(150deg, var(--saffron), var(--clay) 75%);
}
.media--ink {
  background:
    radial-gradient(120% 100% at 70% 0%, color-mix(in srgb, var(--clay) 65%, transparent), transparent 60%),
    linear-gradient(150deg, #2A1D17, var(--ink));
}

/* Une petite légende manuscrite sous une image. */
.caption {
  margin-top: 0.9rem;
  font-size: var(--step-0);
  line-height: 1.4;
  color: var(--ink-soft);
}
.dark .caption { color: color-mix(in srgb, var(--sand) 70%, transparent); }

/* --- Galerie de plats -------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(0.5rem, 1.2vw, 1rem);
}
.gallery figure { margin: 0; }
.gallery .media { border-radius: var(--radius); }
.gallery .media > img { transition: transform 1.2s var(--ease); }
.gallery figure:hover .media > img { transform: scale(1.05); }

/* Quelques vignettes prennent deux colonnes : le mur respire. */
@media (min-width: 48rem) {
  .gallery .is-wide { grid-column: span 2; }
}

.gallery__caption {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.dark .gallery__caption { color: color-mix(in srgb, var(--sand) 62%, transparent); }

/* --- Cartes ------------------------------------------------------------ */

.card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: color-mix(in srgb, var(--sand-deep) 55%, var(--sand));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card > * + * { margin-top: 0.85rem; }

.card__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--clay);
  font-variation-settings: "SOFT" 20, "WONK" 1;
  line-height: 1;
}

/* --- Bandeau défilant -------------------------------------------------- */

.marquee {
  --speed: 40s;
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.2rem, 2.5vw, 2rem);
  background: var(--ink);
  color: var(--sand);
  border-block: 1px solid var(--ink);
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide var(--speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-right: clamp(1.5rem, 3vw, 2.75rem);
}
.marquee__item {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  white-space: nowrap;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.marquee__item:nth-child(3n)   { font-style: italic; color: var(--saffron); }
.marquee__item:nth-child(3n+2) { color: color-mix(in srgb, var(--sand) 75%, transparent); }
.marquee__sep { color: var(--clay); font-size: 0.7em; }

@keyframes slide { to { transform: translateX(-50%); } }

/* --- Citation / mots-clés ---------------------------------------------- */

.words {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 1.1em;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.25;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.words span:nth-child(even) { font-style: italic; color: var(--clay); }
.words span:nth-child(3n)   { color: var(--palm); }

.stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
.stat__label { font-size: var(--step--1); color: var(--ink-soft); max-width: 14rem; }

/* --- Liste de la carte ------------------------------------------------- */

.menu-group + .menu-group { margin-top: clamp(2.5rem, 5vw, 4rem); }

.menu-group__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 0.5rem;
}
.menu-group__head h3 { font-size: var(--step-2); }
.menu-group__note {
  font-size: var(--step-1);
  line-height: 1.2;
  color: var(--clay);
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}
.dark .menu-group__note { color: var(--saffron); }
@media (max-width: 30rem) { .menu-group__note { white-space: normal; } }

.dish {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 42rem) {
  .dish { grid-template-columns: minmax(10rem, 15rem) 1fr auto; align-items: baseline; }
}
.dish__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  line-height: 1.2;
}
.dish__desc { color: var(--ink-soft); font-size: var(--step-0); }
.dish__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.tag {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.6em;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.25em;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--palm);
}
.tag--spice { color: var(--clay); }
.tag--sweet { color: var(--hibiscus); }

/* --- Chapitres (page Histoire) ----------------------------------------- */

.chapter { position: relative; padding-block: clamp(3rem, 7vw, 6rem); }
.chapter + .chapter { border-top: 1px solid var(--line); }

.chapter__year {
  font-family: var(--font-display);
  font-size: var(--step-5);
  line-height: 0.85;
  color: color-mix(in srgb, var(--clay) 22%, transparent);
  font-variation-settings: "SOFT" 20, "WONK" 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  pointer-events: none;
}
.chapter__body > * + * { margin-top: 1.15rem; }
.chapter__title { font-size: var(--step-2); margin-bottom: 0.4rem; }

/* --- Infos pratiques --------------------------------------------------- */

.infos { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .infos { grid-template-columns: repeat(2, 1fr); } }

.info-block > * + * { margin-top: 0.6rem; }
.info-block h3 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
}

.hours { font-variant-numeric: tabular-nums; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.55rem;
  border-bottom: 1px dotted var(--line-strong);
}
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--ink-soft); }
.hours .closed { color: var(--clay); font-style: italic; }
.hours li.is-today { font-weight: 600; color: var(--ink); }
.hours li.is-today .day { color: var(--ink); }
.hours li.is-today::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  align-self: center;
  margin-right: -0.75rem;
  margin-left: -1rem;
}

.contact-list > li + li { margin-top: 0.65rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.contact-list a:hover { color: var(--clay); border-color: var(--clay); }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.4em 0.9em;
  font-size: var(--step--1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* --- Pied de page ------------------------------------------------------ */

.footer {
  background: var(--ink);
  color: var(--sand);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer a { color: inherit; }
.footer .logo { color: var(--sand); font-size: clamp(2rem, 6vw, 3.5rem); }
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer h3 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1rem;
}
.footer ul > li + li { margin-top: 0.5rem; }
.footer a { text-decoration: none; opacity: 0.85; transition: opacity 0.3s var(--ease), color 0.3s var(--ease); }
.footer a:hover { opacity: 1; color: var(--saffron); }

.footer__bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--sand) 18%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--sand) 62%, transparent);
}

/* -------------------------------------------------------------- 6. SECTIONS */

/* --- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(100svh, 60rem);
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 78% 22%, color-mix(in srgb, var(--saffron) 30%, transparent), transparent 70%),
    radial-gradient(60% 60% at 5% 90%, color-mix(in srgb, var(--palm) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__title {
  font-size: var(--step-5);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-weight: 400;
  font-variation-settings: "SOFT" 25, "WONK" 1, "opsz" 144;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title em { color: var(--clay); }
.hero__lede { max-width: 34rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero__actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: end; }
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1.35fr 0.65fr; }
}

.hero__aside { display: grid; gap: 1.25rem; }
.hero__badge {
  align-self: end;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--sand) 70%, transparent);
  backdrop-filter: blur(4px);
}
.hero__badge p + p { margin-top: 0.35rem; }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(var(--clay), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* --- Bandeau sombre ---------------------------------------------------- */

.dark {
  background: var(--ink);
  color: var(--sand);
}
.dark .lede,
.dark .small,
.dark .dish__desc,
.dark .stat__label { color: color-mix(in srgb, var(--sand) 72%, transparent); }
.dark .kicker { color: var(--saffron); }
.dark .card {
  background: color-mix(in srgb, var(--sand) 5%, transparent);
  border-color: color-mix(in srgb, var(--sand) 15%, transparent);
}
.dark .card__num { color: var(--saffron); }
.dark .dish { border-color: color-mix(in srgb, var(--sand) 14%, transparent); }
.dark .menu-group__head { border-color: color-mix(in srgb, var(--sand) 30%, transparent); }

/* --- Bannière page interne --------------------------------------------- */

.pagehead {
  padding-top: clamp(8rem, 18vw, 12rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 70% at 85% 10%, color-mix(in srgb, var(--saffron) 26%, transparent), transparent 70%);
  pointer-events: none;
}
.pagehead__inner { position: relative; }
.pagehead h1 { margin-top: 0.75rem; }
.pagehead .lede { margin-top: 1.5rem; max-width: 38rem; }

/* --- Fil d'Ariane ------------------------------------------------------ */
.crumbs { font-size: var(--step--1); color: var(--ink-soft); }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--clay); }
.crumbs span { margin-inline: 0.4em; opacity: 0.5; }

/* --- Encart d'appel ---------------------------------------------------- */

.callout {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--clay), var(--clay-deep) 60%, var(--hibiscus));
  color: var(--sand);
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--saffron) 55%, transparent), transparent 65%);
  pointer-events: none;
}
.callout__inner { position: relative; }
.callout h2 { font-size: var(--step-3); }
.callout p { margin-top: 0.9rem; max-width: 34rem; color: color-mix(in srgb, var(--sand) 85%, transparent); }
.callout .btn-row { margin-top: 1.75rem; }

/* --------------------------------------------------------------- 7. MOUVEMENT */

/* Tout ce bloc est conditionné à la classe « js », posée par un script en
   tête de page. Sans JavaScript, rien n'est masqué : le contenu s'affiche
   normalement, y compris pour les moteurs de recherche. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .hero__title .line > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.js.is-ready .hero__title .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
}

/* -------------------------------------------------------------- 8. IMPRESSION */

@media print {
  .header, .footer, .marquee, .scroll-cue, .btn, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}
