:root {
  --ink: #141210;
  --ink-2: #2a2622;
  --cream: #f6f0e6;
  --paper: #fffcf7;
  --line: #e4dacb;
  --muted: #6d645b;
  --amber: #e9a23b;
  --amber-dark: #c9831f;
  --ketchup: #c4381f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 18, 16, .12);
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0 0 .4em; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
h3 { font-size: 1.7rem; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--amber-dark); letter-spacing: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #f3b555; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Logo ---------- */
.logo { display: inline-grid; grid-template-columns: auto auto; align-items: end; column-gap: 6px; text-decoration: none; color: currentColor; line-height: .85; }
.logo-tasty { font-family: var(--font-display); font-size: 2.3rem; letter-spacing: .02em; }
.logo-icon { width: 38px; height: 29px; margin-bottom: 4px; }
.logo-sub { grid-column: 1 / -1; justify-self: end; display: flex; align-items: baseline; gap: 4px; margin-top: -4px; }
.logo-burger { font-family: var(--font-script); font-size: 1.25rem; }
.logo-since { font-size: .55rem; font-weight: 700; letter-spacing: .04em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .3s, box-shadow .3s, color .3s;
}
.site-header.solid, .page-inner .site-header { background: var(--ink); box-shadow: 0 2px 20px rgba(0,0,0,.2); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; padding: .3em 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: .5em 1.2em; }
.nav-phone { display: inline-flex; align-items: center; gap: .4em; }
.nav-phone svg { width: 1.1em; height: 1.1em; }

.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 48px; height: 48px; padding: 12px; cursor: pointer; margin-right: -12px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .logo-tasty { font-size: 2rem; }
  .logo-icon { width: 32px; height: 24px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 1.4rem;
    background: var(--ink); color: #fff; padding: 80px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav a { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; letter-spacing: .03em; }
  .nav .btn { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; min-height: 52px; margin-top: .6rem; }
  .nav-phone { font-family: var(--font-body) !important; font-size: 1.1rem !important; font-weight: 600 !important; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 9vh, 96px);
  background: var(--ink);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,.15) 35%, rgba(20,18,16,.55) 65%, rgba(20,18,16,.92) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(3.6rem, 13vw, 8.5rem); margin: 0; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 .script { display: block; font-size: .42em; color: var(--amber); margin: .05em 0 .2em .1em; }
.hero-badge { display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; backdrop-filter: blur(4px); background: rgba(20,18,16,.25); }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 560px; margin: 0 0 1.8rem; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(40px, 6vw, 72px); background: var(--ink); isolation: isolate; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,16,.3), rgba(20,18,16,.85)); }
.page-hero h1 { font-size: clamp(3.2rem, 10vw, 6rem); margin: 0; }
.page-hero p { margin: .4rem 0 0; color: rgba(255,255,255,.88); max-width: 600px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 28px); }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.pillar-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; margin-bottom: 18px; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { margin-bottom: .25em; }
.pillar p { margin: 0; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media .facade { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 10px; }
.split-media .float { position: absolute; width: 42%; right: -4%; bottom: -12%; border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--paper); aspect-ratio: 2/3; object-fit: cover; }
.split-text p { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.facts li strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--ink); }
.facts li { color: var(--muted); font-size: .92rem; }

/* Photo strip */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.photo-grid a { position: relative; overflow: hidden; border-radius: 10px; display: block; background: var(--ink-2); }
.photo-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.photo-grid a:nth-child(4) { grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.photo-grid a:hover img { transform: scale(1.05); }

/* Menu CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; min-height: 380px; }
.cta-band-text { padding: clamp(32px, 6vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-band-text p { color: rgba(255,255,255,.8); margin: 0 0 1.6rem; }
.cta-band img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--amber-dark); margin-top: 3px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { color: var(--amber-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.25); }

/* ---------- Menu page ---------- */
.menu-tabs { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,252,247,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-tabs .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.menu-tabs .container::-webkit-scrollbar { display: none; }
.menu-tabs a { flex: none; text-decoration: none; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; white-space: nowrap; background: var(--paper); }
.menu-tabs a.active, .menu-tabs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-note { background: var(--cream); border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 8px; margin: 0 0 40px; color: var(--ink-2); }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 80px); margin-bottom: clamp(48px, 7vw, 72px); }
.menu-cat-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.menu-cat-head h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3rem); }
.menu-cat-desc { color: var(--muted); margin: 0 0 12px; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 64px); }
.menu-item { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.menu-item-top { display: flex; align-items: baseline; gap: 10px; }
.menu-item-name { font-weight: 700; font-size: 1.08rem; }
.menu-item-dots { flex: 1; border-bottom: 2px dotted #cbbfae; transform: translateY(-4px); min-width: 20px; }
.menu-item-price { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.menu-item p { margin: 4px 0 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.tag-veggie { background: #e2f0d9; color: #2f6b1f; }
.tag-new { background: var(--amber); color: var(--ink); }
.tag-spicy { background: #fbe0d9; color: var(--ketchup); }
.tag-star { background: var(--ink); color: #fff; }
.menu-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.menu-file { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; text-decoration: none; cursor: zoom-in; }
.menu-file img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.menu-file span { display: block; padding: 10px 14px; font-weight: 600; font-size: .92rem; }
.menu-file.pdf { cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 3/4; gap: 10px; background: var(--cream); }
.menu-file.pdf svg { width: 64px; height: 64px; color: var(--ketchup); }
.menu-empty, .menu-loading { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 300px; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 10px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--cream); }
.gallery img { width: 100%; height: auto; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,9,8,.95); display: none; align-items: center; justify-content: center; padding: 56px 12px; touch-action: pan-y; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .04em; color: #fff; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer p { margin: 0 0 .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.55); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 880px) {
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--ink); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 10px; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.08); border: 0; cursor: pointer; }
  .mobile-bar .primary { background: var(--amber); color: var(--ink); }
  .mobile-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .split-media { margin-bottom: 40px; }
  .cta-band img { max-height: 320px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 20px; }
  .pillar-icon { grid-row: span 2; margin: 0; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; }
  .photo-grid a:nth-child(4) { grid-row: span 1; }
  .menu-items { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .hero-actions .btn { flex: 1 1 auto; }
  .split-media .float { width: 40%; right: 0; bottom: -18%; }
  .map, .map iframe { min-height: 300px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Zenchef: on phones our bottom bar already has "Réserver", so hide the floating launcher (the opened widget still shows) */
@media (max-width: 880px) {
  iframe[class*="zc-width-numeral"] { display: none !important; }
}
