/* Couleurs du client : à changer ici pour réutiliser le modèle */
:root {
  --green: #12663a;
  --green-text: #14703a;
  --yellow: #fcc419;
  --red: #c91f1a;
  --cream: #fbf6e9;
  --paper: #fff;
  --ink: #1f1b16;
  --muted: #5f574c;
  --line: #e6dcc4;
  --display: Impact, Haettenschweiler, "HelveticaNeue-CondensedBlack", "Arial Narrow", "sans-serif-condensed", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 var(--body); font-synthesis: none; padding-bottom: 68px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: .01em; }
p, ul, figure, address { margin: 0; padding: 0; font-style: normal; }
ul { list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 1.2em; height: 1.2em; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 8px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a91713; }
.btn-line { border: 2px solid currentColor; color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }
.btn-big { min-height: 54px; padding: 10px 26px; font-size: 1.1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.top { background: var(--cream); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--head-h); }
.logo { width: 96px; }
.status { font-size: .875rem; font-weight: 700; color: var(--muted); }
.status.is-open { color: var(--green-text); }
.status.is-open::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .45em; border-radius: 50%; background: #1fa055; }
.top-nav { display: none; }

/* Hero */
.hero { background: var(--yellow); }
.hero-green { background: var(--green); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px)); padding: 28px 0 76px; }
.hero-in { display: grid; gap: 34px; }
.halal { display: inline-flex; align-items: center; gap: .5em; padding: 2px 14px; border: 2px solid var(--yellow); border-radius: 50%; color: var(--yellow); font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.halal span { font-size: 1.15rem; }
h1 { font-size: clamp(3.4rem, 17vw, 6.6rem); color: var(--yellow); }
h1 span { display: block; color: #fff; font-size: .62em; margin-top: .12em; }
.lead { font-size: 1.15rem; margin: 16px 0 22px; max-width: 30em; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 32px; padding-top: 10px; padding-bottom: 18px; font-size: 1.02rem; }
.facts strong { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; margin-right: .3em; }

/* Polaroïds et pastilles de prix (repris du menu papier) */
.pol { position: relative; background: var(--paper); padding: 8px 8px 0; box-shadow: 0 3px 12px rgba(31, 27, 22, .22); transform: rotate(-1.2deg); }
.pol:nth-child(even) { transform: rotate(1.2deg); }
.pol img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pol figcaption { font-family: var(--display); text-transform: uppercase; color: var(--ink); text-align: center; line-height: 1.1; padding: 9px 2px 10px; font-size: 1.02rem; letter-spacing: .02em; }
.pol small { display: block; font: 700 .78rem var(--body); color: var(--red); text-transform: none; margin-top: 3px; letter-spacing: 0; }
.pol-hero { transform: rotate(2deg); max-width: 520px; width: 92%; justify-self: center; }
.pol-hero figcaption { font-size: 1.6rem; }
.sticker { position: absolute; top: -18px; right: -14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: 50%; background: var(--red); color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.1; text-align: center; transform: rotate(6deg); box-shadow: 0 2px 6px rgba(31, 27, 22, .3); }
.sticker b { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; }
.sticker-static { position: static; flex: none; }

/* La carte */
.carte { padding: 44px 0 20px; }
h2 { font-size: clamp(2.8rem, 12vw, 4.4rem); color: var(--green-text); }
.chips { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; margin-top: 12px; background: var(--cream); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; display: flex; align-items: center; min-height: 40px; padding: 4px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; text-decoration: none; }
.chips a:hover { border-color: var(--green-text); color: var(--green-text); }

.cat { padding: 38px 0 40px; border-bottom: 4px solid var(--yellow); scroll-margin-top: 70px; }
.cat h3 { font-size: 2.5rem; color: var(--green-text); margin-bottom: 20px; }
.cat-body { display: grid; gap: 26px; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.pics > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.pics .pol figcaption { font-size: .96rem; }

.prices { width: 100%; border-collapse: collapse; }
.prices thead th { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: right; padding: 0 0 6px 10px; }
.prices tbody th { text-align: left; font-weight: 700; padding: 11px 8px 11px 0; font-size: 1.04rem; line-height: 1.25; }
.prices tbody th span { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.prices em { display: inline-block; font-style: normal; font-size: .72rem; background: var(--red); color: #fff; border-radius: 3px; padding: 1px 6px; vertical-align: 2px; margin-left: 2px; white-space: nowrap; }
.prices td { text-align: right; white-space: nowrap; padding: 11px 0 11px 10px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.prices tbody tr { border-top: 1px solid var(--line); }

.panel > * + * { margin-top: 12px; }
.big-price { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--red); }
.big-price span { display: block; font-size: .62em; margin-top: 6px; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.note { color: var(--muted); font-weight: 600; margin-top: 12px; }

.cat-yellow, .cat-green { margin: 34px -16px; padding: 30px 16px; border: 0; }
.cat-yellow { background: var(--yellow); }
.cat-green { background: var(--green); color: #fff; }
.cat-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cat-yellow h3, .cat-green h3 { margin: 0; }
.cat-yellow h3 { color: var(--ink); }
.cat-green h3 { color: var(--yellow); }
.cat-yellow .note { color: var(--ink); margin: 2px 0 12px; }
.pizzas { display: grid; gap: 0 36px; }
.pizzas li { padding: 10px 0; border-top: 1px solid rgba(31, 27, 22, .22); }
.pizzas b { display: block; font-size: 1.06rem; }
.tags-light { margin-top: 18px; }
.tags-light li { color: var(--ink); border-color: transparent; }

/* Horaires et accès */
.acces { background: var(--green); color: #fff; padding: 44px 0 48px; scroll-margin-top: 70px; }
.acces-in { display: grid; gap: 30px; }
.acces h2 { color: var(--yellow); font-size: 2.5rem; margin-bottom: 8px; }
.hours { font-size: 1.1rem; }
.hours b { display: block; font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1.1; }
address { font-size: 1.2rem; }
address span { font-size: 1rem; opacity: .85; }

.foot { padding: 18px 0; font-size: .9rem; color: var(--muted); }

/* Barre d'appel mobile */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: 2fr 1fr; background: var(--paper); box-shadow: 0 -2px 10px rgba(31, 27, 22, .2); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 60px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.callbar-tel { background: var(--red); color: #fff; font-size: 1.2rem !important; }
.callbar-map { color: var(--green-text); }

@media (min-width: 640px) {
  .pizzas { grid-template-columns: 1fr 1fr; }
  .cat-yellow, .cat-green { margin-left: 0; margin-right: 0; padding: 32px; }
  .acces-in { grid-template-columns: 1fr 1fr; }
  .acces-in .cta { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .top { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
  .status { margin-right: auto; margin-left: 8px; }
  .top-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; }
  .top-nav a:not(.btn) { text-decoration: none; }
  .top-nav a:not(.btn):hover { color: var(--green-text); }
  .hero-green { padding: 56px 0 96px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .chips { top: var(--head-h); justify-content: center; }
  .cat, .acces { scroll-margin-top: 150px; }
  .cat-body { grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
  .cat:nth-of-type(even) .pics { order: 2; }
  .acces-in { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .acces-in .cta { grid-column: auto; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
