/* =========================================================
   GENKI BENTO : feuille de style
   Identité : indigo (logo), washi (papier), vermillon, bois
   Scène 3D fixe en arrière-plan, contenu qui défile par-dessus
   ========================================================= */

:root {
  /* Couleurs */
  --indigo-950: #0b1328;
  --indigo-900: #121f3d;
  --indigo-800: #182a52;
  --indigo-700: #1f3a6e;
  --indigo-500: #2f5aa8;
  --indigo-300: #7f9fd6;
  --indigo-100: #dbe5f5;

  --washi: #f6f1e7;
  --washi-2: #ede5d3;
  --washi-3: #e1d6bf;
  --paper: #fbf7ee;

  --sumi: #17171c;
  --sumi-700: #34323a;
  --sumi-500: #5f5c66;
  --sumi-300: #9b97a3;

  --beni: #c2402a;
  --beni-dark: #9c3220;
  --gold: #c9a24b;
  --gold-light: #e7cf8c;

  /* Typo */
  --font-display: "Shippori Mincho", "Noto Serif JP", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 60px -20px rgba(11, 19, 40, 0.45), 0 12px 24px -12px rgba(11, 19, 40, 0.3);
  --shadow-md: 0 14px 30px -14px rgba(11, 19, 40, 0.35);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sumi);
  background: var(--indigo-950);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; opacity: 0.35; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Motif seigaiha (vagues) */
.section--dark,
.footer {
  --wave-bg: var(--indigo-900);
  --wave-ink: rgba(255, 255, 255, 0.055);
  background-color: var(--wave-bg);
  background-image:
    radial-gradient(circle at 50% 100%, var(--wave-bg) 21px, var(--wave-ink) 22px, var(--wave-ink) 24px, var(--wave-bg) 25px, var(--wave-bg) 31px, var(--wave-ink) 32px, var(--wave-ink) 34px, var(--wave-bg) 35px, transparent 36px),
    radial-gradient(circle at 50% 100%, var(--wave-bg) 21px, var(--wave-ink) 22px, var(--wave-ink) 24px, var(--wave-bg) 25px, var(--wave-bg) 31px, var(--wave-ink) 32px, var(--wave-ink) 34px, var(--wave-bg) 35px, transparent 36px);
  background-size: 72px 36px;
  background-position: 0 0, 36px 18px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--primary { background: var(--beni); color: #fff; box-shadow: 0 10px 24px -10px rgba(194, 64, 42, 0.7); }
.btn--primary:hover { background: var(--beni-dark); box-shadow: 0 16px 30px -12px rgba(194, 64, 42, 0.8); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
.btn--outline { color: var(--indigo-700); border: 1.5px solid var(--indigo-700); background: transparent; }
.btn--outline:hover { background: var(--indigo-700); color: #fff; }

/* =========================================================
   PORTE D'ENTRÉE 3D
   ========================================================= */
.door {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--indigo-950);
  overflow: hidden;
  transition: opacity 0.9s ease;
}
.door.is-fading { opacity: 0; pointer-events: none; }
.door__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; opacity: 0; transition: opacity 0.8s ease; }
.door.is-ready .door__canvas { opacity: 1; }

.door__loader { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity 0.5s; }
.door.is-ready .door__loader { opacity: 0; }
.door__loader span { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--gold-light); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.door__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 48px) clamp(20px, 4vh, 44px);
  color: var(--paper);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
.door.is-ready .door__ui { opacity: 1; }
.door.is-opening .door__ui { opacity: 0; transition: opacity 0.5s ease; }
.door__ui > * { pointer-events: auto; }

.door__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.06em; align-self: center; text-align: center; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.door__brand img { width: 56px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7); }
.door__brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; opacity: 0.75; }

.door__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.door__welcome { margin: 0; font-family: var(--font-display); font-size: clamp(0.95rem, 2.2vw, 1.15rem); letter-spacing: 0.08em; opacity: 0.9; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.door__enter {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(11, 19, 40, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.door__enter:hover { transform: scale(1.06); background: rgba(194, 64, 42, 0.8); }
.door__enter-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.8); }
.door__enter-ring::before,
.door__enter-ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--gold-light); animation: pulse 2.4s ease-out infinite; opacity: 0; }
.door__enter-ring::after { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.door__enter-label { position: relative; }
.door__skip { font-size: 0.78rem; opacity: 0.6; text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.door__skip:hover { opacity: 1; }

/* Narration à l'entrée */
.door__narration {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  text-align: center;
  color: var(--paper);
  pointer-events: none;
  z-index: 3;
}
.narr { margin: 0; opacity: 0; transform: translateY(14px); text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.6); }
.narr--kanji { font-family: var(--font-display); font-size: clamp(3.4rem, 10vw, 6.5rem); font-weight: 800; line-height: 1; letter-spacing: 0.1em; color: var(--gold-light); }
.narr--romaji { font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.4rem); letter-spacing: 0.5em; text-transform: uppercase; margin-top: 6px; }
.narr--line { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 2rem); margin-top: 18px; }
.narr--last { color: var(--gold-light); }
.door__soundhint { margin: 2px 0 0; font-size: 0.72rem; opacity: 0.55; letter-spacing: 0.04em; }

/* Bouton son d'ambiance */
.sound {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 31, 61, 0.85);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), background 0.25s;
}
.sound[hidden] { display: none; }
.sound:hover { transform: scale(1.06); background: var(--beni); }
.sound svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.sound .sound__off { display: none; }
.sound[aria-pressed="false"] .sound__on { display: none; }
.sound[aria-pressed="false"] .sound__off { display: block; }
.sound__bars { position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; display: none; }
.sound[aria-pressed="true"] .sound__bars { display: block; }
.sound[aria-pressed="true"] .sound__bars::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold-light); animation: pulse 2.4s ease-out infinite; }

/* =========================================================
   SCÈNE 3D FIXE (fond coloré + canvas)
   ========================================================= */
.stage {
  --c1: #24407a;
  --c2: #0b1328;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 90% at 50% 68%, var(--c1) 0%, var(--c2) 100%);
  transition: opacity 0.5s ease;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  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='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
}
.stage.is-hidden { opacity: 0; pointer-events: none; }
/* mot japonais de la gamme, en très grand derrière les produits (la taille s'adapte au nombre de signes) */
.stage__word {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(1.06);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: min(calc(80vw / var(--n, 3)), 23rem);
  line-height: 1;
  letter-spacing: 0.06em;
  padding-left: 0.06em;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.7s ease, transform 1.4s var(--ease-out);
}
.stage__word.is-on { opacity: 0.27; transform: translate(-50%, -50%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.stage canvas.is-grabbing { cursor: grabbing; }

/* le contenu laisse passer les clics vers le canvas 3D ; les sections classiques et les contrôles restent cliquables */
main { position: relative; z-index: 1; pointer-events: none; }
main .section, .footer { pointer-events: auto; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  color: #fff;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}
.header.is-solid {
  padding: 8px 0;
  background: rgba(18, 31, 61, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: auto; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand__jp { font-size: 0.7rem; opacity: 0.75; letter-spacing: 0.12em; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav > a:not(.btn) { position: relative; font-weight: 600; font-size: 0.92rem; padding: 6px 0; opacity: 0.9; white-space: nowrap; }
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { font-variant-numeric: tabular-nums; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.burger span { width: 24px; height: 2px; background: currentColor; transition: transform 0.3s, opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (texte par-dessus la scène 3D)
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-start; color: #fff; pointer-events: none; }
.hero__jp {
  position: absolute;
  right: clamp(8px, 4vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}
.hero__content {
  padding: clamp(96px, 13vh, 150px) 0 0;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* entrée en scène : chaque bloc arrive l'un après l'autre, le titre se lève ligne par ligne */
.hero__content > * { pointer-events: auto; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
/* l'état caché ne vaut qu'avant l'ouverture : une fois la page ouverte, chaque bloc retrouve son style propre */
body:not(.is-open) .hero__content > :not(.hero__title) { opacity: 0; transform: translateY(22px); }
body.is-open .hero__content > :nth-child(1) { transition-delay: 0.1s; }
body.is-open .hero__content > :nth-child(3) { transition-delay: 0.55s; }
body.is-open .hero__content > :nth-child(4) { transition-delay: 0.7s; }
body.is-open .hero__content > :nth-child(5) { transition-delay: 0.85s; }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__line > * { display: block; transition: transform 1.1s cubic-bezier(0.19, 0.9, 0.22, 1); }
body:not(.is-open) .hero__line > * { transform: translateY(112%) rotate(2.5deg); transform-origin: 0 100%; }
body.is-open .hero__line > * { transition-delay: 0.2s; }
body.is-open .hero__line + .hero__line > * { transition-delay: 0.34s; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero__kanji {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1.5px solid rgba(231, 207, 140, 0.6);
  border-radius: 8px;
  text-transform: none;
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 4px; }
.hero__badges { justify-content: center; }
/* grand 元気弁当 en filigrane : une seule ligne horizontale, lue de gauche à droite */
.hero__jp {
  right: auto;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  writing-mode: horizontal-tb;
  white-space: nowrap;
  font-size: min(15vw, 14rem);
  letter-spacing: 0.3em;
  padding-left: 0.3em; /* compense l'espacement après le dernier caractère : le mot reste centré */
  opacity: 0;
  transition: opacity 1.6s ease 0.5s;
}
body.is-open .hero__jp { opacity: 1; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sumi-300); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }
.is-open-now .dot { background: #52c466; box-shadow: 0 0 0 4px rgba(82, 196, 102, 0.25); animation: blink 2s infinite; }
.is-closed-now .dot { background: #ff7a62; box-shadow: 0 0 0 4px rgba(255, 122, 98, 0.25); }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(82, 196, 102, 0.08); } }

.hero__title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 18px; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.35)); }
.hero__title em { font-style: normal; color: var(--gold-light); }
.hero__lead { font-size: clamp(0.98rem, 1.4vw, 1.1rem); max-width: 60ch; opacity: 0.88; margin-bottom: 26px; line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__badges li { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.25); opacity: 0.85; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 14px; pointer-events: auto; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* =========================================================
   STORY : blocs de texte qui défilent devant le bento
   ========================================================= */
.story { color: #fff; pointer-events: none; }
.story__block { min-height: 100svh; display: flex; align-items: center; }
.story__text { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; }
.story__text > * { pointer-events: auto; }
.story__block--left .story__text { align-items: flex-start; text-align: left; }
.story__block--right .story__text { align-items: flex-end; text-align: right; }
.story__block--center .story__text { align-items: center; text-align: center; }
.story__block--center { align-items: flex-start; padding-top: 16vh; }
.story h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 14ch; margin-bottom: 16px; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.story p:not(.eyebrow) { max-width: 44ch; font-size: 1.05rem; opacity: 0.88; }
.story .eyebrow { color: var(--gold-light); }

/* =========================================================
   GAMMES 3D (sections épinglées)
   ========================================================= */
.range { position: relative; height: calc(100svh + var(--n, 6) * 55svh); color: var(--sumi); pointer-events: none; }
.range__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px var(--gutter) 24px;
  width: min(var(--container), 100%);
  margin-inline: auto;
}
.range__head { max-width: 520px; }
.range__head > * { pointer-events: auto; }
.range__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 10px; }
.range__sub { font-size: 1.02rem; color: var(--sumi-700); max-width: 46ch; margin: 0; }
.range .eyebrow { color: var(--beni); }

.range__bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.range__card {
  pointer-events: auto;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(11, 19, 40, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.range__card.is-switching { opacity: 0; transform: translateY(8px); }
.range__photo { position: relative; width: 66px; height: 66px; border-radius: 14px; overflow: hidden; background: var(--washi-3); flex: none; box-shadow: var(--shadow-md); transition: transform 0.3s var(--ease-out); }
.range__photo:hover { transform: scale(1.05) rotate(-2deg); }
.range__photo img { width: 100%; height: 100%; object-fit: cover; }
.range__photo img[src=""] { visibility: hidden; }
.range__photo span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(18, 31, 61, 0.75); color: #fff; padding: 3px 0; text-align: center; }
.range__photo[hidden] { display: none; }
.range__text { min-width: 0; }
.range__name { font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 700; line-height: 1.15; }
.range__jp { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--sumi-300); margin: 2px 0 6px; }
.range__flavor { font-size: 0.92rem; color: var(--sumi-700); margin: 0 0 6px; line-height: 1.4; }
.range__notes { display: flex; flex-wrap: wrap; gap: 6px; }
.range__notes span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; color: var(--indigo-700); background: var(--indigo-100); padding: 4px 9px; border-radius: 999px; }
.range__price { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--beni); line-height: 1; white-space: nowrap; }
.range__price small { font-size: 0.5em; font-weight: 600; margin-left: 2px; }

.range__nav { pointer-events: auto; display: flex; align-items: center; gap: 14px; }
.range__arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.85); color: var(--indigo-700); box-shadow: var(--shadow-md); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out); }
.range__arrow svg { width: 22px; height: 22px; }
.range__arrow:hover:not(:disabled) { background: var(--beni); color: #fff; transform: scale(1.06); }
.range__dots { display: flex; gap: 7px; }
.range__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(23, 23, 28, 0.3); transition: transform 0.3s, background 0.3s; padding: 0; }
.range__dot.is-active { background: var(--beni); transform: scale(1.5); }
.range__counter { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.3em; color: var(--sumi-700); }
.range__hint { font-size: 0.75rem; color: var(--sumi-500); margin: 0; letter-spacing: 0.04em; }

@media (max-height: 700px) {
  .range__sticky { padding-top: 78px; }
  .range__title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 4px; }
  .range__sub { display: none; }
  .range__hint { display: none; }
  .range__jp { display: none; }
  .range__notes { display: none; }
  .story__block--center { padding-top: 12vh; }
}

/* écran bas : l'indicateur de défilement passerait sur les engagements */
@media (max-height: 760px) { .hero__scroll { display: none; } }

/* Version sans WebGL : grille statique */
.range.is-static { height: auto; pointer-events: auto; background: var(--washi); color: var(--sumi); padding: 80px 0; }
.range.is-static .range__sticky { position: static; height: auto; gap: 32px; padding-top: 0; }
.range.is-static .range__bottom { display: none; }
.range__grid { width: 100%; }

/* =========================================================
   SECTIONS CLASSIQUES
   ========================================================= */
.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; background-color: var(--washi); }
.section--dark { color: #fff; background-color: var(--wave-bg); }
.section--washi { background-color: var(--washi-2); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section__head--left { text-align: left; margin-left: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--beni); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--gold-light); }
.eyebrow [lang="ja"] { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.2em; text-transform: none; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 16px; }
.section__sub { font-size: 1.05rem; color: var(--sumi-500); max-width: 62ch; margin-inline: auto; }
.section__head--left .section__sub { margin-inline: 0; }
.section--dark .section__sub { color: rgba(255, 255, 255, 0.75); }

/* Tags */
.tag { padding: 5px 9px; border-radius: 6px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 255, 255, 0.92); color: var(--indigo-700); }
.tag--vegan, .tag--vege { background: #e3efdc; color: #3b6a2c; }
.tag--halal { background: #e6edf9; color: var(--indigo-700); }
.tag--epice { background: #fbe3dd; color: var(--beni-dark); }

/* ---------- Carte complète : onglets & grilles ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--washi-3); }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--washi-3); background: #fff; font-weight: 700; font-size: 0.9rem; color: var(--sumi-700); transition: all 0.25s var(--ease-out); }
.tab [lang="ja"] { font-family: var(--font-display); font-size: 0.85rem; color: var(--sumi-300); }
.tab:hover { border-color: var(--indigo-300); transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.tab[aria-selected="true"] [lang="ja"] { color: rgba(255, 255, 255, 0.7); }

.panel { animation: fadeUp 0.5s var(--ease-out); }
.panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel__intro { color: var(--sumi-500); margin-bottom: 24px; font-size: 0.98rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.item { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), var(--shadow-md); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--washi-2); display: grid; place-items: center; }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.item:hover .item__img img { transform: scale(1.06); }
.item__placeholder { font-size: 3rem; opacity: 0.6; }
.item__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.item__name { font-size: 1.08rem; font-weight: 700; }
.item__price { font-family: var(--font-display); font-weight: 800; color: var(--beni); font-size: 1.15rem; white-space: nowrap; }
.item__desc { font-size: 0.88rem; color: var(--sumi-500); margin: 0; flex: 1; }
.item__tags { display: flex; gap: 6px; margin-top: 8px; }

.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 48px; }
.list__row { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--washi-3); font-size: 1rem; }
.list__row span:first-child { font-weight: 600; }
.list__row i { flex: 1; border-bottom: 2px dotted var(--washi-3); transform: translateY(-5px); }
.list__row b { font-family: var(--font-display); color: var(--beni); font-weight: 800; }

/* ---------- Le restaurant ---------- */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__text p { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; }
.about__text .section__title { margin-bottom: 22px; }
.about__text em { font-style: normal; font-family: var(--font-display); color: var(--gold-light); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.services li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 0.92rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 12px; }
.gallery--wide { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; max-width: 1100px; margin-inline: auto; }
.gallery--wide a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery--wide a:nth-child(4) { grid-row: span 1; }
.gallery--wide a:nth-child(6) { grid-column: span 2; }
.gallery a { border-radius: 12px; overflow: hidden; display: block; position: relative; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(4) { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter 0.5s; }
.gallery a:hover img { transform: scale(1.06); filter: brightness(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(11, 19, 40, 0.92); padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.6rem; line-height: 1; }

/* ---------- Horaires & accès ---------- */
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.infos .section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.infos__status { font-weight: 700; display: inline-flex; align-items: center; gap: 10px; color: var(--sumi-700); margin-bottom: 18px; }
.infos__status.is-closed-now .dot { background: var(--beni); box-shadow: 0 0 0 4px rgba(194, 64, 42, 0.2); }
.hours tr { border-bottom: 1px solid var(--washi-3); }
.hours td { padding: 12px 6px; vertical-align: top; }
.hours td:first-child { font-weight: 700; width: 38%; }
.hours td:last-child { color: var(--sumi-700); font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: #fff; box-shadow: inset 4px 0 0 var(--gold); }
.hours tr.is-today td:first-child::after { content: "Aujourd'hui"; display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.hours .is-closed { color: var(--beni); font-weight: 700; }
.hours td span + span::before { content: " · "; color: var(--sumi-300); }
.infos__address { font-size: 1.1rem; line-height: 1.7; margin-bottom: 22px; }
.infos__address a { color: var(--indigo-700); font-weight: 700; }
.infos__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 380px; background: var(--washi-3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); justify-content: center; gap: 22px; }
.review { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: var(--shadow-md); }
.review::before { content: "“"; position: absolute; top: 6px; left: 20px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--washi-3); }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; position: relative; }
.review__text { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 16px; position: relative; }
.review__meta { font-size: 0.85rem; color: var(--sumi-500); display: flex; justify-content: space-between; gap: 10px; }
.review__meta strong { color: var(--sumi); }
.reviews__more { text-align: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.8); padding: 64px 0 28px; --wave-bg: var(--indigo-950); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer__brand img { background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 16px; }
.footer__brand strong { color: #fff; font-family: var(--font-display); font-size: 1.2rem; }
.footer__brand a { color: var(--gold-light); font-weight: 700; }
.footer h3 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-body); color: #fff; margin-bottom: 16px; }
.footer__links a { display: block; padding: 5px 0; transition: color 0.2s, transform 0.2s; }
.footer__links a:hover { color: var(--gold-light); transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 0.85rem; opacity: 0.7; }
.footer__bottom a:hover { color: var(--gold-light); }

/* ---------- Mentions légales ---------- */
.legal { padding: 140px 0 90px; max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; color: var(--indigo-700); }
.legal p, .legal li { color: var(--sumi-700); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--indigo-700); text-decoration: underline; text-underline-offset: 3px; }
body.page--legal { background: var(--washi); }
body.page--legal .header { color: #fff; background: var(--indigo-900); }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 90px 36px 40px;
    background: var(--indigo-900);
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }
  .nav.is-open { transform: none; }
  .nav > a:not(.btn) { font-size: 1.25rem; font-family: var(--font-display); }
  .burger { display: flex; position: relative; z-index: 2; }
  .header.is-menu-open { color: #fff; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 120px; }
  .infos { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__content { max-width: 520px; }
  .story h2 { max-width: 16ch; }
}

@media (max-width: 640px) {
  .hero__content { padding: 100px 0 0; }
  .hero__meta { display: none; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__lead { font-size: 0.98rem; margin-bottom: 22px; }
  .hero__badges { display: none; }
  .hero__kicker span:last-child { display: none; }
  .narr--line { font-size: 1.1rem; }
  .sound { right: 12px; bottom: 12px; width: 44px; height: 44px; }
  .hero__jp { color: rgba(255, 255, 255, 0.05); top: 50%; }
  .hero__scroll { display: none; }

  .story__block { align-items: flex-start; padding-top: 14vh; }
  .story__block--right .story__text { align-items: flex-start; text-align: left; }
  .story p:not(.eyebrow) { font-size: 0.98rem; }

  .range__sticky { padding: 86px var(--gutter) 16px; }
  .range__title { font-size: 2rem; }
  .range__sub { font-size: 0.92rem; }
  .range__card { grid-template-columns: auto 1fr; padding: 12px 14px; gap: 12px; }
  .range__price { grid-column: 2; justify-self: end; font-size: 1.6rem; margin-top: -6px; }
  .range__photo { width: 60px; height: 60px; }
  .range__flavor { font-size: 0.88rem; margin-bottom: 6px; }
  .range__hint { display: none; }
  .range__arrow { width: 44px; height: 44px; }

  .services { grid-template-columns: 1fr 1fr; }
  .gallery, .gallery--wide { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .gallery--wide a:nth-child(6) { grid-column: span 1; }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery a:nth-child(4) { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { height: 300px; }
  .door__brand span { font-size: 1rem; }
}

/* Réduction des animations */
@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; }
}

/* =========================================================
   DÉFILEMENT FLUIDE (Lenis)
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
/* Lenis anime lui-même le défilement : le lissage natif doit être coupé, sinon chaque pas est ré-animé (saccades) */
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Header : se cache en descendant, revient en remontant */
.header { transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.header.is-hidden { transform: translateY(-110%); }

/* =========================================================
   CURSEUR BAGUETTES
   ========================================================= */
html.has-chop, html.has-chop * { cursor: none !important; }
.chop {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}
.chop.is-on { opacity: 1; }
.chop__svg {
  display: block;
  /* pointes (10,110 dans le viewBox) sur le point de la souris */
  transform: translate(-7.2px, -78.8px);
  overflow: visible;
  filter: drop-shadow(0 3px 3px rgba(20, 10, 5, 0.35));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chop__wood { fill: #e6c48f; stroke: #5a3a1f; stroke-width: 0.9; stroke-linejoin: round; }
.chop__lacquer { fill: #a3201c; stroke: #3d0d0b; stroke-width: 0.9; stroke-linejoin: round; }
.chop__ring { stroke: #e7cf8c; stroke-width: 2.2; stroke-linecap: round; }
.chop__stick {
  transform-box: view-box;
  transform-origin: 78px 42px; /* pivot dans la « main » */
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chop__stick--a { transform: rotate(-4deg); }
.chop__stick--b { transform: rotate(4deg); }

/* survol d'un lien / bouton : les baguettes se rapprochent */
.chop.is-hover .chop__svg { transform: translate(-7.2px, -78.8px) scale(1.08); }
.chop.is-hover .chop__stick--a { transform: rotate(-1.5deg); }
.chop.is-hover .chop__stick--b { transform: rotate(1.5deg); }
/* au-dessus d'un produit 3D : grandes ouvertes, prêtes à attraper */
.chop.is-grab .chop__stick--a { transform: rotate(-8deg); }
.chop.is-grab .chop__stick--b { transform: rotate(8deg); }
/* clic : elles se pincent */
.chop.is-pinch .chop__stick--a { transform: rotate(0.4deg); }
.chop.is-pinch .chop__stick--b { transform: rotate(-0.4deg); }
.chop.is-pinch .chop__svg { transform: translate(-7.2px, -78.8px) scale(0.96); }

.chop__ring-fx {
  position: absolute;
  left: -14px;
  top: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(231, 207, 140, 0.9);
  opacity: 0;
  transform: scale(0.3);
}
.chop.is-click .chop__ring-fx { animation: chopClick 0.45s ease-out; }
@keyframes chopClick {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .chop__stick, .chop__svg { transition: none; }
}

/* Fondu lumineux qui suit la souris sur le fond (piloté par js/cursor.js) */
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 250, 235, 0.32), rgba(255, 250, 235, 0.08) 45%, transparent 70%);
  opacity: var(--glow, 0);
}
.chop-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2999;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* =========================================================
   FICHE PRODUIT : bouton Commander
   ========================================================= */
.range__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.range__order {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--beni);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(194, 64, 42, 0.8);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.range__order:hover { background: var(--beni-dark); transform: translateY(-1px); }
@media (max-width: 640px) {
  .range__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-end; }
  .range__side .range__price { margin-top: 0; }
}

/* =========================================================
   PLAT DU MOMENT
   ========================================================= */
.highlight__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.highlight__photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7); transform: rotate(-2deg); }
.highlight__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.highlight__photo:hover img { transform: scale(1.05); }
.highlight__desc { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; max-width: 46ch; }
.highlight__foot { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.highlight__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.highlight__price small { font-size: 0.5em; margin-left: 2px; }
@media (max-width: 900px) { .highlight__inner { grid-template-columns: 1fr; } .highlight__photo { transform: none; } }

/* =========================================================
   CARTE GOOGLE AU CLIC
   ========================================================= */
.map__placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(35deg, rgba(31, 58, 110, 0.06) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(-55deg, rgba(31, 58, 110, 0.06) 0 2px, transparent 2px 64px),
    var(--washi);
}
.map__placeholder p { margin: 0; }
.map__pin { width: 46px; height: 46px; fill: var(--beni); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25)); animation: pinBob 2.2s ease-in-out infinite; }
@keyframes pinBob { 50% { transform: translateY(-6px); } }
.map__note { font-size: 0.78rem; color: var(--sumi-500); }

/* =========================================================
   NOTE GOOGLE
   ========================================================= */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.rating[hidden] { display: none; }
.rating__score { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--sumi); }
.rating__stars { color: var(--gold); letter-spacing: 2px; }
.rating__count { font-size: 0.85rem; color: var(--sumi-500); }
.reviews__more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.door__welcome small { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; opacity: 0.85; }
.door.is-closed .door__welcome { line-height: 1.6; }

/* =========================================================
   SÉLECTEURS D'AMBIANCE DE LA DEVANTURE (démo)
   ========================================================= */
.door__demo {
  position: absolute;
  bottom: clamp(14px, 2.4vw, 26px);
  left: clamp(14px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 10px;
  max-width: min(560px, 60vw);
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(11, 19, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  pointer-events: auto;
}
.door__demo-title { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; padding: 0 4px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.seg button {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--indigo-900); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.5); }
.door__demo-reset { font-size: 0.78rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; color: var(--gold-light); border: 1px solid rgba(231, 207, 140, 0.45); }
.door__demo-reset:hover { background: rgba(231, 207, 140, 0.15); }
@media (max-width: 760px) {
  /* tout en bas, sous le bouton Entrer */
  .door__actions { margin-top: auto; }
  /* fermé : sur petit écran, la phrase passerait par-dessus la pancarte de la porte, qui dit déjà la même chose.
     Elle reste lue par les lecteurs d'écran ; seule l'invitation à entrer est affichée. */
  .door.is-closed .door__closed-line { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .door__demo { position: static; order: 3; align-self: center; justify-content: center; max-width: 100%; margin-top: 12px; padding: 6px 8px; gap: 6px; }
  .door__demo-title { display: none; }
  .seg button { padding: 6px 11px; font-size: 0.78rem; }
  .door__demo-reset { padding: 6px 10px; font-size: 0.74rem; }
}

/* =========================================================
   MINI-LECTEUR (musique d'ambiance)
   ========================================================= */
.player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(18, 31, 61, 0.86);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: playerIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s both;
}
.player[hidden] { display: none; }
@keyframes playerIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.player__btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.player__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--beni) 0 7px, var(--gold-light) 7px 9px, transparent 9px),
    repeating-radial-gradient(circle, #15151a 0 2px, #26262e 2px 3px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  animation: disc 4s linear infinite;
  animation-play-state: paused;
}
.player.is-playing .player__disc { animation-play-state: running; }
@keyframes disc { to { transform: rotate(360deg); } }
.player__icon {
  position: relative;
  width: 18px;
  height: 18px;
  fill: #fff;
  padding: 4px;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(18, 31, 61, 0.7);
  opacity: 0;
  transition: opacity 0.2s;
}
.player__icon--play { opacity: 1; }
.player.is-playing .player__icon--play { opacity: 0; }
.player.is-playing .player__btn:hover .player__icon--pause { opacity: 1; }
.player__icon--pause { position: absolute; }
.player__info { display: flex; flex-direction: column; line-height: 1.15; }
.player__label { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.player__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; }
.player__bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.player__bars i { width: 3px; height: 4px; border-radius: 2px; background: var(--gold-light); opacity: 0.5; }
.player.is-playing .player__bars i { opacity: 1; animation: bar 1s ease-in-out infinite; }
.player.is-playing .player__bars i:nth-child(2) { animation-delay: -0.3s; }
.player.is-playing .player__bars i:nth-child(3) { animation-delay: -0.6s; }
.player.is-playing .player__bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (max-width: 640px) {
  .player { right: 12px; bottom: 12px; padding: 4px; }
  .player__info, .player__bars { display: none; }
}
@media (prefers-reduced-motion: reduce) { .player__disc, .player__bars i { animation: none !important; } }

/* =========================================================
   COMPOSER SON BENTO
   ========================================================= */
.story__cta { margin-top: 18px; }
.composer {
  background:
    radial-gradient(70% 60% at 20% 30%, rgba(201, 162, 75, 0.18), transparent 70%),
    linear-gradient(180deg, #f8efe1, #f1e3cc);
}
.composer__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.composer__stage {
  position: sticky;
  top: 90px;
  aspect-ratio: 4 / 3.2;
  border-radius: 28px;
  background: radial-gradient(90% 80% at 50% 60%, #fff7ea, #ecd8b8);
  box-shadow: inset 0 0 0 1px rgba(122, 78, 42, 0.12), 0 30px 60px -36px rgba(74, 45, 22, 0.55);
  overflow: hidden;
  touch-action: pan-y;
}
.composer__stage canvas { width: 100%; height: 100%; display: block; }
.composer__hint { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: 0.75rem; color: var(--sumi-500); letter-spacing: 0.04em; pointer-events: none; }
.composer__panel { display: flex; flex-direction: column; gap: 22px; }
.composer__step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; }
.composer__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-700); color: #fff; font-family: var(--font-body); font-size: 0.85rem; font-weight: 800; }
.composer__count { margin-left: auto; font-family: var(--font-body); font-size: 0.82rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--washi-3); color: var(--sumi-700); transition: background 0.3s, color 0.3s; }
.composer__count.is-full { background: var(--matcha, #5f8a4a); color: #fff; }
.picks { display: grid; gap: 8px; }
.picks--mains { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.picks--sides { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.picks.is-nudge { animation: nudge 0.45s ease; }
@keyframes nudge { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pick {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 7px 10px 7px 7px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid transparent;
  text-align: left;
  box-shadow: 0 6px 16px -12px rgba(23, 23, 28, 0.6);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.pick img { grid-row: 1 / 3; width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.pick__name { font-size: 0.82rem; font-weight: 600; line-height: 1.2; color: var(--sumi-700); }
.pick__name b { color: var(--beni); }
.pick__price { font-size: 0.78rem; font-weight: 800; color: var(--beni); }
.pick__tag { position: absolute; bottom: 4px; right: 6px; font-size: 0.68rem; }
.pick:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -14px rgba(23, 23, 28, 0.7); }
.pick[aria-pressed="true"] { border-color: var(--beni); box-shadow: 0 0 0 4px rgba(194, 64, 42, 0.12), 0 12px 22px -14px rgba(194, 64, 42, 0.8); }
.pick[aria-pressed="true"]::after { content: "✓"; position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--beni); color: #fff; font-size: 0.75rem; font-weight: 800; }
.pick.is-dim { opacity: 0.55; }
.composer__tools { display: flex; gap: 14px; margin-top: 10px; }
.composer__link { font-size: 0.85rem; font-weight: 700; color: var(--indigo-700); text-decoration: underline; text-underline-offset: 3px; }
.composer__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.composer__summary { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; color: var(--sumi-500); }
.composer__summary strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--sumi); }
.composer__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--beni); line-height: 1; white-space: nowrap; }
.composer__price small { font-size: 0.5em; margin-left: 2px; }
.composer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.composer #composer-order[aria-disabled="true"] { opacity: 0.55; }
.composer #composer-copy:disabled { opacity: 0.5; }
.composer__note { font-size: 0.78rem; color: var(--sumi-500); margin: 0; }
.pick { min-width: 0; }
.pick__name { min-width: 0; overflow-wrap: anywhere; }
.pick--side { padding-right: 26px; } /* place de la feuille « végétalien » */
.picks--sides { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.composer__shared { font-style: normal; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--beni); }
.composer__actions .btn--outline { padding-inline: 20px; }
@media (max-width: 900px) {
  .composer__grid { grid-template-columns: 1fr; }
  /* la boîte reste sous les yeux pendant qu'on choisit plat et accompagnements */
  .composer__stage {
    position: sticky;
    top: 10px;
    z-index: 3;
    aspect-ratio: auto;
    height: clamp(190px, 34svh, 300px);
    border-radius: 22px;
    transition: top 0.45s var(--ease-out);
  }
  /* le header revient quand on remonte : la boîte se décale pour ne pas passer dessous */
  .header:not(.is-hidden) ~ main .composer__stage { top: 68px; }
  .composer__hint { bottom: 8px; font-size: 0.7rem; }
}
@media (max-width: 640px) {
  /* les points suffisent : on libère la place du mini-lecteur à droite */
  .range__counter { display: none; }
  .range__nav { gap: 10px; }
}

/* =========================================================
   PROGRESSION DE LECTURE + FIL DES CHAPITRES
   ========================================================= */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 130; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
body.is-open .progress { opacity: 1; }
.progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold-light), var(--gold) 55%, var(--beni)); will-change: transform; }

.rail {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 90;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 999px;
  background: rgba(18, 31, 61, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 30px -18px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease 0.8s;
}
body.is-open .rail { opacity: 1; pointer-events: auto; }
.rail__item { position: relative; display: grid; place-items: center; width: 16px; height: 22px; }
.rail__dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); transition: height 0.4s var(--ease-out), background 0.3s, transform 0.3s var(--ease-out); }
.rail__item:hover .rail__dot { background: #fff; transform: scale(1.35); }
.rail__item.is-active .rail__dot { height: 18px; background: var(--gold-light); transform: none; }
.rail__label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 31, 61, 0.92);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}
.rail__item:hover .rail__label,
.rail__item:focus-visible .rail__label,
.rail__item.is-flash .rail__label { opacity: 1; transform: translate(0, -50%); }
.rail__item.is-active .rail__label { color: var(--gold-light); }
@media (max-width: 1100px) { .rail { display: none; } }

/* =========================================================
   CARTE : FILTRES PAR RÉGIME
   ========================================================= */
.diet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.diet__label { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--sumi-700); margin-right: 6px; }
.diet__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px dashed var(--washi-3);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sumi-700);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.diet__chip:hover { border-color: var(--sumi-300); transform: translateY(-1px); }
.diet__chip i { width: 10px; height: 10px; border-radius: 50%; }
.diet__chip i.tag--vegan { background: #5f9a45; }
.diet__chip i.tag--vege { background: #a8c24a; }
.diet__chip i.tag--halal { background: var(--indigo-500); }
.diet__chip i.tag--epice { background: var(--beni); }
.diet__chip small { font-size: 0.72rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--washi-2); color: var(--sumi-500); }
.diet__chip[aria-pressed="true"] { background: var(--sumi); border-style: solid; border-color: var(--sumi); color: #fff; }
.diet__chip[aria-pressed="true"] small { background: rgba(255, 255, 255, 0.18); color: #fff; }
.tabs[hidden], #menu-panels[hidden], .results[hidden] { display: none; }

.results { animation: fadeUp 0.5s var(--ease-out); padding-top: 18px; border-top: 1px solid var(--washi-3); }
.results__count { font-size: 1.05rem; color: var(--sumi-500); margin-bottom: 26px; }
.results__count strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--sumi); margin-right: 4px; }
.results .item__img { position: relative; }
.item__cat { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(18, 31, 61, 0.86); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.item__cat [lang="ja"] { margin-left: 4px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.1em; text-transform: none; opacity: 0.7; }
.results__note { margin: 34px 0 0; font-size: 0.85rem; color: var(--sumi-500); }
.results__note a { color: var(--indigo-700); font-weight: 700; white-space: nowrap; }
.item__see {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--indigo-700);
  background: var(--indigo-100);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.item__see span { display: inline-block; transition: transform 0.25s var(--ease-out); }
.item__see:hover { background: var(--indigo-700); color: #fff; }
.item__see:hover span { transform: translateX(3px); }

/* =========================================================
   AVIS : NOTE GOOGLE
   Pastille « ★ 4,9 · 116 avis » (accueil, final) et synthèse
   chiffrée dans la section Avis. Données : js/data.js > googleRating.
   ========================================================= */
.rating-pill { gap: 7px; padding: 8px 14px; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out); }
.rating-pill[hidden] { display: none; }
.rating-pill:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.rating-pill__star { color: var(--gold-light); font-size: 1rem; line-height: 1; }
.rating-pill b { font-weight: 800; }
.rating-pill span:last-child { font-weight: 600; opacity: 0.8; }
.finale__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.gsum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px clamp(24px, 5vw, 64px);
  max-width: 880px;
  margin: 0 auto 34px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.gsum[hidden] { display: none; }
.gsum__lead { margin-bottom: 14px; font-family: var(--font-display); font-size: 1.12rem; color: var(--sumi-700); }
.gsum__lead strong { font-size: 1.35rem; color: var(--sumi); }
.gsum__bars { display: grid; gap: 9px; }
.gsum__bars li { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; color: var(--sumi-700); font-variant-numeric: tabular-nums; }
.gsum__k i { font-style: normal; color: var(--gold); }
.gsum__track { height: 10px; border-radius: 999px; background: var(--washi-2); overflow: hidden; }
.gsum__fill { display: block; height: 100%; width: max(4px, calc(var(--v, 0) * 100%)); border-radius: inherit; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transition: width 1.1s var(--ease-out) 0.25s; }
.gsum.reveal:not(.is-visible) .gsum__fill { width: 0; }
.gsum__n { text-align: right; color: var(--sumi-500); }
.gsum__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.gsum__topics li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--washi-3); background: var(--washi); font-size: 0.88rem; font-weight: 700; color: var(--sumi-700); }
.gsum__topics small { margin-left: 4px; font-size: 0.72rem; font-weight: 800; color: var(--beni); }
.gsum__note { margin: 12px 0 0; font-size: 0.78rem; color: var(--sumi-500); }
.gsum__src { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid var(--washi-2); font-size: 0.78rem; color: var(--sumi-500); text-align: center; }
@media (max-width: 720px) { .gsum { grid-template-columns: 1fr; } }

/* =========================================================
   FINAL : ON REPASSE SOUS LE NOREN
   Devanture en bois, lanternes allumées, rideau à l'enseigne :
   la page se referme comme elle s'est ouverte.
   ========================================================= */
.finale {
  overflow: hidden;
  padding: clamp(190px, 24vw, 270px) 0 clamp(80px, 11vw, 140px);
  color: var(--paper);
  text-align: center;
  background:
    radial-gradient(46% 60% at 10% 30%, rgba(255, 138, 60, 0.26), transparent 70%),
    radial-gradient(46% 60% at 90% 30%, rgba(255, 138, 60, 0.26), transparent 70%),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0 2px, transparent 2px 58px),
    linear-gradient(180deg, #3b2417 0%, #25150d 60%, #170d08 100%);
}
.finale .eyebrow { color: var(--gold-light); }
.finale__title { font-size: clamp(2.3rem, 6.2vw, 4.8rem); font-weight: 700; margin-bottom: 18px; text-wrap: balance; }
.finale__title em { font-style: normal; color: var(--gold-light); }
.finale__lead { max-width: 52ch; margin: 0 auto 28px; font-size: 1.08rem; opacity: 0.86; }
.finale__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }
.finale__status { background: rgba(255, 255, 255, 0.08); }

.noren {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 82vw);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding-top: 26px;
  perspective: 700px;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.45));
}
.noren__rod { position: absolute; top: 14px; left: -22px; right: -22px; height: 12px; border-radius: 6px; background: linear-gradient(180deg, #d8aa72, #8a5a2b); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3); z-index: 1; }
.noren::before { content: ""; position: absolute; top: 20px; left: 0; right: 0; height: 26px; background: var(--indigo-800); }
.noren__flap {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(118px, 15vw, 164px);
  margin-top: 18px;
  padding-top: 6px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.16)), var(--indigo-800);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.6vw, 4.4rem);
  line-height: 1;
  transform-origin: 50% 0;
  animation: norenSway 5.5s ease-in-out infinite;
}
.noren__flap:nth-child(3) { animation-delay: -1.3s; }
.noren__flap:nth-child(4) { animation-delay: -2.9s; }
.noren__flap:nth-child(5) { animation-delay: -0.6s; }
@keyframes norenSway { 0%, 100% { transform: rotateX(5deg); } 50% { transform: rotateX(-9deg) skewX(-1deg); } }
/* quand on arrive dessous, les pans s'écartent d'un coup, comme soulevés par un passant */
.noren.is-passing .noren__flap { animation: norenPass 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both, norenSway 5.5s ease-in-out 1.5s infinite; }
.noren.is-passing .noren__flap:nth-child(3) { animation-delay: 0.07s, 1.3s; }
.noren.is-passing .noren__flap:nth-child(4) { animation-delay: 0.14s, 1.9s; }
.noren.is-passing .noren__flap:nth-child(5) { animation-delay: 0.21s, 1.6s; }
@keyframes norenPass { 0% { transform: rotateX(5deg); } 28% { transform: rotateX(-52deg) skewX(-3deg); } 62% { transform: rotateX(16deg); } 100% { transform: rotateX(5deg); } }

.lantern {
  position: absolute;
  top: clamp(64px, 8vw, 104px);
  width: clamp(70px, 8.4vw, 112px);
  aspect-ratio: 1 / 1.22;
  display: grid;
  place-items: center;
  border-radius: 48% / 42%;
  background:
    repeating-linear-gradient(180deg, rgba(120, 20, 10, 0.4) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 50% 46%, #ffc27a 0%, #f76a34 48%, #c2371d 100%);
  box-shadow: 0 0 70px 22px rgba(255, 120, 50, 0.32), inset 0 -12px 20px rgba(110, 18, 8, 0.4);
  transform-origin: 50% -64px;
  animation: lanternSwing 6.5s ease-in-out infinite;
}
.lantern--left { left: clamp(18px, 11vw, 210px); }
.lantern--right { right: clamp(18px, 11vw, 210px); animation-delay: -3.2s; }
.lantern::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 120px; margin-left: -1px; background: #120a06; }
.lantern::after { content: ""; position: absolute; left: 27%; right: 27%; top: -6px; bottom: -6px; border-top: 9px solid #17100c; border-bottom: 9px solid #17100c; border-radius: 4px; }
.lantern i { writing-mode: vertical-rl; font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: clamp(0.9rem, 1.5vw, 1.25rem); letter-spacing: 0.12em; color: #4a1208; padding: 6px 3px; border-radius: 3px; background: rgba(255, 236, 205, 0.78); }
@keyframes lanternSwing { 0%, 100% { transform: rotate(2.6deg); } 50% { transform: rotate(-2.6deg); } }
@media (max-width: 760px) {
  .lantern { display: none; }
  .finale { background: radial-gradient(90% 46% at 50% 22%, rgba(255, 138, 60, 0.24), transparent 70%), repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0 2px, transparent 2px 58px), linear-gradient(180deg, #3b2417 0%, #25150d 60%, #170d08 100%); }
  .finale__cta .btn { width: 100%; max-width: 320px; }
}

/* Page 404 : la même devanture, plein écran */
body.page--404 { background: #170d08; }
.lost { min-height: 100svh; display: flex; align-items: center; }
.lost .finale__inner { width: min(var(--container), 100% - 2 * var(--gutter)); }

/* Bandeau défilant en tête du pied de page */
.marquee { overflow: hidden; margin: -24px 0 46px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__track span { flex: none; padding-right: 0.55em; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 8.5vw, 7rem); line-height: 1.2; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(231, 207, 140, 0.4); }
.marquee__track span[lang="ja"] { color: rgba(231, 207, 140, 0.16); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track, .noren__flap, .lantern { animation: none !important; } }
