/* =========================================================
   ABU TAHA — auténtica comida siria · Tetuán, Madrid
   Brasserie sombre : olive noir, encre forêt, citron, crème.
   Plat, sans ombres ni dégradés, angles quasi nuls.
   ========================================================= */

:root {
  color-scheme: dark;
  --olive: #1d0b0d;
  --ink: #103b15;
  --lemon: #f7ea48;
  --cream: #fcf9f0;
  --sage: #dbe2dc;
  --white: #ffffff;

  --cream-60: rgba(252, 249, 240, .64);
  --cream-20: rgba(252, 249, 240, .2);
  --cream-12: rgba(252, 249, 240, .12);
  --ink-70: rgba(16, 59, 21, .76);

  --font: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Reem Kufi', 'Outfit', sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 160px);
  --nav-h: 80px;

  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--olive);
  color: var(--cream);
  font: 400 16px/1.4 var(--font);
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--lemon); color: var(--olive); }
:focus-visible { outline: 2px solid var(--lemon); outline-offset: 4px; }
.section--cream :focus-visible { outline-color: var(--ink); }
[lang="ar"] { font-family: var(--font-ar); letter-spacing: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 2000;
  padding: 12px 16px; background: var(--lemon); color: var(--olive); font-weight: 600;
}
.skip:focus { top: 16px; }

/* Découpes de texte (générées en JS) */
.sw, .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .14em; margin: -.1em 0 -.14em; }
.sc, .wi { display: inline-block; }
.word { display: inline-block; }

/* ---------- Typo ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.star { width: 12px; height: 12px; fill: var(--lemon); }

.h-display {
  font-size: clamp(44px, 5.8vw, 88px);
  font-weight: 500; line-height: .98; letter-spacing: .05em; text-transform: uppercase;
}
.h-display--lemon { color: var(--lemon); }
.h-display--ink { color: var(--ink); }

.body-lg { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; letter-spacing: .02em; max-width: 34em; }

/* Libellé de section : (01) Nosotros ———— */
.section-label {
  --line: 1;
  position: relative; display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; margin-bottom: clamp(36px, 5vw, 64px);
  font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.section-label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(var(--line)); transform-origin: left;
}
.section-label--light::after { background: var(--cream-20); }
.section-label__ar { margin-left: auto; font-size: 20px; text-transform: none; }

/* ---------- Effet « roll » au survol (texte doublé en JS) ---------- */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.3em; line-height: 1.3; }
.roll > span { display: block; transition: transform .6s var(--ease); }
.roll > span::after { content: attr(data-text); display: block; color: var(--roll-c, var(--lemon)); }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-50%); }

/* ---------- Boutons ---------- */
.btn {
  --fg: var(--cream); --fill: var(--lemon); --fg-hover: var(--olive);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 1px;
  color: var(--fg); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease);
}
.btn:hover { color: var(--fg-hover); }
.btn:hover::before { transform: scaleY(1); }
.btn .roll { --roll-c: currentColor; }
.btn .icon { transition: transform .6s var(--ease); }
.btn:hover .icon { transform: translateX(5px); }
.btn--lemon { --fg: var(--olive); --fill: var(--cream); background: var(--lemon); }
.btn--ghost { border: 1px solid var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }

/* Lien fantôme « Ver en la carta → » */
.link-ghost {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  color: var(--lemon); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.section--cream .link-ghost { color: var(--ink); }
.link-ghost::after {
  content: ""; position: absolute; left: 0; right: 28px; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.link-ghost:hover::after { transform: scaleX(1); transform-origin: left; }
.link-ghost .icon { transition: transform .6s var(--ease); }
.link-ghost:hover .icon { transform: translateX(6px); }

/* Lien souligné (adresse, téléphone…) */
.link-line { position: relative; display: inline-block; }
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .7s var(--ease);
}
.link-line:hover::after { animation: line-swap .9s var(--ease); }
@keyframes line-swap {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Préchargement ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--olive); clip-path: inset(0 0 0 0);
}
.no-anim .loader, .reduce .loader { display: none; }
.js .loader__inner { opacity: 0; }
.loader__inner { display: grid; justify-items: center; gap: 12px; text-align: center; }
.loader__ar { font-size: clamp(64px, 10vw, 120px); line-height: 1.15; color: var(--lemon); }
.loader__word { font-size: clamp(22px, 3vw, 34px); font-weight: 500; letter-spacing: .4em; padding-left: .4em; text-transform: uppercase; }
.loader__tag { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--cream-60); }
.loader__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 24px; }
.loader__bar { flex: 1; height: 1px; background: var(--cream-12); }
.loader__bar i { display: block; height: 100%; background: var(--lemon); transform: scaleX(0); transform-origin: left; }
.loader__count { font-size: 14px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 950; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--lemon); transform: scaleX(0); transform-origin: left; }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--lemon); transition: opacity .3s, background-color .3s; }
.cursor__ring {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(252, 249, 240, .55);
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--lemon); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--lemon); border-color: var(--lemon); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.on-light .cursor__ring { border-color: rgba(16, 59, 21, .5); }
.cursor.on-light .cursor__dot { background: var(--ink); }
.cursor.on-light.is-link .cursor__ring { border-color: var(--ink); }
.cursor.on-light.is-label .cursor__ring { background: var(--olive); border-color: var(--olive); }
.cursor.on-light .cursor__label { color: var(--lemon); }
.cursor.on-lemon .cursor__ring { border-color: var(--olive); }
.cursor.on-lemon .cursor__dot { background: var(--olive); }
.cursor.is-hidden { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 900;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  background: var(--olive); border-bottom: 1px solid var(--cream-12);
}
.nav__inner {
  width: min(100% - 2 * var(--gutter), 1400px); height: 100%; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__links { position: relative; display: flex; gap: 4px; }
.nav__link { position: relative; z-index: 1; padding: 7px 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.nav__indicator {
  position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0;
  border: 1px solid var(--white); border-radius: 1px; pointer-events: none;
}
.nav__brand { display: grid; justify-items: center; line-height: 1; }
.nav__brand-ar { margin-bottom: 5px; font-size: 15px; color: var(--lemon); }
.nav__brand-lat { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.nav__social { display: flex; gap: 2px; }
.nav__social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid transparent; border-radius: 1px; transition: color .3s, border-color .3s;
}
.nav__social a:hover { color: var(--lemon); border-color: var(--lemon); }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--cream); transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__burger i:nth-child(1) { top: 18px; }
.nav__burger i:nth-child(2) { top: 26px; }
.menu-open .nav__burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Menu plein écran (mobile) */
.menu {
  position: fixed; inset: 0; z-index: 890; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 28px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--olive);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--cream-12);
  font-size: clamp(40px, 11vw, 76px); font-weight: 500; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase;
  transition: color .3s;
}
.menu__links a span { font-size: 13px; letter-spacing: .2em; color: var(--lemon); }
.menu__links a:hover { color: var(--lemon); }
.menu__foot { position: relative; z-index: 1; display: grid; gap: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-60); }
.menu__foot a:first-child { color: var(--lemon); }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--cream); }
.menu__ar {
  position: absolute; right: var(--gutter); bottom: 150px; font-size: min(34vw, 260px); line-height: 1.2; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--lemon); pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow-x: clip; /* le badge en rotation ne doit pas élargir la page */
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 80px)) 0 clamp(110px, 15vh, 150px);
}
.hero__media { position: absolute; top: var(--nav-h); right: 0; bottom: 0; width: 50%; }
.hero__mask { position: absolute; inset: 0; overflow: hidden; }
.hero__par { position: absolute; inset: -8% 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.08); }
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: clamp(20px, 3.5vh, 40px); }
.hero__title {
  margin-bottom: clamp(24px, 4vh, 40px);
  font-size: clamp(48px, 10.6vw, 168px); font-weight: 500; line-height: .95; letter-spacing: .06em;
  text-transform: uppercase; color: var(--lemon);
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--indent { padding-left: clamp(0px, 7vw, 120px); }
.hero__sub { max-width: min(30em, 40vw); margin-bottom: 32px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; letter-spacing: .02em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badge { position: absolute; z-index: 3; left: -76px; bottom: clamp(90px, 14vh, 150px); width: 152px; height: 152px; display: grid; place-items: center; }
.hero__badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--olive); }
.hero__badge-text { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--cream); font-size: 14.5px; font-weight: 500; }
.hero__badge-star { position: relative; width: 36px; height: 36px; fill: var(--lemon); }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-60);
}
.hero__foot > :last-child { color: var(--cream); }
.hero__foot .hero__wa { color: var(--lemon); font-weight: 600; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--cream-20); }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--lemon); animation: scroll-cue 2.2s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---------- Bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0; border-block: 1px solid var(--cream-12); }
.marquee__row { overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 8px; }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__item {
  padding: 0 .32em; white-space: nowrap;
  font-size: clamp(40px, 6.4vw, 92px); font-weight: 500; line-height: 1.12; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lemon); transition: color .4s;
}
.marquee__item[lang="ar"] { font-size: clamp(44px, 7vw, 100px); }
.marquee__item:hover { color: var(--cream); }
.marquee__row--outline .marquee__item { color: transparent; -webkit-text-stroke: 1px var(--cream); }
.marquee__row--outline .marquee__item:hover { color: var(--cream); }
.marquee__star { flex: none; width: clamp(18px, 2.2vw, 30px); height: clamp(18px, 2.2vw, 30px); margin: 0 .2em; fill: var(--lemon); }
.marquee__row--outline .marquee__star { fill: none; stroke: var(--cream); stroke-width: 1; }

/* ---------- Sections crème ---------- */
.section--cream { background: var(--cream); color: var(--ink); }

/* (01) Nosotros */
.about { padding: var(--section) 0; }
.about__text {
  max-width: 21em;
  font-size: clamp(30px, 4.3vw, 60px); line-height: 1.14; letter-spacing: .02em; color: var(--ink);
}
.inline-img { display: inline-block; width: 2.1em; height: .86em; margin: 0 .06em; vertical-align: -.04em; overflow: hidden; }
.inline-img img { width: 100%; height: 100%; object-fit: cover; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(64px, 9vw, 120px); }
.fact { --line: 1; position: relative; padding-top: 24px; }
.fact::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--ink); transform: scaleX(var(--line)); transform-origin: left;
}
.fact__big { font-size: clamp(46px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--olive); }
.fact__label { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fact__text { margin-top: 6px; font-size: 17px; color: var(--ink-70); }

/* (02) La estrella */
/* -1px : recouvre le bord anti-crénelé du clip-path de la section précédente */
.feature { padding: 0 0 var(--section); margin-top: -1px; }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature__text .h-display { margin-bottom: 26px; }
.feature__text .body-lg { margin-bottom: 34px; }

.toggle { position: relative; display: inline-flex; margin-bottom: 34px; border: 1px solid var(--ink); border-radius: 1px; }
.toggle__btn {
  position: relative; z-index: 1; min-width: 116px; padding: 13px 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  transition: color .5s var(--ease);
}
.toggle__btn.is-active { color: var(--cream); }
.toggle__pill { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--olive); transition: transform .7s var(--ease); }
.toggle[data-active="1"] .toggle__pill { transform: translateX(100%); }

.specs { margin-bottom: 34px; border-top: 1px solid var(--sage); }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sage); font-size: 16px; }
.specs dt { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

.feature__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--olive); }
.feature__fig { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); }
.feature__fig.is-active { clip-path: inset(0 0 0 0); }
.feature__fig img { width: 100%; height: 100%; object-fit: cover; }
.feature__curtain { position: absolute; inset: 0; z-index: 3; background: var(--olive); transform: scaleY(0); }
.js:not(.no-anim):not(.reduce) .feature__curtain { transform: scaleY(1); transform-origin: 50% 0; }
.feature__tag {
  position: absolute; left: 0; bottom: 0; z-index: 4; padding: 14px 20px;
  background: var(--olive); color: var(--lemon);
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}

/* (03) Especialidades */
.specials { padding: 0 0 var(--section); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 30px; }
.card__media { position: relative; display: block; aspect-ratio: 1; }
.card__img { position: absolute; inset: 0; overflow: hidden; background: var(--sage); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card__media:hover .card__img img { transform: scale(1.08); }
.card__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; padding: 16px 18px;
  background: var(--olive); color: var(--lemon);
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease);
}
.card__media:hover .card__bar { clip-path: inset(0 0 0 0); }
.card__body { padding-top: 28px; }
.card__head { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; }
.card__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(.14); transform-origin: left; transition: transform .9s var(--ease);
}
.card:hover .card__head::after { transform: scaleX(1); }
.card__title { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--olive); }
.card__price { flex: none; font-size: 19px; font-weight: 600; letter-spacing: .04em; color: var(--olive); white-space: nowrap; }
.card__price small { margin-right: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-70); }
.card__text { margin-bottom: 18px; font-size: 17px; line-height: 1.45; letter-spacing: .02em; }

/* (04) Défilement horizontal */
.hscroll { position: relative; overflow: hidden; }
.hscroll__pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
html:not(.js) .hscroll__pin { height: auto; display: block; padding: var(--section) 0; overflow-x: auto; }
html:not(.js) .hpanel { margin-top: 0; }
.hscroll__bgword {
  position: absolute; left: 0; top: 50%; margin-top: -.5em;
  font-size: 25vw; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--cream-12); pointer-events: none;
}
.hscroll__track {
  position: relative; display: flex; align-items: center; gap: clamp(28px, 4vw, 64px);
  padding: 0 var(--gutter) 0 max(var(--gutter), (100vw - var(--maxw)) / 2);
  will-change: transform;
}
.hscroll__intro { flex: none; width: min(560px, 82vw); padding-right: clamp(0px, 3vw, 40px); }
.hscroll__intro .h-display { margin-bottom: 26px; }
.hscroll__hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--lemon); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hscroll__hint .icon { animation: nudge 1.8s var(--ease) infinite; }
.hint-touch { display: none; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

.hpanel { flex: none; }
.hpanel:nth-of-type(odd) { margin-top: -9vh; }
.hpanel:nth-of-type(even) { margin-top: 12vh; }
.hpanel__img { position: relative; overflow: hidden; width: clamp(260px, 26vw, 400px); aspect-ratio: 4 / 5; max-height: 62vh; }
.hpanel--wide .hpanel__img { width: clamp(320px, 44vw, 700px); aspect-ratio: 16 / 11; }
.hpanel__img img, .hpanel__img video { position: absolute; top: 0; left: -12%; width: 124%; max-width: none; height: 100%; object-fit: cover; }
/* Vidéo verticale, sans parallaxe : on garde le bas (le grill et le logo), le texte incrusté en haut reste hors cadre */
.hpanel__img video { left: 0; width: 100%; object-position: 50% 100%; background: var(--olive); }
/* width 0 + min-width 100 % : la légende prend la largeur de la photo sans l'élargir */
.hpanel figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; width: 0; min-width: 100%; margin-top: 18px; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.hpanel__num { color: var(--lemon); font-weight: 600; }
.hpanel__price { margin-left: auto; padding-left: 16px; color: var(--lemon); font-weight: 600; }
.hscroll__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; height: 1px; background: var(--cream-12); }
.hscroll__progress i { display: block; height: 100%; background: var(--lemon); transform: scaleX(0); transform-origin: left; }

/* (05) La carta */
.carta { position: relative; padding: var(--section) 0; }
.carta__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24em); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.carta__title { font-size: clamp(60px, 12vw, 176px); line-height: .9; }

.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 26px; }
.tabs__btn {
  position: relative; z-index: 1; padding: 11px 16px;
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-60);
  transition: color .4s;
}
.tabs__btn:hover, .tabs__btn[aria-selected="true"] { color: var(--cream); }
.tabs__indicator { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; border: 1px solid var(--white); border-radius: 1px; pointer-events: none; }

.carta__panels { display: grid; transition: height .7s var(--ease); }
.carta__panel { grid-area: 1 / 1; align-self: start; visibility: hidden; }
.carta__panel.is-active { visibility: visible; }
.js .carta__panels { overflow: hidden; }
/* Sans JS : toutes les catégories à la suite, sans onglets */
html:not(.js) .tabs { display: none; }
html:not(.js) .carta__panel { grid-area: auto; visibility: visible; }

.dish {
  --o: bottom;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 8px 24px;
  padding: 26px 18px; border-top: 1px solid var(--cream-12);
  transition: color .5s var(--ease);
}
.dish:last-child { border-bottom: 1px solid var(--cream-12); }
.dish::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lemon);
  transform: scaleY(0); transform-origin: 50% var(--o); transition: transform .6s var(--ease);
}
.dish:hover { color: var(--olive); }
.dish:hover::before { transform: scaleY(1); }
.dish__num { font-size: 13px; letter-spacing: .18em; color: var(--lemon); transition: color .5s var(--ease); }
.dish:hover .dish__num { color: var(--olive); }
.dish__main { transition: transform .7s var(--ease); }
.dish:hover .dish__main { transform: translateX(14px); }
.dish__name, .dish__desc { width: fit-content; }
.dish__name { font-size: clamp(20px, 2.3vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }
.dish__desc { margin-top: 6px; font-size: 16px; color: var(--cream-60); transition: color .5s var(--ease); }
.dish:hover .dish__desc { color: var(--olive); }
.dish__new {
  display: inline-block; margin-left: 10px; padding: 4px 8px; vertical-align: .3em;
  border: 1px solid currentColor; border-radius: 1px; color: var(--lemon);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; line-height: 1; white-space: nowrap;
  transition: color .5s var(--ease);
}
.dish:hover .dish__new { color: var(--olive); }
.dish__opts { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; gap: 6px 22px; margin-top: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-60); transition: color .5s var(--ease); }
.dish__opts b { margin-left: 6px; font-weight: 600; color: var(--cream); transition: color .5s var(--ease); }
.dish:hover .dish__opts, .dish:hover .dish__opts b { color: var(--olive); }
.dish__price {
  justify-self: end; text-align: right; white-space: nowrap;
  font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: .04em; line-height: 1.1;
}
.dish__price small {
  display: block; margin-bottom: 4px; color: var(--cream-60);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: color .5s var(--ease);
}
.dish:hover .dish__price small { color: var(--olive); }

.carta__extras { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; margin-top: 36px; padding: 22px 0; border-block: 1px solid var(--cream-12); }
.carta__extras-label { color: var(--lemon); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.carta__extras ul { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.carta__extras b { margin-left: 8px; font-weight: 600; color: var(--lemon); }
.carta__note { margin-top: 24px; font-size: 14px; color: var(--cream-60); }

.dish-preview {
  position: fixed; left: 0; top: 0; z-index: 800;
  width: clamp(220px, 19vw, 290px); aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--olive); pointer-events: none; opacity: 0; visibility: hidden;
}
.dish-preview__inner { position: absolute; inset: 0; }
.dish-preview img { width: 100%; height: 100%; object-fit: cover; }

/* (06) Para compartir */
.share { padding: var(--section) 0; }
.share__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.share-card {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 540px; padding: 30px;
  border: 1px solid var(--ink); color: var(--ink);
  transition: color .5s var(--ease) .05s;
}
.share-card__fill {
  position: absolute; inset: -1px; z-index: -1; background: var(--olive);
  clip-path: circle(0% at var(--x) var(--y)); transition: clip-path .9s var(--ease);
}
.share-card:hover { color: var(--cream); }
.share-card:hover .share-card__fill { clip-path: circle(150% at var(--x) var(--y)); }
.share-card__top { display: flex; align-items: flex-start; gap: 12px; min-height: clamp(96px, 10vw, 140px); }
.share-card__num {
  font-size: clamp(110px, 12vw, 176px); font-weight: 500; line-height: .78; color: var(--olive);
  transform-origin: left top; transition: color .5s var(--ease), transform .9s var(--ease);
}
.share-card__star { width: clamp(92px, 9vw, 132px); height: clamp(92px, 9vw, 132px); fill: var(--olive); transition: fill .5s var(--ease), transform 1.2s var(--ease); }
.share-card:hover .share-card__num { color: var(--lemon); transform: scale(1.06); }
.share-card:hover .share-card__star { fill: var(--lemon); transform: rotate(45deg); }
.share-card__meta { display: grid; gap: 10px; margin-left: auto; padding-top: 6px; text-align: right; }
.share-card__unit { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.share-card__price { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: .04em; line-height: 1; color: var(--olive); transition: color .5s var(--ease); }
.share-card:hover .share-card__price { color: var(--lemon); }
.share-card__title { margin: 44px 0 18px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.share-card__list li { padding: 11px 0; border-top: 1px solid var(--sage); font-size: 16px; line-height: 1.4; transition: border-color .5s; }
.share-card:hover .share-card__list li { border-color: var(--cream-20); }
.share-card .link-ghost { align-self: flex-start; margin-top: auto; transition: color .5s var(--ease); }
.share-card__list { margin-bottom: 30px; }
.share-card:hover .link-ghost { color: var(--lemon); }

/* (07) Visítanos */
.visit { padding: var(--section) 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.visit .h-display { margin-bottom: clamp(32px, 4vw, 56px); }
.visit__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--cream-12); }
.visit__key { padding-top: 5px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lemon); }
.visit__val { justify-self: start; font-size: 19px; line-height: 1.4; }
.visit__phone { font-size: clamp(26px, 3vw, 40px); letter-spacing: .06em; line-height: 1.1; }
.visit__phone-label { display: block; margin-bottom: 6px; color: var(--lemon); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.visit__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hours__status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hours__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cream-60); }
.is-open .hours__dot { background: var(--lemon); }
.is-open .hours__dot::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--lemon); border-radius: 50%; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.hours__list { min-width: min(320px, 100%); }
.hours__list li { display: flex; justify-content: space-between; gap: 24px; padding: 5px 0; font-size: 16px; color: var(--cream-60); }
.hours__list li.is-today { color: var(--lemon); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.visit__map { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--cream-20); }
.visit__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.9) contrast(.9); pointer-events: none; transition: filter .9s var(--ease);
}
.visit__map:hover iframe, .visit__map.is-active iframe { filter: none; }
.visit__map.is-active iframe { pointer-events: auto; }
.visit__map-cover { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; }
.visit__map-cover span {
  padding: 11px 15px; background: var(--olive); border: 1px solid var(--cream-20);
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.visit__map.is-active .visit__map-cover { display: none; }

/* Version lien privé : les cartes intégrées y sont bloquées, un plan stylisé renvoie vers Google Maps */
.visit__maplink {
  position: absolute; inset: 0; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: clamp(20px, 3vw, 32px); color: var(--cream); transition: color .5s var(--ease);
}
.visit__maplink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lemon);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease);
}
.visit__maplink:hover { color: var(--olive); }
.visit__maplink:hover::before { transform: scaleY(1); }
.visit__maplink-plan { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.visit__maplink-plan path { fill: none; stroke: var(--cream-20); stroke-width: 1; }
.visit__maplink-plan .main { stroke: var(--lemon); stroke-width: 3; }
.visit__maplink-plan .pin { fill: var(--lemon); }
.visit__maplink-kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lemon); transition: color .5s var(--ease); }
.visit__maplink:hover .visit__maplink-kicker { color: var(--olive); }
.visit__maplink-addr { font-size: clamp(26px, 3vw, 40px); font-weight: 500; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.visit__maplink-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Pied de page ---------- */
.footer { overflow: hidden; padding: clamp(72px, 9vw, 120px) 0 28px; border-top: 1px solid var(--cream-12); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__social { display: grid; gap: 10px; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; transition: color .3s; }
.footer__social a:hover { color: var(--lemon); }
.footer__h { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lemon); }
.footer__cols p { font-size: 16px; line-height: 1.65; color: var(--cream-60); }
.footer__cols a { color: var(--cream); }
.footer__brand { margin: clamp(48px, 8vw, 100px) 0 clamp(20px, 3vw, 36px); text-align: center; line-height: .8; }
.footer__word { display: inline-block; font-size: 16.5vw; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--lemon); }
.footer__word .sc { transition: color .35s; }
.footer__word .sc:hover { color: var(--cream); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 20px; border-top: 1px solid var(--cream-12);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-60);
}
.footer__bottom a { color: var(--cream); }
.footer__ar { font-size: 22px; color: var(--cream); }

/* Retour en haut + anneau de progression */
.totop {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 850;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s, visibility .4s, transform .6s var(--ease);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke-width: 1.5; }
.totop__track { stroke: var(--cream-20); }
.totop__bar { stroke: var(--lemon); stroke-dasharray: 138.23; stroke-dashoffset: 138.23; }
.totop__icon { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.totop:hover .totop__icon { transform: translateY(-4px); }

/* ---------- Sans animations (JS absent, réduit ou en échec) ---------- */
.no-anim .sc, .no-anim .wi, .no-anim .word,
.no-anim main *, .no-anim .nav, .no-anim .footer * { opacity: 1 !important; visibility: visible !important; }
.no-anim .sc, .no-anim .wi, .no-anim .inline-img, .no-anim .card__body { transform: none !important; }
.no-anim .card__img, .no-anim .hero__mask { clip-path: none !important; }
.no-anim .carta__panel:not(.is-active), .no-anim .carta__panel:not(.is-active) * { visibility: hidden !important; }
.no-anim .hscroll__pin, .reduce .hscroll__pin { height: auto; display: block; padding: var(--section) 0; overflow-x: auto; }
.no-anim .hpanel, .reduce .hpanel { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__social { display: none; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__burger { display: block; }
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__brand { justify-items: start; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  :root { --nav-h: 68px; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: calc(var(--nav-h) + 40px) 0 0; }
  .hero__content { width: 100%; padding-inline: var(--gutter); }
  .hero__sub { max-width: 32em; }
  .hero__media { position: relative; order: 2; top: auto; right: auto; bottom: auto; width: 100%; height: 72vh; height: 72svh; margin-top: 64px; }
  .hero__badge { left: auto; right: var(--gutter); top: -62px; bottom: auto; width: 120px; height: 120px; }
  .hero__badge-star { width: 28px; height: 28px; }
  .hero__foot { display: none; }

  .feature__grid, .section-head, .carta__head, .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .feature__media { order: -1; }
  .facts { grid-template-columns: minmax(0, 1fr); }

  .hscroll__pin { height: auto; display: block; padding: var(--section) 0 48px; }
  .hscroll__bgword, .hscroll__progress, .hint-scroll { display: none; }
  .hint-touch { display: inline; }
  .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); align-items: flex-start; padding-bottom: 12px; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hscroll__intro, .hpanel { scroll-snap-align: start; }
  .hpanel:nth-of-type(odd), .hpanel:nth-of-type(even) { margin-top: 0; }
  .hpanel__img, .hpanel--wide .hpanel__img { width: 78vw; aspect-ratio: 4 / 5; max-height: none; }

  .dish { grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; padding: 22px 6px; gap: 8px 12px; }
  .dish__num { padding-top: 6px; }
  .dish__opts { gap: 4px 16px; font-size: 12px; }
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { flex: none; }

  .share__grid { grid-template-columns: minmax(0, 1fr); }
  .share-card { min-height: 0; }
  .share-card__title { margin-top: 32px; }

  .visit__map { aspect-ratio: 1; }
}

@media (max-width: 640px) {
  .nav__right .btn--sm { padding: 0 14px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { justify-content: flex-start; }
  .visit__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .totop { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
