/* La Saga — maquette de démonstration
   Base : jetons de la fiche Refero « Roberta's Pizza » (aplat rouge vif, fond blanc cassé, grand titre en capitales, bords à carreaux,
   ombre dure décalée, aucun flou), transformés : rouge tomate + jaune de four + charbon, police d'enseigne Bungee + Rethink Sans,
   pizza à partager (huit parts à toucher) et flammes comme signature. */

@font-face { font-family: "Bungee"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bungee.woff2") format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/rethink-sans.woff2") format("woff2"); }

:root {
  --rouge: #bf1422;
  --rouge-2: #9a101b;
  --jaune: #f1e2c0;
  --creme: #fffdf4;
  --charbon: #321108;
  --gris: #5a4a40;
  --accent: #bf1422;
  --on-accent: #ffffff;
  --font-display: "Bungee", "Arial Black", system-ui, sans-serif;
  --font-body: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 18px;
  --page-max-width: 1120px;
  --pill: 9999px;
  --dur: 4px 4px 0 var(--charbon);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--charbon); 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.06; margin: 0; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--charbon); outline-offset: 3px; }
.hero :focus-visible, .site-header :focus-visible, .avis :focus-visible { outline-color: var(--jaune); }
.wrap { width: 100%; max-width: var(--page-max-width); margin: 0 auto; padding: 0 var(--gutter); }
.demo-bar { background: var(--charbon); color: var(--creme); 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: 2.5px solid var(--charbon); box-shadow: var(--dur); transition: transform 0.15s, box-shadow 0.15s, background-color 0.2s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--charbon); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--charbon); }
.btn-jaune { background: var(--jaune); color: var(--charbon); }
.btn-ligne { background: var(--creme); color: var(--charbon); }
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge-ligne { background: var(--creme); color: var(--charbon); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--rouge); color: #fff; border-bottom: 3px solid var(--charbon); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }
.brand { font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; }
.head-links { display: none; gap: 26px; }
.head-links a { text-decoration: none; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 2px; }
.head-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.bar .btn { min-height: 44px; padding: 0 18px; }

.eyebrow { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; color: var(--jaune); }
.eyebrow.dark { color: var(--rouge-2); }

.hero { background: var(--rouge); color: #fff; padding: 36px 0 46px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 9vw, 4rem); }
.hero h1 span { color: var(--jaune); display: block; }
.lead { font-size: 1.15rem; max-width: 46ch; margin: 20px 0 26px; color: #fde7e4; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.pizza-wrap { text-align: center; }
#pizza { width: min(100%, 340px); margin: 0 auto; height: auto; filter: drop-shadow(6px 6px 0 var(--charbon)); }
#pizza .part { cursor: pointer; transition: opacity 0.3s, transform 0.4s, filter 0.2s; transform-origin: 120px 120px; }
#pizza .part:hover { filter: brightness(1.12); }
#pizza .part.prise { opacity: 0; pointer-events: none; transform: translate(var(--dx), var(--dy)) scale(0.9); }
#pizza .part:focus-visible { outline: none; filter: brightness(1.2) drop-shadow(0 0 3px #fff); }
.pizza-txt { margin: 18px 0 0; font-weight: 700; min-height: 1.6em; }
.reset { margin-top: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--pill); border: 2.5px solid var(--charbon); background: var(--jaune); color: var(--charbon); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--dur); }

.nappe { height: 34px; background-color: var(--creme); background-image: linear-gradient(45deg, var(--rouge) 25%, transparent 25%, transparent 75%, var(--rouge) 75%), linear-gradient(45deg, var(--rouge) 25%, transparent 25%, transparent 75%, var(--rouge) 75%); background-size: 34px 34px; background-position: 0 0, 17px 17px; border-bottom: 3px solid var(--charbon); border-top: 3px solid var(--charbon); }

section { padding: 62px 0; }
.hero { padding-bottom: 46px; }
.section-head { max-width: 58ch; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.8rem, 6.5vw, 3rem); }
.section-head p { color: var(--gris); margin: 14px 0 0; }

.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 3px solid var(--charbon); border-radius: 16px; padding: 22px 20px; box-shadow: 6px 6px 0 var(--charbon); }
.card h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.card p { margin: 0; color: var(--gris); }
.flamme { display: block; width: 30px; height: 38px; background: var(--rouge); clip-path: path('M15 0c2 8 11 11 11 22a11 11 0 0 1-22 0c0-6 4-8 5-14 3 2 5 4 6-8z'); transform-origin: 50% 100%; animation: danse 1.4s ease-in-out infinite; }
@keyframes danse { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.08, 1.12) rotate(3deg); } }
.note { margin: 28px 0 0; font-weight: 600; }
.note a { text-decoration-thickness: 2px; text-underline-offset: 4px; }

.avis { background: var(--charbon); color: var(--creme); }
.avis .section-head h2 { color: var(--creme); }
.reviews { display: grid; gap: 16px; }
.review { margin: 0; padding: 24px 22px; background: var(--creme); color: var(--charbon); border: 3px solid var(--jaune); border-radius: 16px; box-shadow: 6px 6px 0 var(--jaune); }
.review blockquote { margin: 0 0 12px; font-size: 1.1rem; font-weight: 600; }
.review figcaption { font-family: var(--font-display); font-size: 0.8rem; color: var(--rouge-2); text-transform: uppercase; letter-spacing: 0.06em; }

.venir { background: var(--jaune); }
.venir-grid { display: grid; gap: 36px; }
.venir h2 { font-size: clamp(1.7rem, 6vw, 2.8rem); margin-bottom: 18px; }
address { font-style: normal; margin-bottom: 8px; font-weight: 600; }
.tel { font-family: var(--font-display); font-size: 1.8rem; text-decoration: none; }
.h-hours { font-size: 1.3rem; margin-bottom: 12px; }
.hours { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--charbon); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px solid var(--charbon); }
.hours li span:first-child { font-weight: 700; }
.hours li span:last-child { text-align: right; }
.hours .closed { font-weight: 700; color: var(--rouge-2); }
.small { font-size: 0.85rem; margin: 12px 0 0; }

.site-footer { background: var(--charbon); color: #e3d6c4; padding: 36px 0 28px; }
.site-footer b { font-family: var(--font-display); text-transform: uppercase; color: var(--creme); font-weight: 400; font-size: 1.3rem; }
.site-footer p { margin: 8px 0 0; font-size: 0.9rem; }
.demo-note { font-size: 0.82rem; color: #a99a86; 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(--rouge); border-top: 3px solid var(--charbon); }
.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(--jaune); color: var(--charbon); border: 2.5px solid var(--charbon); }
.callbar a + a { background: var(--creme); }

@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .head-links { display: flex; }
  .hero { padding: 64px 0 76px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  section { padding: 90px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .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; } .flamme { animation: none; } #pizza .part { transition: 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 6px 0 rgba(50, 17, 8, 0.25); }
.head-links a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
