/* ==========================================================================
   Kaisu Sushi (by Le Kaiser) — feuille de style principale
   Identité Kaisu / Le Kaiser : noir profond, or brossé, argent, losanges art déco.
   ========================================================================== */

/* ---------- Polices (hébergées localement, pas d'appel à Google) ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Jetons de design ---------- */
:root {
  --bg: #0a0908;
  --bg-2: #0f0e0c;
  --surface: #14120f;
  --surface-2: #1b1814;
  --surface-3: #24201b;
  --line: rgba(214, 178, 98, 0.14);
  --line-2: rgba(214, 178, 98, 0.28);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f0eadf;
  --muted: #a8a194;
  --dim: #6f695f;
  --gold: #d4b062;
  --gold-1: #f6e2a4;
  --gold-2: #c9a24a;
  --gold-3: #8a6624;
  --gold-grad: linear-gradient(120deg, #f8e7b0 0%, #d4b062 32%, #a77f33 62%, #ecd38e 100%);
  --silver-grad: linear-gradient(120deg, #f4f4f4 0%, #a9a9a9 50%, #6a6a6a 100%);
  --danger: #e8806f;
  --success: #9cc79a;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius: 6px;
  --radius-lg: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: rgba(212, 176, 98, 0.35); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #000; padding: 10px 16px; border-radius: var(--radius); transition: top 200ms var(--ease-out); }
.skip-link:focus { top: 16px; }

.icon { width: 20px; height: 20px; flex: none; }

/* Typo utilitaire */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.section-title, .page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.page-title { font-size: clamp(38px, 5.4vw, 72px); margin-bottom: 24px; }
.section-title em, .page-title em, .hero-title em, .final-title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.price { font-family: var(--mono); font-size: 15px; letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.price small, .btn-price small, .drawer-total small, .summary-total small { font-size: 0.72em; color: var(--muted); letter-spacing: 0.12em; margin-right: 2px; }
.hint { color: var(--muted); font-size: 14px; }
.link-small { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.link-arrow .icon { transition: transform 200ms var(--ease-out); }

/* ---------- Ambiance globale ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Rideau d'entrée : le logo se dessine puis s'efface (à l'ouverture de page uniquement, jamais au clic). */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--bg); display: grid; place-items: center; pointer-events: none; }
.no-js .curtain, .curtain.is-done { display: none; }
/* Le logo apparaît en se précisant (flou → net), puis le rideau se lève. */
.curtain-logo { width: min(200px, 46vw); height: auto; opacity: 0; filter: blur(8px); transform: scale(0.96); animation: logoIn 900ms var(--ease-out) forwards; }
@keyframes logoIn { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Curseur doré (souris uniquement) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; mix-blend-mode: difference; }
  .cursor span {
    display: block; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 1px solid #f6e2a4; transform: rotate(45deg) scale(1);
    transition: transform 250ms var(--ease-out), background-color 250ms ease;
  }
  .cursor.is-hover span { transform: rotate(45deg) scale(3.2); background: rgba(246, 226, 164, 0.08); }
  .cursor.is-hidden span { transform: rotate(45deg) scale(0.4); opacity: 0; }
}

/* ---------- Logo Kaiser (SVG) ---------- */
/* Logo Kaisu (images détourées : losange seul ou logo complet). */
.brand-mark-img, .brand-logo-img { display: block; object-fit: contain; }

/* ---------- Bandeau d'annonce ---------- */
.announce {
  position: relative; z-index: 60; text-align: center; padding: 9px var(--gutter);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #0a0908; background: var(--gold-grad);
}
.announce-paused { color: #fff3ef; background: linear-gradient(120deg, #7d2a1f, #a8412f 50%, #7d2a1f); }
.summary-paused { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 14px; border-radius: var(--radius); border: 1px solid rgba(232, 128, 111, 0.5); background: rgba(168, 65, 47, 0.12); color: #f3b3a8; font-size: 13.5px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 300ms ease, border-color 300ms ease, transform 400ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body:not(.has-hero) .site-header {
  background: rgba(10, 9, 8, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
/* Pages avec visuel plein écran : l'en-tête reste collant mais transparent, le hero passe dessous. */
.has-hero main { margin-top: calc(-1 * var(--header-h)); }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b {
  font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: 0.3em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.36em; color: var(--gold); margin-top: 6px; white-space: nowrap; }

.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); }
.main-nav a {
  position: relative; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  padding: 8px 0; transition: color 200ms ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out);
}
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; margin-right: 6px; }
.lang-switch a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--dim); padding: 6px 6px; transition: color 200ms ease; }
.lang-switch a.is-active { color: var(--gold); }

.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--text);
  border: 1px solid var(--line-soft); transition: border-color 200ms ease, transform 160ms var(--ease-out), background-color 200ms ease;
}
.icon-btn:active { transform: scale(0.94); }
.cart-btn {
  position: relative; height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  border: 1px solid var(--line-2); transition: border-color 200ms ease, transform 160ms var(--ease-out), background-color 200ms ease;
}
.cart-btn:active { transform: scale(0.96); }
.cart-btn.is-bump { animation: bump 450ms var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--gold-grad); color: #0a0908; font-family: var(--mono); font-size: 11px; font-weight: 500;
}

.menu-toggle { display: none; width: 42px; height: 42px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--text); transition: transform 300ms var(--ease-out); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: rgba(10, 9, 8, 0.97);
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav nav a {
  font-family: var(--serif); font-size: clamp(38px, 11vw, 64px); line-height: 1.15; display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(24px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.mobile-nav nav a span { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.2em; }
.mobile-nav.is-open nav a { opacity: 1; transform: none; }
.mobile-nav.is-open nav a:nth-child(2) { transition-delay: 50ms; }
.mobile-nav.is-open nav a:nth-child(3) { transition-delay: 100ms; }
.mobile-nav.is-open nav a:nth-child(4) { transition-delay: 150ms; }
.mobile-nav.is-open nav a:nth-child(5) { transition-delay: 200ms; }
.mobile-nav-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 26px;
  border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, color 200ms ease, box-shadow 300ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; transition: transform 250ms var(--ease-out); }
.btn-gold { color: #0a0908; background: var(--gold-grad); background-size: 200% 100%; box-shadow: 0 10px 40px -12px rgba(212, 176, 98, 0.55); }
.btn-gold::after {
  /* Reflet qui balaie le bouton au survol, comme un métal brossé. */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { height: 60px; padding: 0 34px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 11px; }
.btn-grow { flex: 1; justify-content: space-between; }
.btn[disabled], .btn.is-loading { opacity: 0.55; pointer-events: none; }
.btn.is-loading span:first-child::after { content: "…"; }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--text); }
  .main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .lang-switch a:hover { color: var(--text); }
  .icon-btn:hover, .cart-btn:hover { border-color: var(--gold); }
  .btn-gold:hover::after { transform: translateX(120%); transition: transform 900ms var(--ease-out); }
  .btn-gold:hover { box-shadow: 0 16px 50px -12px rgba(212, 176, 98, 0.75); }
  .btn:hover .icon { transform: translateX(4px); }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold-1); }
  .link-arrow:hover .icon { transform: translateX(5px); }
}

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; width: min(92vw, 420px); pointer-events: none; }
.toast {
  pointer-events: auto; width: 100%; padding: 14px 18px 14px 44px; position: relative; border-radius: var(--radius);
  background: rgba(27, 24, 20, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px;
  transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out);
}
@starting-style { .toast { opacity: 0; transform: translateY(16px) scale(0.97); } }
.toast.is-leaving { opacity: 0; transform: translateY(10px); transition-duration: 200ms; }
.toast::before { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; transform: rotate(45deg); background: var(--gold); }
.toast-error::before { background: var(--danger); }
.toast-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.toast-action button { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.toast-success::before { background: var(--success); }

/* ---------- Alertes & formulaires ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); margin-bottom: 16px; font-size: 14px; }
.alert-error { border-color: rgba(232, 128, 111, 0.5); color: #f3b3a8; }
.alert-info { border-color: var(--line-2); color: var(--gold-1); }

.panel { background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); margin: 0 0 20px; min-width: 0; }
fieldset.panel { margin-inline: 0; }
.panel-title {
  display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 28px; padding: 0; margin-bottom: 22px; float: left; width: 100%;
}
.panel-title + * { clear: both; }
.panel-title span { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.2em; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 9px; }

.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; min-width: 0; }
.form-grid .field, .form-stack .field { margin-bottom: 0; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field > span small { text-transform: none; letter-spacing: 0; color: var(--dim); font-family: var(--sans); }
.field input, .field select, .field textarea, .cart-line-qty input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft); outline: none; transition: border-color 200ms ease, background-color 200ms ease;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field select option, .field select optgroup { background: var(--surface); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(212, 176, 98, 0.04); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }

.checkline { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; margin: 6px 0 14px; }
.checkline input {
  appearance: none; width: 20px; height: 20px; flex: none; border: 1px solid var(--line-2); border-radius: 4px; display: grid; place-items: center; margin: 0;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.checkline input::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid #0a0908; border-bottom: 1.5px solid #0a0908; transform: rotate(-45deg) translate(1px, -1px) scale(0.6); opacity: 0; transition: transform 150ms var(--ease-out), opacity 150ms ease; }
.checkline input:checked { background: var(--gold); border-color: var(--gold); }
.checkline input:checked::after { opacity: 1; transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.toggle-area { display: none; }
.checkline:has(input:checked) + .toggle-area, .toggle-area.is-open { display: block; }

.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card > span {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px 16px 50px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.choice-card > span::before { content: ""; position: absolute; left: 18px; top: 20px; width: 14px; height: 14px; border: 1px solid var(--line-2); transform: rotate(45deg); transition: background-color 200ms ease, border-color 200ms ease; }
.choice-card strong { font-weight: 600; font-size: 15px; }
.choice-card small { color: var(--muted); font-size: 13px; }
.choice-card input:checked + span { border-color: var(--gold); background: rgba(212, 176, 98, 0.06); }
.choice-card input:checked + span::before { background: var(--gold-grad); border-color: var(--gold); }
.choice-card input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.choice-card:active > span { transform: scale(0.99); }
.choice-card.is-disabled { opacity: 0.45; pointer-events: none; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 52px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; color: var(--gold-1); transition: transform 160ms var(--ease-out); }
.qty button:active { transform: scale(0.85); }
.qty button .icon { width: 16px; height: 16px; }
.qty output, .qty input { width: 30px; text-align: center; font-family: var(--mono); font-size: 15px; background: none; border: 0; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 42px; }
.qty-sm button { width: 38px; }

/* ---------- Mise en page générique ---------- */
main { display: block; }
.page-narrow { max-width: 900px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gutter) 100px; }
.prose h2 { font-family: var(--serif); font-size: 28px; margin: 36px 0 10px; }
.prose p { color: var(--muted); }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px; overflow: hidden; isolation: isolate;
}
.hero-lines {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55;
  /* Les lignes s'effacent côté texte pour ne pas gêner la lecture du titre. */
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 55%);
}
.hero-lines path { fill: none; stroke: rgba(200, 200, 200, 0.16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-lines path.gold { stroke: url(#hero-gold); stroke-width: 1.4; }
.js .hero-lines path { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.hero-glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: 62%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(212, 176, 98, 0.18), rgba(212, 176, 98, 0.05) 45%, transparent 70%);
  filter: blur(10px);
}
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-eyebrow .dot { display: none; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8.4vw, 132px); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 28px; }
.hero-title .line, .page-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span, .page-title .line > span { display: inline-block; }
.hero-lead { max-width: 480px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); margin-bottom: 34px; }

.address-check { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 620px; }
.address-result { grid-column: 1 / -1; margin: 4px 0 0; min-height: 1.6em; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.address-result strong { color: var(--gold-1); font-weight: 600; }
.address-result .ok::before, .address-result .ko::before { content: ""; display: inline-block; width: 7px; height: 7px; transform: rotate(45deg); margin-right: 10px; vertical-align: 2px; background: var(--success); }
.address-result .ko::before { background: var(--danger); }

.address-field { position: relative; z-index: 20; display: flex; align-items: center; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 9, 8, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-left: 18px; transition: border-color 200ms ease; }
.address-field:focus-within { border-color: var(--gold); }
.address-field > .icon { color: var(--gold); }
.address-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; padding: 0 12px; }
.address-field input::placeholder { color: var(--dim); }
.address-field-lg { height: 58px; border-radius: var(--radius); margin-bottom: 16px; }
.locate-btn { width: 46px; height: 100%; display: grid; place-items: center; color: var(--muted); transition: color 200ms ease, transform 160ms var(--ease-out); }
.locate-btn:active { transform: scale(0.9); }
.locate-btn.is-busy .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.address-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); padding: 6px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transform-origin: top center; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
@starting-style { .address-list { opacity: 0; transform: translateY(-4px) scale(0.98); } }
.address-list li { padding: 11px 14px; border-radius: var(--radius); cursor: pointer; display: flex; flex-direction: column; line-height: 1.3; }
.address-list li small { color: var(--muted); font-size: 12.5px; }
.address-list li[aria-selected="true"] { background: rgba(212, 176, 98, 0.1); }
.address-list li.is-empty { color: var(--muted); cursor: default; }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.hero-orbit { position: absolute; inset: 0; }
.hero-ring { position: absolute; inset: 9%; border: 1px solid var(--line); transform: rotate(45deg); }
.hero-ring::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(255, 255, 255, 0.06); }
.hero-piece { position: absolute; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.7)); will-change: transform; }
.hero-piece.piece-0 { width: 64%; left: 18%; top: 18%; z-index: 2; }
.hero-piece.piece-1 { width: 36%; right: -2%; top: 0; z-index: 3; }
.hero-piece.piece-2 { width: 40%; left: -4%; bottom: 0; z-index: 1; }
.js .hero-piece { opacity: 0; }

.hero-foot { width: 100%; max-width: var(--max); margin: 40px auto 0; display: flex; justify-content: space-between; align-items: flex-end; }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 64px); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--gold-1); }
.hero-stats strong small { font-family: var(--mono); font-size: 0.32em; letter-spacing: 0.14em; color: var(--muted); vertical-align: middle; }
.hero-stats span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.scroll-cue { width: 22px; height: 38px; border: 1px solid var(--line-2); border-radius: 999px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* Manifeste : les mots s'allument au défilement */
.manifesto { max-width: 1180px; margin: 0 auto; padding: clamp(90px, 12vw, 170px) var(--gutter); text-align: center; }
.manifesto .eyebrow { justify-content: center; }
.manifesto-text { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.005em; margin-bottom: 48px; }
.manifesto-text .word { display: inline-block; opacity: 0.16; transition: opacity 300ms ease; }
.no-js .manifesto-text .word { opacity: 1; }
.manifesto-sign { display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.sign-mark { width: 30px; height: 30px; }

/* Signatures : défilement horizontal épinglé (ordinateur), glisser au doigt (mobile) */
.signatures { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 10px) 0 60px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.signatures-head { width: 100%; max-width: var(--max); margin: 0 auto 40px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; }
.signatures-head .section-title { margin-bottom: 0; }
.signatures-head .eyebrow { grid-column: 1 / -1; }
/* Par défaut la rangée défile nativement (doigt, pavé tactile, flèches, glisser à la souris).
   Avec les animations actives sur grand écran, app.js la "pilote" par le défilement vertical (classe is-pinned). */
.signatures-track {
  display: flex; gap: 24px; padding: 0 var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; outline: none;
}
.signatures-track::-webkit-scrollbar { display: none; }
.signatures-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.signatures-track.is-dragging a, .signatures-track.is-dragging img { pointer-events: none; }
.signatures-track > * { scroll-snap-align: start; }
.signatures.is-pinned .signatures-track { overflow: visible; width: max-content; scroll-snap-type: none; cursor: auto; }
.sig-controls { display: flex; align-items: center; gap: 28px; }
.sig-nav { display: flex; gap: 10px; }
.sig-nav .icon-btn { width: 48px; height: 48px; border-color: var(--line-2); color: var(--gold-1); }
.sig-nav .icon-btn:disabled { opacity: 0.3; cursor: default; }
.sig-prev .icon { transform: rotate(180deg); }
.sig-progress { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); height: 1px; margin: 34px auto 0; background: var(--line); }
.sig-progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0.08); }
.sig-card {
  position: relative; width: clamp(250px, min(28vw, 100vh - 440px), 400px); flex: none; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: border-color 300ms ease, transform 400ms var(--ease-out);
}
.sig-card .dish-open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; cursor: pointer; }
.sig-foot form { position: relative; z-index: 2; }
.sig-index { position: absolute; z-index: 2; top: 18px; left: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.sig-media { aspect-ratio: 1; overflow: hidden; }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.sig-body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sig-body h3 { font-family: var(--serif); font-size: 32px; line-height: 1; margin-bottom: 10px; }
.sig-body p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.sig-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.sig-more { align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 40px; background: transparent; border-style: dashed; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.more-mark { width: 64px; height: 64px; }
.sig-more .icon { width: 28px; height: 28px; color: var(--gold); }

.add-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #0a0908; background: var(--gold-grad);
  box-shadow: 0 8px 24px -8px rgba(212, 176, 98, 0.6); transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.add-btn:active { transform: scale(0.9); }
.add-btn .icon { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
.add-btn.is-added { animation: added 600ms var(--ease-out); }
@keyframes added { 0% { transform: scale(0.9); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }
.badge-soldout { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-soft); padding: 5px 10px; border-radius: 999px; background: rgba(10, 9, 8, 0.7); }

/* Étapes */
.steps { max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter) 120px; }
.steps-head { margin-bottom: 56px; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps-list li { position: relative; padding: 36px 32px 40px 0; border-right: 1px solid var(--line); }
.steps-list li + li { padding-left: 32px; }
.steps-list li:last-child { border-right: 0; }
.steps-list .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 26px; }
.step-num { position: absolute; top: 36px; right: 32px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.2em; }
.steps-list h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 10px; }
.steps-list p { color: var(--muted); max-width: 320px; }
.zones { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.zone { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.zone strong { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 6px; }
.zone span:not(.zone-ring) { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.zone-ring { position: absolute; right: -30px; top: -30px; width: calc(80px + var(--i) * 30px); aspect-ratio: 1; border: 1px solid var(--line-2); transform: rotate(45deg); }
.zone-free { border-color: var(--line-2); background: linear-gradient(135deg, rgba(212, 176, 98, 0.12), transparent 60%); }
.zone-free .icon { color: var(--gold); margin-bottom: 8px; }

/* Catégories */
.categories { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 120px; }
.categories-head { margin-bottom: 48px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 9, 8, 0.85)); }
.category-name { position: absolute; z-index: 1; left: 20px; bottom: 18px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); }
.category-tile .icon { position: absolute; z-index: 1; right: 18px; bottom: 22px; color: var(--gold); transition: transform 250ms var(--ease-out); }

/* Le lieu */
.place { max-width: var(--max); margin: 0 auto; padding: 60px var(--gutter) 140px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.place-media { position: relative; aspect-ratio: 1 / 1.05; }
.place-img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.place-img img { width: 100%; height: 115%; object-fit: cover; }
.img-a { inset: 0 18% 22% 0; }
.img-b { width: 46%; aspect-ratio: 4 / 5; right: 0; bottom: 0; }
.img-c { width: 32%; aspect-ratio: 1; right: 6%; top: -4%; }
.place-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 500px; margin: 24px 0 30px; }
.place-facts { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.place-facts li { display: flex; gap: 14px; font-size: 15px; }
.place-facts .icon { color: var(--gold); margin-top: 2px; }

/* Appel final */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 16vw, 200px) var(--gutter); border-top: 1px solid var(--line); }
.final-cta .eyebrow { justify-content: center; }
.final-lines { position: absolute; left: 50%; top: 50%; width: min(90vw, 700px); transform: translate(-50%, -50%); z-index: -1; opacity: 0.6; }
.final-lines path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.final-title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: 0.95; margin-bottom: 44px; }

@media (hover: hover) and (pointer: fine) {
  .sig-card:hover { border-color: var(--line-2); }
  .sig-card:hover .sig-media img, .category-tile:hover img { transform: scale(1.06); }
  .category-tile:hover .icon { transform: translateX(5px); }
  .add-btn:hover { box-shadow: 0 10px 30px -6px rgba(212, 176, 98, 0.85); }
  .add-btn:hover .icon { transform: rotate(90deg); }
  .locate-btn:hover { color: var(--gold); }
  .address-list li:hover { background: rgba(212, 176, 98, 0.08); }
}

/* Révélations au défilement (activées par app.js) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #070706 100%); }
.footer-marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: clamp(40px, 6vw, 86px); line-height: 1; white-space: nowrap; }
.marquee-track span { color: transparent; -webkit-text-stroke: 1px rgba(212, 176, 98, 0.45); }
.marquee-track i { font-style: normal; font-size: 0.3em; color: var(--gold); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 70px var(--gutter) 50px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 180px; height: auto; margin: -12px 0 18px -14px; }
.footer-claim { font-family: var(--serif); font-size: 26px; line-height: 1.2; max-width: 320px; color: var(--muted); }
.footer-claim em { color: var(--gold-1); }
.hours-list { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.hours-list div { display: flex; justify-content: space-between; gap: 14px; }
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.site-footer address, .footer-links { font-size: 14px; line-height: 2; color: var(--muted); }
.site-footer address a, .footer-links a { transition: color 200ms ease; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
@media (hover: hover) and (pointer: fine) { .site-footer address a:hover, .footer-links a:hover { color: var(--gold-1); } }

/* ==========================================================================
   CARTE
   ========================================================================== */
.menu-hero { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 8vw, 110px) var(--gutter) 40px; }
.menu-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.search-field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); min-width: min(100%, 340px); flex: 0 1 380px; transition: border-color 200ms ease; }
.search-field:focus-within { border-color: var(--gold); }
.search-field .icon { color: var(--gold); }
.search-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; }
.search-field input::-webkit-search-cancel-button { filter: invert(0.7) sepia(1) hue-rotate(5deg); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-soft); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.chip .icon { width: 16px; height: 16px; }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-1); background: rgba(212, 176, 98, 0.08); }

.category-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(10, 9, 8, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
.category-nav-track { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.category-nav-track::-webkit-scrollbar { display: none; }
.category-nav a { flex: none; padding: 17px 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 200ms ease; white-space: nowrap; }
.category-nav a.is-active { color: var(--gold-1); }
.category-nav-indicator { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--gold-grad); transition: transform 400ms var(--ease-out), width 400ms var(--ease-out); }

.menu-layout { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 120px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.menu-section { padding-top: 26px; margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-section-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.menu-section-head h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); line-height: 1; }
.menu-section-head .count { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.2em; }
.section-note { color: var(--muted); font-size: 14px; margin-top: -10px; }
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }

.dish { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); background: var(--surface); overflow: hidden; transition: border-color 250ms ease, transform 160ms var(--ease-out); }
.dish:active { transform: scale(0.99); }
.dish-open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dish-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #0d0c0b; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.dish-tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(10, 9, 8, 0.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line-soft); color: var(--text); }
.tag-veggie, .tag-vegan { color: #b9d9a5; }
.tag-spicy { color: #f0a58a; }
.tag-alcohol { color: var(--gold-1); }
.dish-media .badge-soldout { position: absolute; right: 12px; top: 12px; }
.dish-body { padding: 16px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.dish-name { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.3; margin-bottom: 6px; }
.dish-desc { color: var(--muted); font-size: 13px; line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.dish-foot { display: flex; align-items: center; gap: 10px; }
.dish-foot .price { flex: 1; }
.pieces { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; }
.dish-foot form { position: relative; z-index: 2; }
.dish-foot .add-btn { width: 40px; height: 40px; }
.dish.is-soldout .dish-media img { filter: grayscale(0.7) brightness(0.6); }
.dish.is-filtered { display: none; }
.menu-section.is-empty { display: none; }
.menu-empty { text-align: center; padding: 80px 0; color: var(--muted); }

.menu-cart { position: sticky; top: calc(var(--header-h) + 80px); }
.menu-cart-inner { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 24px; max-height: calc(100vh - var(--header-h) - 110px); display: flex; flex-direction: column; }
.menu-cart .cart-lines { overflow-y: auto; margin: 0 -8px 12px; padding: 0 8px; overscroll-behavior: contain; }
.menu-cart .cart-empty { padding: 20px 0; text-align: left; color: var(--muted); font-size: 14px; }
.menu-cart .drawer-total { margin: 8px 0 16px; }

@media (hover: hover) and (pointer: fine) {
  .dish:hover { border-color: var(--line-2); }
  .dish:hover .dish-media img { transform: scale(1.05); }
  .chip:hover { border-color: var(--line-2); color: var(--text); }
  .category-nav a:hover { color: var(--text); }
}

/* ---------- Fiche produit (modale) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 300ms ease; }
.modal-panel {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 48px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 250ms var(--ease-out), transform 350ms var(--ease-out);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; z-index: 3; top: 14px; right: 14px; background: rgba(10, 9, 8, 0.6); }
.modal-media { background: #0d0c0b; aspect-ratio: 1; position: sticky; top: 0; align-self: start; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 40px 32px 28px; display: flex; flex-direction: column; min-width: 0; }
.modal-body .dish-tags { position: static; margin-bottom: 14px; }
.modal-body h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.02; margin-bottom: 14px; padding-right: 40px; overflow-wrap: anywhere; }
.modal-desc { color: var(--muted); }
.modal-body .pieces { margin-bottom: 18px; }
.option-group { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.option-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.option-group-head small { white-space: nowrap; }
.option-group-head strong { font-weight: 600; }
.option-group-head small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.option-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
.option-row .checkline { margin: 0; flex: 1; }
.option-row .price { font-size: 13px; color: var(--muted); }
.modal-actions { margin-top: auto; padding-top: 22px; display: flex; gap: 12px; }
.btn-price { font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- Tiroir panier ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 300ms ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform 450ms var(--ease-drawer);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 26px 18px; border-bottom: 1px solid var(--line); }
.drawer-head .eyebrow { margin-bottom: 8px; }
.drawer-head h2 { font-family: var(--serif); font-size: 36px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px; overscroll-behavior: contain; }
.drawer-foot { padding: 20px 26px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.drawer-total strong { font-family: var(--mono); font-size: 20px; font-weight: 400; }
.drawer-note { font-size: 12.5px; color: var(--dim); margin: 6px 0 16px; }

.free-progress { padding: 14px 26px; border-bottom: 1px solid var(--line); }
.menu-cart .free-progress { padding: 12px 0; border: 0; }
.free-progress p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.free-progress p strong { color: var(--gold-1); font-weight: 600; }
.free-bar { height: 2px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.free-bar span { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease-out); }

.cart-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); transition: opacity 250ms ease, transform 300ms var(--ease-out); }
.cart-line.is-removing { opacity: 0; transform: translateX(20px); }
@starting-style { .cart-line { opacity: 0; transform: translateY(8px); } }
.cart-line img { width: 60px; height: 60px; border-radius: var(--radius); object-fit: cover; }
.cart-line-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-line-info strong { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.3; }
.cart-line-info small { font-size: 12px; color: var(--muted); }
.cart-line-info .warn, .summary-name .warn { color: var(--danger); }
.cart-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line-side .price { font-size: 13.5px; }
.cart-line .qty { height: 32px; }
.cart-line .qty button { width: 30px; }
.cart-line .qty output { width: 22px; font-size: 13px; }
.cart-line.is-unavailable { opacity: 0.6; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty-mark { width: 54px; height: 54px; margin: 0 auto 20px; opacity: 0.6; }
.cart-lines-page .cart-line { grid-template-columns: 72px 1fr auto auto auto; }
.cart-line-qty { display: flex; gap: 8px; align-items: center; }
.cart-line-qty input { width: 70px; min-height: 38px; padding: 6px 10px; }
.cart-page-foot { margin-top: 30px; max-width: 420px; margin-left: auto; }

/* Barre panier mobile */
.cart-bar {
  position: fixed; z-index: 44; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 60px; padding: 0 10px 0 10px;
  display: none; align-items: center; gap: 14px; border-radius: 999px; color: #0a0908; background: var(--gold-grad); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.9), 0 10px 40px -16px rgba(212, 176, 98, 0.6);
  transition: transform 400ms var(--ease-out), opacity 300ms ease;
}
.cart-bar.is-hidden { transform: translateY(140%); opacity: 0; }
.cart-bar-count { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0a0908; color: var(--gold-1); font-family: var(--mono); font-size: 13px; }
.cart-bar-label { flex: 1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.cart-bar-total { font-family: var(--mono); font-size: 14px; padding-right: 12px; }

/* Animation "vol vers le panier" */
.fly-img { position: fixed; z-index: 130; pointer-events: none; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }

/* ==========================================================================
   COMMANDE
   ========================================================================== */
.checkout { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 120px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.checkout-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-inner { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); padding: 26px; }

.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); margin-bottom: 22px; isolation: isolate; }
.segment { position: relative; cursor: pointer; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span { height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 250ms ease; }
.segment input:checked + span { color: #0a0908; }
.segment input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: -4px; border-radius: 999px; }
.segmented-pill { position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--gold-grad); transition: transform 400ms var(--ease-out); }
.segmented:has(.segment:nth-child(2) input:checked) .segmented-pill { transform: translateX(100%); }

.pickup-card { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.pickup-card .icon { width: 28px; height: 28px; color: var(--gold); }
.pickup-card div { display: flex; flex-direction: column; }
.pickup-card span { color: var(--muted); font-size: 14px; }

.route-card { position: relative; z-index: 0; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.route-map { min-height: 260px; background: #0d0c0b; }
.route-info { padding: 22px; display: flex; flex-direction: column; gap: 16px; justify-content: center; background: var(--bg-2); }
.route-stat span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.route-stat strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; color: var(--gold-1); }
.route-stat strong small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 4px; }
.route-warning { margin: 0; font-size: 13.5px; color: #f3b3a8; }
.route-info.is-loading strong { opacity: 0.4; }

/* Carte swisstopo assombrie pour coller à l'identité */
.route-map .leaflet-tile-pane { filter: invert(1) grayscale(1) brightness(0.4) contrast(1.3) sepia(0.55) saturate(1.3); opacity: 0.9; }
.route-map.leaflet-container { background: #0d0c0b; font-family: var(--sans); }
.route-map .leaflet-control-attribution { background: rgba(10, 9, 8, 0.7); color: var(--dim); font-size: 9px; }
.route-map .leaflet-control-attribution a { color: var(--muted); }
.map-pin { width: 18px; height: 18px; transform: rotate(45deg); border: 2px solid var(--gold-1); background: var(--bg); box-shadow: 0 0 0 6px rgba(212, 176, 98, 0.15), 0 0 24px rgba(212, 176, 98, 0.7); }
.map-pin.is-home { background: var(--gold-grad); animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 176, 98, 0.5), 0 0 24px rgba(212, 176, 98, 0.7); } 100% { box-shadow: 0 0 0 16px rgba(212, 176, 98, 0), 0 0 24px rgba(212, 176, 98, 0.7); } }
.route-line { stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

.when-options, .payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.slot-field { margin-top: 16px; margin-bottom: 0; }
.checkout:not(.is-later) .slot-field { display: none; }
.extras-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; margin-bottom: 18px; }
.extra-item { display: flex; align-items: center; gap: 16px; }

.summary-lines { display: flex; flex-direction: column; margin-bottom: 14px; }
.summary-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.summary-lines li:not(:has(img)) { grid-template-columns: 1fr auto; }
.summary-lines img { width: 44px; height: 44px; border-radius: var(--radius); object-fit: cover; }
.summary-name b { font-family: var(--mono); font-weight: 400; color: var(--gold); margin-right: 4px; }
.summary-name small { display: block; color: var(--muted); font-size: 12px; }
.summary-price { font-family: var(--mono); font-size: 13px; }
.summary-totals { margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.summary-totals div { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.summary-totals dd { margin: 0; font-family: var(--mono); color: var(--text); }
.summary-total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.summary-total dt { color: var(--text); font-weight: 600; }
.summary-total dd { font-size: 20px; }
.summary-warning { font-size: 13px; color: #f3b3a8; }
.legal-note { font-size: 12px; color: var(--dim); margin: 14px 0 0; text-align: center; }
.legal-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   SUIVI
   ========================================================================== */
.tracking { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 120px; }
.tracking-hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tracking-hero .page-title { margin-bottom: 30px; }
.tracking-check { width: 92px; height: 92px; margin-bottom: 26px; }
.tracking-check path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tc-diamond { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 900ms var(--ease-out) forwards; }
.tc-tick { stroke: var(--gold-1); stroke-width: 4; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 500ms 600ms var(--ease-out) forwards; }
.eta-dial { position: relative; width: 240px; height: 240px; margin: 0 auto 20px; }
.eta-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.eta-track, .eta-progress { fill: none; stroke-width: 2; }
.eta-track { stroke: var(--line); }
.eta-progress { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 553; stroke-dashoffset: 553; transition: stroke-dashoffset 1200ms var(--ease-out); filter: drop-shadow(0 0 6px rgba(212, 176, 98, 0.6)); }
.eta-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eta-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eta-center strong { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; margin: 6px 0; color: var(--gold-1); }
.eta-left { font-size: 13px; color: var(--muted); }
.tracking-scheduled { color: var(--muted); }

.track-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 50px; position: relative; }
.track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 13px; color: var(--dim); }
.track-steps li::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 1px; background: var(--line); }
.track-steps li:first-child::before { display: none; }
.track-steps li.is-done::before, .track-steps li.is-current::before { background: var(--gold); }
.step-dot { position: relative; z-index: 1; width: 17px; height: 17px; transform: rotate(45deg); border: 1px solid var(--line-2); background: var(--bg); transition: background-color 400ms ease, border-color 400ms ease; }
.track-steps li.is-done { color: var(--muted); }
.track-steps li.is-done .step-dot { background: var(--gold); border-color: var(--gold); }
.track-steps li.is-current { color: var(--text); }
.track-steps li.is-current .step-dot { border-color: var(--gold); background: var(--gold-grad); animation: pulse 2s var(--ease-out) infinite; }
.tracking-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.tracking-address { line-height: 1.7; }

/* ==========================================================================
   COMPTE
   ========================================================================== */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 60px var(--gutter); }
.auth-card { width: min(520px, 100%); text-align: center; }
.auth-card form { text-align: left; }
.auth-mark { width: 54px; height: 54px; margin: 0 auto 22px; }
.auth-lead { color: var(--muted); }
.auth-alt { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.account-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: start; }
.order-history li { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.order-history li > div:first-child { display: flex; flex-direction: column; }
.order-history small { color: var(--muted); font-size: 12.5px; }
.order-history-actions { grid-column: 1 / -1; display: flex; gap: 10px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-cart { display: none; }
  .cart-bar { display: flex; }
  [data-page="menu"] .toasts { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .main-nav, .header-actions .lang-switch { display: none; }
  .menu-toggle { display: block; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word b { font-size: 16px; letter-spacing: 0.3em; }
  .brand-word small { font-size: 8px; letter-spacing: 0.28em; }

  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { order: -1; width: min(78vw, 420px); margin-top: -10px; }
  .hero { justify-content: flex-start; }
  .hero-foot { margin-top: 32px; }

  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li + li { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-num { right: 0; top: 28px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .place { grid-template-columns: 1fr; }
  .place-media { aspect-ratio: 1 / 0.9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .route-card { grid-template-columns: 1fr; }
  .route-map { min-height: 220px; }
  .route-info { flex-direction: row; flex-wrap: wrap; gap: 14px 28px; }
  .route-stat strong { font-size: 24px; }
  .tracking-grid, .account-grid { grid-template-columns: 1fr; }
  .modal-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(46px, 13.5vw, 72px); }
  .address-check { grid-template-columns: 1fr; }
  .address-check .btn { width: 100%; }
  .hero-stats { width: 100%; justify-content: space-between; gap: 12px; }
  .scroll-cue { display: none; }
  .signatures-head { grid-template-columns: 1fr; gap: 14px; }
  .sig-controls { justify-content: space-between; }
  .sig-card { width: 80vw; }
  .category-grid { gap: 10px; }
  .category-name { left: 14px; bottom: 12px; }
  .category-tile .icon { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .form-grid.two, .when-options { grid-template-columns: 1fr; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dish-body { padding: 12px; }
  .dish-name { font-size: 12.5px; }
  .dish-desc { font-size: 12px; margin-bottom: 10px; }
  .dish-foot .price { font-size: 13px; }
  .dish-foot .pieces { display: none; }
  .dish-foot .add-btn { width: 36px; height: 36px; }
  .menu-tools { flex-direction: column; align-items: stretch; }
  .search-field { flex: none; }
  .filter-chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .track-steps { grid-template-columns: repeat(4, 1fr); font-size: 11px; }
  .track-steps li { font-size: 11px; }
  .cart-lines-page .cart-line { grid-template-columns: 56px 1fr auto; }
  .cart-lines-page .cart-line-qty { grid-column: 2; }

  /* Fiche produit et panier : feuilles qui montent du bas, plus naturelles au pouce. */
  .modal { padding: 0; align-items: end; }
  .modal-panel { max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform 450ms var(--ease-drawer), opacity 200ms ease; opacity: 1; }
  .modal-media { aspect-ratio: 4 / 3; }
  .modal-body { padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
  .modal-actions { position: sticky; bottom: 0; background: var(--surface); padding-bottom: 4px; }
  .drawer-panel { top: auto; left: 0; width: 100%; max-height: 88vh; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .drawer-panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
}

/* Mouvement réduit : on garde les fondus, on supprime les déplacements et les boucles. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .grain, .marquee-track, .scroll-cue span { animation: none !important; }
  .js [data-reveal], .js .hero-piece { opacity: 1; transform: none; }
  .js .hero-lines path { stroke-dashoffset: 0; }
  .manifesto-text .word { opacity: 1; }
  .curtain { display: none; }
  .cursor { display: none !important; }
}
