/* =========================================================
   BONICI MILLAU — Pizzas & Burger
   Direction : trattoria graphique — encre, papier crème,
   tricolore du logo, gravures au trait qui se dessinent.
   ========================================================= */

:root {
  --ink: #14100d;
  --ink-2: #1f1915;
  --ink-3: #2b231e;
  --paper: #fbf6ee;
  --cream: #f3eadb;
  --cream-2: #e9dcc6;
  --tomato: #d7262b;
  --tomato-d: #a8161b;
  --basil: #1e8c45;
  --basil-d: #146632;
  --gold: #e0a93b;
  --muted: #74685c;
  --line: rgba(20, 16, 13, .14);
  --line-l: rgba(251, 246, 238, .16);

  --f-script: "Kaushan Script", cursive;
  --f-serif: "Fraunces", Georgia, serif;
  --f-sans: "Montserrat", system-ui, sans-serif;
  --f-chalk: "Caveat", cursive;

  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typo ---------- */
.kicker {
  font-family: var(--f-sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--tomato);
  margin: 0 0 14px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, var(--basil) 50%, var(--tomato) 50%); }
.kicker.light { color: var(--gold); }
.h2 {
  font-family: var(--f-serif); font-weight: 700; font-variation-settings: "opsz" 120;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 22px;
}
.h2 em { font-style: italic; font-weight: 400; color: var(--tomato); }
.h2.light { color: var(--paper); }
.h2.light em { color: var(--gold); }
.script { font-family: var(--f-script); font-weight: 400; }
.center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-family: var(--f-sans); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 20px; height: 20px; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-red { --bg: var(--tomato); --fg: #fff; }
.btn-red:hover { background: var(--tomato-d); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-cream { --bg: var(--paper); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--paper); border-color: var(--line-l); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-outline-light { --bg: transparent; --fg: var(--paper); border-color: rgba(251,246,238,.5); }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.link-arrow { font-weight: 700; color: var(--tomato); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow.light { color: var(--paper); }

/* ---------- Gravures (dessin au trait) ---------- */
.g-draw { stroke: currentColor; stroke-width: 2.2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.g-draw.is-drawn { stroke-dashoffset: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   PRELOADER — dé qui roule + mot-signature
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--paper);
  display: grid; place-content: center; justify-items: center; gap: 10px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.pre-dice { perspective: 600px; width: 70px; height: 70px; animation: preBounce 1.2s var(--ease) infinite; }
.pre-dice .cube { --s: 70px; animation: preSpin 1.2s linear infinite; }
.pre-word { font-family: var(--f-script); font-size: 3.2rem; margin: 18px 0 0; line-height: 1; animation: fadeUp 1s var(--ease) .2s both; }
.pre-swoosh { width: 220px; height: 26px; }
.pre-swoosh path, .hero-swoosh path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.pre-swoosh path { animation: draw 1.2s var(--ease) .5s forwards; }
.pre-swoosh .sw-r { animation-delay: .8s; }
.sw-g { stroke: var(--basil); } .sw-r { stroke: var(--tomato); }
@keyframes preSpin { to { transform: rotateX(360deg) rotateY(720deg); } }
@keyframes preBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* Cube 3D (préloader + CTA) */
.cube { --s: 90px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; }
.cube .f {
  position: absolute; inset: 0; background: var(--paper); border-radius: 18%;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.08), inset -6px -8px 14px rgba(0,0,0,.12);
  display: grid; padding: 16%; gap: 4%;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
}
.cube .f i { width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); place-self: center; }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube .f6 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f5 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f3 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f4 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.f1 i { grid-area: 2 / 2; background: var(--tomato) !important; }
.f2 i:nth-child(1) { grid-area: 1 / 1; } .f2 i:nth-child(2) { grid-area: 3 / 3; }
.f3 i:nth-child(1) { grid-area: 1 / 1; } .f3 i:nth-child(2) { grid-area: 2 / 2; } .f3 i:nth-child(3) { grid-area: 3 / 3; }
.f4 i:nth-child(1) { grid-area: 1 / 1; } .f4 i:nth-child(2) { grid-area: 1 / 3; } .f4 i:nth-child(3) { grid-area: 3 / 1; } .f4 i:nth-child(4) { grid-area: 3 / 3; }
.f5 i:nth-child(1) { grid-area: 1 / 1; } .f5 i:nth-child(2) { grid-area: 1 / 3; } .f5 i:nth-child(3) { grid-area: 2 / 2; } .f5 i:nth-child(4) { grid-area: 3 / 1; } .f5 i:nth-child(5) { grid-area: 3 / 3; }
.f6 i:nth-child(1) { grid-area: 1 / 1; } .f6 i:nth-child(2) { grid-area: 2 / 1; } .f6 i:nth-child(3) { grid-area: 3 / 1; } .f6 i:nth-child(4) { grid-area: 1 / 3; } .f6 i:nth-child(5) { grid-area: 2 / 3; } .f6 i:nth-child(6) { grid-area: 3 / 3; }

/* Barre de progression tricolore */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--basil) 0 33%, var(--paper) 33% 66%, var(--tomato) 66%); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter); color: var(--paper);
  transition: background .4s var(--ease), padding .4s var(--ease), transform .45s var(--ease), box-shadow .4s;
}
.nav.is-scrolled { background: rgba(20, 16, 13, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 8px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo img { height: 54px; width: auto; transition: height .4s var(--ease), transform .5s var(--bounce); }
.nav.is-scrolled .nav-logo img { height: 44px; }
.nav-logo:hover img { transform: rotate(-4deg) scale(1.05); }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .88rem; position: relative; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  background: linear-gradient(90deg, var(--basil) 50%, var(--tomato) 50%); }
.nav-links a:hover, .nav-links a.is-current { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-social { display: flex; gap: 6px; }
.nav-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l); color: var(--paper); transition: background .3s, transform .35s var(--bounce), border-color .3s; }
.nav-social a:hover { background: var(--tomato); border-color: var(--tomato); transform: rotate(-10deg) scale(1.08); }
.nav-social svg { width: 17px; height: 17px; }
.nav-social-menu { display: none; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: rgba(251,246,238,.08); border: 1px solid var(--line-l); white-space: nowrap; }
.status-pill i, .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); position: relative; }
.is-open .status-pill i, [data-open="1"] i { background: #3bd16f; box-shadow: 0 0 0 0 rgba(59,209,111,.6); animation: pulse 2s infinite; }
[data-open="0"] i { background: var(--tomato); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59,209,111,0); } 100% { box-shadow: 0 0 0 0 rgba(59,209,111,0); } }
.burger-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(251,246,238,.1); border: 1px solid var(--line-l); position: relative; }
.burger-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger-btn span:nth-child(1) { top: 15px; } .burger-btn span:nth-child(2) { top: 21px; } .burger-btn span:nth-child(3) { top: 27px; }
.nav.menu-open .burger-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .burger-btn span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px;
}
.hero-grain { position: absolute; inset: -50%; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} }
.hero-bg-pizza { position: absolute; width: min(90vw, 900px); height: auto; aspect-ratio: 1; right: -18%; top: 50%; translate: 0 -50%;
  color: rgba(251,246,238,.05); stroke-width: .6 !important; animation: spin 90s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero-dice .fd { position: absolute; color: rgba(251,246,238,.28); stroke-width: 1.6; will-change: transform; }
.fd1 { width: 90px; height: 90px; left: 6%; top: 16%; animation: float 7s ease-in-out infinite; }
.fd2 { width: 54px; height: 54px; left: 44%; bottom: 12%; animation: float 6s ease-in-out -2s infinite; color: rgba(215,38,43,.55) !important; }
.fd3 { width: 70px; height: 70px; left: 38%; top: 12%; animation: float 8s ease-in-out -4s infinite; color: rgba(30,140,69,.6) !important; }
.fd4 { width: 64px; height: 64px; left: 3%; bottom: 14%; animation: float 9s ease-in-out -1s infinite; color: rgba(215,38,43,.45) !important; }
@keyframes float { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(8px,-16px) rotate(10deg); } }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-weight: 700; letter-spacing: .38em; text-transform: uppercase; font-size: .8rem; margin: 0 0 6px; }
.eyebrow em { font-family: var(--f-script); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--gold); font-size: 1.2rem; }
.eyebrow .line { width: 40px; height: 2px; background: currentColor; opacity: .7; }
.hero-title { margin: 0; line-height: .9; position: relative; }
.hero-title .script { display: block; font-size: clamp(5rem, 15vw, 12rem); letter-spacing: -.01em; padding-right: .15em;
  background: linear-gradient(180deg, #fffaf2 0%, #f1e4cd 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(0 100% 0 0); animation: inkReveal 1.6s var(--ease) forwards; animation-play-state: paused; }
.is-ready .hero-title .script { animation-play-state: running; }
@keyframes inkReveal { to { clip-path: inset(-10% -5% -20% 0); } }
.hero-swoosh { width: min(100%, 520px); height: 44px; margin-top: -6px; }
.hero-swoosh path { stroke-width: 7; stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-ready .hero-swoosh .sw-g { animation: draw 1.1s var(--ease) 1.1s forwards; }
.is-ready .hero-swoosh .sw-r { animation: draw 1.1s var(--ease) 1.45s forwards; }
.hero-sub { display: block; font-family: var(--f-sans); font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; opacity: .6; margin-top: 12px; }
.hero-lead { font-family: var(--f-serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 34em; margin: 26px 0 32px; color: rgba(251,246,238,.82); }
.hero-lead strong { color: var(--paper); font-weight: 600; }
.rotator { display: inline-block; color: var(--gold); font-style: italic; }
.rotator span { display: inline-block; transition: opacity .4s, transform .5s var(--ease); }
.rotator span.out { opacity: 0; transform: translateY(-10px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .86rem; color: rgba(251,246,238,.7); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--basil); }
.hero-badges li:nth-child(2)::before { background: var(--paper); } .hero-badges li:nth-child(3)::before { background: var(--tomato); }
.hero-badges b { color: var(--paper); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.arch { position: relative; aspect-ratio: 9/14; border-radius: 999px 999px 26px 26px; overflow: hidden;
  border: 2px solid rgba(251,246,238,.2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 10px rgba(251,246,238,.04);
  transform: translateY(40px) scale(.96); opacity: 0; transition: transform 1.4s var(--ease) .5s, opacity 1.2s var(--ease) .5s; }
.is-ready .arch { transform: none; opacity: 1; }
.arch video { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.arch video.fading { opacity: 0; }
.arch-shine { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,.0) 60%, rgba(20,16,13,.55)); pointer-events: none; }
.seal { position: absolute; width: 150px; height: 150px; left: -60px; top: 18%; z-index: 3; }
.seal svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal text { fill: var(--paper); font-family: var(--f-sans); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.seal-die { position: absolute; inset: 42px; background: var(--tomato); border-radius: 18px; rotate: -14deg; display: grid; grid-template: repeat(3,1fr)/repeat(3,1fr); padding: 12px; box-shadow: 0 12px 24px -8px rgba(0,0,0,.6); }
.seal-die i { width: 10px; height: 10px; background: var(--paper); border-radius: 50%; place-self: center; }
.seal-die i:nth-child(1) { grid-area: 1/1; } .seal-die i:nth-child(2) { grid-area: 2/2; } .seal-die i:nth-child(3) { grid-area: 3/3; }
.hero-card { position: absolute; right: -40px; bottom: 40px; width: 150px; background: var(--paper); padding: 8px 8px 12px; border-radius: 6px; rotate: 7deg; z-index: 3;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); color: var(--ink); animation: float 7s ease-in-out -3s infinite; }
.hero-card img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.hero-card span { display: block; font-family: var(--f-chalk); font-size: 1.25rem; text-align: center; margin-top: 4px; line-height: 1; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(251,246,238,.4); border-radius: 20px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--paper); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   2. MARQUEE
   ========================================================= */
.marquee { background: var(--tomato); color: #fff; overflow: hidden; padding: 18px 0; rotate: -1.6deg; margin: -22px -20px 0; position: relative; z-index: 5;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); border-block: 3px solid var(--ink); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.marquee-track span { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; }
.marquee-track svg { width: 40px; height: 40px; stroke: #fff; stroke-width: 3; fill: none; flex: none; }

/* =========================================================
   3. LA MAISON — papier + gravures
   ========================================================= */
.maison { position: relative; padding: clamp(100px, 13vw, 170px) 0 clamp(80px, 10vw, 130px); overflow: hidden;
  background: radial-gradient(circle at 12% 20%, rgba(224,169,59,.10), transparent 40%), var(--paper); }
.engraving-field .eg { position: absolute; color: rgba(20,16,13,.16); stroke-width: 1.6; }
.eg1 { width: 120px; height: 120px; left: 3%; top: 8%; } .eg2 { width: 110px; height: 110px; right: 4%; top: 6%; }
.eg3 { width: 96px; height: 96px; left: 46%; bottom: 4%; } .eg4 { width: 160px; height: 120px; right: 38%; top: 3%; }
.eg5 { width: 90px; height: 90px; left: 2%; bottom: 20%; } .eg6 { width: 100px; height: 100px; right: 2%; bottom: 26%; }
.maison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.maison-text > p:not(.kicker) { font-size: 1.05rem; color: #3b322b; max-width: 36em; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.stat { border-top: 2px solid var(--ink); padding-top: 12px; }
.stat b { font-family: var(--f-serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; font-weight: 700; display: block; font-variant-numeric: tabular-nums; }
.stat:nth-child(odd) b { color: var(--tomato); }
.stat span { font-size: .86rem; color: var(--muted); }
.maison-collage { position: relative; height: clamp(460px, 52vw, 640px); }
.ph { position: absolute; margin: 0; background: #fff; padding: 10px 10px 40px; box-shadow: 0 30px 60px -30px rgba(20,16,13,.55); border-radius: 4px; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.ph figcaption { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-family: var(--f-chalk); font-size: 1.35rem; line-height: 1; }
.ph1 { width: 52%; height: 58%; left: 0; top: 4%; rotate: -5deg; }
.ph2 { width: 48%; height: 46%; right: 0; top: 0; rotate: 4deg; }
.ph3 { width: 50%; height: 56%; left: 30%; bottom: 0; rotate: -1deg; z-index: 2; }
.hand-note { position: absolute; z-index: 3; left: -4%; bottom: -2%; font-family: var(--f-chalk); font-size: 1.7rem; color: var(--tomato); rotate: -8deg; }
.hand-note svg { width: 100px; margin-left: 40px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(60px, 8vw, 110px); }
.pillar { padding: 28px 24px; border: 1.5px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.55); transition: transform .5s var(--bounce), box-shadow .5s, border-color .3s; }
.pillar:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 30px 50px -30px rgba(20,16,13,.45); border-color: var(--ink); }
.pillar svg { width: 64px; height: 64px; color: var(--tomato); stroke-width: 3; margin-bottom: 14px; }
.pillar:nth-child(even) svg { color: var(--basil); }
.pillar h3 { font-family: var(--f-serif); font-size: 1.35rem; margin: 0 0 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: .93rem; }

/* =========================================================
   4. LA CARTE
   ========================================================= */
.carte { background: var(--cream); padding: clamp(90px, 11vw, 140px) 0 60px; position: relative;
  background-image: radial-gradient(rgba(20,16,13,.06) 1px, transparent 1px); background-size: 22px 22px; }
.carte-head { text-align: center; }
.carte-head .kicker { justify-content: center; }
.carte-intro { max-width: 40em; margin: 0 auto; color: #4b4037; font-size: 1.05rem; }
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 40px; margin-bottom: 40px;
  position: sticky; top: var(--tabs-top, 78px); z-index: 30; transition: top .45s var(--ease); }
html.nav-away { --tabs-top: 12px; }
.tabs::before { content: ""; position: absolute; inset: -10px calc(var(--gutter) - 10px); border-radius: 99px; background: rgba(243, 234, 219, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 30px -18px rgba(20,16,13,.45); opacity: 0; transition: opacity .35s; z-index: -1; pointer-events: none; }
.tabs.is-stuck::before { opacity: 1; }
.tab { background: var(--cream); }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent;
  font-weight: 700; font-size: .9rem; position: relative; z-index: 1; transition: color .35s, background .35s, transform .3s var(--bounce); }
.tab svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 5; fill: none; }
.tab:hover { transform: translateY(-2px); }
.tab.is-active { background: var(--ink); color: var(--paper); }
.tab.is-active svg { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-14deg) scale(1.2); } 60% { transform: rotate(10deg); } }
.tab-ink { display: none; }
.panel { animation: panelIn .7s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } }

/* Pizzas */
.pizza-layout { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.atelier { position: sticky; top: calc(var(--tabs-top, 78px) + 80px); transition: top .45s var(--ease); }
.atelier-card { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 26px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(20,16,13,.8); }
.atelier-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 36%, rgba(224,169,59,.22), transparent 55%); pointer-events: none; }
.atelier-label { font-family: var(--f-script); font-size: 1.6rem; margin: 0; color: var(--gold); position: relative; }
.pizza-stage { position: relative; aspect-ratio: 1; margin: 6px auto 10px; max-width: 280px; }
.pizza-stage::after { content: ""; position: absolute; inset: 6% 6% 0; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.5), transparent 70%); transform: translateY(12%) scaleY(.35); z-index: -1; filter: blur(6px); }
#pizzaSvg { width: 100%; height: 100%; overflow: visible; }
#pizzaSvg .pz { transform-origin: 0 0; transition: transform .8s var(--bounce); }
#pizzaSvg .top { transform-box: fill-box; transform-origin: center; animation: drop .55s var(--bounce) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) scale(1.6); } }
.size-tag { position: absolute; right: 0; top: 6%; background: var(--tomato); color: #fff; font-weight: 800; font-size: .78rem; padding: 6px 10px; border-radius: 99px; rotate: 10deg; }
.atelier-name { font-family: var(--f-serif); font-size: 1.5rem; font-weight: 700; margin: 4px 0 2px; }
.atelier-ing { font-size: .86rem; color: rgba(251,246,238,.7); min-height: 2.8em; margin: 0 0 16px; }
.size-switch { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(251,246,238,.08); border-radius: 99px; padding: 4px; position: relative; }
.size-switch button { background: none; border: 0; padding: 10px 0; font-size: .78rem; position: relative; z-index: 1; color: rgba(251,246,238,.7); transition: color .3s; }
.size-switch button b { font-size: 1.1rem; margin-right: 2px; }
.size-switch button.is-on { color: var(--ink); }
.size-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 99px; background: var(--paper); transition: transform .5s var(--bounce); transform: translateX(calc(100% * var(--i, 1))); }
.atelier-price { font-family: var(--f-serif); font-size: 2.6rem; font-weight: 700; margin: 14px 0 2px; color: var(--gold); line-height: 1; }
.atelier-note { font-size: .74rem; color: rgba(251,246,238,.55); margin: 8px 0 0; }

.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; transition: border-color .3s, box-shadow .3s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(224,169,59,.25); }
.search svg { width: 20px; color: var(--muted); flex: none; }
.search input { border: 0; background: transparent; padding: 14px 0; font: inherit; width: 100%; outline: none; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 8px 14px; font-size: .8rem; font-weight: 600; transition: all .3s var(--ease); }
.chip svg { width: 16px; color: var(--basil); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-veg.is-on { background: var(--basil); border-color: var(--basil); }
.chip-veg.is-on svg { color: #fff; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; border: 1.5px solid var(--ink); }
.dot.tomate { background: var(--tomato); border-color: var(--tomato); }
.dot.creme { background: #fff; }
.dot.mixte { background: linear-gradient(90deg, var(--tomato) 50%, #fff 50%); border-color: var(--tomato); }
.dot.blanche { background: #f1d98a; border-color: #d8b54b; }

.pz-group { margin-bottom: 34px; }
.pz-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.pz-group-head h3 { font-family: var(--f-script); font-weight: 400; font-size: 2rem; margin: 0; line-height: 1; }
.pz-group-head .gp { font-family: var(--f-serif); font-weight: 700; font-size: 1.2rem; }
.pz-group-head .gp small { font-family: var(--f-sans); font-weight: 500; font-size: .72rem; color: var(--muted); margin-left: 6px; }
.pz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pz-card { text-align: left; background: var(--paper); border: 1.5px solid transparent; border-radius: 16px; padding: 16px 16px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start;
  box-shadow: 0 1px 0 var(--line); transition: transform .35s var(--bounce), border-color .3s, box-shadow .35s; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.pz-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 16px 30px -22px rgba(20,16,13,.6); }
.pz-card.is-sel { border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(215,38,43,.18); }
.pz-card .dot { margin-top: 6px; }
.pz-card h4 { margin: 0; font-size: .98rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pz-card p { grid-column: 2 / 4; margin: 0; font-size: .86rem; color: #5a4e44; line-height: 1.45; }
.pz-card .pp { font-family: var(--f-serif); font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.pz-card .pp.tick { animation: tick .45s var(--bounce); }
@keyframes tick { 40% { transform: translateY(-6px) scale(1.15); color: var(--tomato); } }
.tag { font-size: .6rem; letter-spacing: .08em; padding: 3px 7px; border-radius: 99px; background: var(--tomato); color: #fff; font-weight: 800; }
.tag.veg { background: var(--basil); } .tag.love { background: var(--gold); color: var(--ink); }
.pz-card .opt-note { font-style: italic; color: var(--muted); font-size: .78rem; }
.empty { text-align: center; padding: 40px; color: var(--muted); }

/* Burgers */
.burger-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.burger-stage { position: sticky; top: calc(var(--tabs-top, 78px) + 80px); background: var(--ink); border-radius: 28px; min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 40px 30px 30px; overflow: hidden; }
.burger-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(224,169,59,.25), transparent 60%); }
.stack { position: relative; width: min(280px, 80%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.layer { width: 100%; position: relative; animation: layerDrop .6s var(--bounce) both; animation-delay: calc(var(--i) * 90ms); margin-top: -6px; }
@keyframes layerDrop { from { opacity: 0; transform: translateY(-160px) rotate(var(--rot, 4deg)); } }
.l-bun-top { height: 90px; border-radius: 140px 140px 16px 16px; background: radial-gradient(circle at 35% 30%, #f3b861, #c9782a 70%); box-shadow: inset 0 -8px 0 rgba(0,0,0,.12); margin-top: 0; }
.l-bun-top::before { content: ""; position: absolute; inset: 18px 30px 30px; background-image: radial-gradient(ellipse 3px 5px at 10% 30%, #fff5dc 90%, transparent), radial-gradient(ellipse 3px 5px at 40% 10%, #fff5dc 90%, transparent), radial-gradient(ellipse 3px 5px at 70% 40%, #fff5dc 90%, transparent), radial-gradient(ellipse 3px 5px at 90% 15%, #fff5dc 90%, transparent), radial-gradient(ellipse 3px 5px at 25% 70%, #fff5dc 90%, transparent), radial-gradient(ellipse 3px 5px at 60% 75%, #fff5dc 90%, transparent); }
.l-bun-bot { height: 38px; border-radius: 10px 10px 40px 40px; background: linear-gradient(#e4a04c, #c47a2f); }
.l-patty { height: 38px; border-radius: 20px; background: radial-gradient(circle at 30% 30%, #7a4225, #3d1e10); box-shadow: inset 0 3px 0 rgba(255,255,255,.08); }
.l-patty.double { height: 30px; }
.l-cheese { height: 16px; background: #f5b82e; clip-path: polygon(0 0, 100% 0, 96% 60%, 88% 100%, 80% 55%, 66% 100%, 56% 50%, 44% 100%, 30% 55%, 18% 100%, 6% 60%); width: 108%; }
.l-cheese.white { background: #f6ecd2; } .l-cheese.blue { background: #e9e6d8; background-image: radial-gradient(#7c8b8d 1.5px, transparent 2px); background-size: 9px 9px; }
.l-salad { height: 18px; width: 110%; background: #54a33b; clip-path: polygon(0 40%, 5% 0, 12% 50%, 20% 5%, 28% 55%, 36% 0, 44% 50%, 52% 5%, 60% 55%, 68% 0, 76% 50%, 84% 5%, 92% 55%, 100% 20%, 100% 100%, 0 100%); }
.l-tomato { height: 14px; display: flex; gap: 6px; justify-content: center; }
.l-tomato::before, .l-tomato::after { content: ""; width: 46%; border-radius: 10px; background: #e0392f; }
.l-bacon { height: 12px; width: 104%; background: repeating-linear-gradient(90deg, #b44a34 0 14px, #e9a383 14px 20px); border-radius: 6px; clip-path: polygon(0 20%, 10% 0, 20% 25%, 30% 0, 40% 25%, 50% 0, 60% 25%, 70% 0, 80% 25%, 90% 0, 100% 20%, 100% 100%, 0 100%); }
.l-onion { height: 14px; background: radial-gradient(circle, transparent 5px, #e6c79a 6px, #e6c79a 8px, transparent 9px) 0 0 / 24px 14px; }
.l-rings { height: 20px; background: radial-gradient(circle, transparent 5px, #d98f3a 6px, #b86b1e 9px, transparent 10px) 0 0 / 26px 20px; }
.l-chicken { height: 34px; border-radius: 16px; background: radial-gradient(circle at 30% 30%, #e7a54f, #b8691f); background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1.5px), radial-gradient(circle at 30% 30%, #e7a54f, #b8691f); background-size: 6px 6px, 100% 100%; }
.l-galette { height: 22px; border-radius: 10px; background: repeating-linear-gradient(80deg, #e3b04d 0 3px, #cf9432 3px 6px); }
.l-sauce { height: 8px; width: 90%; background: #f3ede2; border-radius: 8px; }
.l-sauce.poivre { background: #8b5a3a; } .l-sauce.curry { background: #e5a322; } .l-sauce.miel { background: #e7b84a; } .l-sauce.ketchup { background: #c7261d; }
.stage-plate { width: 360px; max-width: 100%; height: 26px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #f3eadb, #b9ab95); margin-top: -8px; position: relative; z-index: 0; }
.stage-caption { color: rgba(251,246,238,.55); font-family: var(--f-chalk); font-size: 1.3rem; margin: 18px 0 0; position: relative; }
.burger-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.burger-list button { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 18px; border-radius: 14px; background: var(--paper); border: 1.5px solid transparent; transition: all .35s var(--ease); }
.burger-list button:hover { border-color: var(--line); transform: translateX(6px); }
.burger-list button.is-sel { border-color: var(--ink); background: #fff; transform: translateX(10px); box-shadow: -6px 0 0 var(--tomato); }
.burger-list b { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.burger-list .bp { font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem; }
.burger-list small { grid-column: 1 / 3; color: var(--muted); font-size: .85rem; }
.builder { background: var(--paper); border-radius: 20px; padding: 22px; border: 1.5px dashed rgba(20,16,13,.3); }
.builder-title { font-family: var(--f-script); font-size: 1.6rem; margin: 0 0 10px; color: var(--tomato); }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt small { color: var(--muted); display: block; font-size: .78rem; }
.opt input, .radio input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--ink); display: grid; place-items: center; transition: background .25s; }
.opt .box::after { content: ""; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; rotate: -45deg; translate: 0 -2px; scale: 0; transition: scale .3s var(--bounce); }
.opt input:checked + .box { background: var(--tomato); border-color: var(--tomato); }
.opt input:checked + .box::after { scale: 1; }
.opt input:focus-visible + .box { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt-group { padding: 12px 0 4px; }
.opt-group p { margin: 0 0 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.radio { display: inline-flex; margin: 0 6px 8px 0; cursor: pointer; }
.radio span { padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-size: .82rem; transition: all .3s; }
.radio input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.builder-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; padding-top: 14px; border-top: 2px solid var(--ink); }
.builder-total span { font-weight: 700; }
.builder-total strong { font-family: var(--f-serif); font-size: 2rem; color: var(--tomato); font-variant-numeric: tabular-nums; }
.builder .btn { width: 100%; }
.new-badge { display: inline-block; background: var(--ink); color: var(--paper); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; rotate: -6deg; }

/* Salades & tapas */
.tapas-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: start; }
.salad-bowl { background: #e67e7e; background: linear-gradient(160deg, #e98b86, #d8615e); color: #fff; border-radius: 28px; padding: 30px; position: relative; overflow: hidden; }
.bowl-head h3 { font-family: var(--f-script); font-weight: 400; font-size: 2.4rem; margin: 10px 0 4px; line-height: 1; }
.bowl-head p { margin: 0; opacity: .92; }
.bowl-visual { display: flex; justify-content: center; margin: 70px 0 22px; }
.bowl { width: 220px; height: 110px; border-radius: 0 0 120px 120px; background: var(--paper); position: relative; box-shadow: inset 0 -10px 0 rgba(0,0,0,.08), 0 20px 30px -18px rgba(0,0,0,.5); overflow: visible; }
.bowl::before { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; height: 16px; border-radius: 50%; background: #efe4d2; }
.bowl-fill { position: absolute; left: 6px; right: 6px; bottom: 90px; height: 0; display: flex; flex-wrap: wrap-reverse; justify-content: center; align-content: flex-start; gap: 2px; }
.bowl-fill i { width: 26px; height: 26px; border-radius: 50%; animation: pop .45s var(--bounce) both; flex: none; }
.bowl-fill i.base { background: #5fae4a; border-radius: 60% 10% 60% 10%; }
.bowl-fill i.leg { background: #e8452f; } .bowl-fill i.leg:nth-child(3n) { background: #f2b33d; } .bowl-fill i.leg:nth-child(4n) { background: #7b3f98; }
.bowl-fill i.vp { background: #d99a4e; border-radius: 8px; } .bowl-fill i.fro { background: #fff3c4; border-radius: 4px; rotate: 20deg; }
@keyframes pop { from { transform: scale(0) translateY(-30px); } }
.steppers { display: grid; gap: 10px; }
.stepper { display: grid; grid-template-columns: 1fr auto auto auto auto; align-items: center; gap: 10px; background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 12px; }
.stepper span { font-weight: 700; } .stepper small { opacity: .85; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--tomato-d); font-size: 1.2rem; font-weight: 800; transition: transform .25s var(--bounce); }
.stepper button:active { transform: scale(.85); }
.stepper output { min-width: 18px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.salad-bowl .builder-total { border-color: rgba(255,255,255,.6); }
.salad-bowl .builder-total strong { color: #fff; }
.fine { font-size: .76rem; opacity: .8; margin: 0; }
.tapas-side { display: grid; gap: 18px; }
.caesar { display: flex; justify-content: space-between; gap: 20px; background: var(--paper); border-radius: 20px; padding: 22px; border-left: 6px solid #e0716d; }
.caesar h3, .plateau h3, .veg-corner h3 { font-family: var(--f-serif); margin: 0 0 4px; font-size: 1.35rem; }
.caesar p, .plateau p, .veg-corner p { margin: 0; color: var(--muted); font-size: .9rem; }
.price { font-family: var(--f-serif); font-weight: 700; font-size: 1.35rem; white-space: nowrap; color: var(--tomato); }
.tickets { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 22px; }
.tickets-title { font-family: var(--f-script); font-size: 2rem; margin: 0 0 12px; color: var(--gold); line-height: 1; }
.tickets-title small { font-family: var(--f-sans); font-size: .75rem; color: rgba(251,246,238,.6); letter-spacing: .15em; text-transform: uppercase; }
.ticket-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ticket { position: relative; background: var(--paper); color: var(--ink); padding: 14px 14px 12px; border-radius: 10px; transition: transform .4s var(--bounce);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) , radial-gradient(circle 8px at 100% 50%, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.ticket:hover { transform: rotate(-2deg) translateY(-4px); }
.ticket b { display: block; font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; }
.ticket span { font-family: var(--f-serif); font-weight: 700; color: var(--tomato); font-size: 1.05rem; }
.plateau { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; background: var(--paper); border-radius: 20px; padding: 12px; }
.plateau img { width: 140px; height: 140px; object-fit: cover; border-radius: 14px; }
.veg-corner { background: linear-gradient(160deg, #7cc39a, #4e9f71); color: #fff; border-radius: 20px; padding: 22px; }
.veg-corner p { color: rgba(255,255,255,.92); }
.veg-corner h3 { font-family: var(--f-script); font-weight: 400; font-size: 2rem; margin-top: 8px; }

/* Formules : cartes qui se retournent */
.flip-hint { text-align: center; font-family: var(--f-chalk); font-size: 1.4rem; color: var(--muted); margin: -10px 0 20px; }
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flip { perspective: 1200px; background: none; border: 0; padding: 0; aspect-ratio: 3/4; text-align: center; }
.flip-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--bounce); }
.flip:hover .flip-in, .flip[aria-pressed="true"] .flip-in { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px; }
.flip-front { color: #fff; overflow: hidden; }
.flip-front small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.flip-front strong { font-family: var(--f-script); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; }
.flip-front em { font-family: var(--f-serif); font-style: normal; font-weight: 800; font-size: 2.6rem; line-height: 1; }
.flip-front svg { position: absolute; width: 60%; height: auto; aspect-ratio: 1; right: -12%; bottom: -12%; stroke: rgba(255,255,255,.22); stroke-width: 2.5; fill: none; }
.f-midi { background: #2a2420; } .f-etu { background: #c98a5b; } .f-kid { background: var(--tomato); } .f-tapas { background: var(--basil); }
.flip-back { background: var(--paper); transform: rotateY(180deg); border: 2px solid var(--ink); font-size: .9rem; }
.flip-back strong { font-family: var(--f-serif); font-size: 2.2rem; color: var(--tomato); }
.flip-back i { font-family: var(--f-script); font-style: normal; color: var(--tomato); }
.flip-back small { font-size: .7rem; color: var(--muted); }

/* Desserts & boissons */
.douceurs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dessert-col, .drink-col { background: var(--paper); border-radius: 26px; padding: 30px; position: relative; overflow: hidden; }
.col-title { font-family: var(--f-script); font-weight: 400; font-size: 2.3rem; margin: 0 0 14px; line-height: 1; }
.col-title.sm { font-size: 1.8rem; margin-top: 26px; }
.line-item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.line-item span { font-weight: 700; }
.line-item small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.line-item i { flex: 1; border-bottom: 2px dotted rgba(20,16,13,.3); translate: 0 -4px; }
.line-item b { font-family: var(--f-serif); font-size: 1.1rem; }
.tiramisu { margin-top: 16px; }
.tiramisu p { margin: 0 0 10px; }
.flavors { display: flex; flex-wrap: wrap; gap: 8px; }
.flavors span { padding: 7px 14px; border-radius: 99px; font-size: .82rem; font-weight: 700; background: var(--cream); animation: bob 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.4s); }
.flavors span:nth-child(1) { background: #f7c9cf; --i: 1; } .flavors span:nth-child(2) { background: #ffd79a; --i: 2; } .flavors span:nth-child(3) { background: #e8cfa6; --i: 3; }
.flavors span:nth-child(4) { background: #cfa287; --i: 4; } .flavors span:nth-child(5) { background: #d9d6d2; --i: 5; } .flavors span:nth-child(6) { background: #cfe3a8; --i: 6; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.dessert-pic { margin: 22px 0 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.dessert-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dessert-pic:hover img { transform: scale(1.06) rotate(1deg); }
.drink-col { background: linear-gradient(180deg, var(--paper), #fdecea); }
.bubbles i { position: absolute; bottom: -20px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(215,38,43,.35); animation: rise 6s linear infinite; }
.bubbles i:nth-child(1) { left: 10%; animation-delay: 0s; } .bubbles i:nth-child(2) { left: 25%; animation-delay: -1s; width: 8px; height: 8px; }
.bubbles i:nth-child(3) { left: 42%; animation-delay: -2.5s; } .bubbles i:nth-child(4) { left: 58%; animation-delay: -4s; width: 18px; height: 18px; }
.bubbles i:nth-child(5) { left: 70%; animation-delay: -1.5s; } .bubbles i:nth-child(6) { left: 82%; animation-delay: -3.2s; width: 9px; height: 9px; }
.bubbles i:nth-child(7) { left: 92%; animation-delay: -5s; } .bubbles i:nth-child(8) { left: 35%; animation-delay: -3.8s; width: 7px; height: 7px; }
@keyframes rise { to { transform: translateY(-640px) translateX(20px); opacity: 0; } }
.carte-foot { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 50px; }

/* =========================================================
   5. MIDI — ardoise à la craie
   ========================================================= */
.midi { background: var(--paper); padding: clamp(90px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.midi::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(20,16,13,.025) 60px 61px); pointer-events: none; }
.midi-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: center; position: relative; }
.midi-text p:not(.kicker) { color: #4b4037; font-size: 1.05rem; max-width: 30em; margin-bottom: 28px; }
.board-wrap { position: relative; }
.midi-photo { margin: 40px 0 0; width: 190px; background: #fff; padding: 8px 8px 34px; border-radius: 3px; rotate: -4deg; box-shadow: 0 24px 40px -22px rgba(20,16,13,.6); position: relative; }
.midi-photo::before { content: ""; position: absolute; top: -12px; left: 50%; width: 80px; height: 24px; margin-left: -40px; background: rgba(224,169,59,.55); rotate: 3deg; }
.midi-photo img { aspect-ratio: 4/5; object-fit: cover; }
.midi-photo figcaption { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-family: var(--f-chalk); font-size: 1.15rem; }
.board { background: #6d4a2e; padding: 18px; border-radius: 10px; box-shadow: 0 50px 80px -40px rgba(20,16,13,.7), inset 0 0 0 3px #52361f;
  background-image: repeating-linear-gradient(95deg, rgba(0,0,0,.08) 0 3px, transparent 3px 11px); rotate: 1.5deg; transition: rotate .8s var(--bounce); }
.board:hover { rotate: -.5deg; }
.board-inner { position: relative; background: #243029; border-radius: 4px; padding: clamp(28px, 4vw, 50px) clamp(22px, 4vw, 50px) clamp(40px, 5vw, 60px); min-height: 440px; overflow: hidden;
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.05), transparent 50%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.55); }
.chalk { font-family: var(--f-chalk); color: #f2efe6; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; line-height: 1.25; text-shadow: 0 0 1px rgba(255,255,255,.6), 0 0 8px rgba(255,255,255,.12);
  clip-path: inset(0 100% 0 0); transition: clip-path 1.1s steps(22, end); transition-delay: var(--d); }
.board.is-in .chalk { clip-path: inset(-20% -5% -20% 0); }
.chalk.c1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; --d: .1s; }
.chalk.c2 { --d: 1.1s; } .chalk.c3 { --d: 2s; text-align: left; padding-left: 3em; opacity: .8; } .chalk.c4 { --d: 2.6s; }
.chalk.c5 { --d: 3.5s; font-size: clamp(1.1rem, 2vw, 1.45rem); opacity: .85; } .chalk.c6 { --d: 4.3s; }
.chalk.price { position: absolute; right: clamp(24px, 6%, 60px); bottom: clamp(30px, 8%, 60px); font-size: clamp(3rem, 6vw, 4.6rem); color: #ffe9a8; --d: 5.3s; rotate: -8deg; }
.chalk-circle { position: absolute; right: clamp(0px, 2%, 30px); bottom: clamp(10px, 4%, 40px); width: clamp(160px, 22vw, 220px); fill: none; stroke: #ffe9a8; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) 6.1s; opacity: .8; }
.board.is-in .chalk-circle { stroke-dashoffset: 0; }
.chalk-doodle { position: absolute; color: rgba(242,239,230,.55); stroke-width: 2.5; transition-delay: 1.5s; }
.chalk-doodle.d1 { width: 70px; height: 70px; right: 8%; top: 10%; rotate: 20deg; }
.chalk-doodle.d2 { width: 60px; height: 60px; left: 6%; bottom: 8%; }
.board-foot { display: flex; justify-content: center; gap: 30px; margin-top: 10px; }
.board-foot span { width: 40px; height: 8px; border-radius: 4px; background: #f2efe6; opacity: .85; rotate: -4deg; }
.board-foot span:last-child { background: #f6c4c4; rotate: 6deg; width: 24px; }
.dust { position: absolute; inset: 0; pointer-events: none; }
.dust i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7); animation: dust 1.4s ease-out forwards; }
@keyframes dust { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

/* =========================================================
   6. COULISSES — défilement horizontal
   ========================================================= */
.coulisses { background: var(--ink); color: var(--paper); position: relative; }
.coulisses.pinned { height: var(--h, 300vh); }
.coul-sticky { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 120px) 0 70px; }
.coulisses.pinned .coul-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 30px; }
.coul-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 30px; }
.coul-head .kicker { color: var(--gold); width: 100%; }
.coul-head .h2 { color: var(--paper); margin: 0; }
.coul-head .h2 em { color: var(--gold); }
.coul-progress { width: 180px; height: 3px; background: var(--line-l); border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.coul-progress span { display: block; height: 100%; width: 100%; background: var(--tomato); transform-origin: 0; transform: scaleX(var(--cp, 0)); }
.reel-track { display: flex; gap: 22px; padding: 40px var(--gutter) 10px; width: max-content; will-change: transform; }
.coulisses:not(.pinned) .reel-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.coulisses:not(.pinned) .reel-track::-webkit-scrollbar { display: none; }
.reel { flex: none; width: clamp(220px, 22vw, 290px); aspect-ratio: 9/16; margin: 0; border-radius: 26px; overflow: hidden; position: relative; scroll-snap-align: center;
  background: var(--ink-3); border: 2px solid rgba(251,246,238,.12); transition: transform .6s var(--bounce), border-color .4s; }
.reel:nth-child(even) { transform: translateY(40px); }
.reel:hover { border-color: var(--tomato); transform: translateY(-6px) rotate(-1deg); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .86rem; color: rgba(251,246,238,.8); }
.reel figcaption b { display: block; font-family: var(--f-script); font-weight: 400; font-size: 1.7rem; color: var(--paper); line-height: 1.1; }
.reel-end { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 30px; background: var(--tomato); border-color: transparent; }
.reel-end svg { width: 90px; height: 90px; color: #fff; stroke-width: 3; }
.reel-end p { margin: 0; font-family: var(--f-serif); font-size: 1.15rem; }
.reel-end .btn { --bg: var(--paper); --fg: var(--ink); }

/* =========================================================
   7. LE MUR — polaroïds déplaçables sur le mur végétal
   ========================================================= */
.mur { position: relative; min-height: 900px; overflow: hidden; color: var(--paper); padding: clamp(80px, 10vw, 120px) 0 60px; background: #17231a; }
.mur-bg { position: absolute; inset: -40px; background: url(../img/burger-main.jpg) center 20% / cover; filter: blur(14px) saturate(1.1) brightness(.6); transform: scale(1.1); animation: murDrift 30s ease-in-out infinite alternate; }
@keyframes murDrift { to { transform: scale(1.25) translate(-2%, 2%); } }
.mur-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,.85), rgba(20,16,13,.25) 30%, rgba(20,16,13,.3) 70%, rgba(20,16,13,.85)); }
.mur-head { position: relative; z-index: 2; }
.mur-hint { font-family: var(--f-chalk); font-size: 1.4rem; margin: -6px 0 0; color: rgba(251,246,238,.75); }
.board-polaroids { position: relative; z-index: 2; height: 700px; max-width: 1300px; margin: 20px auto 0; }
.pola { position: absolute; left: var(--x); top: var(--y); width: clamp(150px, 15vw, 210px); margin: 0; background: #fffdf8; padding: 10px 10px 38px; border-radius: 3px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); rotate: var(--r); cursor: grab; touch-action: none; user-select: none;
  transition: box-shadow .3s, scale .3s var(--bounce); opacity: 0; translate: 0 -60px; }
.mur.is-in .pola { opacity: 1; translate: 0 0; transition: opacity .6s var(--ease) calc(var(--n) * 90ms), translate .8s var(--bounce) calc(var(--n) * 90ms), box-shadow .3s, scale .3s var(--bounce); }
.pola::before { content: ""; position: absolute; top: -10px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff7b73, var(--tomato) 60%, #7d0f12); box-shadow: 0 4px 6px rgba(0,0,0,.4); }
.pola:nth-child(3n)::before { background: radial-gradient(circle at 35% 35%, #7fe0a0, var(--basil) 60%, #0b4020); }
.pola:nth-child(4n)::before { background: radial-gradient(circle at 35% 35%, #fff, #e8e1d4 60%, #9a8f80); }
.pola:hover { scale: 1.04; box-shadow: 0 30px 50px -18px rgba(0,0,0,.9); }
.pola.dragging { cursor: grabbing; scale: 1.08; box-shadow: 0 40px 60px -20px rgba(0,0,0,.9); transition: none !important; }
.pola img { aspect-ratio: 1; object-fit: cover; pointer-events: none; border-radius: 2px; }
.pola figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: var(--ink); font-family: var(--f-chalk); font-size: 1.3rem; line-height: 1; }

/* =========================================================
   8. AVIS — tampons
   ========================================================= */
.avis { background: var(--cream); padding: clamp(90px, 11vw, 140px) 0; position: relative; }
.avis .kicker, .avis .h2 { justify-content: center; text-align: center; }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 40px auto 50px; }
.score { text-align: center; padding: 26px 16px; border-radius: 22px; background: var(--paper); }
.score b { font-family: var(--f-serif); font-size: 3.2rem; line-height: 1; display: block; }
.score b small { font-size: 1.2rem; color: var(--muted); }
.score p { margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.stars { --pct: calc(var(--v) / 5 * 100%); display: inline-block; font-size: 1.3rem; letter-spacing: 3px; position: relative; margin-top: 6px; }
.stars::before { content: "★★★★★"; background: linear-gradient(90deg, var(--gold) var(--fill, 0%), #d8cdbb var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: --fill 1.6s var(--ease); }
.score.is-in .stars::before { --fill: var(--pct); }
@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.bubble { display: inline-block; font-family: var(--f-serif); font-size: 2rem; line-height: 1; color: var(--tomato); height: 1.3rem; }
.heart { color: var(--tomato); font-size: 1.6rem; display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; margin: 0 auto 40px; }
.quote { position: relative; margin: 0; background: var(--paper); border-radius: 22px; padding: 34px 34px 28px; box-shadow: 0 30px 60px -40px rgba(20,16,13,.5); }
.quote::before { content: "“"; position: absolute; top: -30px; left: 22px; font-family: var(--f-serif); font-size: 7rem; line-height: 1; color: var(--tomato); }
.qstars { color: var(--gold); letter-spacing: 3px; }
.quote p { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.55; margin: 10px 0 18px; }
.quote footer { font-weight: 700; } .quote footer span { font-weight: 400; color: var(--muted); }
.stamp { position: absolute; right: -14px; top: -24px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-style: normal; font-family: var(--f-sans); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
  color: var(--tomato); border: 3px double var(--tomato); background: rgba(251,246,238,.9); rotate: 14deg; opacity: 0; scale: 2.4; }
.stamp.green { color: var(--basil); border-color: var(--basil); rotate: -12deg; }
.quote.is-in .stamp { animation: stamp .5s cubic-bezier(.5, 0, .75, 0) .5s forwards; }
@keyframes stamp { to { opacity: .92; scale: 1; } }
.stamp-in { opacity: 0; transform: translateY(40px) rotate(-2deg); transition: opacity .8s var(--ease), transform .9s var(--bounce); }
.stamp-in.is-in { opacity: 1; transform: none; }
.stamp-in:nth-child(2) { transition-delay: .15s; }

/* =========================================================
   9. INFOS — horaires vivants + viaduc
   ========================================================= */
.infos { background: var(--paper); padding: clamp(90px, 11vw, 140px) 0 0; position: relative; overflow: hidden; }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .9rem; margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.hours th, .hours td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours th { font-weight: 700; text-transform: capitalize; width: 34%; }
.hours td { font-variant-numeric: tabular-nums; color: #4b4037; }
.hours tr.today { background: linear-gradient(90deg, rgba(215,38,43,.1), transparent); }
.hours tr.today th { color: var(--tomato); }
.hours tr.today th::after { content: "aujourd'hui"; font-family: var(--f-chalk); font-size: 1.1rem; font-weight: 500; text-transform: none; margin-left: 8px; }
.hours .closed { color: var(--muted); font-style: italic; }
.hours-note { font-size: .82rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list svg { width: 22px; height: 22px; color: var(--tomato); flex: none; }
.contact-list a { text-decoration: none; border-bottom: 2px solid var(--tomato); }
.services { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.services li { font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; border: 1.5px solid var(--line); }
.map-card { position: relative; }
.map { position: relative; height: 100%; min-height: 460px; border-radius: 28px; overflow: hidden; background: var(--ink); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.05); }
.map-go { position: absolute; left: 20px; bottom: 20px; }
.viaduct-wrap { margin-top: 60px; color: var(--ink); position: relative; }
#viaduct { width: 100%; height: auto; }
#viaduct path, #viaduct line { fill: none; stroke: currentColor; stroke-linecap: round; }
.viaduct-cap { position: absolute; right: var(--gutter); bottom: 22px; font-family: var(--f-chalk); font-size: 1.4rem; color: var(--muted); margin: 0; }

/* =========================================================
   10. CTA — dés
   ========================================================= */
.cta { background: var(--tomato); color: #fff; padding: clamp(90px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.cta-pattern { position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#fff 3px, transparent 3.5px), radial-gradient(#fff 3px, transparent 3.5px); background-size: 60px 60px; background-position: 0 0, 30px 30px; animation: slide 20s linear infinite; }
@keyframes slide { to { background-position: 60px 60px, 90px 90px; } }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; }
.cta-title { font-family: var(--f-serif); font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; margin: 0 0 22px; letter-spacing: -.02em; }
.cta-title .script { display: block; font-weight: 400; font-size: .85em; color: var(--paper); letter-spacing: 0; }
.cta-copy > p:not(.kicker) { font-size: 1.1rem; max-width: 30em; opacity: .92; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta .kicker.light { color: var(--paper); }
.cta .kicker::before { background: var(--paper); }
.dice-play { background: rgba(20,16,13,.9); border-radius: 30px; padding: 34px; text-align: center; box-shadow: 0 50px 80px -40px rgba(0,0,0,.7); }
.dice-row { display: flex; justify-content: center; align-items: center; gap: 40px; height: 170px; perspective: 800px; margin: 10px 0 26px; }
.die3d .cube { --s: 96px; transform: rotateX(-24deg) rotateY(32deg); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.die3d.small .cube { --s: 62px; }
.die3d.rolling { animation: hop 1.4s var(--ease); }
@keyframes hop { 20% { transform: translateY(-70px); } 45% { transform: translateY(0); } 60% { transform: translateY(-22px); } 75% { transform: translateY(0); } }
.suggestion { margin-top: 24px; min-height: 124px; color: var(--paper); }
.s-label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0; font-weight: 700; }
.s-name { font-family: var(--f-script); font-size: 2.3rem; margin: 6px 0 4px; line-height: 1.05; }
.s-desc { margin: 0; color: rgba(251,246,238,.7); font-size: .92rem; }
.suggestion.pop .s-name { animation: fadeUp .6s var(--bounce); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(251,246,238,.75); padding: 80px 0 110px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--basil) 0 33.3%, var(--paper) 33.3% 66.6%, var(--tomato) 66.6%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.f-logos { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 16px; }
.f-logos img { height: 80px; width: auto; }
.f-brand p { max-width: 24em; font-size: .92rem; }
.f-title { font-family: var(--f-script); font-size: 1.5rem; color: var(--paper); margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--paper); }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-l); display: grid; place-items: center; transition: all .35s var(--bounce); }
.socials a:hover { background: var(--tomato); border-color: var(--tomato); transform: rotate(-10deg) scale(1.08); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom nav a { border-bottom: 1px solid rgba(251,246,238,.35); }


/* =========================================================
   CTA GLOBAL : overlay plein écran + bouton flottant
   ========================================================= */
html.ov-lock, html.ov-lock body { overflow: hidden; }
.cta-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 70px var(--gutter) 60px; overflow-y: auto;
  background: radial-gradient(circle at 50% 38%, rgba(215,38,43,.38), transparent 55%), radial-gradient(circle at 12% 90%, rgba(30,140,69,.25), transparent 40%), rgba(20,16,13,.97);
  color: var(--paper); clip-path: circle(0 at calc(100% - 70px) calc(100% - 50px)); transition: clip-path .75s cubic-bezier(.7,0,.2,1); }
.cta-overlay[hidden] { display: none; }
.cta-overlay.is-open { clip-path: circle(150% at calc(100% - 70px) calc(100% - 50px)); }
.ov-bg { position: absolute; inset: 0; overflow: hidden; }
.ov-die { position: absolute; width: 70px; height: 70px; border-radius: 18px; background: var(--paper); display: grid; grid-template: repeat(3,1fr)/repeat(3,1fr); padding: 12px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); opacity: .9; }
.ov-die i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); place-self: center; }
.ov-die.d1 { left: 8%; top: 14%; rotate: -18deg; animation: float 6s ease-in-out infinite; }
.ov-die.d1 i:nth-child(1) { grid-area: 1/1; } .ov-die.d1 i:nth-child(2) { grid-area: 2/2; background: var(--tomato); } .ov-die.d1 i:nth-child(3) { grid-area: 3/3; }
.ov-die.d2 { right: 10%; top: 18%; width: 48px; height: 48px; padding: 8px; border-radius: 12px; background: var(--tomato); rotate: 22deg; animation: float 7s ease-in-out -2s infinite; }
.ov-die.d2 i { width: 7px; height: 7px; background: var(--paper); } .ov-die.d2 i:nth-child(1) { grid-area: 1/1; } .ov-die.d2 i:nth-child(2) { grid-area: 3/3; }
.ov-die.d3 { right: 14%; bottom: 12%; width: 56px; height: 56px; padding: 10px; border-radius: 14px; rotate: -8deg; animation: float 8s ease-in-out -4s infinite; }
.ov-die.d3 i { width: 8px; height: 8px; } .ov-die.d3 i:nth-child(1) { grid-area: 1/1; } .ov-die.d3 i:nth-child(2) { grid-area: 1/3; } .ov-die.d3 i:nth-child(3) { grid-area: 3/1; } .ov-die.d3 i:nth-child(4) { grid-area: 3/3; }
.ov-ring { position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1.5px solid rgba(251,246,238,.12); animation: ovRing 4s ease-out infinite; }
.ov-ring.r2 { animation-delay: 2s; }
@keyframes ovRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.ov-close { position: fixed; top: 20px; right: 20px; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-l); background: rgba(251,246,238,.06); z-index: 2; transition: transform .4s var(--bounce), background .3s; }
.ov-close span { position: absolute; left: 16px; right: 16px; top: 26px; height: 2px; background: var(--paper); border-radius: 2px; rotate: 45deg; }
.ov-close span + span { rotate: -45deg; }
.ov-close:hover { transform: rotate(90deg); background: var(--tomato); border-color: var(--tomato); }
.ov-inner { position: relative; z-index: 1; text-align: center; max-width: 1000px; width: 100%; }
.ov-inner > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.cta-overlay.is-open .ov-inner > * { opacity: 1; transform: none; }
.cta-overlay.is-open .ov-inner > :nth-child(1) { transition-delay: .25s; } .cta-overlay.is-open .ov-inner > :nth-child(2) { transition-delay: .32s; }
.cta-overlay.is-open .ov-inner > :nth-child(3) { transition-delay: .38s; } .cta-overlay.is-open .ov-inner > :nth-child(4) { transition-delay: .42s; }
.cta-overlay.is-open .ov-inner > :nth-child(5) { transition-delay: .55s; } .cta-overlay.is-open .ov-inner > :nth-child(6) { transition-delay: .6s; }
.cta-overlay.is-open .ov-inner > :nth-child(7) { transition-delay: .66s; } .cta-overlay.is-open .ov-inner > :nth-child(8) { transition-delay: .72s; }
.cta-overlay.is-open .ov-inner > :nth-child(9) { transition-delay: .78s; }
.ov-kicker { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ov-kicker span { width: 36px; height: 2px; background: linear-gradient(90deg, var(--basil) 50%, var(--tomato) 50%); }
.ov-title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0; line-height: 1.1; }
.ov-script { font-family: var(--f-script); font-weight: 400; font-size: 1.5em; color: var(--paper); margin-right: .15em; }
.ov-status { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 4px; font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 99px; background: rgba(251,246,238,.08); border: 1px solid var(--line-l); }
.ov-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.ov-status[data-open="1"] i { background: #3bd16f; animation: pulse 2s infinite; }
.ov-status[data-open="0"] i { background: var(--tomato); }
.ov-phone { display: inline-flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); text-decoration: none; margin: 10px 0 0; padding: 8px 18px; border-radius: 24px; transition: transform .4s var(--bounce); }
.ov-phone:hover { transform: scale(1.03); }
.ov-phone:focus-visible { outline-offset: 6px; }
.ov-phone-ic { flex: none; width: clamp(56px, 8vw, 96px); height: clamp(56px, 8vw, 96px); border-radius: 50%; background: var(--tomato); display: grid; place-items: center; animation: ring 1.8s infinite; }
.ov-phone-ic svg { width: 50%; height: 50%; color: #fff; animation: shake 1.8s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(215,38,43,.6); } 80%, 100% { box-shadow: 0 0 0 26px rgba(215,38,43,0); } }
@keyframes shake { 0%, 50%, 100% { rotate: 0deg; } 10%, 30% { rotate: -14deg; } 20%, 40% { rotate: 14deg; } }
.ov-num { font-family: var(--f-serif); font-weight: 800; font-size: clamp(2.5rem, 10vw, 8.2rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; display: inline-flex; gap: .2em; font-variant-numeric: tabular-nums; }
.ov-num b { display: inline-block; font-weight: inherit; transform: translateY(60%); opacity: 0; transition: transform .8s var(--bounce), opacity .5s; transition-delay: calc(.45s + var(--i) * .07s); }
.ov-num b:nth-child(odd) { color: var(--paper); }
.ov-num b:nth-child(even) { color: #ffcdb8; }
.cta-overlay.is-open .ov-num b { transform: none; opacity: 1; }
.ov-hint { color: rgba(251,246,238,.7); margin: 14px auto 0; max-width: 32em; }
.ov-or { display: flex; align-items: center; gap: 16px; max-width: 360px; margin: 24px auto 16px; color: rgba(251,246,238,.5); font-family: var(--f-script); font-size: 1.4rem; }
.ov-or::before, .ov-or::after { content: ""; flex: 1; height: 1px; background: var(--line-l); }
.ov-order { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; padding: 14px 30px; border-radius: 99px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.05rem;
  transition: transform .35s var(--bounce), box-shadow .35s; box-shadow: 0 16px 40px -18px rgba(0,0,0,.8); }
.ov-order svg { width: 24px; height: 24px; grid-row: 1 / 3; color: var(--tomato); }
.ov-order span, .ov-order small { text-align: left; }
.ov-order small { font-weight: 500; font-size: .72rem; color: var(--muted); }
.ov-order:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 50px -18px rgba(0,0,0,.9); }
.ov-perks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .86rem; color: rgba(251,246,238,.75); }
.ov-perks li { display: flex; align-items: center; gap: 8px; }
.ov-perks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--basil); }
.ov-perks li:nth-child(2)::before { background: var(--paper); }
.ov-perks li:nth-child(3)::before { background: var(--tomato); }
.ov-addr { font-family: var(--f-chalk); font-size: 1.4rem; color: rgba(251,246,238,.6); margin: 12px 0 0; }
.ov-swoosh { position: absolute; left: 50%; bottom: 18px; width: min(70%, 380px); translate: -50% 0; }
.ov-swoosh path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.2s var(--ease) .7s; }
.ov-swoosh .sw-r { transition-delay: 1s; }
.cta-overlay.is-open .ov-swoosh path { stroke-dashoffset: 0; }

.cta-fab { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 45; display: flex; border-radius: 99px;
  transform: translateY(160%); transition: transform .6s var(--bounce); }
.cta-fab.is-on { transform: none; }
.cta-fab button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 99px; padding: 13px 20px; font-weight: 700; font-size: .92rem; color: var(--paper); background: transparent; position: relative; transition: transform .3s var(--bounce); }
.cta-fab button:hover { transform: scale(1.04); }
.cta-fab .fab-order { padding: 16px 30px; font-size: 1rem; background: var(--tomato); box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); animation: ring 2.2s infinite; }
.legal-nav-cta { display: flex; gap: 10px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,16,13,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; gap: 14px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; max-width: min(92vw, 900px); border-radius: 8px; animation: lbIn .5s var(--bounce); }
@keyframes lbIn { from { transform: scale(.8) rotate(-4deg); opacity: 0; } }
.lightbox p { color: var(--paper); font-family: var(--f-chalk); font-size: 1.6rem; margin: 0; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-l); background: none; color: var(--paper); font-size: 1.8rem; line-height: 1; }

/* =========================================================
   Pages légales
   ========================================================= */
.legal-page { background: var(--paper); }
.legal-hero { background: var(--ink); color: var(--paper); padding: 150px 0 70px; }
.legal-hero .h2 { color: var(--paper); }
.legal-hero p { color: rgba(251,246,238,.7); margin: 0; }
.legal { max-width: 820px; padding-block: 60px 100px; }
.legal h2 { font-family: var(--f-serif); font-size: 1.5rem; margin: 40px 0 10px; }
.legal h2::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 12px; background: linear-gradient(90deg, var(--basil) 50%, var(--tomato) 50%); }
.legal p, .legal li { color: #3b322b; }
.legal .todo { background: #fff3c4; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 700; } .legal dd { margin: 0; }
.back-link { display: inline-flex; gap: 8px; margin-top: 30px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .status-pill { display: none; }
}
@media (max-width: 1100px) {
  .pizza-layout { grid-template-columns: 300px 1fr; gap: 26px; }
  .pz-grid { grid-template-columns: 1fr; }
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path .7s var(--ease); z-index: -1; }
  .nav-links a { font-family: var(--f-serif); font-size: 2rem; opacity: 1; }
  .nav.menu-open .nav-links { clip-path: circle(150% at calc(100% - 40px) 36px); }
  .burger-btn { display: block; }
  .status-pill { display: none; }
  .nav-cta .btn { display: none; }
  .nav-cta > .nav-social { display: none; }
  .nav-social-menu { display: flex; gap: 14px; margin-top: 10px; }
  .nav-social-menu a { width: 52px; height: 52px; }
  .nav-social-menu svg { width: 22px; height: 22px; }
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { width: min(76%, 360px); margin-top: 20px; }
  .seal { width: 110px; height: 110px; left: -40px; }
  .seal-die { inset: 30px; padding: 8px; border-radius: 12px; } .seal-die i { width: 7px; height: 7px; }
  .hero-card { right: -30px; width: 120px; }
  .maison-grid, .midi-grid, .infos-grid, .cta-grid, .burger-layout, .tapas-layout, .douceurs-layout { grid-template-columns: 1fr; }
  .maison-collage { height: 480px; }
  .pizza-layout { grid-template-columns: 1fr; }
  .atelier { position: sticky; top: calc(var(--tabs-top, 72px) + 66px); z-index: 5; }
  .atelier-card { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto auto; gap: 2px 16px; text-align: left; padding: 14px 16px; border-radius: 20px; align-items: center; }
  .atelier-label, .atelier-ing, .atelier-note { display: none; }
  .pizza-stage { grid-row: 1 / 4; margin: 0; width: 110px; }
  .size-tag { font-size: .62rem; padding: 3px 7px; }
  .atelier-name { font-size: 1.05rem; margin: 0; }
  .atelier-price { font-size: 1.5rem; margin: 0; }
  .size-switch button { padding: 6px 0; } .size-switch button b { font-size: .95rem; }
  .burger-stage { position: relative; top: 0; min-height: 380px; }
  .quotes { grid-template-columns: 1fr; gap: 44px; }
  .cta-fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .ov-die.d1 { left: 4%; top: 5%; width: 50px; height: 50px; padding: 8px; } .ov-die.d1 i { width: 7px; height: 7px; }
  .ov-die.d3 { display: none; }
  .ov-die.d2 { right: auto; left: 6%; top: auto; bottom: 9%; }
  .ov-close { top: 12px; right: 12px; }
  .ov-phone { flex-direction: column; }
  .ov-ring { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .map { min-height: 380px; }
  .board-polaroids { height: auto; display: flex; gap: 18px; overflow-x: auto; padding: 30px var(--gutter) 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .board-polaroids::-webkit-scrollbar { display: none; }
  .pola { position: relative; left: auto; top: auto; flex: none; width: 200px; scroll-snap-align: center; touch-action: auto; }
  .mur { min-height: 0; }
  .mur-hint { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero-title .script { font-size: clamp(4.4rem, 26vw, 7rem); }
  .hero-ctas .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .maison-collage { height: 400px; }
  .hand-note { font-size: 1.3rem; }
  .pillars { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: 0; padding-block: 8px; }
  .tabs::before { inset: 0; border-radius: 0; }
  .tabs.is-stuck { background: rgba(243, 234, 219, .94); box-shadow: 0 14px 30px -18px rgba(20,16,13,.45); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 10px 16px; font-size: .84rem; }
  .flip-grid { gap: 12px; }
  .flip-front em { font-size: 1.9rem; }
  .flip-back { font-size: .76rem; padding: 14px; gap: 6px; }
  .flip-back strong { font-size: 1.6rem; }
  .scores { grid-template-columns: 1fr; }
  .plateau { grid-template-columns: 100px 1fr; }
  .plateau img { width: 100px; height: 100px; }
  .stepper { grid-template-columns: 1fr auto auto auto; }
  .stepper small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .dice-play { padding: 24px 18px; }
  .stamp { right: 6px; width: 86px; height: 86px; font-size: .62rem; }
  .chalk.price { position: static; margin-top: 16px; text-align: right; }
  .chalk-circle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero-title .script { clip-path: none; }
  .reveal, .stamp-in { opacity: 1; transform: none; }
}
