/* Atelier Burger — tokens tirés du logo */
:root {
  --char: #1f1f1f;      /* fond du logo */
  --char-2: #2a2826;    /* fond relevé */
  --cream: #f6f1e2;     /* lettrage */
  --bun: #d3cdbc;       /* remplissage de l'icône */
  --mustard: #e5a52c;   /* cheddar / bière : seul accent */
  --muted: rgba(246, 241, 226, .62);
  --line: rgba(246, 241, 226, .14);

  --f-display: "Big Shoulders Display", Impact, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-script: "Yellowtail", cursive;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--char);
  color: var(--cream);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--char); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* type */
.eyebrow {
  margin: 0 0 18px;
  font: 600 13px/1 var(--f-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mustard);
}
.display {
  margin: 0;
  font: 900 clamp(44px, 7.4vw, 112px)/.88 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.script { font-family: var(--f-script); font-weight: 400; text-transform: none; color: var(--mustard); letter-spacing: 0; }
.muted { color: var(--muted); max-width: 44ch; }
.small { font-size: 14px; }
.wrap { width: min(1180px, 100% - 2 * var(--pad)); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 16px 26px;
  background: var(--cream); color: var(--char);
  font: 600 15px/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; border-radius: 999px;
  transition: transform .4s var(--ease), background-color .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--mustard); }
.btn--small { padding: 11px 18px; font-size: 14px; }
.btn--hot { background: var(--mustard); color: var(--char); }
.btn--hot:hover { background: var(--cream); }
.btn--hero { padding: 22px 40px; font: 800 clamp(22px, 2.4vw, 30px)/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; background: var(--mustard); color: var(--char); box-shadow: 0 10px 22px -12px rgba(229,165,44,.55); }
.btn--hero:hover { background: var(--cream); }
.btn--hero span { transition: transform .4s var(--ease); }
.btn--hero:hover span { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cream); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--pad);
  background: linear-gradient(to bottom, rgba(31,31,31,.85), rgba(31,31,31,0));
}
.nav__brand img { height: 40px; width: auto; }
.nav__brand { opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s var(--ease); }
.nav.is-solid .nav__brand { opacity: 1; transform: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--cream); }

/* hero */
.js .hero__logo { opacity: 0; }
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero__frame {
  position: absolute; inset: 0;
  clip-path: inset(46% 46% 46% 46% round 999px);
  will-change: clip-path;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.88) 8%, rgba(20,20,20,.15) 60%, rgba(20,20,20,.45)); }
.hero__logo {
  position: absolute; left: 50%; top: 44%;
  width: min(62vw, 620px, 66vh);
  transform: translate(-50%, -50%);
  display: grid; justify-items: center;
}
.hero__row { display: flex; align-items: flex-end; justify-content: center; gap: 2.2%; width: 100%; margin-bottom: 2.4%; }
.lg--gva { width: 11.5%; margin-bottom: 12%; }
.lg--icon { width: 44%; }
.lg--year { width: 7.2%; margin-bottom: 12%; }
.lg--word { width: 100%; }
.hero__tag {
  position: absolute; left: var(--pad); bottom: clamp(48px, 9vh, 110px);
  margin: 0;
  font: 900 clamp(40px, 7vw, 108px)/.9 var(--f-display);
  text-transform: uppercase;
}
.hero__tag em { font: 400 1.05em/1 var(--f-script); text-transform: none; color: var(--mustard); }
.line { display: block; }
.line > span { display: inline-block; }
.hero__cta {
  position: absolute; left: 50%; bottom: clamp(44px, 8vh, 96px); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 16px; z-index: 2; white-space: nowrap;
}
.hero__cta-sub { margin: 0; font-size: 14px; color: var(--bun); }
.hero__hint { display: none; }
.build__cta { margin-top: clamp(14px, 3vh, 28px); }
.menu__head .btn { margin-top: 22px; }
.dish__order {
  display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--mustard);
  text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.dish__order:hover { color: var(--cream); }
.side__copy .btn { margin-top: 22px; }
.fab {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px); z-index: 60;
  padding: 16px 26px; border-radius: 999px; background: var(--mustard); color: var(--char);
  font: 800 18px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease), background-color .2s;
}
.fab:hover { background: var(--cream); }
.has-fab .fab { opacity: 1; transform: none; pointer-events: auto; }
.hero__hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__hint i { width: 1px; height: 38px; background: linear-gradient(var(--cream), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* manifesto */
.manifesto { position: relative; padding: clamp(120px, 22vh, 240px) 0; overflow: hidden; }
.manifesto__text {
  margin: 0; max-width: 22ch;
  font: 500 clamp(30px, 4.4vw, 64px)/1.08 var(--f-body);
  letter-spacing: -.025em;
}
.manifesto__text .script { display: block; margin-top: .35em; font-size: 1.12em; line-height: 1; }
.manifesto__text .w { opacity: .14; }
.manifesto__pic { position: absolute; width: clamp(160px, 22vw, 340px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; }
.manifesto__pic img { width: 100%; height: 115%; object-fit: cover; }
.manifesto__pic--a { right: 6vw; top: 12%; }
.manifesto__pic--b { right: 15vw; bottom: 5%; width: clamp(130px, 14vw, 220px); }

/* build (signature) */
.build { background: var(--char-2); }
.build__pin {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: 4vw;
  padding: 90px var(--pad) 40px;
}
.build .display { font-size: clamp(40px, 5vw, 76px); }
.steps { list-style: none; margin: clamp(18px, 3.5vh, 36px) 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 8px;
  padding: clamp(6px, 1.2vh, 12px) 0; border-top: 1px solid var(--line);
  opacity: .28; transition: opacity .45s var(--ease);
}
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 800 20px/1.2 var(--f-display); color: var(--mustard); }
.steps li b { font: 800 clamp(20px, 2.8vh, 26px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.steps li span { color: var(--muted); font-size: 15px; }
.steps li.is-on { opacity: 1; }
.build__stage { position: relative; display: grid; place-items: center; }
.burger { width: min(100%, 560px, 72vh); overflow: visible; }
.ink { stroke: var(--char); stroke-width: 6; stroke-linejoin: round; }
.bun { fill: var(--bun); }
.bun--top { fill: #ddd4bc; }
.crumb, .onion, .sear, .shine { fill: none; stroke-linecap: round; }
.crumb { stroke: rgba(31,31,31,.25); stroke-width: 4; }
.sauce { fill: #e7b27a; }
.lettuce { fill: #aab58a; }
.onion { stroke: #b78fa6; stroke-width: 6; }
.patty { fill: #6a4632; }
.sear { stroke: #3d281d; stroke-width: 5; }
.cheese { fill: var(--mustard); }
.pickle { fill: #8f9c5c; }
.seeds ellipse { fill: var(--char); }
.shine { stroke: rgba(255,255,255,.5); stroke-width: 7; }
.burger__shadow { fill: rgba(0,0,0,.35); }
.build__count { position: absolute; right: 0; bottom: 0; margin: 0; font: 800 18px var(--f-display); color: var(--muted); letter-spacing: .1em; }
.build__n { color: var(--cream); }

/* menu (horizontal) */
.menu { position: relative; }
.menu__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; position: relative; }
.menu__track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding-right: var(--pad); will-change: transform; }
.menu__head { flex: 0 0 min(40vw, 520px); align-self: center; margin-right: 4vw; }
.menu__head .display .script { font-size: .82em; display: inline-block; transform: rotate(-4deg); margin-top: .12em; }
.menu__head .muted { margin-top: 22px; }
.menu__track { padding-left: var(--pad); }
.dish { flex: 0 0 clamp(260px, 28vw, 400px); }
.dish__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--char-2); }
.dish__img img { width: 128%; max-width: none; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.dish:hover .dish__img img { scale: 1.05; }
.dish__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.dish h3 { margin: 0; font: 800 clamp(26px, 2.4vw, 34px)/1 var(--f-display); text-transform: uppercase; }
.price, .price-inline { margin: 0; font: 800 26px/1 var(--f-display); color: var(--mustard); }
.price-inline { font-size: 1.15em; margin-left: .35em; }
.dish__desc { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.menu__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 2px; background: var(--line); }
.menu__bar i { display: block; height: 100%; background: var(--mustard); transform-origin: left; transform: scaleX(0); }

/* fries */
.side {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 6vw;
  padding: clamp(100px, 16vh, 200px) var(--pad);
}
.side__pic { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 8px; }
.side__pic img { width: 100%; height: 118%; object-fit: cover; }
.side .big { margin: .05em 0 .5em; font-size: clamp(44px, 6vw, 90px); line-height: 1; transform: rotate(-3deg); transform-origin: left; }

/* bar */
.bar { position: relative; background: radial-gradient(120% 70% at 30% 55%, #2e2418 0%, var(--char) 62%); padding-top: clamp(80px, 12vh, 160px); }
.bar__title { position: relative; padding: 0 var(--pad); }
.bar__big {
  margin: 0; overflow: hidden; padding-top: .06em;
  font: 900 clamp(110px, 25vw, 400px)/.8 var(--f-display);
  text-transform: uppercase; letter-spacing: -.01em;
}
.bar__big .c { display: inline-block; }
.bar__script { position: absolute; margin: 0; right: var(--pad); bottom: -.15em; font-size: clamp(54px, 10vw, 160px); line-height: 1; transform: rotate(-6deg); }
.bar__pin {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center; gap: 5vw;
  padding: 76px var(--pad) 24px;
}
.bar__stage { display: grid; justify-items: center; gap: 14px; }
.pint { width: min(100%, 300px, 40vh); overflow: visible; }
.pint__glass { fill: rgba(246,241,226,.05); stroke: var(--cream); stroke-width: 6; stroke-linejoin: round; }
.pint__glint { stroke: rgba(255,255,255,.35); stroke-width: 6; stroke-linecap: round; fill: none; }
.pint__foam, .pint__head { fill: var(--cream); }
.pint__head { stroke: var(--cream); stroke-width: 2; }
.pint__bubbles circle { fill: rgba(255,240,200,.75); animation: rise 2.6s linear infinite; }
.pint__bubbles circle:nth-child(2n) { animation-duration: 3.4s; animation-delay: -1s; }
.pint__bubbles circle:nth-child(3n) { animation-duration: 2.1s; animation-delay: -.6s; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-300px); opacity: 0; } }
.pint__label { margin: 0; font: 800 22px var(--f-display); letter-spacing: .08em; color: var(--muted); }
.pint__cl { color: var(--mustard); }
.bar__lead { margin: 0 0 clamp(16px, 3vh, 34px); max-width: 30ch; font: 500 clamp(20px, 3.4vh, 34px)/1.15 var(--f-body); letter-spacing: -.02em; }
.taps { list-style: none; margin: 0 0 22px; padding: 0; }
.taps li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 20px;
  padding: clamp(6px, 1.2vh, 14px) 0; border-top: 1px solid var(--line);
}
.taps li:last-child { border-bottom: 1px solid var(--line); }
.taps__name { font: 800 clamp(20px, 3.2vh, 32px)/1.05 var(--f-display); text-transform: uppercase; }
.taps__style { grid-row: 2; color: var(--muted); font-size: 14px; }
.taps__price { grid-row: span 2; align-self: center; font: 800 22px var(--f-display); color: var(--mustard); }
.bar__gallery { position: relative; height: clamp(520px, 90vh, 900px); margin: 0 var(--pad); padding-bottom: 14vh; box-sizing: content-box; }
.bg { position: absolute; overflow: hidden; border-radius: 8px; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.bg--1 { left: 0; top: 4%; width: 34%; aspect-ratio: 4 / 5; }
.bg--2 { left: 38%; top: 30%; width: 30%; aspect-ratio: 1; }
.bg--3 { right: 0; top: 0; width: 22%; aspect-ratio: 3 / 5; }
.bg--4 { right: 8%; bottom: 0; width: 26%; aspect-ratio: 4 / 3; }

/* marquee */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--cream); color: var(--char); }
.marquee__row { display: flex; width: max-content; align-items: center; }
.marquee__row > * { margin-right: 36px; }
.marquee span { font: 900 clamp(48px, 7vw, 104px)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 34px; color: var(--mustard); }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.visit__pic { overflow: hidden; }
.visit__pic img { width: 100%; height: 100%; object-fit: cover; }
.visit__copy { display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad); }
.info { margin: 40px 0; display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.info dt { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.info dd { margin: 0; font-size: 19px; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.foot { display: grid; justify-items: center; gap: 30px; padding: clamp(90px, 14vh, 160px) var(--pad) 40px; }
.foot__logo { width: min(70vw, 520px); }
.foot__small { margin: 0; color: var(--muted); font-size: 13px; }

/* responsive */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .hero__logo { width: 84vw; top: 40%; }
  .hero__cta { bottom: 56px; }
  .fab { left: 16px; right: 16px; text-align: center; }
  .manifesto__pic--a { right: -8vw; top: 4%; opacity: .5; }
  .manifesto__pic--b { display: none; }
  .build__pin { grid-template-columns: 1fr; align-content: center; gap: 10px; padding-top: 80px; }
  .build__stage { order: -1; }
  .burger { width: min(72vw, 360px); }
  .build .display { font-size: 40px; }
  .steps { position: relative; margin-top: 18px; height: 92px; }
  .steps li { position: absolute; inset: 0 0 auto; opacity: 0; }
  .steps li.is-on { opacity: 1; }
  .menu__head { flex-basis: 78vw; margin-right: 0; }
  .menu__head .display { font-size: 52px; }
  .dish { flex-basis: 72vw; }
  .dish__img { aspect-ratio: 1; }
  .side, .visit { grid-template-columns: 1fr; }
  .visit__pic { height: 60vh; }
  .bar__pin { grid-template-columns: 1fr; gap: 30px; }
  .pint { width: 200px; }
  .bar__script { position: relative; right: auto; bottom: auto; margin: -.1em 0 0 auto; text-align: right; }
  .bar__gallery { height: 120vw; }
  .bg--1 { width: 50%; } .bg--2 { left: 30%; top: 46%; width: 46%; } .bg--3 { width: 34%; } .bg--4 { display: none; }
}

/* reduced motion: tout visible, rien d'épinglé */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__frame { clip-path: none; }
  .hero__img { transform: none; }
  .hero__logo { top: 38%; }
  .fab { opacity: 1; transform: none; pointer-events: auto; }
  .manifesto__text .w { opacity: 1; }
  .steps li { opacity: 1; position: static; }
  .steps { height: auto; }
}
