/* WOK 888 : feuille de styles du site public (thème vert et blanc) */

/* ============ Polices (hébergées sur le site, aucune requête vers Google) ============ */
@font-face {
  font-family: "Bebas Neue";
  src: url(polices/bebas-neue.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url(polices/outfit-latin.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url(polices/kaushan-script.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Les deux caractères 鑊氣 (« wok hei ») seulement */
@font-face {
  font-family: "Wok Hei";
  src: url(polices/noto-serif-tc-wok-hei.woff2) format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* ============ Couleurs et mesures ============ */
:root {
  --blanc: #fff;
  --menthe: #f4faf6;      /* fonds de section clairs */
  --menthe-2: #e3f3ea;    /* encarts, badges */
  --menthe-3: #cbe8d7;    /* bordures marquées */
  --ligne: #dcebe2;       /* filets */
  --vert: #12784e;        /* boutons, liens, textes en vert */
  --vert-vif: #1f9d63;    /* grands chiffres, décors */
  --vert-clair: #5fd396;
  --vert-pale: #8fd6ae;   /* vert sur fond foncé */
  --vert-fonce: #0b5236;  /* blocs foncés */
  --vert-nuit: #083b27;   /* pied de page, ouverture */
  --encre: #11281d;
  --encre-2: #3c5a4b;
  --gris: #5d7568;
  --rouge: #d64545;
  --ambre: #f0a020;
  --degrade: linear-gradient(135deg, #23ad6e, #12784e 55%, #0b5236);
  --titre: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --texte: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pinceau: "Kaushan Script", "Brush Script MT", cursive;
  --rayon: 22px;
  --entete-h: 64px;
  --ombre: 0 26px 56px -30px rgba(8, 59, 39, .55);
  --ombre-douce: 0 16px 36px -24px rgba(8, 59, 39, .4);
  /* Rôles, redéfinis dans les blocs foncés (voir plus bas) */
  --t1: var(--encre);       /* texte */
  --t2: var(--encre-2);     /* texte secondaire */
  --t3: var(--gris);        /* texte discret */
  --accent: var(--vert);    /* écriture au pinceau, petits titres */
  --titres: var(--vert-fonce);
  --filet: var(--ligne);
  --focus: var(--vert);
}
/* Blocs foncés : texte blanc, vert pâle */
.intro, .entete, .heros, .poele, .wok-encart, .machine-boite, .reserver, .pied, .legal-tete {
  --t1: #fff;
  --t2: #cfe9da;
  --t3: #a9cdb9;
  --accent: var(--vert-pale);
  --titres: #fff;
  --filet: rgba(255, 255, 255, .14);
  --focus: var(--vert-pale);
  color: var(--t1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--blanc); }
body {
  margin: 0; background: var(--blanc); color: var(--t1);
  font: 400 1.0625rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(68px + env(safe-area-inset-bottom)); /* place de la barre d'actions sur téléphone */
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--vert-vif); color: #fff; }
.evitement { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--vert-fonce); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.evitement:focus { top: 12px; }
section[id] { scroll-margin-top: var(--entete-h); }

h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: 400; line-height: .92; letter-spacing: .01em; text-wrap: balance; color: var(--titres); }
h2 { font-size: clamp(3.2rem, 11vw, 5.6rem); }
h3 { font-size: 2rem; }
.pinceau {
  display: inline-block; margin: 0 0 4px; font-family: var(--pinceau); font-size: clamp(1.45rem, 4.6vw, 2rem);
  line-height: 1.2; color: var(--accent); transform: rotate(-3deg); transform-origin: left center;
}
.accent { color: var(--vert-vif); }
.grand { font-size: 1.18rem; color: var(--t1); }
.petit { font-size: .85rem; color: var(--t3); }
.section-tete { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-tete .pinceau { transform-origin: center; }
.section-tete p:last-child { margin: 14px auto 0; color: var(--t2); max-width: 40em; }
/* Titres : les mots montent un à un quand le bloc apparaît (découpés par site.js) */
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .04em .05em; margin: -.14em -.04em -.05em; }
.mot > * { display: inline-block; }
.revele .mot > * { transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(.12s + var(--i, 0) * 75ms); }
.revele .visible .mot > * { transform: none; }
/* Mots surlignés au feutre vert */
.surligne {
  background: linear-gradient(transparent 50%, rgba(95, 211, 150, .5) 50%, rgba(95, 211, 150, .5) 90%, transparent 90%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.revele .surligne { background-size: 0 100%; transition: background-size 1.2s cubic-bezier(.6, 0, .2, 1) .6s; }
.revele .visible .surligne { background-size: 100% 100%; }
.reserver .surligne { background-image: linear-gradient(transparent 50%, rgba(143, 214, 174, .38) 50%, rgba(143, 214, 174, .38) 90%, transparent 90%); }

/* ============ Boutons ============ */
.bouton {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 22px;
  border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1.15 var(--texte); text-align: center; text-decoration: none; cursor: pointer;
  white-space: normal; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent;
  translate: var(--mx, 0px) var(--my, 0px); /* les grands boutons suivent un peu la souris (site.js) */
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), translate .35s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background-color .2s, border-color .2s, color .2s;
}
.bouton svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bouton:active { transform: translateY(1px) scale(.98); }
.bouton:disabled { cursor: not-allowed; opacity: .45; }
/* Plein vert, sur fond clair */
.bouton-principal { background: var(--degrade); color: #fff; box-shadow: 0 12px 28px -14px rgba(18, 120, 78, .95), inset 0 1px 0 rgba(255, 255, 255, .22); }
.bouton-principal:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(18, 120, 78, 1), inset 0 1px 0 rgba(255, 255, 255, .22); }
/* Plein blanc, sur fond vert */
.bouton-blanc { background: #fff; color: var(--vert-fonce); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .55), inset 0 -2px 0 rgba(18, 120, 78, .12); }
.bouton-blanc:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -16px rgba(0, 0, 0, .6), inset 0 -2px 0 rgba(18, 120, 78, .12); }
.bouton-principal::after, .bouton-blanc::after { /* reflet qui passe au survol */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg); transition: transform .7s;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
}
.bouton-blanc::after { background: linear-gradient(90deg, transparent, rgba(95, 211, 150, .28), transparent); }
.bouton-principal:hover::after, .bouton-blanc:hover::after { transform: translateX(120%) skewX(-20deg); }
/* Contour blanc, sur fond vert */
.bouton-clair { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); color: #fff; }
.bouton-clair:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
/* Contour vert, sur fond clair */
.bouton-contour { border-color: var(--vert); background: #fff; color: var(--vert); }
.bouton-contour:hover { background: var(--vert); color: #fff; box-shadow: 0 10px 22px -12px rgba(18, 120, 78, .9); }
.bouton-grand { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.bouton-petit { min-height: 38px; padding: 7px 14px; font-size: .9rem; }
.bouton-petit svg { width: 17px; height: 17px; }
/* Le wok est composé : le bouton d'appel pulse doucement */
.bouton.pret { animation: appel 1.5s ease-out 3; }
@keyframes appel { 0% { box-shadow: 0 0 0 0 rgba(200, 245, 218, .75); } 100% { box-shadow: 0 0 0 12px rgba(200, 245, 218, 0); } }
.lien {
  padding: 6px 2px; border: 0; background: none; color: var(--t2); font: inherit; font-size: .92rem;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.lien:hover { color: var(--t1); }

/* ============ Animation d'ouverture ============ */
.intro { display: none; }
.intro-en-cours { overflow: hidden; }
.intro-en-cours .intro {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(95, 211, 150, .38), transparent 70%), radial-gradient(circle at 50% 40%, #0e5c3c, var(--vert-nuit) 70%);
  animation: rideau .55s cubic-bezier(.7, 0, .3, 1) 2.35s forwards;
}
.intro-passee .intro { animation: rideau .45s cubic-bezier(.7, 0, .3, 1) forwards; }
.intro-scene { display: grid; justify-items: center; gap: 10px; padding: 0 24px; }
.intro-logo { width: min(320px, 62vw); overflow: visible; }
.intro-logo .trait {
  fill: #fff; fill-opacity: 0; stroke: #fff; stroke-width: 8; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: tracer .8s cubic-bezier(.6, 0, .3, 1) forwards, remplir .4s ease .75s forwards;
}
.intro-logo .t2 { animation-delay: .12s, .85s; }
.intro-logo .t3 { fill: url(#g-jade); stroke: var(--vert-clair); animation-delay: .24s, .95s; filter: drop-shadow(0 0 26px rgba(95, 211, 150, .85)); }
.intro-logo .t4 { animation-delay: .36s, 1.05s; }
.intro-nom { margin: 8px 0 0; font: 400 clamp(3rem, 12vw, 5rem)/1 var(--titre); letter-spacing: .12em; }
.intro-nom span { display: inline-block; opacity: 0; transform: translateY(40px); animation: lettre .5s cubic-bezier(.2, .9, .3, 1.3) forwards; }
.intro-nom .accent { color: var(--vert-pale); }
.intro-nom span:nth-child(1) { animation-delay: .9s; }
.intro-nom span:nth-child(2) { animation-delay: .96s; }
.intro-nom span:nth-child(3) { animation-delay: 1.02s; }
.intro-nom span:nth-child(4) { animation-delay: 1.14s; }
.intro-nom span:nth-child(5) { animation-delay: 1.2s; }
.intro-nom span:nth-child(6) { animation-delay: 1.26s; }
.intro-devise { margin: 0; font: clamp(1.6rem, 6vw, 2.2rem) var(--pinceau); color: var(--vert-pale); opacity: 0; animation: apparaitre .6s ease 1.45s forwards; }
/* Flammes de jade au bas de l'écran */
.intro-feu { position: absolute; left: 0; right: 0; bottom: -10px; display: flex; justify-content: center; gap: 0; height: 160px; pointer-events: none; }
.intro-feu span {
  width: 90px; height: 100%; margin: 0 -18px; border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%;
  background: linear-gradient(to top, #12784e, #1f9d63 35%, #8fd6ae 70%, transparent); filter: blur(6px); opacity: .8;
  transform-origin: 50% 100%; transform: scaleY(0); animation: monter .9s ease-out .2s forwards, vaciller .5s ease-in-out 1.1s infinite alternate;
}
.intro-feu span:nth-child(odd) { height: 70%; align-self: flex-end; animation-duration: .9s, .4s; }
.intro-feu span:nth-child(3n) { height: 85%; align-self: flex-end; animation-duration: .9s, .65s; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes remplir { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes lettre { to { opacity: 1; transform: none; } }
@keyframes apparaitre { to { opacity: 1; } }
@keyframes monter { to { transform: scaleY(1); } }
@keyframes vaciller { from { transform: scaleY(1) skewX(-3deg); } to { transform: scaleY(.82) skewX(4deg); } }
@keyframes rideau { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ============ En-tête ============ */
.entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background-color .3s, box-shadow .3s, border-color .3s, transform .3s; border-bottom: 1px solid transparent;
}
.entete.colle {
  background: rgba(8, 59, 39, .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 30px -20px rgba(8, 59, 39, .9);
}
.entete-inner { display: flex; align-items: center; gap: 10px; height: var(--entete-h); }
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.marque-logo { width: 54px; height: 31px; color: #fff; transition: transform .4s cubic-bezier(.2, .8, .2, 1.4); }
.marque:hover .marque-logo { transform: rotate(-6deg) scale(1.06); }
.marque-nom { font: 400 1.6rem/1 var(--titre); letter-spacing: .06em; white-space: nowrap; }
.marque-nom b { font-weight: 400; color: var(--vert-pale); }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; color: #fff; font-weight: 500; text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--vert-pale);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a.actif::after { transform: scaleX(1); }
.entete-tel {
  display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center; margin-left: auto;
  padding: 8px 10px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600;
}
.entete-tel svg { width: 20px; height: 20px; }
.entete-tel:hover { background: rgba(255, 255, 255, .1); }
.entete-tel-texte { display: none; }
/* Progression de la lecture, sous l'en-tête */
.progression {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
  background: linear-gradient(90deg, var(--vert-vif), var(--vert-clair), #fff);
}
/* Le restaurant est ouvert : le téléphone sonne de temps en temps */
.ouvert-maintenant .entete-tel svg, .ouvert-maintenant .barre-actions a:first-child svg { animation: sonnerie 6s ease-in-out 2.5s infinite; }
@keyframes sonnerie {
  0%, 16%, 100% { transform: rotate(0); }
  2%, 6%, 10% { transform: rotate(-16deg); }
  4%, 8%, 12% { transform: rotate(16deg); }
  14% { transform: rotate(-6deg); }
}
@keyframes pop { 40% { transform: scale(1.5); } }

/* ============ Statut ouvert / fermé ============ */
.statut {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 15px 7px 12px;
  border: 1px solid var(--menthe-3); border-radius: 999px; background: #fff; color: var(--t1); font-size: .92rem; font-weight: 600;
}
.statut::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gris); }
.statut.ouvert::before { background: #22c06e; animation: pouls 2s ease-out infinite; }
.statut.bientot::before { background: var(--ambre); }
.statut.ferme::before { background: var(--rouge); }
.statut:empty { display: none; }
.heros .statut { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(34, 192, 110, .55); } 100% { box-shadow: 0 0 0 10px rgba(34, 192, 110, 0); } }

/* ============ Accueil ============ */
.heros {
  position: relative; display: grid; align-items: center; min-height: min(100svh, 980px); padding: calc(var(--entete-h) + 18px) 0 70px; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 78% 62%, rgba(95, 211, 150, .24), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(143, 214, 174, .16), transparent 60%),
    linear-gradient(180deg, var(--vert-fonce), var(--vert-nuit));
}
.heros::before { /* écailles de vagues (seigaiha), à peine visibles */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.07' stroke-width='1.4'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M10 40a30 30 0 0 1 60 0M20 40a20 20 0 0 1 40 0M-40 20a40 40 0 0 1 80 0M-30 20a30 30 0 0 1 60 0M-20 20a20 20 0 0 1 40 0M40 20a40 40 0 0 1 80 0M50 20a30 30 0 0 1 60 0M60 20a20 20 0 0 1 40 0'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.braises { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.heros-grille { position: relative; display: grid; gap: 0; align-items: center; }
.heros-texte { position: relative; z-index: 2; }
.heros-texte .statut { display: flex; width: fit-content; }
.heros-sur { margin-bottom: 2px; }
.heros-titre { margin: 0 0 18px; font-size: clamp(5rem, 24vw, 10.5rem); line-height: .82; }
.heros-titre .titre-ligne { display: block; }
.heros-titre .feu {
  position: relative; width: fit-content;
  background: linear-gradient(100deg, #fff 0%, #c8f5da 25%, #5fd396 50%, #c8f5da 75%, #fff 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: feu-texte 6s linear infinite;
}
.heros-titre .feu::after { /* lueur sous les lettres */
  content: attr(data-texte); position: absolute; inset: 0; z-index: -1; color: transparent; text-shadow: 0 8px 46px rgba(95, 211, 150, .5);
}
@keyframes feu-texte { to { background-position: -200% 0; } }
.heros-intro { max-width: 32em; margin-bottom: 26px; color: var(--t2); font-size: 1.12rem; }
/* « Ce soir, envie d'un wok au canard ? » : le plat change toutes les 2,6 secondes */
.envie { margin: -8px 0 22px; font: 600 clamp(1.05rem, 2.4vw, 1.3rem)/1.35 var(--texte); }
.envie-cadre { display: inline-block; overflow: hidden; vertical-align: top; }
.envie-mot { display: inline-block; color: #c8f5da; white-space: nowrap; text-decoration: underline 2px rgba(143, 214, 174, .55); text-underline-offset: 4px; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.heros-actions .bouton { flex: 1 1 210px; }
.heros-infos { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--t2); font-size: .95rem; }
.heros-infos li { display: flex; align-items: center; gap: 10px; }
.heros-infos svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--vert-pale); stroke-width: 2; stroke-linecap: round; color: var(--vert-pale); }
.heros-infos a { color: inherit; }
.heros-scene { position: relative; width: min(100%, 520px); margin: 10px auto 0; }
.scene-wok { width: 100%; height: auto; overflow: visible; }
.heros-badge {
  position: absolute; top: 2%; right: 0; display: grid; place-items: center; place-content: center; width: 104px; height: 104px; margin: 0;
  border: 2px dashed rgba(143, 214, 174, .75); border-radius: 50%; background: radial-gradient(circle, rgba(143, 214, 174, .2), rgba(8, 59, 39, .75));
  color: #fff; text-align: center; font-size: .72rem; font-weight: 600; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase;
  animation: badge 7s ease-in-out infinite;
}
.heros-badge .pinceau { margin: 0 0 2px; font-size: 1.9rem; color: #fff; text-transform: none; }
/* Le wok de l'accueil se fait sauter d'un clic */
.wok-toucher {
  position: absolute; left: 14%; right: 6%; top: 44%; bottom: 4%; z-index: 3; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.wok-toucher:focus-visible { outline-offset: -8px; }
.wok-indice {
  position: absolute; left: 50%; top: -22%; translate: -50% 0; padding: 8px 15px; border-radius: 999px; background: #fff;
  color: var(--vert-fonce); font-size: .92rem; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .55);
  opacity: 0; scale: .6; pointer-events: none;
}
.wok-indice::after { /* pointe de la bulle */
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 2px; background: #fff; transform: rotate(45deg);
}
.wok-toucher .wok-indice { animation: indice .6s cubic-bezier(.3, .7, .4, 1.5) 3.6s forwards, hop 2.6s ease-in-out 4.4s infinite; }
@keyframes indice { to { opacity: 1; scale: 1; } }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-8px); } 90% { transform: translateY(0); } }
.scene-wok.grand-saut .wok-anime { animation: grand-saut 1s cubic-bezier(.3, 0, .3, 1); }
@keyframes grand-saut {
  18% { transform: rotate(-9deg) translate(-14px, -28px); }
  38% { transform: rotate(6deg) translate(16px, 6px); }
  56% { transform: rotate(-3deg) translate(-4px, -4px); }
  74% { transform: rotate(1deg); }
}
.scene-wok.grand-saut .flammes-fond { animation: flambee-forte 1s ease-out; }
@keyframes flambee-forte { 22% { transform: scale(1.25, 1.75); } }
@keyframes badge { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-6px); } }
.defiler { position: absolute; left: 50%; bottom: 18px; display: none; transform: translateX(-50%); padding: 8px; }
.defiler-souris { display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.defiler-souris::after {
  content: ""; display: block; width: 4px; height: 8px; margin: 7px auto 0; border-radius: 2px; background: var(--vert-pale);
  animation: molette 1.8s ease-in-out infinite;
}
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Entrée en scène (après l'animation d'ouverture) */
.js .heros-texte > *, .js .heros-scene { animation: entree .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .heros-texte > :nth-child(2) { animation-delay: .08s; }
.js .heros-texte > :nth-child(3) { animation-delay: .16s; }
.js .heros-texte > :nth-child(4) { animation-delay: .26s; }
.js .heros-texte > :nth-child(5) { animation-delay: .36s; }
.js .heros-texte > :nth-child(6) { animation-delay: .46s; }
.js .heros-texte > :nth-child(7) { animation-delay: .56s; }
.js .heros-scene { animation-name: entree-scene; animation-duration: 1.2s; animation-delay: .2s; }
.intro-en-cours .heros-texte > *, .intro-en-cours .heros-scene { animation-play-state: paused; }
@keyframes entree { from { opacity: 0; transform: translateY(30px); } }
@keyframes entree-scene { from { opacity: 0; transform: scale(.85) translateY(30px); } }

/* ============ Flammes, vapeur et wok qui saute (illustrations SVG) ============ */
.fl { transform-box: fill-box; transform-origin: 50% 100%; animation: flamme 1.1s ease-in-out infinite alternate; }
.flammes > g:nth-child(2n) .fl { animation-duration: .8s; animation-delay: -.3s; }
.flammes > g:nth-child(3n) .fl { animation-duration: 1.35s; animation-delay: -.65s; }
.flammes > g:nth-child(5n) .fl { animation-duration: .95s; animation-delay: -.2s; }
@keyframes flamme {
  0% { transform: scale(1, 1) skewX(0); opacity: .92; }
  33% { transform: scale(.9, 1.12) skewX(5deg); opacity: 1; }
  66% { transform: scale(1.06, .88) skewX(-6deg); opacity: .82; }
  100% { transform: scale(.95, 1.06) skewX(2deg); opacity: 1; }
}
.lueur { transform-box: fill-box; transform-origin: center; animation: lueur 2.6s ease-in-out infinite alternate; }
@keyframes lueur { from { opacity: .65; transform: scale(.95); } to { opacity: 1; transform: scale(1.04); } }
.vapeur path { opacity: 0; stroke-opacity: .16; transform-box: fill-box; transform-origin: 50% 100%; animation: vapeur 4.2s ease-in-out infinite; }
.vapeur .v2 { animation-delay: -1.4s; }
.vapeur .v3 { animation-delay: -2.8s; }
@keyframes vapeur {
  0% { opacity: 0; transform: translateY(30px) scaleY(.7); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-50px) scaleY(1.15); }
}
.scene-wok .wok-anime { transform-box: view-box; transform-origin: 70px 270px; animation: sauter 3.6s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes sauter {
  0%, 58%, 100% { transform: rotate(0) translate(0, 0); }
  64% { transform: rotate(-5deg) translate(-8px, -8px); }
  72% { transform: rotate(3deg) translate(10px, 3px); }
  80% { transform: rotate(-1deg) translate(-2px, 0); }
  86% { transform: rotate(0) translate(0, 0); }
}
.scene-wok .flammes-fond { transform-box: view-box; transform-origin: 330px 500px; animation: flambee 3.6s ease-out infinite; }
@keyframes flambee { 0%, 60%, 100% { transform: scale(1); } 68% { transform: scale(1.1, 1.3); } 82% { transform: scale(1); } }
.vol { transform-box: fill-box; transform-origin: center; opacity: 0; animation: 3.6s linear infinite; }
.vol1 { animation-name: vol1; }
.vol2 { animation-name: vol2; }
.vol3 { animation-name: vol3; }
.vol4 { animation-name: vol4; }
.vol5 { animation-name: vol5; }
.vol6 { animation-name: vol6; }
.vol7 { animation-name: vol7; }
@keyframes vol1 {
  0%, 62% { opacity: 0; transform: translate(0, 0) rotate(0); }
  64% { opacity: 1; transform: translate(-4px, -14px) rotate(20deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  76% { transform: translate(-46px, -170px) rotate(210deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  90% { opacity: 1; transform: translate(-62px, -10px) rotate(380deg); }
  93%, 100% { opacity: 0; transform: translate(-62px, 0) rotate(400deg); }
}
@keyframes vol2 {
  0%, 63% { opacity: 0; transform: translate(0, 0) rotate(0); }
  65% { opacity: 1; transform: translate(2px, -14px) rotate(-30deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  77% { transform: translate(-6px, -210px) rotate(-240deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  91% { opacity: 1; transform: translate(-30px, -14px) rotate(-420deg); }
  94%, 100% { opacity: 0; transform: translate(-30px, 0) rotate(-430deg); }
}
@keyframes vol3 {
  0%, 62% { opacity: 0; transform: translate(0, 0) rotate(0); }
  64% { opacity: 1; transform: translate(0, -10px); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  75% { transform: translate(-70px, -130px) rotate(160deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  88% { opacity: 1; transform: translate(-90px, 0) rotate(300deg); }
  91%, 100% { opacity: 0; transform: translate(-90px, 6px) rotate(320deg); }
}
@keyframes vol4 {
  0%, 63% { opacity: 0; transform: translate(0, 0) rotate(0); }
  65% { opacity: 1; transform: translate(-4px, -12px) rotate(-10deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  77% { transform: translate(-60px, -190px) rotate(-60deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  90% { opacity: 1; transform: translate(-80px, -8px) rotate(-20deg); }
  93%, 100% { opacity: 0; transform: translate(-80px, 0) rotate(-10deg); }
}
@keyframes vol5 {
  0%, 62% { opacity: 0; transform: translate(0, 0) rotate(0); }
  64% { opacity: 1; transform: translate(0, -10px) rotate(40deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  76% { transform: translate(-30px, -150px) rotate(300deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  89% { opacity: 1; transform: translate(-44px, -6px) rotate(520deg); }
  92%, 100% { opacity: 0; transform: translate(-44px, 0) rotate(540deg); }
}
@keyframes vol6 {
  0%, 63% { opacity: 0; transform: translate(0, 0) rotate(0); }
  65% { opacity: 1; transform: translate(0, -10px) rotate(-20deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  76% { transform: translate(20px, -120px) rotate(-180deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  88% { opacity: 1; transform: translate(24px, -4px) rotate(-330deg); }
  91%, 100% { opacity: 0; transform: translate(24px, 0) rotate(-340deg); }
}
@keyframes vol7 {
  0%, 64% { opacity: 0; transform: translate(0, 0) rotate(0); }
  66% { opacity: 1; transform: translate(0, -10px); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  77% { transform: translate(-36px, -180px) rotate(250deg); animation-timing-function: cubic-bezier(.6, 0, .8, .5); }
  91% { opacity: 1; transform: translate(-60px, -10px) rotate(420deg); }
  94%, 100% { opacity: 0; transform: translate(-60px, 0) rotate(440deg); }
}

/* ============ Bandeau défilant ============ */
.bandeau-cadre { position: relative; z-index: 3; margin: -64px 0 -30px; padding: 30px 0; overflow: hidden; pointer-events: none; }
.bandeau {
  margin: 0 -20px; padding: 14px 0 12px; overflow: hidden; pointer-events: auto;
  background: linear-gradient(90deg, #0e6a44, var(--vert-vif) 30%, #27b373 70%, #0e6a44);
  transform: rotate(-2deg); box-shadow: 0 20px 40px -20px rgba(8, 59, 39, .7);
}
.bandeau-piste { display: flex; align-items: center; gap: 26px; width: max-content; animation: defile 32s linear infinite; }
.bandeau span { font: 400 clamp(1.9rem, 5vw, 2.6rem)/1 var(--titre); letter-spacing: .04em; color: #fff; white-space: nowrap; }
.bandeau i { font: normal 1.4rem/1 var(--pinceau); color: #c8f5da; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(calc(-50% - 13px)); } }

/* ============ Apparition au défilement ============ */
.revele [data-revele] { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.revele [data-revele].visible { opacity: 1; transform: none; }
.revele .gestes [data-revele]:nth-child(2) { transition-delay: .12s; }
.revele .gestes [data-revele]:nth-child(3) { transition-delay: .24s; }
.revele .infos-grille [data-revele]:nth-child(2) { transition-delay: .1s; }
.revele .infos-grille [data-revele]:nth-child(3) { transition-delay: .2s; }

/* ============ Wok hei ============ */
.wokhei { position: relative; padding: 110px 0 90px; overflow: hidden; background: var(--blanc); }
.wokhei::before {
  content: ""; position: absolute; top: 40px; left: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 211, 150, .2), transparent 68%); pointer-events: none;
}
.wokhei-grille { position: relative; display: grid; gap: 10px; align-items: center; }
.hanzi {
  margin: 0; font: 900 clamp(6rem, 30vw, 13rem)/1 "Wok Hei", "Noto Serif TC", "Songti TC", serif; color: var(--vert-vif);
  text-align: center; text-shadow: 0 12px 40px rgba(31, 157, 99, .25); letter-spacing: .05em;
}
/* Les caractères se dessinent de haut en bas (sur le texte intérieur : un élément découpé ne serait jamais « vu » à l'écran) */
.hanzi span { display: inline-block; }
.revele .hanzi[data-revele] { opacity: 1; transform: none; }
.revele .hanzi[data-revele] span { clip-path: inset(-40% -40% 100% -40%); transition: clip-path 1.6s cubic-bezier(.6, 0, .2, 1); }
.revele .hanzi[data-revele].visible span { clip-path: inset(-40%); } /* marge : la lueur n'est pas coupée */
.wokhei-texte h2 { margin-bottom: 20px; }
.wokhei-texte p:not(.pinceau) { max-width: 36em; color: var(--t2); }
.wokhei-texte .grand { color: var(--t1); }
.wokhei-texte em { color: var(--vert); font-style: normal; font-weight: 600; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.chiffres li { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--menthe-3); color: var(--t2); font-size: .88rem; line-height: 1.3; }
.chiffre { font: 400 clamp(3rem, 10vw, 4.2rem)/1 var(--titre); color: var(--vert-vif); }
.gestes { position: relative; display: grid; gap: 16px; margin-top: 60px; padding: 0; list-style: none; }
.geste {
  position: relative; padding: 26px 24px 22px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  background: linear-gradient(160deg, var(--menthe), #fff); transition: border-color .3s, box-shadow .4s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.geste:hover { border-color: var(--vert-pale); box-shadow: var(--ombre-douce); transform: translateY(-6px); }
.geste h3 { margin: 12px 0 6px; font-size: 2.2rem; }
.geste p { margin: 0; color: var(--t2); }
.geste-icone { width: 72px; height: 72px; overflow: visible; }
.mini-vol { transform-box: fill-box; transform-origin: center; animation: mini-vol 1.8s ease-in-out infinite; }
.mini-vol.m2 { animation-delay: .15s; }
.mini-vol.m3 { animation-delay: .3s; }
.mini-wok { transform-box: fill-box; transform-origin: 0 50%; animation: mini-wok 1.8s ease-in-out infinite; }
@keyframes mini-vol { 0%, 30%, 100% { transform: translateY(0) rotate(0); } 55% { transform: translateY(-18px) rotate(140deg); } 75% { transform: translateY(0) rotate(300deg); } }
@keyframes mini-wok { 0%, 25%, 100% { transform: rotate(0); } 40% { transform: rotate(-8deg); } 55% { transform: rotate(4deg); } }
.geste-legumes use { transform-box: fill-box; transform-origin: 50% 100%; animation: rebond 2.4s ease-in-out infinite; }
.geste-legumes use:nth-child(2) { animation-delay: .2s; }
.geste-legumes use:nth-child(3) { animation-delay: .4s; }
.geste-legumes use:nth-child(4) { animation-delay: .6s; }
.geste-legumes use:nth-child(5) { animation-delay: .8s; }
@keyframes rebond { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

/* ============ Composer son wok ============ */
.composer {
  position: relative; padding: 100px 0 110px;
  background: radial-gradient(ellipse 50% 40% at 80% 40%, rgba(95, 211, 150, .16), transparent 70%), var(--menthe);
}
.composer-grille { display: grid; gap: 20px; align-items: start; }
.etapes { display: grid; gap: 22px; margin: 0; }
.etape { min-width: 0; margin: 0; padding: 0; border: 0; }
.etape legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font: 400 2rem/1 var(--titre); letter-spacing: .02em; color: var(--titres); }
.etape-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--degrade); color: #fff;
  font-size: 1.35rem; box-shadow: 0 6px 18px -6px rgba(18, 120, 78, .8);
}
.choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choix-souple { display: flex; flex-wrap: wrap; }
.choix-souple .option { flex: 1 1 auto; }
.option { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-carte {
  position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px;
  height: 100%; padding: 12px 14px; border: 1.5px solid var(--ligne); border-radius: 18px; background: #fff;
  transition: border-color .2s, background-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1.4), box-shadow .25s;
}
/* Le rond sombre, comme le fond du wok : le riz et les nouilles s'y détachent */
.option-icone { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a3330, #151110); overflow: visible; }
.option-nom { align-self: end; font-weight: 600; line-height: 1.2; }
.option-prix { align-self: start; color: var(--vert); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.option:hover .option-carte { border-color: var(--menthe-3); box-shadow: var(--ombre-douce); transform: translateY(-2px); }
.option input:checked + .option-carte {
  border-color: var(--vert-vif); background: linear-gradient(160deg, var(--menthe-2), #fff);
  box-shadow: 0 12px 30px -16px rgba(18, 120, 78, .7);
}
.option input:checked + .option-carte::after {
  content: ""; position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat, var(--vert-vif);
  box-shadow: 0 0 0 3px var(--menthe); animation: pop .4s cubic-bezier(.3, .7, .4, 1.6);
}
.option input:focus-visible + .option-carte { outline: 3px solid var(--focus); outline-offset: 3px; }
.option input:checked + .option-carte .option-icone { animation: tourne .6s cubic-bezier(.3, .7, .4, 1.4); }
.option.epuise { cursor: not-allowed; }
.option.epuise .option-carte { opacity: .5; }
.option.epuise .option-prix { color: var(--gris); }
@keyframes tourne { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(-25deg) scale(1.15); } 100% { transform: rotate(0) scale(1); } }

.poele {
  position: sticky; top: calc(var(--entete-h) + 8px); z-index: 5; display: grid; grid-template-columns: 1fr; overflow: hidden;
  border-radius: 26px; background: radial-gradient(ellipse at 50% 70%, #17694a, var(--vert-nuit) 72%);
  box-shadow: var(--ombre);
}
.poele-scene { position: relative; }
.scene-poele { width: 100%; height: auto; max-height: 30vh; margin: 0 auto; overflow: visible; }
.scene-bouton {
  position: absolute; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; background: rgba(8, 59, 39, .6); color: var(--t2); font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.scene-bouton:hover { border-color: #fff; color: #fff; }
.scene-bouton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.son-bouton { right: 10px; }
.recommencer { left: 10px; }
.son-bouton[aria-pressed="true"] { border-color: var(--vert-pale); background: rgba(143, 214, 174, .2); color: #fff; }
.poele-resume { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 16px 14px; border-top: 1px solid var(--filet); background: rgba(8, 59, 39, .6); }
.poele-nom { margin: 0; overflow: hidden; font-weight: 700; font-size: 1.02rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.poele-details { grid-column: 1; margin: 0; overflow: hidden; color: var(--t3); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.poele-prix { grid-column: 2; grid-row: 1 / 3; margin: 0; font: 400 2.5rem/1 var(--titre); color: #c8f5da; font-variant-numeric: tabular-nums; }
.poele-prix.change { animation: pop .5s cubic-bezier(.3, .7, .4, 1.6); }
.poele-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px; }
.poele-actions .bouton { flex: 1 1 100%; }

/* L'ingrédient choisi file jusque dans le wok */
.vol-porteur { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; }
.vol-ingredient { position: absolute; left: 0; top: 0; max-width: none; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); }
/* Le wok est prêt : il fume */
.vapeur-poele { opacity: 0; transition: opacity .9s; }
.poele.pret .vapeur-poele { opacity: 1; }
.poele:not(.pret) .vapeur-poele path { animation-play-state: paused; }

/* Morceaux qui tombent dans le wok */
.piece { transform-box: fill-box; transform-origin: center; }
.piece.tombe { animation: tomber .75s cubic-bezier(.33, .7, .45, 1) both; }
.piece.sort { animation: sortir .4s ease-in both; }
@keyframes tomber {
  0% { opacity: 0; transform: translate(var(--dx, 0), -260px) rotate(var(--r0, 0deg)); }
  15% { opacity: 1; }
  72% { transform: translate(0, 6px) rotate(0); }
  86% { transform: translate(0, -5px) rotate(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes sortir { to { opacity: 0; transform: translate(var(--dx, 0), -150px) rotate(var(--r0, 0deg)); } }
.wok-poele.sauter { transform-box: view-box; transform-origin: 30px 220px; animation: sauter-poele .75s cubic-bezier(.45, 0, .3, 1); }
@keyframes sauter-poele { 30% { transform: rotate(-5deg) translate(-6px, -10px); } 62% { transform: rotate(2deg) translate(6px, 2px); } }
.scene-poele .flammes-fond { transform-box: view-box; transform-origin: 260px 392px; }
.scene-poele.flambe .flammes-fond { animation: flambee-poele .9s ease-out; }
@keyframes flambee-poele { 30% { transform: scale(1.18, 1.55); } }

/* ============ À la une ============ */
.signature { padding: 90px 0 100px; background: var(--blanc); }
.signature-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.menu-carte {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 26px; isolation: isolate;
  background: linear-gradient(170deg, #fff, var(--menthe)); border: 1px solid var(--ligne); box-shadow: var(--ombre-douce);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; transform-style: preserve-3d;
}
.menu-carte:hover { box-shadow: 0 30px 60px -30px rgba(18, 120, 78, .5); }
.menu-carte.royal { border: 0; }
.menu-carte.royal::before { /* liseré qui tourne autour du menu signature */
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 28px;
  background: conic-gradient(from var(--angle), #0b5236, #5fd396, #e3f3ea, #1f9d63, #0b5236 50%, #8fd6ae, #0b5236);
  animation: tour 5s linear infinite;
}
.menu-carte.royal::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 26px; background: linear-gradient(170deg, #fff, var(--menthe-2)); }
.revele .menu-carte.visible { transition: opacity .9s ease, transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
@keyframes tour { to { --angle: 360deg; } }
.menu-ruban {
  position: absolute; top: -13px; left: 22px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--degrade);
  color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgba(18, 120, 78, .9);
}
.menu-nom { margin: 0 0 6px; font: 400 2.6rem/.95 var(--titre); }
.menu-pieces { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; color: var(--t2); }
.menu-pieces b { font: 400 3.4rem/1 var(--titre); color: var(--vert-vif); }
.menu-compo { display: grid; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--t2); font-size: .92rem; }
.menu-compo li { position: relative; padding-left: 16px; }
.menu-compo li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--vert-clair); }
.menu-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--menthe-3); }
.menu-prix { margin: 0; font: 400 2.4rem/1 var(--titre); color: var(--vert-fonce); }
.menu-carte .epuise-texte { color: var(--gris); font-weight: 600; }

/* ============ La carte ============ */
.carte { position: relative; padding: 100px 0 80px; background: var(--menthe); }
.carte-outils {
  position: sticky; top: var(--entete-h); z-index: 20; padding: 10px 0 8px;
  background: rgba(244, 250, 246, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ligne);
}
.carte-outils-inner { display: grid; gap: 10px; }
.recherche {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--menthe-3);
  border-radius: 999px; background: #fff; cursor: text; transition: border-color .2s, box-shadow .2s;
}
.recherche:focus-within { border-color: var(--vert-vif); box-shadow: 0 0 0 4px rgba(31, 157, 99, .14); }
.recherche svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gris); stroke-width: 2.2; stroke-linecap: round; }
.recherche input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: transparent; color: inherit; font: inherit; }
.recherche input:focus { outline: none; }
.recherche input::placeholder { color: var(--gris); }
.univers { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px 2px 4px; margin: 0 -2px; }
.univers.defilable { /* fondu sur les bords quand les onglets dépassent */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent);
}
.univers::-webkit-scrollbar { display: none; }
.onglet {
  position: relative; z-index: 1; display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 8px 16px 8px 12px;
  border: 1.5px solid var(--ligne); border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--t2); font-weight: 600; font-size: .95rem;
  cursor: pointer; scroll-snap-align: start; transition: color .3s, border-color .3s, background-color .3s, transform .2s;
}
/* La pastille verte glisse d'un onglet à l'autre (placée par site.js) */
.onglet-pastille {
  position: absolute; left: 0; top: 0; border-radius: 999px; background: var(--degrade); box-shadow: 0 8px 22px -10px rgba(18, 120, 78, .9);
  pointer-events: none; transition: transform .5s cubic-bezier(.3, .7, .3, 1.15), width .5s cubic-bezier(.3, .7, .3, 1.15), opacity .25s;
}
.onglet-pastille.sans-transition { transition: none; }
.onglet-pastille.cachee { opacity: 0; }
.onglet svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.onglet:hover { color: var(--vert-fonce); border-color: var(--menthe-3); }
.onglet[aria-selected="true"] { border-color: transparent; background: transparent; color: #fff; }
.onglet[aria-selected="true"] svg { animation: tourne .6s cubic-bezier(.3, .7, .4, 1.4); }
.onglet.attenue { opacity: .5; }
.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; }
.filtres:empty { display: none; }
.filtre {
  min-height: 38px; padding: 6px 15px; border: 1.5px solid var(--menthe-3); border-radius: 999px; background: #fff;
  color: var(--t2); font: 600 .9rem/1.2 var(--texte); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s;
}
.filtre:hover { border-color: var(--vert); color: var(--vert); }
.filtre[aria-pressed="true"] { border-color: var(--vert); background: var(--vert); color: #fff; }
.etat { margin: 28px 0; color: var(--t3); text-align: center; }
.etat:empty { display: none; }
.panneau-carte { min-height: 300px; }
.panneau-carte.change { animation: panneau .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panneau { from { opacity: 0; transform: translateY(16px); } }
.sous-categories { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.sous-categories a {
  display: block; padding: 5px 12px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; color: var(--t2);
  font-size: .85rem; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.sous-categories a:hover { border-color: var(--menthe-3); background: var(--menthe-2); color: var(--vert-fonce); }
.categorie { padding: 36px 0 4px; scroll-margin-top: var(--decalage, 200px); }
.categorie-tete { display: flex; align-items: center; gap: 16px; }
.categorie h3 { font-size: clamp(2.1rem, 6.5vw, 2.8rem); }
.categorie-tete::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(31, 157, 99, .5), transparent); }
.categorie-univers { margin: 0 0 2px; color: var(--vert); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.categorie-note {
  display: inline-block; margin: 12px 0 0; padding: 7px 14px; border-radius: 12px; border: 1px solid var(--menthe-3);
  background: var(--menthe-2); color: var(--vert-fonce); font-size: .92rem;
}
.plats { display: grid; gap: 0 44px; margin: 8px 0 0; padding: 0; list-style: none; }
.plat { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--ligne); }
.plat::before { /* liseré vert au survol */
  content: ""; position: absolute; left: -12px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--vert-vif);
  transform: scaleY(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.plat:hover::before { transform: scaleY(1); }
.plat-texte { flex: 1; min-width: 0; }
.plat-nom { margin: 0; font: 600 1.06rem/1.3 var(--texte); color: var(--t1); transition: color .2s; }
.plat:hover .plat-nom { color: var(--vert); }
.plat-desc { margin: 3px 0 0; color: var(--t2); font-size: .92rem; line-height: 1.45; }
.plat-desc:empty { display: none; }
.plat-infos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.plat-infos:empty { display: none; }
.plat-cote { display: flex; flex: none; align-items: center; gap: 12px; }
.plat-prix { color: var(--vert); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; transition: transform .3s cubic-bezier(.3, .7, .4, 1.6); }
.plat:hover .plat-prix { transform: scale(1.1); }
.badge { padding: 3px 10px; border-radius: 999px; background: var(--menthe-2); color: var(--vert-fonce); font-size: .74rem; font-weight: 700; }
.badge[data-tag="epice"] { background: #fde7e5; color: #a8231c; }
.badge[data-tag="fait maison"] { background: #fbf0d2; color: #6e4b00; }
.badge[data-tag="sans alcool"] { background: #dff5ea; color: var(--vert); }
.badge.epuise { background: var(--encre); color: #fff; }
.badge.bientot { background: #fff0d4; color: #7a4f00; }
.plat.epuise .plat-nom, .plat.epuise .plat-prix { opacity: .5; text-decoration: line-through; }
.plat.apparait { animation: entree .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--delai, 0s); }
.wok-encart {
  display: grid; gap: 16px; align-items: center; margin-top: 30px; padding: 24px; border-radius: 24px; box-shadow: var(--ombre);
  background: radial-gradient(ellipse at 90% 50%, rgba(95, 211, 150, .3), transparent 70%), linear-gradient(160deg, var(--vert-fonce), var(--vert-nuit));
}
.wok-encart h3 { font-size: 2.6rem; }
.wok-encart p { margin: 6px 0 0; color: var(--t2); }
.wok-encart .pinceau { margin: 0; color: var(--accent); }
.carte-legal { margin: 40px 0 0; color: var(--t3); font-size: .86rem; text-align: center; }

/* ============ La machine 888 ============ */
.machine {
  position: relative; padding: 100px 0; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(95, 211, 150, .18), transparent 70%), var(--blanc);
}
.machine-grille { display: grid; gap: 34px; align-items: center; }
.machine-texte p:not(.pinceau) { max-width: 30em; color: var(--t2); }
.machine-texte h2 { margin-bottom: 16px; }
.machine-boite {
  position: relative; padding: 22px 18px 20px; border-radius: 30px;
  background: linear-gradient(170deg, #1f9d63, var(--vert-fonce) 75%); box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--menthe-3), 0 40px 80px -30px rgba(8, 59, 39, .7);
}
.machine-ampoules { display: flex; justify-content: space-between; margin: -6px 6px 8px; }
.machine-ampoules span { width: 11px; height: 11px; border-radius: 50%; background: #fffbe8; box-shadow: 0 0 10px 2px rgba(255, 250, 220, .85); animation: ampoule 1.2s steps(2) infinite; }
.machine-ampoules span:nth-child(odd) { animation-delay: -.6s; }
.machine.tourne .machine-ampoules span { animation-duration: .3s; }
@keyframes ampoule { 50% { background: #0e5a3a; box-shadow: none; } }
.machine-enseigne { margin: 0 0 12px; font: 400 2.6rem/1 var(--titre); letter-spacing: .3em; text-align: center; color: #fff; text-shadow: 0 0 18px rgba(200, 245, 218, .9); }
.rouleaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rouleau { min-width: 0; }
.rouleau-titre { margin: 0 0 6px; color: #c8f5da; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.rouleau-fenetre {
  position: relative; height: 112px; overflow: hidden; border-radius: 14px; background: #fff; color: var(--encre);
  box-shadow: inset 0 10px 14px -8px rgba(8, 59, 39, .45), inset 0 -10px 14px -8px rgba(8, 59, 39, .45);
}
.rouleau-bande { margin: 0; padding: 0; list-style: none; will-change: transform; }
.rouleau-bande li {
  display: grid; place-content: center; gap: 4px; height: 112px; padding: 8px; text-align: center;
  font-weight: 700; font-size: .9rem; line-height: 1.2;
}
.rouleau-bande li small { color: var(--vert); font-size: .85rem; font-weight: 800; }
.rouleau-attente { font: 400 2.8rem/1 var(--titre); color: var(--vert-vif); }
.rouleau.tourne .rouleau-bande { filter: blur(1.2px); }
.rouleau.arrete .rouleau-fenetre { animation: arret .35s ease-out; }
@keyframes arret { 40% { transform: translateY(4px); } }
.machine-resultat { min-height: 3.2em; margin: 16px 0 12px; color: #fff; font-weight: 600; text-align: center; }
.machine-resultat b { color: #c8f5da; font-size: 1.3rem; }
.machine-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.machine-actions .bouton { flex: 1 1 200px; }
.levier { display: none; }
.machine.gagne .machine-boite { animation: gagne .8s ease; }
@keyframes gagne { 20% { box-shadow: 0 0 0 6px #c8f5da, 0 0 0 9px #fff, 0 0 80px 10px rgba(95, 211, 150, .6); } }
.etincelle {
  position: fixed; left: 0; top: 0; z-index: 120; width: 18px; height: 18px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff, #8fd6ae 55%, #1f9d63); box-shadow: 0 0 10px rgba(143, 214, 174, .85);
}

/* ============ Le fortune cookie ============ */
.fortune { position: relative; padding: 90px 0; overflow: hidden; background: var(--menthe); }
.fortune-grille { display: grid; grid-template-areas: "texte" "scene" "resultat"; gap: 10px; align-items: center; }
.fortune-texte { grid-area: texte; text-align: center; }
.fortune-scene { grid-area: scene; display: grid; justify-items: center; }
.fortune-cookie { position: relative; width: min(360px, 84vw); padding: 0; border: 0; border-radius: 30px; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fortune-cookie svg { width: 100%; height: auto; overflow: visible; }
.fortune-halo { transform-box: fill-box; transform-origin: center; animation: lueur 2.6s ease-in-out infinite alternate; }
.fortune-corps { transform-box: view-box; transform-origin: 130px 150px; animation: bercer 4.5s ease-in-out infinite; }
@keyframes bercer { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-7deg); } 82% { transform: rotate(6deg); } 88% { transform: rotate(-3deg); } 94% { transform: rotate(1deg); } }
.fortune-cookie:hover .fortune-corps { animation: secouer .45s ease-in-out infinite; }
@keyframes secouer { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg) translateY(-3px); } 75% { transform: rotate(5deg) translateY(-3px); } }
.fortune-moitie, .fortune-papier, .fortune-pli { transform-box: view-box; transition: transform .75s cubic-bezier(.2, .8, .2, 1.25), opacity .4s; }
.fortune-g, .fortune-d { transform-origin: 130px 118px; }
.fortune-papier { transform-origin: 150px 150px; }
.fortune-cookie.casse .fortune-corps { animation: none; }
.casse .fortune-g { transform: translate(-36px, 14px) rotate(-26deg); }
.casse .fortune-d { transform: translate(36px, 14px) rotate(26deg); }
.casse .fortune-pli { opacity: 0; }
.casse .fortune-papier { transform: translate(-22px, -62px) rotate(-26deg) scale(1.3); transition-delay: .12s; }
.fortune-cookie.nouveau .fortune-corps { animation: arrivee .7s cubic-bezier(.3, .7, .4, 1.3); }
.fortune-cookie.nouveau :is(.fortune-moitie, .fortune-papier, .fortune-pli) { transition: none; } /* le nouveau cookie arrive entier */
@keyframes arrivee { from { opacity: 0; transform: translateY(-90px) rotate(-14deg); } }
.fortune-aide { margin: 4px 0 0; color: var(--vert); font-size: 1.35rem; transform-origin: center; }
.fortune-texte h2 { margin-bottom: 14px; }
.fortune-texte .pinceau { transform-origin: center; }
.fortune-texte > p:not(.pinceau) { max-width: 32em; margin-inline: auto; color: var(--t2); }
.fortune-resultat {
  grid-area: resultat; margin-top: 10px; padding: 22px 24px; border: 1px solid var(--menthe-3); border-radius: 22px; background: #fff; box-shadow: var(--ombre-douce);
  animation: entree .6s cubic-bezier(.2, .8, .2, 1);
}
.fortune-message { margin: 0 0 12px; font: 400 1.55rem/1.35 var(--pinceau); color: var(--vert-fonce); }
.fortune-message .reste { color: transparent; }
.fortune-chiffres { margin: 0 0 6px; color: var(--t2); font-size: .95rem; }
.fortune-chiffres b { color: var(--vert); letter-spacing: .04em; }
.fortune-plat { margin: 0 0 16px; }
.fortune-plat b { color: var(--vert); }
.fortune-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.miette { position: fixed; left: 0; top: 0; z-index: 120; width: 8px; height: 8px; border-radius: 40%; background: #dd9c4b; pointer-events: none; }

/* ============ Galerie ============ */
.galerie { padding: 90px 0; background: var(--blanc); }
.galerie-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.galerie-grille button { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--menthe-2); aspect-ratio: 1; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.galerie-grille button:hover img { transform: scale(1.08); }
.photo-grande { width: 100%; max-height: 75vh; object-fit: contain; border-radius: 14px; }

/* ============ Réserver ============ */
.reserver {
  position: relative; padding: 150px 0 110px; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(95, 211, 150, .3), transparent 70%), linear-gradient(180deg, var(--vert-fonce), var(--vert-nuit));
}
.lanternes { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.lanterne { position: absolute; top: 0; width: 44px; height: auto; transform-origin: 50% 0; animation: balancer 4.5s ease-in-out infinite alternate; filter: drop-shadow(0 10px 30px rgba(200, 245, 218, .45)); }
.lanterne.l1 { left: 4%; }
.lanterne.l2 { display: none; left: 15%; top: -40px; animation-duration: 5.5s; animation-delay: -2s; }
.lanterne.l3 { right: 4%; top: -14px; animation-duration: 4s; animation-delay: -1s; }
.lanterne-lumiere { animation: lumiere 2.2s ease-in-out infinite alternate; }
@keyframes balancer { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes lumiere { from { opacity: .2; } to { opacity: .55; } }
.reserver-contenu { position: relative; max-width: 720px; }
.reserver-contenu .pinceau { transform-origin: center; }
.reserver-contenu h2 { margin-bottom: 16px; }
.reserver-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 16px; }
.reserver-actions .bouton { flex: 0 1 260px; }

/* ============ Horaires et accès ============ */
.infos { padding: 100px 0 110px; background: var(--blanc); }
.infos-grille { display: grid; gap: 16px; }
.encart { padding: 26px 24px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--menthe); }
.encart h3 { margin-bottom: 14px; font-size: 2.2rem; color: var(--vert); }
.encart-titre-2 { margin-top: 26px; }
.statut-encart { margin-bottom: 14px; }
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { padding: 11px 8px; border-bottom: 1px solid var(--ligne); text-align: left; }
.horaires th { font-weight: 600; }
.horaires td { color: var(--t2); text-align: right; white-space: nowrap; }
.horaires .ferme-jour { color: var(--t3); font-style: italic; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { background: var(--menthe-2); color: var(--vert-fonce); }
.horaires tr.aujourdhui th::after {
  content: "Aujourd'hui"; display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--vert);
  color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px;
}
address { font-size: 1.15rem; font-style: normal; font-weight: 600; }
.itineraires { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.contacts { display: grid; gap: 8px; margin: 0; }
.contacts a { display: inline-flex; align-items: center; gap: 10px; color: var(--t1); font-weight: 600; text-decoration: none; }
.contacts a:hover { color: var(--vert); }
.contacts svg { width: 20px; height: 20px; fill: none; stroke: var(--vert); stroke-width: 2; color: var(--vert); }
.plan { display: grid; min-height: 300px; margin: 0; overflow: hidden; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--menthe); }
.plan-attente {
  display: grid; place-items: center; place-content: center; gap: 14px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(95, 211, 150, .2), transparent 60%);
}
.plan-epingle { position: relative; display: grid; place-items: center; width: 48px; height: 48px; }
.plan-epingle svg { position: relative; z-index: 1; width: 48px; height: 48px; color: var(--vert-vif); animation: rebond 2s ease-in-out infinite; }
.plan-epingle::before, .plan-epingle::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 34px; height: 12px; margin-left: -17px; border: 2px solid var(--vert-clair); border-radius: 50%; opacity: 0;
}
.revele .plan.visible .plan-epingle svg { animation: tomber-epingle .9s cubic-bezier(.3, .7, .4, 1.3) both, rebond 2s ease-in-out 1.4s infinite; }
.plan.visible .plan-epingle::before { animation: onde 2.4s ease-out 1s infinite; }
.plan.visible .plan-epingle::after { animation: onde 2.4s ease-out 2.2s infinite; }
@keyframes tomber-epingle { from { opacity: 0; transform: translateY(-90px); } 55% { opacity: 1; } }
@keyframes onde { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(2.6); } }
.plan-attente p { max-width: 24em; margin: 0; color: var(--t3); font-size: .86rem; }
.plan iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }
.plan figcaption { padding: 8px 14px; background: var(--menthe-2); font-size: .85rem; }

/* ============ Pied de page ============ */
.pied { padding: 56px 0 26px; background: var(--vert-nuit); color: var(--t2); }
.pied a { color: #fff; }
.pied-grille { display: grid; gap: 26px; }
.pied-marque { display: flex; align-items: flex-start; gap: 16px; }
.pied-logo { width: 70px; height: 40px; flex: none; color: #fff; }
.pied-marque strong { color: #fff; font: 400 1.6rem/1 var(--titre); letter-spacing: .06em; }
.pied-titre { margin-bottom: 8px; font-size: 1.4rem; letter-spacing: .05em; color: var(--vert-pale); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--filet); font-size: .9rem; }
.pied-bas p { margin: 0; }
.pied-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.pied .lien { padding: 0; color: #fff; font-size: .9rem; }
.credit { opacity: .75; }

/* ============ Barre d'actions (téléphone) ============ */
.barre-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--ligne);
  box-shadow: 0 -12px 30px -22px rgba(8, 59, 39, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.barre-actions a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px;
  color: var(--t2); font-size: .74rem; font-weight: 600; text-decoration: none;
}
.barre-actions svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.barre-actions a:first-child { color: #fff; background: var(--degrade); }

/* ============ Fenêtre (réservation, photos) ============ */
.modale { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modale-fond { position: absolute; inset: 0; background: rgba(8, 59, 39, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.modale.ouvert .modale-fond { opacity: 1; }
.modale-panneau {
  position: relative; display: flex; flex-direction: column; width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: hidden;
  border-radius: 24px; background: #fff; box-shadow: 0 30px 70px -30px rgba(8, 59, 39, .8);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.modale.ouvert .modale-panneau { opacity: 1; transform: none; }
.modale-panneau:focus { outline: none; }
.modale-tete { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px 22px; border-bottom: 1px solid var(--ligne); }
.modale-tete h2 { flex: 1; font-size: 2.2rem; }
.modale-fermer {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid var(--menthe-3); border-radius: 50%;
  background: #fff; color: var(--vert-fonce); cursor: pointer; transition: background-color .2s, transform .3s;
}
.modale-fermer:hover { background: var(--menthe-2); transform: rotate(90deg); }
.modale-fermer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modale-corps { flex: 1; overflow: auto; padding: 16px; }
.modale-corps iframe { width: 100%; height: min(70svh, 720px); border: 1px solid var(--ligne); border-radius: 14px; background: #fff; }
.modale-corps .petit { margin: 10px 0 0; text-align: center; }

/* ============ Bandeau cookies (fortune cookie) ============ */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.cookies-carte {
  display: flex; gap: 16px; align-items: flex-start; max-width: 580px; margin: 0 auto; padding: 16px 18px; pointer-events: auto;
  border: 1px solid var(--menthe-3); border-radius: 20px; background: #fff; color: var(--t1);
  box-shadow: 0 24px 50px -16px rgba(8, 59, 39, .5); animation: cookies-in .6s cubic-bezier(.2, 1.2, .4, 1) both;
}
.cookie-img { flex: 0 0 76px; width: 76px; overflow: visible; }
.cookie-g { transform-box: view-box; transform-origin: 52px 62px; animation: cookie-g 1s cubic-bezier(.3, .7, .4, 1.3) .5s both; }
.cookie-d { transform-box: view-box; transform-origin: 62px 62px; animation: cookie-d 1s cubic-bezier(.3, .7, .4, 1.3) .5s both; }
.cookie-papier { animation: apparaitre .5s ease 1s both; opacity: 0; }
@keyframes cookie-g { from { transform: rotate(18deg) translateX(8px); } }
@keyframes cookie-d { from { transform: rotate(-18deg) translateX(-8px); } }
.cookies-corps h2 { margin: 2px 0 6px; font-size: 1.7rem; }
.cookies-corps p { margin: 0; color: var(--t2); font-size: .86rem; line-height: 1.45; }
.cookies-boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookies-btn { /* deux boutons identiques : accepter et refuser sont à égalité */
  flex: 1 1 120px; padding: 10px 16px; border: 1.5px solid var(--vert); border-radius: 999px; background: var(--vert);
  color: #fff; font: 700 .92rem/1.2 var(--texte); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.cookies-btn:hover { border-color: var(--vert-fonce); background: var(--vert-fonce); }
.cookies:focus { outline: none; }
@keyframes cookies-in { from { opacity: 0; transform: translateY(40px); } }

/* ============ Mentions légales ============ */
.legal-tete { padding: calc(var(--entete-h) + 40px) 0 40px; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(95, 211, 150, .3), transparent 70%), linear-gradient(180deg, var(--vert-fonce), var(--vert-nuit)); }
.legal-tete h1 { font-size: clamp(3.2rem, 11vw, 5.4rem); }
.legal, .legal-tete .wrap { width: min(780px, 100% - 32px); }
.legal { padding: 30px 0 70px; }
.legal section { margin: 34px 0; scroll-margin-top: calc(var(--entete-h) + 16px); }
.legal h2 { margin-bottom: 10px; font-size: 2.2rem; color: var(--vert); }
.legal p, .legal li { color: var(--t2); overflow-wrap: anywhere; }
.legal strong { color: var(--t1); }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--menthe-2); font-size: .9em; }
.a-completer { padding: 1px 6px; border-radius: 6px; background: #fff1c2; color: #6b4e00; }
.retour { font-weight: 700; text-decoration: none; }
.retour:hover { text-decoration: underline; }
.page-legale { padding-bottom: 0; }
.page-legale .entete { background: rgba(8, 59, 39, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .1); }
.page-legale .entete-tel { margin-left: auto; } /* pas de menu sur cette page : le téléphone reste à droite */

/* ============ Décor flottant : feuilles et ingrédients (grands écrans, site.js les fait glisser au défilement) ============ */
.decor { display: none; }
.wokhei, .composer, .machine, .fortune { isolation: isolate; }
@media (min-width: 1100px) {
  .decor { position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden; pointer-events: none; }
  .decor-el { position: absolute; opacity: .5; animation: flotter 9s ease-in-out infinite alternate; }
  .dc-feuille-1 { right: 3%; top: 9%; width: 140px; height: 52px; rotate: -24deg; }
  .dc-carotte { right: 9%; bottom: 14%; width: 46px; height: 46px; opacity: .4; animation-duration: 7s; }
  .dc-feuille-2 { left: 2%; bottom: 8%; width: 96px; height: 36px; rotate: 32deg; opacity: .35; animation-duration: 11s; }
  .dc-feuille-3 { left: 3%; top: 70px; width: 120px; height: 45px; rotate: 18deg; opacity: .45; }
  .dc-brocoli { right: 4%; top: 90px; width: 54px; height: 60px; opacity: .35; animation-duration: 8s; }
  .dc-feuille-4 { left: 2%; top: 12%; width: 110px; height: 41px; rotate: -30deg; opacity: .4; }
  .dc-crevette { left: 26%; bottom: 10%; width: 50px; height: 50px; opacity: .35; animation-duration: 7.5s; }
  .dc-feuille-5 { right: 3%; top: 14%; width: 120px; height: 45px; rotate: 150deg; opacity: .4; }
}
@keyframes flotter { from { transform: translateY(-10px) rotate(-6deg); } to { transform: translateY(12px) rotate(7deg); } }

/* ============ Écrans plus larges ============ */
@media (min-width: 560px) {
  .heros-actions .bouton { flex: 0 1 auto; }
  .chiffres li { font-size: .95rem; }
}
@media (min-width: 720px) {
  .gestes { grid-template-columns: repeat(3, 1fr); }
  .infos-grille { grid-template-columns: 1fr 1fr; }
  .plan { grid-column: 1 / -1; }
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr; }
  .wok-encart { grid-template-columns: 1fr auto; padding: 30px 34px; }
  .choix-garnitures { grid-template-columns: repeat(3, 1fr); }
  .heros-badge { width: 120px; height: 120px; font-size: .78rem; }
  .heros-badge .pinceau { font-size: 2.2rem; }
}
@media (min-width: 900px) {
  :root { --entete-h: 76px; }
  body { padding-bottom: 0; }
  .barre-actions { display: none; }
  .nav { display: flex; }
  .entete-tel { margin-left: 8px; padding: 8px 16px; border: 1.5px solid rgba(255, 255, 255, .35); }
  .entete-tel-texte { display: inline; }
  .heros-grille { grid-template-columns: 1.05fr .95fr; gap: 30px; }
  .heros-scene { width: 100%; max-width: 640px; margin: 0; justify-self: end; }
  .heros-titre { font-size: clamp(7rem, 11.5vw, 11rem); }
  .defiler { display: block; }
  .wokhei-grille { grid-template-columns: auto 1fr; gap: 70px; }
  .hanzi { writing-mode: vertical-rl; font-size: clamp(9rem, 15vw, 13rem); letter-spacing: .1em; }
  .composer-grille { grid-template-columns: 1fr 1fr; gap: 40px; }
  .poele { top: calc(var(--entete-h) + 20px); }
  .scene-poele { max-height: none; }
  .poele-resume { padding: 18px 24px 22px; }
  .poele-nom { font-size: 1.25rem; white-space: normal; }
  .poele-details { white-space: normal; }
  .poele-prix { font-size: 3.4rem; }
  .plats { grid-template-columns: 1fr 1fr; }
  .carte-outils-inner { grid-template-columns: 1fr minmax(190px, 230px); align-items: center; }
  .carte-outils-inner .recherche { grid-column: 2; grid-row: 1; min-height: 44px; padding: 0 14px; }
  .univers { gap: 6px; }
  .onglet { gap: 6px; padding: 6px 12px 6px 9px; font-size: .88rem; }
  .onglet svg { width: 20px; height: 20px; }
  .machine-grille { grid-template-columns: .8fr 1.2fr; gap: 60px; }
  .fortune-grille { grid-template-columns: .9fr 1.1fr; grid-template-areas: "scene texte" "scene resultat"; column-gap: 50px; row-gap: 0; }
  .fortune-scene { align-self: start; }
  .fortune-texte { align-self: start; padding-top: 34px; text-align: left; }
  .fortune-texte .pinceau { transform-origin: left center; }
  .fortune-texte > p:not(.pinceau) { margin-inline: 0; }
  .fortune-resultat { align-self: start; margin-top: 18px; }
  .machine-boite { padding: 28px 70px 26px 28px; }
  .rouleau-fenetre, .rouleau-bande li { height: 130px; }
  .rouleau-bande li { font-size: 1rem; }
  .levier { position: absolute; top: 90px; right: 16px; display: block; width: 38px; height: 170px; padding: 0; border: 0; background: none; cursor: grab; }
  .levier-tige { position: absolute; left: 50%; bottom: 20px; width: 10px; height: 120px; margin-left: -5px; border-radius: 5px; background: linear-gradient(90deg, #9aa8a0, #f2f6f4, #9aa8a0); transform-origin: 50% 100%; transition: transform .4s cubic-bezier(.3, .7, .4, 1.5); }
  .levier-boule { position: absolute; left: 50%; bottom: 128px; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c8f5da 45%, #5fd396 80%); box-shadow: 0 6px 14px rgba(8, 59, 39, .5); transition: transform .4s cubic-bezier(.3, .7, .4, 1.5); }
  .levier::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 30px; height: 30px; margin-left: -15px; border-radius: 8px; background: linear-gradient(#e3f3ea, #8fd6ae); }
  .levier.tire .levier-tige { transform: scaleY(-.35); }
  .levier.tire .levier-boule { transform: translateY(150px); }
  .infos-grille { grid-template-columns: 1fr 1fr 1.25fr; }
  .plan { grid-column: auto; }
  .reserver { padding-top: 130px; }
  .lanterne { width: 76px; }
  .lanterne.l1 { left: 6%; }
  .lanterne.l2 { display: block; width: 92px; }
  .lanterne.l3 { right: 8%; width: 70px; }
}
@media (max-width: 380px) {
  .marque-nom { font-size: 1.35rem; }
  .marque-logo { width: 44px; height: 26px; }
  .heros-titre { font-size: 4.6rem; }
  .rouleau-bande li { font-size: .8rem; }
}
@media (max-width: 899px) {
  .cookies { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } /* au-dessus de la barre d'actions */
  .heros { min-height: auto; }
  /* Le wok reste en haut de l'écran pendant que l'on choisit, pour voir chaque ingrédient tomber */
  .poele { order: -1; }
  .scene-poele { max-height: 22vh; }
  .option, .etape legend { scroll-margin: calc(var(--entete-h) + 22vh + 150px) 0 90px; } /* jamais cachés sous le wok */
  .poele-resume { grid-template-columns: 1fr auto; padding: 10px 14px 12px; }
  .poele-actions { margin-top: 8px; }
  .poele-actions .bouton { min-height: 48px; padding: 10px 16px; font-size: .98rem; }
  .poele-prix { font-size: 2.2rem; }
  /* Menus à la une : on les fait glisser */
  .signature-liste {
    grid-auto-flow: column; grid-auto-columns: min(84%, 340px); grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 16px 30px; margin: 0 -16px; scroll-padding: 0 16px;
  }
  .signature-liste::-webkit-scrollbar { display: none; }
  .menu-carte { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .cookies-carte { gap: 12px; padding: 14px; }
  .cookie-img { flex-basis: 52px; width: 52px; }
  .cookies-corps h2 { font-size: 1.4rem; }
  .cookies-corps p { font-size: .82rem; }
  .chiffres { gap: 10px; }
}
/* Animations réduites : classe « sobre » posée par intro.js quand le visiteur l'a choisi (bouton « Réduire les
   animations » du pied de page). Plus rien ne bouge ; seuls les fondus et les changements de couleur restent. */
html.sobre { scroll-behavior: auto; }
.sobre *, .sobre *::before, .sobre *::after {
  animation: none !important;
  transition-property: opacity, color, background-color, border-color, box-shadow !important;
}
.sobre.revele [data-revele] { transform: none; }
.sobre.revele .hanzi[data-revele] span { clip-path: none; }
.sobre.revele .mot > * { transform: none; }
.sobre .decor, .sobre .vol, .sobre .vapeur path { display: none; }
/* Sans JavaScript, le réglage de l'appareil s'applique directement. */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) { scroll-behavior: auto; }
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after { animation: none !important; transition: none !important; }
}
@media print {
  .entete, .barre-actions, .carte-outils, .cookies, .heros-scene, .plan, .bandeau, .braises, .composer, .machine, .reserver, .modale { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}
