/* Il était une faim — maquette de démonstration
   Base : jetons de la fiche Refero « Hungry Tiger » (couleurs vives en aplats, graffiti pop, très gros titres), transformés :
   vert citron + violet nuit + orange, Bagel Fat One (rondeur grasse) + Onest, ruban défilant et trois façons de commander
   (onglets) comme signature. Aucune photo : le restaurant n'en publie pas. */

@font-face { font-family: "Bagel Fat One"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bagel-fat-one.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest.woff2") format("woff2"); }

:root {
  --citron: #fcf2e3;
  --nuit: #121212;
  --orange: #e8501e;
  --blanc: #fffdf8;
  --gris: #4d4640;
  --accent: #e8501e;
  --on-accent: #121212;
  --font-display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 18px;
  --page-max-width: 1120px;
  --pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--nuit); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; padding-bottom: 68px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; margin: 0; }
:focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; }
.avis :focus-visible, .venir :focus-visible { outline-color: var(--citron); }
.wrap { width: 100%; max-width: var(--page-max-width); margin: 0 auto; padding: 0 var(--gutter); }
.demo-bar { background: var(--nuit); color: var(--citron); font-size: 0.8125rem; font-weight: 600; text-align: center; padding: 7px var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: var(--pill); font-weight: 700; font-size: 1rem; text-decoration: none; border: 3px solid var(--nuit); transition: transform 0.15s, box-shadow 0.15s; box-shadow: 0 5px 0 var(--nuit); }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--nuit); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--nuit); }
.btn-orange { background: var(--orange); color: var(--nuit); }
.btn-blanc { background: var(--blanc); color: var(--nuit); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--citron); color: var(--nuit); border-bottom: 3px solid var(--nuit); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; }
.brand { font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; line-height: 1; }
.brand b { font-weight: 400; background: var(--nuit); color: var(--citron); padding: 2px 8px; border-radius: 8px; margin-left: 2px; display: inline-block; transform: rotate(-3deg); }
.bar .btn { min-height: 44px; padding: 0 18px; }

.eyebrow { font-family: var(--font-display); font-size: 0.95rem; margin: 0 0 12px; color: var(--orange); }

.hero { background: var(--citron); padding: 34px 0 52px; position: relative; overflow: hidden; }
.sticker-top { display: inline-block; margin: 0 0 18px; padding: 6px 16px; background: var(--nuit); color: var(--citron); font-family: var(--font-display); border-radius: var(--pill); transform: rotate(-3deg); }
.hero h1 { font-size: clamp(4.6rem, 26vw, 11rem); letter-spacing: -0.02em; line-height: 0.88; }
.hero h1 span { color: var(--orange); -webkit-text-stroke: 3px var(--nuit); paint-order: stroke fill; display: inline-block; transform: rotate(-2deg); }
.lead { font-size: 1.2rem; max-width: 42ch; margin: 22px 0 26px; font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.ruban { background: var(--nuit); color: var(--citron); overflow: hidden; border-block: 3px solid var(--nuit); transform: rotate(-1.2deg); margin: -6px -10px 0; position: relative; z-index: 2; }
.ruban-in { display: flex; width: max-content; animation: defile 22s linear infinite; }
.ruban span { font-family: var(--font-display); font-size: 1.7rem; padding: 12px 26px; white-space: nowrap; }
.ruban span::after { content: "✶"; color: var(--orange); margin-left: 52px; }
@keyframes defile { to { transform: translateX(-50%); } }

section { padding: 68px 0; }
.hero { padding-bottom: 60px; }
.section-head { max-width: 58ch; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(2.1rem, 8vw, 3.6rem); }

.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.modes button { min-height: 52px; padding: 0 24px; border-radius: var(--pill); border: 3px solid var(--nuit); background: var(--blanc); color: var(--nuit); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 0 var(--nuit); transition: transform 0.15s, box-shadow 0.15s, background-color 0.2s; }
.modes button:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--nuit); }
.modes button[aria-selected="true"] { background: var(--orange); transform: translateY(4px); box-shadow: 0 0 0 var(--nuit); }
.mode-body { background: var(--citron); border: 3px solid var(--nuit); border-radius: 22px; padding: 26px 22px; box-shadow: 0 7px 0 var(--nuit); max-width: 760px; }
.mode h3 { font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: 10px; }
.mode p { margin: 0; font-weight: 500; font-size: 1.1rem; }
.mode a { font-weight: 700; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mode { animation: pop 0.35s ease; }
@keyframes pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

.carte { background: var(--orange); }
.carte-in { display: grid; gap: 26px; align-items: start; }
.carte h2 { font-size: clamp(2.2rem, 8vw, 3.8rem); }
.carte .eyebrow { color: var(--nuit); }
.note { margin: 14px 0 0; font-weight: 500; max-width: 48ch; }
.note a { font-weight: 700; text-decoration-thickness: 3px; }
.trio { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trio li { background: var(--blanc); border: 3px solid var(--nuit); border-radius: 18px; padding: 16px 20px; box-shadow: 0 5px 0 var(--nuit); display: grid; gap: 2px; }
.trio b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.trio span { color: var(--gris); font-weight: 500; }

.avis { background: var(--nuit); color: var(--blanc); }
.avis .section-head h2 { color: var(--citron); }
.reviews { display: grid; gap: 16px; }
.review { margin: 0; padding: 24px 22px; background: var(--blanc); color: var(--nuit); border-radius: 22px; border: 3px solid var(--citron); }
.review:nth-child(2) { transform: rotate(0.8deg); }
.review:nth-child(1) { transform: rotate(-0.8deg); }
.review blockquote { margin: 0 0 12px; font-size: 1.12rem; font-weight: 600; }
.review figcaption { font-family: var(--font-display); font-size: 0.95rem; color: var(--orange); }

.venir { background: var(--citron); }
.venir-grid { display: grid; gap: 34px; }
.venir h2 { font-size: clamp(2rem, 7vw, 3.2rem); margin-bottom: 16px; }
.venir .eyebrow { color: var(--nuit); }
address { font-style: normal; font-weight: 600; margin-bottom: 8px; }
.tel { font-family: var(--font-display); font-size: 2rem; text-decoration: none; }
.h-hours { font-size: 1.5rem; margin-bottom: 12px; }
.hours { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--nuit); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px solid var(--nuit); }
.hours li span:first-child { font-weight: 700; }
.hours li span:last-child { text-align: right; }
.hours .closed { font-weight: 700; color: #a3350a; }
.small { font-size: 0.85rem; margin: 12px 0 0; }

.site-footer { background: var(--nuit); color: #ddd6cc; padding: 36px 0 28px; }
.site-footer b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--citron); }
.site-footer p { margin: 8px 0 0; font-size: 0.9rem; }
.demo-note { font-size: 0.82rem; color: #a39b90; max-width: 70ch; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--citron); border-top: 3px solid var(--nuit); }
.callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--pill); text-decoration: none; font-weight: 700; background: var(--orange); color: var(--nuit); border: 3px solid var(--nuit); }
.callbar a + a { background: var(--blanc); }

@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .hero { padding: 70px 0 84px; }
  section { padding: 92px 0; }
  .carte-in { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .venir-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ruban-in { animation: none; } .mode { animation: none; } }

/* Détails interactifs discrets (modèle commun du skill) */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 5px 0 rgba(18, 18, 18, 0.25); }
