/* =========================================================
   Le Continent 237 — « Braise nocturne »
   Noir fumé, braise orange, typographie éditoriale.
   ========================================================= */

:root {
  --ink: #0a0806;
  --ink-2: #13100c;
  --ink-3: #1d1712;
  --line: rgba(243, 236, 226, 0.12);
  --bone: #f3ece2;
  --ash: #a39a8f;
  --ember: #cfa95f;
  --ember-2: #e6d1a0;
  --ember-deep: #8c6c30;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(24px, 7vw, 112px);
  --section: clamp(96px, 11vw, 176px);   /* espace vertical identique entre toutes les sections */
  --head-gap: clamp(40px, 5vw, 72px); /* écart identique sous chaque titre de section */
  --block-gap: clamp(64px, 7vw, 112px);  /* écart entre deux blocs d'une même section */
  --radius: 22px;
  --ease: cubic-bezier(.2, .85, .2, 1);
  --ease-back: cubic-bezier(.2, .9, .3, 1.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 4px; border-radius: 6px; }
.muted { color: var(--ash); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--bone); color: var(--ink); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

/* ---------- Grain photo (statique, coût nul) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Barre de progression ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 160; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--ember-deep), var(--ember), var(--ember-2));
}

/* ---------- Petits éléments communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember); flex: none;
}

.h2 {
  font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(2rem, 5.2vw, 4.6rem);
}
.h2 em { color: var(--ember-2); letter-spacing: -.01em; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -.01em; overflow: hidden; isolation: isolate;
  cursor: pointer; white-space: nowrap; border: 0; font-family: inherit; /* <button> : pas de bordure du navigateur */
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ember { background: var(--ember); color: #16110a; }
.btn--ember::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ember-2);
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn--ember:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid rgba(243, 236, 226, .3); color: var(--bone); background: rgba(10, 8, 6, .25); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone);
  transform: scale(0); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn--ghost:hover { color: var(--ink); }
.btn--ghost:hover::before { transform: scale(1); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* =========================================================
   Écran d'ouverture
   ========================================================= */
.preloader { display: none; }
html.js .preloader {
  position: fixed; inset: 0; z-index: 400; background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 22px;
}
html.no-motion .preloader { display: none; }
.preloader__count {
  font-family: var(--serif); font-style: italic; line-height: .8;
  font-size: clamp(4.5rem, 18vw, 12rem); color: var(--bone); overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.preloader__num { display: block; }
.preloader__bar { width: min(260px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember-2));
}
.preloader__label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }

/* =========================================================
   Curseur (souris uniquement, activé en JS)
   ========================================================= */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; }
.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--ember);
}
.cursor__ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(243, 236, 226, .35);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #16110a;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--ember); background: rgba(207, 169, 95, .08); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ember); border-color: var(--ember); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }

/* =========================================================
   Barre du haut + menu mobile
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(10, 8, 6, .62); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo .logo { height: 62px; width: auto; }
@media (min-width: 900px) { .nav__logo .logo { height: 74px; } }
.nav__links { display: none; }
.nav__cta { display: none; }

.burger {
  position: relative; z-index: 130; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10, 8, 6, .4); cursor: pointer;
  display: grid; place-content: center; gap: 6px;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--bone); transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2.1rem, 9vw, 3.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08;
}
.mobile-menu a em { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--ember); letter-spacing: .1em; }
.mobile-menu__foot { position: absolute; bottom: 28px; left: var(--gutter); font-family: var(--mono); font-size: 12px; color: var(--ash); letter-spacing: .1em; text-transform: uppercase; }

@media (min-width: 900px) {
  .burger { display: none; }
  .nav__links { display: flex; gap: 34px; font-size: 14px; color: var(--ash); }
  .nav__links a { position: relative; transition: color .3s; }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ember);
    transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
  }
  .nav__links a:hover { color: var(--bone); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta { display: inline-flex; background: var(--bone); color: var(--ink); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; background: var(--ink);
}
/* Vidéo du buffet : elle avance au rythme du défilement (main.js) */
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink-2); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 6, .8) 0%, rgba(10, 8, 6, .25) 32%, rgba(10, 8, 6, .35) 58%, rgba(10, 8, 6, .92) 100%);
}
.hero__veil { position: absolute; inset: 0; background: rgba(10, 8, 6, .58); opacity: 0; }

/* Temps 2 et 3 : deux phrases centrées, lignes qui sortent d'un masque */
.hero__phrase { display: none; }
.hero--scrub .hero__phrase {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; translate: 0 -50%;
  text-align: center; font-size: clamp(1.6rem, 4vw, 3.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.04;
  pointer-events: none;
}
.hero__phrase .l { display: block; overflow: hidden; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.hero__phrase .l > span { display: block; }
.hero__phrase em { color: var(--ember-2); letter-spacing: -.01em; }

/* Repère des 3 temps */
.hero__steps { display: none; }
.hero--scrub .hero__steps {
  display: flex; gap: 14px; position: absolute; top: 96px; left: var(--gutter); margin: 0; padding: 0; list-style: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(243, 236, 226, .45);
}
.hero__steps li { display: flex; align-items: center; gap: 8px; transition: color .5s var(--ease); }
.hero__steps li::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.hero__steps li.is-active { color: var(--bone); }
.hero__steps li.is-active::before { width: 30px; background: var(--ember); }
@media (min-width: 900px) { .hero--scrub .hero__steps { top: 120px; left: auto; right: var(--gutter); } }
.hero__inner { width: 100%; padding: 120px var(--gutter) clamp(28px, 6vh, 64px); }
.hero__eyebrow { color: rgba(243, 236, 226, .8); margin-bottom: clamp(18px, 3vh, 30px); }

.hero__title { display: flex; flex-direction: column; line-height: .86; }
.hero__line { display: block; }
.hero__line--serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(3rem, 17vw, 10rem); letter-spacing: -.03em; margin-left: -.04em;
}
.hero__line--sans {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 8.5vw, 6rem); letter-spacing: -.055em; line-height: .9;
}
.ember-text {
  background: linear-gradient(100deg, #fbf3e0 0%, var(--ember-2) 30%, var(--ember) 55%, #fbf3e0 75%, var(--ember-2) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: emberShift 7s linear infinite;
  padding-right: .08em;
}
/* Pendant l'allumage lettre par lettre, la couleur est gérée par GSAP */
.ember-text.is-igniting { background: none; color: var(--ember-2); animation: none; }
@keyframes emberShift { to { background-position: -250% 0; } }

.hero__bottom { display: grid; gap: 24px; margin-top: clamp(22px, 4vh, 40px); }
.hero__lead { max-width: 420px; color: rgba(243, 236, 226, .82); font-size: clamp(14px, 1.15vw, 16px); }
.hero__text { display: grid; gap: 16px; justify-items: start; }
.hero__biz {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--bone);
  border-bottom: 1px solid rgba(243, 236, 226, .25); transition: border-color .3s, color .3s;
}
.hero__biz span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; background: rgba(207, 169, 95, .16); color: var(--ember-2);
}
.hero__biz svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.hero__biz:hover { color: var(--ember-2); border-color: var(--ember-2); }
.hero__biz:hover svg { transform: translateX(4px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 auto; }

.hero__badge {
  position: absolute; right: var(--gutter); top: 96px; width: 104px; height: 104px;
  display: grid; place-items: center;
}
.hero__badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__badge text { font-family: var(--mono); font-size: 16px; letter-spacing: 0; text-transform: uppercase; fill: rgba(243, 236, 226, .8); }
.hero__badge-map { width: 34px; height: 42px; }

.hero__scroll { display: none; }

@media (min-width: 900px) {
  .hero__line--serif { font-size: clamp(3rem, 11.5vw, 10rem); }
  .hero__line--sans { font-size: clamp(1.6rem, 5.8vw, 6rem); }
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; }
  .hero__ctas .btn { flex: none; }
  .hero__badge { width: 150px; height: 150px; top: auto; bottom: clamp(160px, 26vh, 260px); }
  .hero__scroll {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--ash);
  }
  .hero__scroll i { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
  .hero__scroll i::after {
    content: ""; position: absolute; inset: 0; background: var(--ember);
    animation: scrollLine 2s var(--ease) infinite;
  }
}
@media (max-width: 1279px) { .hero__scroll { display: none; } }
/* Téléphone : le badge tournant chevauchait le texte, il n'est affiché que sur grand écran */
@media (max-width: 899px) { .hero__badge { display: none; } }
/* Disque sombre derrière le badge : le texte reste lisible sur la vidéo */
.hero__badge { border-radius: 50%; background: rgba(10, 8, 6, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Textes découpés : cachés jusqu'au découpage (seulement si JS) */
html.js .split-chars, html.js .split-lines { visibility: hidden; }
/* Les masques de lignes laissent de la place aux accents et aux jambages (é, j, g) */
[data-split] > * { padding: .1em 0 .16em; margin: -.1em 0 -.16em; }
html.no-motion .split-chars, html.no-motion .split-lines { visibility: visible; }

/* =========================================================
   Bouton « Voir le menu » + menu en fenêtre
   ========================================================= */
.menu-cta {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: calc(var(--section) * .55) var(--gutter) calc(var(--section) * .45);
}
.menu-cta__text { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }
.menu-cta__btn { min-height: 58px; padding: 0 32px; font-size: 16px; }

html.menu-locked { overflow: hidden; }
.menu-pop {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--bone); overflow: hidden;
}
.menu-pop[open] { display: grid; place-items: center; }
.menu-pop:focus, .menu-pop:focus-visible, .menu-pop__panel:focus, .menu-pop__panel:focus-visible { outline: none; }
.menu-pop::backdrop { background: rgba(10, 8, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu-pop__panel {
  --pad: clamp(24px, 4vw, 52px);
  display: flex; flex-direction: column; overflow: hidden;
  width: min(1040px, calc(100% - 2 * var(--gutter))); max-height: calc(100svh - 2 * var(--gutter));
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 28px;
}
.menu-pop__head {
  flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: var(--pad) var(--pad) 22px; border-bottom: 1px solid var(--line);
}
.menu-pop__scroll {
  overflow-y: auto; overscroll-behavior: contain; color-scheme: dark; padding: 28px var(--pad) var(--pad);
  scrollbar-width: thin; scrollbar-color: rgba(243, 236, 226, .22) transparent;
}
.menu-pop__scroll:focus, .menu-pop__scroll:focus-visible { outline: none; }
.menu-pop__title { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.menu-pop__title em { color: var(--ember-2); }
.menu-pop__close {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--bone); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.menu-pop__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-pop__close:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.menu-pop__body { display: grid; gap: clamp(28px, 4vw, 44px); }
.menu-pop__cat h3 {
  display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.03em;
}
.menu-pop__cat h3 span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--ember); letter-spacing: .08em; }
.menu-pop__cat li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(243, 236, 226, .06); }
.menu-pop__cat li strong { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.menu-pop__cat li span { color: var(--ash); font-size: 14px; }
.menu-pop__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line);
}
.menu-pop__foot p { color: var(--ash); font-size: 14px; }
.menu-pop__foot strong { color: var(--bone); font-weight: 600; }

/* Ouverture et fermeture en douceur */
.menu-pop[open] .menu-pop__panel { animation: popIn .55s var(--ease) both; }
.menu-pop[open]::backdrop { animation: fadeIn .4s ease both; }
.menu-pop.is-closing .menu-pop__panel { animation: popOut .28s ease-in both; }
.menu-pop.is-closing::backdrop { animation: fadeOut .28s ease-in both; }
@keyframes popIn { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes popOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

@media (min-width: 900px) {
  .menu-pop__body { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-pop[open] .menu-pop__panel, .menu-pop[open]::backdrop,
  .menu-pop.is-closing .menu-pop__panel, .menu-pop.is-closing::backdrop { animation: none; }
}

/* =========================================================
   Bandeaux
   ========================================================= */
.marquees { padding: calc(var(--section) * .6) 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; }
.marquee__track {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); width: max-content;
  padding-right: clamp(20px, 3vw, 44px); will-change: transform;
}
.marquee span {
  font-family: var(--serif); font-style: italic; white-space: nowrap; line-height: 1.05;
  font-size: clamp(2.2rem, 6.5vw, 6rem); letter-spacing: -.02em;
}
.marquee .outline { color: transparent; -webkit-text-stroke: 1px rgba(243, 236, 226, .5); }
.marquee b { color: var(--ember); font-size: clamp(1.4rem, 3vw, 2.6rem); font-weight: 400; }
.marquee--alt span { font-family: var(--sans); font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: -.05em; font-size: clamp(2rem, 5.5vw, 5rem); }

/* =========================================================
   Manifeste
   ========================================================= */
.manifesto { padding: var(--section) var(--gutter); max-width: 1500px; margin: 0 auto; }
.manifesto .eyebrow { margin-bottom: 28px; }
.manifesto__text {
  font-size: clamp(1.5rem, 3.8vw, 3.3rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 500;
}
.manifesto__text em { color: var(--ember-2); letter-spacing: -.01em; }
.manifesto__text .word { display: inline-block; }
.pill {
  display: inline-block; vertical-align: middle; position: relative; top: -.06em;
  width: 1.9em; height: .95em; border-radius: 999px; overflow: hidden; margin: 0 .08em;
  transform-origin: center;
}
.pill img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Signatures (défilement horizontal sur grand écran)
   ========================================================= */
.signatures { padding: 0 0 var(--section); }
.signatures__head { padding: 0 var(--gutter); margin-bottom: var(--head-gap); display: grid; gap: 22px; }
.signatures__progress { display: none; }

.h-track { display: grid; gap: 22px; padding: 0 var(--gutter); }
.dish { position: relative; }
.dish__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--ink-3); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.dish__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 8, 6, .55));
}
.dish__body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; padding: 18px 4px 0; }
.dish__num { font-family: var(--mono); font-size: 12px; color: var(--ember); padding-top: 10px; grid-row: span 2; }
.dish h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.dish p { color: var(--ash); max-width: 34ch; }

@media (min-width: 640px) and (max-width: 899px) {
  .h-track { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .signatures__head { grid-template-columns: 1fr auto; align-items: end; }
  .signatures__head .eyebrow { grid-column: 1 / -1; }
  .signatures__progress { display: block; width: 220px; height: 1px; background: var(--line); margin-bottom: 18px; }
  .signatures__progress span { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }
  .h-scroll { overflow: hidden; }
  .h-track { display: flex; gap: 28px; width: max-content; padding-right: var(--gutter); }
  .signatures { padding-top: 0; }
  .signatures__head { padding-top: clamp(72px, 10vh, 112px); margin-bottom: clamp(24px, 4vh, 44px); }
  .dish { width: min-content; }
  .dish:nth-child(even) { margin-top: 32px; }
  .dish__media { height: clamp(280px, calc(100svh - 480px), 600px); width: auto; aspect-ratio: 4 / 5; }
  .dish__media img { transition: transform 1.1s var(--ease); }
}

/* =========================================================
   La salle
   ========================================================= */
.room { position: relative; padding: var(--section) var(--gutter) 0; }
/* Le titre, puis la photo dans une carte arrondie (plus d'ouverture en plein écran : elle rognait la photo et le texte) */
.room__pin { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--head-gap); }
.room__title { font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.room__word { display: block; }
.room__word em { color: var(--ember-2); }
.room__frame {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.room__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,0) 35%, rgba(10,8,6,.55) 62%, rgba(10,8,6,.92) 100%); }
.room__caption {
  position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 44px); z-index: 2;
  display: grid; gap: 12px; max-width: 560px;
}
.room__text { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; letter-spacing: -.015em; }

@media (min-width: 900px) {
  .room__title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 .3em; font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
  .room__frame { aspect-ratio: 16 / 7; max-height: 72svh; }
}


/* =========================================================
   La carte
   ========================================================= */
.menu { position: relative; padding: var(--section) var(--gutter); }
.menu__head { display: grid; gap: 22px; margin-bottom: var(--head-gap); }
.menu__list { border-top: 1px solid var(--line); }
.menu__row {
  position: relative; display: grid; grid-template-columns: auto 1fr 76px; column-gap: 16px; row-gap: 4px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.menu__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(207, 169, 95,.12), transparent 70%);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.menu__num { font-family: var(--mono); font-size: 12px; color: var(--ember); grid-row: span 2; align-self: start; padding-top: 10px; }
.menu__name { font-size: clamp(1.6rem, 4.2vw, 4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.menu__desc { color: var(--ash); font-size: 14px; grid-column: 2; }
.menu__thumb { grid-column: 3; grid-row: 1 / span 2; width: 76px; height: 76px; object-fit: cover; border-radius: 14px; }
.menu__price { margin-top: 36px; color: var(--ash); font-size: 15px; }
.menu__price strong { color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }
.menu__float { display: none; }

@media (min-width: 900px) {
  .menu__head { grid-template-columns: 1fr; }
  .menu__row { grid-template-columns: 80px 1fr minmax(260px, 30%); padding: 34px 0; }
  .menu__num { grid-row: auto; align-self: center; padding: 0; }
  .menu__desc { grid-column: 3; text-align: right; font-size: 15px; }
  .menu__thumb { display: none; }
  .menu__row:hover::before { transform: scaleY(1); }
  .menu__row:hover .menu__name { transform: translateX(22px); color: var(--ember-2); }
  html.has-cursor .menu__float {
    display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    width: 300px; height: 380px; margin: -190px 0 0 -150px; border-radius: 18px; overflow: hidden;
    opacity: 0; transform: scale(.6);
  }
  .menu__float img { width: 100%; height: 100%; object-fit: cover; }
}

/* =========================================================
   Services
   ========================================================= */
.services { padding: 0 var(--gutter) var(--section); }
.services__head { display: grid; gap: 22px; margin-bottom: var(--head-gap); }
.services__grid { display: grid; gap: 14px; }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 30px 26px 32px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line);
  min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
.service svg { position: absolute; top: 26px; left: 26px; width: 34px; height: 34px; fill: none; stroke: var(--ember); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.service p { color: var(--ash); max-width: 42ch; }
.service__glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(207, 169, 95, .22), transparent 60%);
}
.service:hover .service__glow { opacity: 1; }
.service:hover { border-color: rgba(207, 169, 95, .35); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 18px; margin: var(--block-gap) 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); order: 2; }
.stats div { display: flex; flex-direction: column; gap: 8px; }
.stats dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--bone); }

@media (min-width: 900px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .service--wide { grid-column: span 2; }
  .service { min-height: 300px; padding: 36px; }
  .service svg { top: 36px; left: 36px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   Entreprises
   ========================================================= */
.biz { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); background: var(--ink-2); }
.biz__head { display: grid; gap: 22px; margin-bottom: var(--head-gap); }
.biz__lead { max-width: 58ch; color: var(--ash); font-size: clamp(16px, 1.4vw, 19px); }

.biz__offers { display: grid; gap: 14px; }
.offer {
  position: relative; display: grid; gap: 10px; padding: 28px 26px 30px;
  border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease);
}
.offer:hover { border-color: rgba(207, 169, 95, .35); transform: translateY(-4px); }
.offer__num { font-family: var(--mono); font-size: 12px; color: var(--ember); }
.offer h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.offer p { color: var(--ash); max-width: 46ch; }

.biz__proofs { display: grid; gap: 26px; margin: var(--block-gap) 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.biz__proofs dt { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.biz__proofs dt::before { content: "✦"; color: var(--ember); margin-right: 10px; font-size: 13px; }
.biz__proofs dd { margin: 0; color: var(--ash); max-width: 36ch; }

.biz__quote { display: grid; gap: 40px; margin-top: var(--block-gap); }
.biz__subtitle { font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 26px; }
.biz__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.biz__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.biz__steps span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(207, 169, 95, .45); color: var(--ember-2); font-family: var(--mono); font-size: 14px;
}
.biz__steps strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; padding-top: 9px; }
.biz__steps p { color: var(--ash); }

.biz__form {
  display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line);
}
.biz__form .biz__subtitle { margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  background: var(--ink-2); color: var(--bone); border: 1px solid var(--line);
  font: inherit; font-size: 16px; color-scheme: dark; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39a8f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option { background: var(--ink-2); color: var(--bone); }
.field input::placeholder, .field textarea::placeholder { color: rgba(163, 154, 143, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.field input[aria-invalid="true"] { border-color: #e8443a; }
.biz__error { color: #ff8a7a; font-size: 14px; }
.biz__actions { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.biz__note { color: var(--ash); font-size: 13px; max-width: 52ch; }
.biz__note a { color: var(--bone); border-bottom: 1px solid rgba(243, 236, 226, .25); }

@media (min-width: 900px) {
  .biz__head { grid-template-columns: 1.3fr 1fr; align-items: end; column-gap: 60px; }
  .biz__head .eyebrow { grid-column: 1 / -1; }
  .biz__offers { grid-template-columns: repeat(2, 1fr); }
  .offer { padding: 36px; min-height: 230px; align-content: start; }
  .biz__proofs { grid-template-columns: repeat(3, 1fr); }
  .biz__quote { grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
  .biz__form { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .biz__form .biz__subtitle, .field--wide, .biz__error { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .biz__offers { grid-template-columns: repeat(4, 1fr); }
  .offer { min-height: 300px; }
}

/* =========================================================
   Réservation
   ========================================================= */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: var(--section) var(--gutter); }
.cta__bg { position: absolute; inset: -20% 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, rgba(10,8,6,.45), var(--ink) 92%); }
.cta__inner { display: grid; gap: 30px; justify-items: start; max-width: 1400px; margin: 0 auto; }
.cta__title { font-size: clamp(2.4rem, 7vw, 6.5rem); font-weight: 600; letter-spacing: -.05em; line-height: .92; }
.cta__title em { color: var(--ember-2); }

.cta__button {
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate;
  width: 190px; height: 190px; border-radius: 50%; margin: 10px 0;
  background: var(--ember); color: #16110a; font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: -.02em;
}
.cta__button-fill { position: absolute; inset: 0; z-index: -1; background: var(--bone); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.cta__button:hover .cta__button-fill { transform: scale(1); }

.cta__info { display: grid; gap: 26px; width: 100%; padding-top: 34px; border-top: 1px solid var(--line); }
.cta__info p { font-size: 18px; letter-spacing: -.01em; }
.cta__info a { border-bottom: 1px solid rgba(243, 236, 226, .25); transition: border-color .3s, color .3s; }
.cta__info a:hover { color: var(--ember-2); border-color: var(--ember-2); }
.cta__info .cta__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }

@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1fr auto; align-items: center; column-gap: 60px; }
  .cta__inner .eyebrow, .cta__info { grid-column: 1 / -1; }
  .cta__button { width: 230px; height: 230px; font-size: 19px; }
  .cta__info { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Pied de page
   ========================================================= */
.footer { container-type: inline-size; padding: calc(var(--section) * .7) var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; gap: 26px; }
.footer__claim { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.03em; font-weight: 500; max-width: 18ch; line-height: 1.1; }
.footer__claim em { color: var(--ember-2); }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s; }
.footer__social a:hover { background: var(--bone); color: var(--ink); }
.footer__word {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: -.06em; line-height: .8;
  font-size: calc((100vw - 2 * var(--gutter)) / 5.22);
  font-size: calc(100cqi / 5.22); /* le mot tient pile entre les deux marges */ margin: 60px 0 22px -.04em; white-space: nowrap; color: var(--bone);
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--ash); }
.footer__top-link:hover { color: var(--bone); }

@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: end; }
}

/* =========================================================
   Révélations (cachées seulement si le JS tourne)
   ========================================================= */
html.js [data-reveal] { opacity: 0; }
html.no-motion [data-reveal] { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; }
  html.js .split-chars, html.js .split-lines { visibility: visible; }
  .room__frame { clip-path: none; }
  .room__caption { opacity: 1; }
  .ember-text, .hero__scroll i::after { animation: none; }
}

/* =========================================================
   Photos du restaurant
   ========================================================= */
/* =========================================================
   Logo : carte du Cameroun en trait or, nom en écriture, 237 aux couleurs du drapeau
   ========================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo { display: block; overflow: visible; }
.logo__map { fill: none; stroke: var(--ember); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo__map--bold { stroke-width: 8; }
.logo__word {
  font-family: "Lobster Two", var(--serif); font-style: italic; font-weight: 700; font-size: 44px;
  fill: var(--bone); stroke: var(--ink); stroke-width: 5px; paint-order: stroke; letter-spacing: 0;
}
.logo__num { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 34px; }
.logo__num .c-g { fill: #2fae5a; }
.logo__num .c-r { fill: #e8443a; }
.logo__num .c-y { fill: #f6c445; }
.footer__logo { grid-column: 1 / -1; width: clamp(150px, 20vw, 220px); height: auto; }

/* Cartes de services avec photo en fond */
.service--photo { min-height: 320px; }
.service__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1.2s var(--ease);
}
.service--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 6, .35) 0%, rgba(10, 8, 6, .55) 45%, rgba(10, 8, 6, .92) 100%);
}
.service--photo:hover .service__img { transform: scale(1.1); }
.service--photo p { color: rgba(243, 236, 226, .82); }
.service--photo svg { stroke: var(--ember-2); }
@media (min-width: 900px) { .service--photo { min-height: 380px; } }

/* Photos lumineuses prises de jour : légère retouche pour l'ambiance du site */
.dish__media img, .room__frame img, .menu__float img, .menu__thumb { filter: saturate(1.06) contrast(1.04); }
.cta__bg img { opacity: .3; }
