/* =========================================================
   SMASH 4 YOU — système visuel « ardoise & post-it »
   Tiré du resto lui-même : l'enseigne ronde ardoise au « 4 »
   turquoise, le tableau noir du menu (pinceau + condensé),
   les murs vert sauge couverts de post-it, le papier damier.
   6 couleurs de marque + 4 post-it (décor uniquement).
   ========================================================= */

:root {
  /* Marque */
  --ardoise: #1e2124;   /* façade / enseigne → fond du site */
  --charbon: #2c3135;   /* rond de l'enseigne → cartes, surfaces */
  --menthe: #4fc4bf;    /* le « 4 » + néon du plafond → action */
  --sauge: #a9bcae;     /* murs de la salle → texte secondaire, section « Le mur » */
  --craie: #f4f1e8;     /* craie du tableau → texte */
  --noir: #0f1112;      /* nav, profondeur */

  /* Post-it (décor) */
  --pi-jaune: #f6e35a;  /* aussi le « T'as faim ? » du tableau */
  --pi-rose: #ff9fc4;
  --pi-vert: #bfe67f;
  --pi-orange: #ffb45e;

  /* Couleurs dynamiques (animées au scroll sur « Le mur ») */
  --bg: var(--ardoise);
  --fg: var(--craie);
  --fg-soft: var(--sauge);

  /* Typo */
  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-brush: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;  /* écriture au stylo sur les post-it */
  --encre: #1d2a52;     /* encre bleu nuit des post-it */
  --font-ui: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-body-sm: 14px;
  --text-body: 18px;
  --text-heading-lg: clamp(92px, 14vw, 210px);
  --text-brush: clamp(30px, 4.6vw, 68px);

  --s-24: 24px; --s-40: 40px; --s-64: 64px; --s-80: 80px; --s-100: 100px; --s-140: 140px;

  /* Formes : tout est rond, comme l'enseigne */
  --r-card: 20px;
  --r-pill: 999px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Papier déchiré (bords haut et bas) */
  --tear-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V4l7 3 6-5 7 4 7-5 8 4 6-2 7 5 8-6 7 4 7-3 7 4 7-6 8 4 7-2 7 5 7-6 7 3v5z'/%3E%3C/svg%3E");
  --tear-bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0v6l6-3 8 5 6-4 8 5 7-4 6 3 8-5 7 4 7-2 7 5 8-5 6 3 8-4 7 5 6-3 8 4 7-5v-5z'/%3E%3C/svg%3E");
  /* Grain de tableau noir */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Grain craie sur tout le site (au-dessus de tout, sans capter les clics) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 500; pointer-events: none;
  background: var(--grain); opacity: .06; mix-blend-mode: soft-light;
}
html, main, .footer { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--menthe); color: var(--noir); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.badge-arc { font: 700 11px var(--font-ui); letter-spacing: .32em; }
.badge-smash { font: 400 50px var(--font-script); }
.badge-four { font: 400 58px var(--font-display); }
.badge-you { font: 400 38px var(--font-script); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 600;
  background: var(--menthe); color: var(--noir); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--menthe); outline-offset: 3px; border-radius: 8px; }

/* ---------- Typo : le « lockup » du tableau (pinceau sur condensé) ---------- */
.lockup { display: grid; justify-items: center; text-align: center; font-weight: 400; }
.lk-brush {
  position: relative; z-index: 2;
  font: 400 var(--text-brush)/1 var(--font-brush);
  color: var(--fg); transform: rotate(-5deg);
  margin-bottom: -.42em; padding: .12em .3em .1em;
}
.lk-big {
  display: block; overflow: hidden; padding: .06em .02em 0;
  font: 400 var(--text-heading-lg)/.86 var(--font-display);
  letter-spacing: .01em; text-transform: uppercase; color: var(--fg);
}

/* ---------- Titre de l'accueil : la typo du logo (script + « 4 » turquoise) ---------- */
.wordmark-hero { display: grid; justify-items: center; font-weight: 400; color: var(--craie); line-height: 1; }
.wh-smash {
  font: 400 clamp(104px, 15vw, 230px)/1 var(--font-script);
  padding: .04em .28em .16em .2em; margin-bottom: -.42em;
}
.wh-row { display: flex; align-items: baseline; padding-left: .1em; }
.wh-four {
  display: inline-block;
  font: 400 clamp(118px, 17vw, 262px)/.86 var(--font-display); color: var(--menthe);
  margin-right: .02em;
}
.wh-you { font: 400 clamp(82px, 11.5vw, 176px)/1 var(--font-script); padding: .04em .26em .2em .04em; }

.word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform; }

/* Surtitre = morceau de scotch posé de travers */
.tape {
  display: inline-block; justify-self: center;
  background: var(--craie); color: var(--ardoise);
  font: 700 13px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px 8px; transform: rotate(-2deg);
  clip-path: polygon(0 10%, 4% 0, 30% 6%, 62% 0, 96% 5%, 100% 0, 98% 52%, 100% 94%, 95% 100%, 60% 94%, 28% 100%, 3% 95%, 0 100%, 1.5% 50%);
}

.lead { font-size: var(--text-body); color: var(--fg-soft); max-width: 46ch; }
.lead--center { text-align: center; margin-top: 18px; }
.small { font-size: var(--text-body-sm); color: var(--fg-soft); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { color: var(--menthe); }

/* ---------- Boutons (ronds comme l'enseigne) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: 700 14px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 15px; }
.btn-fill { background: var(--menthe); color: var(--noir); }
.btn-fill:hover { background: var(--craie); }
.btn-ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-dark { background: var(--ardoise); color: var(--craie); }
.btn-dark:hover { background: var(--menthe); color: var(--noir); }
.caret { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .caret { transform: translateX(4px); }
.mag { will-change: transform; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta-row--left { justify-content: flex-start; }

/* ---------- Ouverture : la boule, la presse, le badge ---------- */
.loader { display: none; }
html.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; overflow: hidden;
  background: var(--ardoise); color: var(--craie); cursor: pointer;
  animation: loader-failsafe 0s 10s forwards; /* filet de sécurité si le JS plante */
}
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.tiles { position: absolute; inset: 0; display: grid; }
.tile { background: var(--ardoise); will-change: transform; }
.tile.is-alt { background: #24282b; }
.loader-stage {
  --size: clamp(200px, 38vmin, 300px);
  position: relative; z-index: 2; width: var(--size); height: var(--size);
  display: grid; place-items: center;
}
.loader-stage > * { grid-area: 1 / 1; }
.ball {
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 220, 190, .35) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 40%, #9b4e33 0 6%, transparent 7%),
    radial-gradient(circle at 40% 66%, #a85a3c 0 5%, transparent 6%),
    radial-gradient(circle at 70% 70%, #7c3a25 0 7%, transparent 8%),
    radial-gradient(circle at 35% 35%, #c26d4c, #8a3f28 70%);
  box-shadow: inset -10px -12px 0 rgba(0, 0, 0, .18);
  will-change: transform;
}
.press {
  position: absolute; left: 50%; bottom: 72%; width: 92%; translate: -50% 0;
  display: grid; justify-items: center; will-change: transform;
}
.press-handle { width: 16%; height: calc(var(--size) * .34); background: var(--menthe); border-radius: 14px 14px 4px 4px; }
.press-plate {
  width: 100%; height: calc(var(--size) * .085); border-radius: 8px;
  background: linear-gradient(#e9eeee, #a4b0b0 70%, #7f8b8b);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .25);
}
.loader-badge { width: 100%; will-change: transform; }
.loader-badge svg { display: block; width: 100%; height: auto; }
.splats { position: relative; width: 0; height: 0; }
.splats i { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--menthe); opacity: 0; }
.splats i:nth-child(3n) { background: var(--pi-jaune); width: 10px; height: 10px; margin: -5px; }
.splats i:nth-child(4n) { background: var(--craie); width: 8px; height: 8px; margin: -4px; }
.loader-bam {
  position: absolute; z-index: 3; right: -34%; top: -6%;
  font: 400 clamp(34px, 7vmin, 64px)/1 var(--font-brush); color: var(--pi-jaune);
  transform: rotate(-12deg); white-space: nowrap; pointer-events: none;
}
.loader-meta {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 12px var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--sauge);
}
.loader-bar { display: block; width: 110px; height: 3px; background: rgba(244, 241, 232, .14); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--menthe); transform-origin: left; transform: scaleX(0); }
.loader-pct { min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--craie); }
.loader-skip {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; text-align: center;
  font: 700 11px var(--font-ui); letter-spacing: .16em; text-transform: uppercase; opacity: .5;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 12px; left: 12px; right: 12px;
  max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  min-height: 62px; padding: 7px 7px 7px 9px;
  background: var(--noir); color: var(--craie);
  border-radius: var(--r-pill);
  transition: transform .5s var(--ease-out);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-badge { width: 48px; height: 48px; flex: none; }
.wordmark { display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; }
.wm-smash, .wm-you { font: 400 25px/1 var(--font-script); }
.wm-four { font: 400 30px/1 var(--font-display); color: var(--menthe); margin: 0 1px 0 6px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.nav-links a:hover { background: var(--charbon); }
.nav-links a.is-active { background: var(--craie); color: var(--noir); }
.nav-ctas { display: flex; gap: 6px; }
.nav .btn-ghost { color: var(--craie); }
.nav .btn-ghost:hover { background: var(--craie); color: var(--noir); }

.menu-btn {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--menthe); cursor: pointer; padding: 0; position: relative;
}
.menu-btn span:not(.sr) {
  position: absolute; left: 14px; right: 14px; height: 2.5px; background: var(--noir); border-radius: 2px;
  transition: transform .35s var(--ease-out);
}
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--menthe); color: var(--noir);
  display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 100px 24px 120px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a {
  font-family: var(--font-display); text-transform: uppercase; text-decoration: none;
  font-size: clamp(64px, 19vw, 112px); line-height: .92;
}
.mobile-menu-info { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 100px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 3; display: grid; justify-items: center; gap: 22px; text-align: center; }
.hero-sub { max-width: 42ch; color: var(--sauge); font-size: clamp(16px, 1.6vw, 20px); }
/* Plats détourés, cuits sur la couleur du fond : le rectangle est invisible */
.float { position: absolute; z-index: 1; will-change: transform; aspect-ratio: 5/4; }
.float img {
  width: 100%; height: 100%; object-fit: contain;
  /* masque-image posé en style sur chaque <img> (URL relative à la page) ; même canevas que la photo */
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
}
.float--a { width: clamp(160px, 21vw, 340px); left: 1%; top: 12%; }
.float--b { width: clamp(170px, 23vw, 370px); right: 1%; top: 10%; }
.float--c { width: clamp(180px, 25vw, 400px); left: 0; bottom: 4%; }
.float--d { width: clamp(170px, 24vw, 380px); right: 2%; bottom: 3%; }
/* Les 4 canettes, réparties autour du titre (l'inclinaison est sur l'image : GSAP pilote la figure) */
.can { z-index: 2; aspect-ratio: 8/15; width: clamp(70px, 6.6vw, 118px); }
.can img { transform: rotate(var(--tilt, 0deg)); }
.can--o { left: 7%; top: 43%; --tilt: -10deg; }
.can--s { right: 7%; top: 44%; --tilt: 9deg; }
.can--t { left: 25%; top: 11%; --tilt: 13deg; width: clamp(60px, 5.4vw, 96px); }
.can--p { right: 29%; bottom: 1%; --tilt: -12deg; width: clamp(60px, 5.6vw, 100px); }

.sticker { position: absolute; z-index: 4; width: 128px; aspect-ratio: 1; display: grid; place-items: center; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font: 700 15px var(--font-ui); letter-spacing: .16em; text-transform: uppercase; fill: var(--noir); }
.sticker--hero { right: 23%; top: 14%; background: var(--pi-jaune); border-radius: 50%; transform: rotate(-12deg); }
.sticker-core { font: 400 60px/1 var(--font-display); color: var(--ardoise); padding-top: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sauge);
}
.scroll-hint-bar {
  width: 8px; height: 44px;
  background: conic-gradient(var(--craie) 25%, transparent 0 50%, var(--craie) 0 75%, transparent 0) 0 0 / 8px 8px;
  -webkit-mask: linear-gradient(transparent, #000 30% 70%, transparent); mask: linear-gradient(transparent, #000 30% 70%, transparent);
  animation: checker-fall 1.2s linear infinite;
}
@keyframes checker-fall { to { background-position: 0 16px; } }

/* ---------- Papier déchiré ---------- */
.torn {
  --tear: 10px;
  -webkit-mask:
    var(--tear-top) top left / 120px var(--tear) repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--tear) - 1px) / 100% calc(100% - 2 * var(--tear) + 2px) no-repeat,
    var(--tear-bot) bottom left / 120px var(--tear) repeat-x;
          mask:
    var(--tear-top) top left / 120px var(--tear) repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--tear) - 1px) / 100% calc(100% - 2 * var(--tear) + 2px) no-repeat,
    var(--tear-bot) bottom left / 120px var(--tear) repeat-x;
}
.torn--lg { --tear: 18px; -webkit-mask-size: 260px var(--tear), 100% calc(100% - 2 * var(--tear) + 2px), 260px var(--tear); mask-size: 260px var(--tear), 100% calc(100% - 2 * var(--tear) + 2px), 260px var(--tear); }

/* ---------- Rubans croisés ---------- */
.ribbons { position: relative; z-index: 5; height: clamp(150px, 16vw, 210px); margin: -40px 0 0; }
.ribbon {
  position: absolute; left: -4%; right: -4%; top: 50%;
  overflow: hidden; padding: 20px 0;
}
.ribbon--a { background: var(--craie); color: var(--ardoise); transform: translateY(-62%) rotate(-3deg); z-index: 2; }
.ribbon--b { background: var(--menthe); color: var(--noir); transform: translateY(-30%) rotate(2.4deg); }
.ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; will-change: transform; }
.ribbon span { font: 400 clamp(34px, 4.6vw, 60px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; padding-top: 4px; }
.ribbon--b span { font: 400 clamp(24px, 3vw, 40px)/1 var(--font-brush); text-transform: none; }
.ribbon i { font-style: normal; font-size: 24px; }
html:not(.has-gsap) .ribbon-track { animation: marquee 24s linear infinite; }
html:not(.has-gsap) .ribbon--b .ribbon-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Le smash (épinglé) ---------- */
.smash { position: relative; }
.smash-pin {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". visual" "words visual" "steps visual" ". visual";
  column-gap: 32px;
  padding: 120px max(var(--gutter), calc((100vw - var(--max)) / 2)) 48px;
}
.smash-head {
  position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); z-index: 4;
  display: flex; justify-content: space-between; align-items: center; max-width: var(--max); margin-inline: auto;
}
.smash-head .tape { justify-self: start; }
.smash-count { font: 700 14px var(--font-ui); letter-spacing: .14em; color: var(--sauge); }
.smash-count-now { color: var(--menthe); }
.smash-words { grid-area: words; position: relative; z-index: 2; display: grid; justify-items: start; pointer-events: none; }
.smash-word {
  grid-area: 1 / 1; font: 400 clamp(96px, 12.5vw, 196px)/.88 var(--font-display); text-transform: uppercase;
  color: var(--craie); overflow: hidden; padding-top: .08em;
}
.smash-word:nth-child(2) { color: var(--menthe); }
html.has-gsap .smash-word:not(:first-child) { visibility: hidden; }
.smash-visual {
  grid-area: visual; align-self: center; justify-self: center; position: relative; z-index: 1;
  width: min(100%, 92svh); aspect-ratio: 6/5;
  will-change: transform;
}
.smash-visual img { width: 100%; height: 100%; object-fit: contain; }
/* Annotations à la craie */
.chalk { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.chalk path { fill: none; stroke: var(--craie); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.chalk .note-ring { stroke: var(--menthe); stroke-width: 7; }
.chalk text { font: 400 54px var(--font-brush); fill: var(--craie); }
html.has-gsap .chalk .note { opacity: 0; }
html.has-gsap .chalk path { stroke-dasharray: 1; stroke-dashoffset: 1; }

.smash-steps { grid-area: steps; position: relative; z-index: 3; margin-top: 22px; width: min(440px, 100%); display: grid; }
/* Chaque étape = un ticket de commande */
.smash-step {
  grid-area: 1 / 1; position: relative;
  background: var(--craie); color: var(--ardoise); border-radius: 4px 4px var(--r-card) var(--r-card);
  padding: 22px 22px 20px; font-size: 16px; line-height: 1.45;
  -webkit-mask: radial-gradient(circle 5px at 8px 0, transparent 98%, #000) -8px 0 / 16px 100% repeat-x;
          mask: radial-gradient(circle 5px at 8px 0, transparent 98%, #000) -8px 0 / 16px 100% repeat-x;
}
.smash-step strong { display: block; font: 400 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
html.has-gsap .smash-step:not(:first-child) { opacity: 0; visibility: hidden; }

/* Sans GSAP : on empile proprement */
html:not(.has-gsap) .smash-pin { height: auto; padding-top: 150px; padding-bottom: 80px; row-gap: 24px; }
html:not(.has-gsap) .smash-words { display: none; }
html:not(.has-gsap) .smash-steps { gap: 12px; }
html:not(.has-gsap) .smash-step { grid-area: auto; }

/* ---------- Section heads ---------- */
.section-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: var(--s-40); padding: 0 var(--gutter); }

/* ---------- La carte ---------- */
.carte { padding: var(--s-140) 0 var(--s-80); }
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 0 var(--gutter); margin-bottom: var(--s-40);
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(169, 188, 174, .4); background: transparent; color: var(--sauge);
  font: 700 15px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.tab:hover { border-color: var(--sauge); color: var(--craie); }
.tab[aria-selected="true"] { background: var(--craie); border-color: var(--craie); color: var(--noir); }
.tab-badge {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; background: var(--charbon); color: var(--craie); font-size: 12px; font-weight: 700;
}
.tab[aria-selected="true"] .tab-badge { background: var(--menthe); color: var(--noir); }

.carousel { position: relative; }
.carousel-track {
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 8px var(--pad) 26px;
  scrollbar-width: none; cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track.is-dragging * { pointer-events: none; }

.card {
  flex: 0 0 clamp(272px, 28vw, 350px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--charbon); border-radius: var(--r-card);
  overflow: hidden;
}
/* Les plateaux sont détourés sur la couleur exacte de la carte (#2c3135) */
.card-media { position: relative; aspect-ratio: 5/4; overflow: hidden; background: var(--charbon); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.08) rotate(2deg); }
/* Sans photo : le papier damier rose de l'emballage */
.card-media--paper {
  display: grid; place-items: center; padding: 20px;
  background: conic-gradient(#f3c9d4 25%, #fbf3f1 0 50%, #f3c9d4 0 75%, #fbf3f1 0) 0 0 / 44px 44px;
}
.paper-label {
  background: var(--craie); color: var(--ardoise); padding: 14px 18px 10px; transform: rotate(-3deg);
  font: 400 clamp(40px, 4.4vw, 58px)/.9 var(--font-display); text-transform: uppercase; text-align: center;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45);
  transition: transform .8s var(--ease-out);
}
.card:hover .paper-label { transform: rotate(2deg) scale(1.05); }
.price-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--craie); color: var(--ardoise);
  font: 400 28px/1 var(--font-display); letter-spacing: .02em;
  padding: 8px 12px 5px; transform: rotate(-4deg);
  clip-path: polygon(0 8%, 6% 0, 50% 5%, 94% 0, 100% 10%, 97% 50%, 100% 90%, 94% 100%, 50% 95%, 6% 100%, 0 92%, 3% 50%);
}
.card-flag {
  position: absolute; right: 14px; top: 14px;
  background: var(--pi-rose); color: var(--noir); font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--r-pill);
}
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card-title { font: 400 34px/.95 var(--font-display); letter-spacing: .01em; text-transform: uppercase; color: var(--craie); }
.card-desc { font-size: 15px; line-height: 1.45; color: var(--sauge); }
.card-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.card-menu span {
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px dashed rgba(169, 188, 174, .5); border-radius: var(--r-pill); padding: 6px 10px; color: var(--craie);
}
.card-menu span b { color: var(--menthe); }
.card-list { display: grid; gap: 2px; font-size: 15px; color: var(--sauge); }
.card-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(169, 188, 174, .3); padding: 5px 0; }
.card .btn { width: 100%; margin-top: 6px; font-size: 13px; }

.carousel-ui { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--sauge); background: transparent;
  color: var(--craie); font-size: 18px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.round-btn:hover { background: var(--menthe); color: var(--noir); border-color: var(--menthe); }
.round-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--craie); border-color: var(--sauge); }
.dots { display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(169, 188, 174, .35); transition: width .4s var(--ease-out), background-color .3s; }
.dot.is-on { width: 26px; background: var(--menthe); }
.carte-note { text-align: center; color: var(--sauge); font-size: 14px; margin: 24px auto 0; max-width: 62ch; padding: 0 var(--gutter); }

/* ---------- Sur place : le tableau du resto (papier déchiré) ---------- */
.board-wrap { padding: var(--s-64) var(--gutter) var(--s-140); }
.board {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--craie); color: var(--ardoise);
  padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 56px);
}
.board-media { position: relative; transform: rotate(-2deg); }
.board-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.tape--photo { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: var(--pi-jaune); color: var(--noir); }
.board-body { display: grid; gap: 18px; }
.board-kicker { font: 700 13px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: #5d7466; }
.board-title { font: 400 clamp(44px, 5.4vw, 76px)/.92 var(--font-display); text-transform: uppercase; }
.board-brush {
  display: block; width: max-content; margin-bottom: 8px;
  font: 400 clamp(30px, 3.6vw, 48px)/1.1 var(--font-brush); text-transform: none;
  background: var(--ardoise); color: var(--pi-jaune); padding: 4px 14px 2px; transform: rotate(-3deg);
}
.board-title sup { font-size: .5em; }
.board-list { display: grid; border-top: 2px solid var(--ardoise); }
.board-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed rgba(30, 33, 36, .35);
}
.board-list b { font: 400 25px/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.board-list span { grid-column: 1; font-size: 14.5px; color: #4b544f; }
.board-list em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 400 28px/1 var(--font-display); font-style: normal; }
.board-note { font-size: 14px; color: #4b544f; font-style: italic; }
.board .btn-ghost { color: var(--ardoise); }
.board .btn-ghost:hover { background: var(--ardoise); color: var(--craie); border-color: var(--ardoise); }

/* ---------- Le mur (fond sauge, post-it) ---------- */
.mur { position: relative; padding: var(--s-140) var(--gutter) var(--s-100); }
.mur .tape { background: var(--fg); color: var(--bg); }
.wall {
  max-width: 1120px; margin: var(--s-40) auto var(--s-64);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
}
.postit {
  position: relative; aspect-ratio: 1; padding: clamp(18px, 2.4vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between;
  color: #1c1d1a; transform: rotate(var(--r, 0deg));
  box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 22px 26px -18px rgba(0, 0, 0, .55);
  will-change: transform;
}
/* la transition n'est active qu'une fois le post-it collé (sinon elle se bat avec GSAP) */
html:not(.has-gsap) .postit, .postit.is-stuck { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
/* bande adhésive (plus foncée) en haut */
.postit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14%; background: rgba(0, 0, 0, .05); }
/* coin qui rebique */
.postit::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px;
  background: linear-gradient(135deg, rgba(0, 0, 0, .14) 0 50%, rgba(255, 255, 255, .45) 50%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transition: width .45s var(--ease-out), height .45s var(--ease-out);
}
.postit:hover { transform: rotate(0deg) translateY(-8px) scale(1.03); box-shadow: 0 34px 34px -20px rgba(0, 0, 0, .55); }
.postit:hover::after { width: 52px; height: 52px; }
.pi-jaune { background: var(--pi-jaune); }
.pi-rose { background: var(--pi-rose); }
.pi-vert { background: var(--pi-vert); }
.pi-orange { background: var(--pi-orange); }
.pi-menthe { background: var(--menthe); }
/* Écrit à la main : chiffres au marqueur, texte au stylo, encre bleu nuit */
.postit { color: var(--encre); }
.pi-num {
  display: flex; align-items: baseline; gap: 6px; margin-top: auto;
  font: 400 clamp(78px, 8.4vw, 130px)/.95 var(--font-brush);
  transform: rotate(-5deg); transform-origin: 0 100%;
}
.pi-num small { font: 700 .46em/1 var(--font-hand); }
.pi-underline { display: block; width: 72%; height: 16px; margin: 4px 0 10px -2px; overflow: visible; }
.pi-underline path { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html.has-gsap .pi-underline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pi-label { font: 700 clamp(24px, 2.4vw, 33px)/1.02 var(--font-hand); transform: rotate(-2deg); transform-origin: 0 0; }
.postit--quote p { font: 600 clamp(30px, 3.1vw, 43px)/1.04 var(--font-hand); margin-top: 6%; transform: rotate(-1.5deg); }
.postit--quote cite { align-self: flex-end; font: 700 clamp(22px, 2vw, 28px)/1 var(--font-hand); font-style: normal; transform: rotate(-3deg); opacity: .85; }
.tags { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tags li {
  border: 2px solid var(--fg); border-radius: var(--r-pill); padding: 12px 20px;
  font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
}

/* ---------- Le spot ---------- */
.spot { padding: var(--s-140) var(--gutter) var(--s-100); }
.spot .lk-brush { color: var(--menthe); }
.spot-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 20px; align-items: start;
}
.polaroid {
  position: relative; background: var(--craie); padding: 12px 12px 0; transform: rotate(var(--r, 0deg));
  box-shadow: 0 26px 36px -24px rgba(0, 0, 0, .7); will-change: transform;
}
.polaroid::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; translate: -50% 0; rotate: 3deg;
  background: rgba(246, 227, 90, .85);
  clip-path: polygon(0 12%, 6% 0, 94% 6%, 100% 0, 98% 50%, 100% 92%, 94% 100%, 6% 94%, 0 100%, 2% 50%);
}
.polaroid img { width: 100%; object-fit: cover; }
.polaroid figcaption { font: 400 20px/1 var(--font-brush); color: var(--ardoise); padding: 14px 4px 16px; text-align: center; }
.polaroid--a { grid-column: 1 / span 3; grid-row: 1 / span 2; }
.polaroid--a img { aspect-ratio: 3/4; }
.polaroid--b { grid-column: 4 / span 4; grid-row: 1; margin-top: 40px; }
.polaroid--b img { aspect-ratio: 4/3.4; object-position: 50% 40%; }
.polaroid--c { grid-column: 4 / span 4; grid-row: 2; margin-left: 8%; }
.polaroid--c img { aspect-ratio: 4/3; }
.infos { grid-column: 8 / span 5; grid-row: 1 / span 2; display: grid; gap: 12px; }
.info-card {
  background: var(--charbon); border-radius: var(--r-card);
  padding: 22px 24px; display: grid; gap: 10px; justify-items: start;
}
.info-card h3 { font: 800 13px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--menthe); }
.info-card p { font-size: 18px; }
.info-card p.small { font-size: 14.5px; }
.hours { width: 100%; display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(169, 188, 174, .3); font-weight: 600; }
.hours li span:last-child { text-align: right; }
.hours li.is-today { color: var(--menthe); }
.open-state { font-size: 14px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.open-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-state.is-open { color: var(--menthe); }
.open-state.is-open::before { animation: pulse 1.6s ease-in-out infinite; }
.open-state.is-closed { color: var(--pi-rose); }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }
.map {
  max-width: var(--max); margin: 24px auto 0; height: 340px;
  border-radius: var(--r-card); overflow: hidden; background: var(--charbon);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) sepia(.35) hue-rotate(120deg) saturate(1.6) brightness(.95); }

/* ---------- Final : « T'as faim ? » qui se fait smasher ---------- */
.final { padding: var(--s-100) var(--gutter) var(--s-140); display: grid; justify-items: center; gap: 24px; text-align: center; }
.faim { position: relative; font-weight: 400; cursor: default; -webkit-user-select: none; user-select: none; }
.faim-text {
  position: relative; z-index: 1; display: block; padding: .1em .15em .05em;
  font: 400 clamp(84px, 15vw, 230px)/1 var(--font-brush); color: var(--pi-jaune);
  transform: rotate(-4deg);
}
.faim .ch { transform-origin: 50% 90%; }
.faim-splats { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.faim-splats i { position: absolute; left: 50%; top: 55%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--menthe); opacity: 0; }
.faim-splats i:nth-child(2n) { background: var(--pi-rose); width: 12px; height: 12px; margin: -6px; }
.faim-splats i:nth-child(3n) { background: var(--craie); width: 9px; height: 9px; margin: -4.5px; }

.order-duo { width: min(100%, 980px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.order-tile {
  position: relative; display: grid; justify-items: start; gap: 6px; text-align: left; text-decoration: none;
  padding: 28px 30px 30px; border-radius: 32px;
  transition: background-color .3s, color .3s;
}
.order-tile--uber { background: var(--menthe); color: var(--noir); }
.order-tile--tel { background: var(--craie); color: var(--ardoise); }
.order-tile:hover { background: var(--pi-jaune); color: var(--noir); }
.order-tile-kicker { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.order-tile-name { font: 400 clamp(56px, 6.4vw, 92px)/.9 var(--font-display); text-transform: uppercase; }
.order-tile-meta { font-weight: 700; font-size: 15px; opacity: .8; }
.order-tile-arrow {
  position: absolute; right: 26px; top: 22px; font-size: 34px; line-height: 1;
  transition: transform .5s var(--ease-out);
}
.order-tile:hover .order-tile-arrow { transform: rotate(45deg) scale(1.2); }

/* ---------- Footer ---------- */
.footer {
  position: relative; background: var(--noir); color: var(--craie);
  padding: 72px var(--gutter) 32px; overflow: hidden;
}
/* liseré damier en haut, comme le papier des plateaux */
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
  background: conic-gradient(var(--craie) 25%, var(--noir) 0 50%, var(--craie) 0 75%, var(--noir) 0) 0 0 / 16px 16px;
}
.footer-brand { display: grid; place-items: center; margin: 0 auto 48px; }
.footer .footer-mark {
  display: inline-flex; align-items: baseline; white-space: nowrap; line-height: 1;
  font-size: clamp(64px, 15vw, 230px); padding: .1em .1em .18em; color: var(--craie);
  transform-origin: 50% 100%;
}
.fm-smash, .fm-you { font-family: var(--font-script); }
.fm-four { display: inline-block; font-family: var(--font-display); font-size: 1.2em; color: var(--menthe); margin: 0 .03em 0 .14em; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer h3 { font: 800 13px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--menthe); margin-bottom: 10px; }
.footer p { font-size: 16px; line-height: 1.7; color: var(--sauge); }
.footer-legal { max-width: var(--max); margin: 40px auto 0 !important; padding-top: 20px; border-top: 1px solid var(--charbon); font-size: 13px !important; }

/* ---------- Barre commande mobile ---------- */
.order-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-ctas { margin-left: auto; }
}
@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-grid { grid-template-columns: repeat(6, 1fr); }
  .polaroid--a { grid-column: 1 / span 3; grid-row: 1 / span 2; }
  .polaroid--b { grid-column: 4 / span 3; grid-row: 1; margin-top: 0; }
  .polaroid--c { grid-column: 4 / span 3; grid-row: 2; margin-left: 0; }
  .infos { grid-column: 1 / -1; grid-row: 3; margin-top: 16px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 78px; }
  .nav { min-height: 58px; }
  .logo-badge { width: 44px; height: 44px; }
  .wm-smash, .wm-you { font-size: 22px; }
  .wm-four { font-size: 27px; }
  .nav-ctas { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: 110px; }
  .hero .cta-row .btn { width: 100%; }
  .hero .cta-row { width: 100%; max-width: 380px; }
  .float--a { width: 150px; left: -6%; top: 13%; }
  .float--b { width: 170px; right: -10%; top: 9%; }
  .float--c { width: 190px; left: -12%; bottom: 3%; }
  .float--d { width: 180px; right: -10%; bottom: 2%; }
  .float { opacity: .5; }
  .can { width: 56px; }
  .can--o { left: 1%; top: 37%; }
  .can--s { right: 1%; top: 39%; }
  .can--t, .can--p { display: none; }
  .wh-smash { font-size: 25vw; }
  .wh-four { font-size: 29vw; }
  .wh-you { font-size: 19vw; }
  .sticker--hero { width: 92px; right: 3%; top: 100px; }
  .sticker-core { font-size: 42px; }
  .sticker text { font-size: 17px; }
  .scroll-hint { display: none; }
  .ribbons { margin-top: -24px; }
  .smash-head { top: 84px; }
  .smash-head .tape { font-size: 11px; }
  .smash-pin {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr auto;
    grid-template-areas: "words" "visual" "steps";
    padding: 132px var(--gutter) 96px;
  }
  .smash-words { justify-items: center; }
  .smash-word { font-size: 24vw; }
  .smash-visual { width: min(100%, 46svh); }
  .chalk text { font-size: 64px; }
  .smash-steps { margin-top: 0; }
  .smash-step { padding: 18px 18px 16px; font-size: 15px; }
  .smash-step strong { font-size: 26px; }
  .tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 4px; margin-bottom: var(--s-24);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .board-media { transform: rotate(-1deg); }
  .board-list b { font-size: 22px; }
  .wall { gap: 16px; }
  .postit { padding: 16px; aspect-ratio: auto; min-height: 44vw; }
  .pi-num { font-size: 15vw; }
  .pi-label { font-size: 19px; }
  .postit--quote p { font-size: 21px; margin: 10px 0 12px; }
  .postit--quote cite { font-size: 17px; }
  .order-duo { grid-template-columns: 1fr; margin-top: 28px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer .footer-mark { font-size: 17vw; }
  .map { height: 260px; }
  .order-bar {
    position: fixed; z-index: 95; left: 10px; right: 10px; bottom: 10px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px;
    background: var(--noir); border-radius: var(--r-pill);
    transition: transform .5s var(--ease-out);
  }
  .order-bar .btn-ghost { color: var(--craie); }
  .order-bar.is-hidden { transform: translateY(calc(100% + 20px)); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
