/* v1 — La Plaque : 3D table, white monoline UI floating over it */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
main, .foot { position: relative; z-index: 2; pointer-events: none; }
main a, main button, main li, main [data-interactive], .foot a { pointer-events: auto; }
body.is-loading { overflow: hidden; }

.kicker { font-size: 13px; margin: 0 0 14px; opacity: 0.85; }
.title { font: 700 clamp(48px, 7vw, 112px)/0.92 var(--f-cond); text-transform: uppercase; letter-spacing: 0.01em; margin: 0; text-shadow: 0 2px 30px rgba(80, 20, 10, 0.25); }
.title--s { font-size: 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; font: 700 15px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2.5px solid var(--cream); transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn--fill { background: var(--cream); color: var(--terra-deep); }
.btn--fill:hover { background: transparent; color: var(--cream); }
.btn--line:hover { background: var(--cream); color: var(--terra-deep); }
.btn--block { width: 100%; }
.btn:active { transform: scale(0.97); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--terra); }
.loader__logo { width: min(360px, 70vw); color: var(--cream); }
.loader__logo .lg-s { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__logo .lg-dot { opacity: 0; }
.loader__line { font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.loader__line b { font-size: 22px; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }

/* tooltip following hovered square */
.tip { position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none; display: grid; gap: 2px; padding: 10px 14px 12px; background: var(--cream); color: var(--terra-deep); transform: translate(-50%, calc(-100% - 18px)) scale(0.8); opacity: 0; transition: opacity 0.25s, transform 0.35s var(--ease-back); white-space: nowrap; }
.tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }
.tip::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.tip__n { font: 700 11px/1 var(--f-mono); letter-spacing: 0.1em; }
.tip__name { font: 700 24px/1 var(--f-cond); text-transform: uppercase; }
.tip__price { font-size: 13px; }

/* header */
.bar { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: flex-start; gap: 20px; padding: 18px var(--gut); transition: transform 0.6s var(--ease), opacity 0.4s; }
.bar__logo { width: 116px; color: var(--cream); opacity: 0; transition: opacity 0.5s; }
.bar.is-scrolled .bar__logo { opacity: 1; }
.bar__nav { display: flex; gap: 28px; font-size: 13px; }
.bar__nav a { text-decoration: none; position: relative; padding: 6px 0; }
.bar__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.bar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar__box { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 14px; border: 2.5px solid var(--cream); background: rgba(196, 87, 63, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 13px; transition: background 0.3s, color 0.3s; }
.bar__box:hover { background: var(--cream); color: var(--terra-deep); }
.bar__box-ic { width: 26px; display: block; }
.bar__box-ic .ic-lid { transform-origin: 50% 40%; transition: transform 0.5s var(--ease-back); }
.bar__box.is-bump .ic-lid { transform: rotate(-14deg) translateY(-6px); }
.bar__box b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; background: var(--cream); color: var(--terra-deep); font: 700 14px/1 var(--f-mono); }
.bar__box:hover b { background: var(--terra-deep); color: var(--cream); }
.bar__box.is-bump b { animation: bump 0.6s var(--ease-back); }
@keyframes bump { 40% { transform: scale(1.5) rotate(-8deg); } }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; justify-items: center; padding: 26px var(--gut) 34px; }
.hero__logo { width: min(330px, 56vw); color: var(--cream); filter: drop-shadow(0 4px 24px rgba(80, 20, 10, 0.3)); }
.hero__base { margin: -4px 0 0 min(120px, 22vw); font-size: clamp(12px, 1.3vw, 16px); }
.hero__foot { grid-row: 4; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hero__title { margin: 0; font: 700 clamp(40px, 5.6vw, 92px)/0.9 var(--f-cond); text-transform: uppercase; text-shadow: 0 2px 40px rgba(80, 20, 10, 0.35); }
.hero__title .split { display: inline-block; }
.hero__lead { max-width: 40ch; margin: 12px 0 0; font-size: clamp(17px, 1.4vw, 20px); text-shadow: 0 1px 20px rgba(80, 20, 10, 0.4); }
.hero__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
.hero__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; }
.hero__hint i { width: 10px; height: 10px; background: var(--cream); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .hero__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .hero__cta { align-items: center; }
  .hero__lead { margin-inline: auto; }
}

/* carte */
.carte { min-height: 190vh; padding: 110px var(--gut) 80px; display: grid; grid-template-columns: minmax(0, 460px) 1fr; }
.carte__col { background: rgba(168, 68, 47, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 2.5px solid var(--cream); padding: 28px; pointer-events: auto; align-self: start; position: sticky; top: 92px; }
.carte__intro { margin: 10px 0 18px; opacity: 0.9; }
.menu { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { border-top: 1.5px solid rgba(255, 246, 238, 0.35); }
.menu li:last-child { border-bottom: 1.5px solid rgba(255, 246, 238, 0.35); }
.menu button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px; padding: 8px 0; text-align: left; transition: padding 0.4s var(--ease), background 0.3s; }
.menu .n { font: 700 12px/1 var(--f-mono); opacity: 0.7; }
.menu .nm { font: 700 26px/1 var(--f-cond); text-transform: uppercase; letter-spacing: 0.02em; }
.menu .pr { font: 700 14px/1 var(--f-mono); }
.menu .ds { grid-column: 2 / -1; font-size: 15px; line-height: 1.3; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.4s, max-height 0.5s var(--ease); }
.menu li.is-on button { padding-left: 10px; background: rgba(255, 246, 238, 0.1); }
.menu li.is-on .ds { opacity: 0.9; max-height: 60px; }
.menu .veg { font: 700 10px/1 var(--f-mono); border: 1.5px solid currentColor; padding: 2px 4px; margin-left: 8px; vertical-align: middle; }

/* guide */
.guide { min-height: 100vh; padding: 120px var(--gut); display: grid; justify-items: center; align-content: center; text-align: center; }
.guide__sub { margin: 14px 0 50px; font-size: 13px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; max-width: 760px; text-align: left; }
.step { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 34px; padding: 22px; background: rgba(168, 68, 47, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.step__ic { color: var(--cream); width: 120px; justify-self: center; }
.step__ic .ic-s { stroke-dasharray: 1; stroke-dashoffset: 1; }
.step p { margin: 0; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; letter-spacing: 0.03em; }
.step small { display: block; font-size: 0.6em; margin-top: 6px; opacity: 0.85; }
.step q { quotes: '“' '”'; }
.banco { display: inline-block; }
.ic-door { transform-origin: 50% 98%; }
.ic-hand { transform-origin: 60px 66px; }

/* infos */
.infos { padding: 100px var(--gut) 60px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.infos__col, .infos__hours { background: rgba(168, 68, 47, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 24px 28px; border: 2.5px solid var(--cream); }
.infos__addr { font: 700 clamp(28px, 3.4vw, 46px)/1 var(--f-cond); text-transform: uppercase; margin: 0; }
.infos__hours { display: grid; grid-template-columns: auto auto; gap: 8px 30px; margin: 0; align-self: end; }
.infos__hours dt { font: 700 13px/1.6 var(--f-mono); text-transform: uppercase; }
.infos__hours dd { margin: 0; font-size: 19px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px var(--gut) 26px; font-size: 11px; opacity: 0.85; }

/* dialogs */
dialog { border: 0; padding: 0; color: var(--cream); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(60, 15, 8, 0.45); backdrop-filter: blur(3px); }
.x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 2px solid var(--cream); }
.x::before, .x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--cream); transform: translate(-50%, -50%) rotate(45deg); }
.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.x:hover { background: var(--cream); }
.x:hover::before, .x:hover::after { background: var(--terra-deep); }

.sheet { margin: auto; width: min(520px, calc(100vw - 24px)); }
.sheet__inner { position: relative; background: var(--terra-deep); border: 2.5px solid var(--cream); padding: 30px; }
.sheet__name { font: 700 clamp(44px, 6vw, 64px)/0.9 var(--f-cond); text-transform: uppercase; margin: 0; }
.sheet__tag { font-size: 20px; margin: 8px 0 12px; opacity: 0.9; font-style: italic; }
.sheet__desc { margin: 0 0 20px; }
.formats { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.formats legend { font-size: 12px; margin-bottom: 10px; }
.fmt { position: relative; }
.fmt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fmt span { display: grid; gap: 4px; height: 100%; padding: 12px; border: 2px solid rgba(255, 246, 238, 0.45); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.fmt b { font: 700 22px/1 var(--f-cond); text-transform: uppercase; }
.fmt small { font-size: 13px; opacity: 0.8; }
.fmt em { font: 700 14px/1 var(--f-mono); font-style: normal; }
.fmt input:checked + span { background: var(--cream); color: var(--terra-deep); border-color: var(--cream); }
.fmt input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 3px; }
.sheet__row { display: flex; gap: 12px; align-items: stretch; }
.sheet__row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 2.5px solid var(--cream); }
.qty button { width: 42px; height: 100%; min-height: 48px; font: 700 20px/1 var(--f-mono); }
.qty button:hover { background: var(--cream); color: var(--terra-deep); }
.qty output { min-width: 28px; text-align: center; font: 700 18px/1 var(--f-mono); }

.drawer { margin: 0 0 0 auto; height: 100%; width: min(460px, 100vw); }
.drawer[open] { animation: slideIn 0.6s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__inner { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--terra-deep); border-left: 2.5px solid var(--cream); padding: 26px; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__head .x { position: static; }
.lines { list-style: none; margin: 0 0 16px; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 0; border-bottom: 1.5px dashed rgba(255, 246, 238, 0.45); }
.line__name { font: 700 24px/1 var(--f-cond); text-transform: uppercase; }
.line__meta { font-size: 15px; opacity: 0.85; grid-column: 1; }
.line__price { font: 700 15px/1 var(--f-mono); grid-row: 1; grid-column: 2; text-align: right; }
.line .qty { grid-column: 2; grid-row: 2; justify-self: end; border-width: 2px; }
.line .qty button { min-height: 32px; width: 32px; font-size: 16px; }
.empty { margin: 30px 0; font-size: 22px; text-align: center; }
.checkout { display: grid; gap: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2.5px solid var(--cream); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 12px 6px; text-align: center; font-size: 12px; transition: background 0.2s, color 0.2s; }
.seg input:checked + span { background: var(--cream); color: var(--terra-deep); }
.seg input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: -5px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 11px; }
.field input, .field select { font: 400 19px/1 var(--f-cond); letter-spacing: 0.03em; color: var(--cream); background: transparent; border: 0; border-bottom: 2px solid rgba(255, 246, 238, 0.6); padding: 8px 0; border-radius: 0; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--cream); }
.field em { font: 700 11px/1.2 var(--f-mono); font-style: normal; min-height: 13px; color: #ffe1a8; }
.field.is-bad input { border-bottom-color: #ffe1a8; animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 2.5px solid var(--cream); }
.total strong { font: 700 40px/1 var(--f-cond); }
.done { text-align: center; padding-top: 30px; }
.done__ticket { font: 700 30px/1 var(--f-cond); margin: 10px 0; text-transform: uppercase; }
.done__ticket b { display: block; font-size: 120px; line-height: 0.9; }
.done__msg { font-size: 20px; }
.done__steps { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; text-align: left; }
.done__steps li { padding: 12px 14px; border: 2px solid rgba(255, 246, 238, 0.5); font-size: 18px; opacity: 0.3; transition: opacity 0.5s, border-color 0.5s; }
.done__steps li.is-on { opacity: 1; border-color: var(--cream); }
.done__steps span { margin-right: 8px; font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; padding: 14px 20px; background: var(--cream); color: var(--terra-deep); font: 700 13px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; transform: translate(-50%, calc(100% + 40px)); transition: transform 0.6s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__logo { width: 92px; }
  .carte { grid-template-columns: minmax(0, 1fr); padding-top: 52vh; min-height: 100vh; }
  .carte__col { position: relative; top: 0; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .step__ic { width: 96px; }
  .formats { grid-template-columns: minmax(0, 1fr); }
  .fmt span { grid-template-columns: 1fr auto; align-items: baseline; }
  .fmt small { grid-column: 1; }
  .fmt em { grid-row: 1; grid-column: 2; }
  .sheet__inner { padding: 22px; }
}
@media (max-width: 480px) {
  .bar__box .mono { display: none; }
  .sheet__row { flex-direction: column; }
  .qty { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* final BANCO ! story (scrubbed, pinned) */
.bstory { position: relative; z-index: 3; }
.bstory__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 90px var(--gut) 40px; }
.bstory__title { margin: 0; font: 700 clamp(44px, 7vw, 120px)/1 var(--f-cond); text-transform: uppercase; text-align: center; }
.bstage { position: relative; width: min(52vh, 78vw); aspect-ratio: 1; align-self: center; }
.bstage__ic { position: absolute; inset: 0; color: var(--cream); display: grid; place-items: center; }
.bstage__ic svg { width: 100%; height: 100%; overflow: visible; }
.bstage__ic .ic-s { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bstage__oven svg { filter: url(#heatHaze); }
.bstage__heat .ic-heat .ic-s { filter: drop-shadow(0 0 6px #ffd6a0); }
.btemp { position: absolute; left: 104%; top: 4%; display: flex; align-items: baseline; gap: 4px; }
.btemp b { font: 700 clamp(40px, 6vw, 90px)/1 var(--f-cond); font-variant-numeric: tabular-nums; }
.bclock { position: absolute; left: 104%; top: 4%; font: 700 clamp(30px, 4vw, 54px)/1 var(--f-mono); opacity: 0; font-variant-numeric: tabular-nums; }
.bcaps { list-style: none; margin: 0; padding: 0; position: relative; width: min(760px, 100%); min-height: 120px; text-align: center; }
.bcap { position: absolute; inset: 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; letter-spacing: 0.03em; opacity: 0; }
.bcap span { display: block; font-size: 12px; margin-bottom: 8px; }
.bcap small { display: block; font-size: 0.55em; opacity: 0.85; margin-top: 6px; }
.bbanco { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; pointer-events: none; opacity: 0; }
.bbanco__word { display: flex; font: 700 clamp(110px, 24vw, 380px)/0.85 var(--f-cond); text-transform: uppercase; position: relative; z-index: 1; }
.bbanco__word span { display: inline-block; text-shadow: 0 10px 0 var(--terra-deep); }
.bbanco__burst { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%); stroke: var(--cream); stroke-width: 0.8; stroke-linecap: round; overflow: visible; }
.bbanco__sub { font-size: 14px; position: relative; z-index: 1; margin-top: 44px; }
.foot { background: var(--terra); z-index: 3; }
@media (max-width: 760px) {
  .btemp { left: auto; right: 0; top: -12%; }
  .bbanco__word { font-size: 30vw; }
}
