/* Nazar Kebab — www.nazarkebab.ch · site écrit à la main (10.10.2026).
   La maison : le bois massif, le carrelage bleu nuit, et l'œil nazar qui lui donne son nom.
   Règle : l'état par défaut de chaque élément animé EST l'état final. Sans JS, sous mouvement réduit,
   ou si un script tombe, la page est complète et immobile. */

:root {
  color-scheme: only light;
  --carrelage: #142A52;
  --joint: #22386A;
  --prunelle: #0C1834;
  --ardoise: #E3E8F0;
  --tuile: #EEF2F7;
  --verre: #1A47C4;
  --ciel: #8DBBF5;
  --email: #F7F9FC;
  --bois: #7A4A2A;
  --bois-texte: #FFF6EA;
  --braise: #784732;
  --gris: #3E4C66;
  --filet: rgba(12, 24, 52, .12);
  --b4g-fond: #E9F2FC;
  --b4g-bord: #0070D6;
  --b4g-cyan-1: #01DDFB;
  --b4g-cyan-2: #01B8F8;
  --b4g-encre: #06202A;

  --f-titre: Rokkitt, Rockwell, "Roboto Slab", Georgia, serif;
  --f-texte: Signika, "Segoe UI", system-ui, sans-serif;

  --c-sortie: cubic-bezier(.22, 1, .36, 1);
  --c-pose: cubic-bezier(.2, .8, .2, 1);
  --c-verre: cubic-bezier(.34, 1.56, .64, 1);
  --c-fente: cubic-bezier(.7, 0, .2, 1);
  --c-fil: cubic-bezier(.4, 0, .2, 1);
  --c-ouvre: cubic-bezier(.65, 0, .35, 1);

  --nav-h: 62px;
  --barre-bas: 0px;
  --gout: 16px;
  --section: 80px;
  --photo-h: clamp(240px, 44svh, 420px);
  --large: 1280px;
}
@media (min-width: 960px) {
  :root { --nav-h: 70px; --gout: 32px; --section: 128px; }
}
@media (max-width: 959px) {
  :root { --barre-bas: calc(61px + env(safe-area-inset-bottom)); }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  /* La barre « ticket » en haut et l'onglet du bas ne cachent jamais l'élément qui reçoit le focus. */
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scroll-padding-bottom: calc(var(--barre-bas) + 12px);
}
body {
  margin: 0; background: var(--ardoise); color: var(--prunelle);
  font: 400 17px/1.55 var(--f-texte); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 960px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
p, figure, ul, ol { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--verre); outline-offset: 2px; }
.sombre :focus-visible { outline-color: var(--ciel); }
.cache-lecteur {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Les heures et le numéro ne se coupent jamais en fin de ligne. */
.chiffres { font-family: var(--f-titre); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.evitement {
  position: absolute; left: 12px; top: -80px; z-index: 70; background: var(--verre); color: #fff;
  padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 12px; }
.contenu {
  max-width: var(--large); margin: 0 auto;
  padding-left: max(var(--gout), env(safe-area-inset-left)); padding-right: max(var(--gout), env(safe-area-inset-right));
}
.section { padding: var(--section) 0; }
.titre-2 { font-size: clamp(36px, 6vw, 60px); }
.soustitre { margin-top: 10px; color: var(--gris); max-width: 62ch; }
.entete { margin-bottom: 36px; }
@media (min-width: 960px) { .entete { margin-bottom: 52px; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 16px/1.1 var(--f-texte); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 120ms var(--c-pose), background-color 160ms, color 160ms;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-1 { background: var(--verre); color: #fff; }
.btn-1:hover { background: #163DA8; }
.btn-2 { border-color: var(--verre); color: var(--verre); }
.btn-2:hover { background: rgba(26, 71, 196, .08); }
.sombre .btn-1 { background: var(--ardoise); color: var(--prunelle); }
.sombre .btn-1:hover { background: #fff; }
.sombre .btn-2 { border-color: var(--ciel); color: var(--ardoise); }
.sombre .btn-2:hover { background: rgba(141, 187, 245, .14); }
.btn-bois { border-color: var(--bois-texte); color: var(--bois-texte); }
.btn-bois:hover { background: rgba(255, 246, 234, .12); }

/* Commander sur Best4GoEat (demande de BG du 10.10 : dès l'arrivée, et la pub de Best4GoEat avec) */
.btn-b4g, .btn-commander {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--b4g-cyan-1), var(--b4g-cyan-2)); color: var(--b4g-encre);
  text-decoration: none; transition: transform 120ms var(--c-pose), box-shadow 160ms;
}
.btn-b4g { min-height: 48px; padding: 0 22px; font: 600 16px/1 var(--f-texte); }
.btn-commander { min-height: 54px; padding: 0 26px; font: 600 17px/1.1 var(--f-texte); box-shadow: 0 6px 18px rgba(1, 184, 248, .26); }
.btn-commander:hover { box-shadow: 0 8px 26px rgba(1, 184, 248, .42); }
.btn-b4g:active, .btn-commander:active { transform: translateY(1px); }
.btn-b4g svg, .btn-commander svg { width: 20px; height: 20px; flex: none; }
/* Le logo Best4GoEat dans le bouton (BG 10.10 : « toujours le logo quand il y a la place ») */
.btn-commander { gap: 12px; padding: 0 20px 0 26px; background: var(--b4g-encre); color: #fff; border: 2px solid var(--b4g-cyan-1); box-shadow: 0 6px 20px rgba(1, 184, 248, .32); }
.btn-commander:hover { background: #0B2E3B; box-shadow: 0 8px 28px rgba(1, 184, 248, .48); }
.btn-commander .b4g-logo-bouton { width: auto; height: 40px; margin: -4px 0; overflow: visible; }
.btn-commander .b4g-logo-bouton text { font-family: Poppins, var(--f-texte); font-style: italic; font-weight: 900; }
.b4g-mot { font-family: Poppins, var(--f-texte); font-style: italic; font-weight: 900; letter-spacing: -.02em; }
.sombre .btn-commander:focus-visible { outline-color: var(--b4g-cyan-1); }

/* ---------- La barre « ticket » (bord dentelé comme un ticket de comptoir) ---------- */
.ticket-ombre { position: fixed; top: 0; left: 0; right: 0; z-index: 40; filter: drop-shadow(0 2px 0 rgba(12, 24, 52, .12)); }
.ticket {
  background: var(--ardoise); padding-bottom: 6px;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, #0000 97%, #000) bottom / 12px 6px repeat-x,
                linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat;
  mask: radial-gradient(circle 6px at 50% 100%, #0000 97%, #000) bottom / 12px 6px repeat-x,
        linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat;
}
.ticket-in {
  height: 56px; max-width: var(--large); margin: 0 auto; display: flex; align-items: center; gap: 12px;
  padding-left: max(var(--gout), env(safe-area-inset-left)); padding-right: max(var(--gout), env(safe-area-inset-right));
}
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 800 22px/1 var(--f-titre); color: var(--prunelle); text-decoration: none; white-space: nowrap; }
.marque svg { width: 28px; height: 28px; flex: none; }
@media (max-width: 359px) { .marque { font-size: 19px; gap: 8px; } .marque svg { width: 24px; height: 24px; } }
.nav-liens, .nav-tel, .nav-b4g { display: none; }
.nav-mobile { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lien-carte { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 600 16px/1 var(--f-texte); text-decoration: none; color: var(--prunelle); white-space: nowrap; }
.lien-carte[aria-current="page"] { text-decoration: underline 3px var(--verre); text-underline-offset: 6px; }
.btn-rond { width: 44px; height: 44px; border-radius: 50%; background: var(--verre); color: #fff; display: grid; place-items: center; flex: none; }
.btn-rond svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .ticket-in { height: 64px; gap: 16px; }
  .nav-mobile { display: none; }
  .nav-liens { display: flex; gap: 30px; margin: 0 auto; }
  .nav-liens a { display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1 var(--f-texte); text-decoration: none; color: var(--prunelle); }
  .nav-liens a:hover { color: var(--verre); }
  .nav-liens a[aria-current="page"] { text-decoration: underline 3px var(--verre); text-underline-offset: 6px; }
  .nav-b4g { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
  .nav-b4g svg { width: 18px; height: 18px; }
  .nav-tel { display: inline-flex; min-height: 44px; padding: 0 16px; }
}

/* ---------- Carrelage métro bleu nuit, posé en appareil décalé ---------- */
.carrelage {
  background-color: var(--carrelage);
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, .05), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cpath d='M0 1H160M0 41H160M1 0V40M81 0V40M41 40V80M121 40V80' stroke='%2322386A' stroke-width='2'/%3E%3C/svg%3E");
  background-size: auto, 160px 80px;
}
@media (min-width: 960px) { .carrelage { background-size: auto, 224px 112px; } }
.sombre { color: var(--ardoise); }

/* ---------- Héros : la photo de la maison, l'œil sur la couture ---------- */
.heros { position: relative; padding-top: var(--nav-h); background: var(--carrelage); }
.heros-photo { position: relative; height: var(--photo-h); overflow: hidden; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 14% 62%; }
.heros-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(20, 42, 82, .55), transparent); pointer-events: none; }
.heros-panneau { padding: 52px max(var(--gout), env(safe-area-inset-right)) 44px max(var(--gout), env(safe-area-inset-left)); }
.nom { font-weight: 800; font-size: clamp(52px, 15vw, 88px); line-height: .9; letter-spacing: -.015em; color: var(--ardoise); }
.adresse-h { margin-top: 14px; font: 600 16px/1.3 var(--f-texte); color: var(--ciel); }
.phrase { margin-top: 14px; max-width: 36ch; color: var(--ardoise); }
.heros-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.heros-actions .btn-commander { grid-column: 1 / -1; }
.heros-actions .btn { padding: 0 12px; }
.jour-h { margin-top: 18px; font: 600 17px/1.3 var(--f-titre); font-variant-numeric: lining-nums tabular-nums; color: var(--ciel); }
/* L'œil se pose à cheval sur la couture photo/panneau, sans toucher le titre (30 px sous la couture, titre à 52 px). */
.oeil-bouton {
  position: absolute; z-index: 3; right: max(18px, env(safe-area-inset-right)); top: calc(var(--nav-h) + var(--photo-h) - 62px);
  width: 92px; height: 92px; border-radius: 50%; -webkit-tap-highlight-color: transparent;
}
.oeil-bouton.touchable { cursor: pointer; }
.oeil-bouton svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 16px rgba(6, 14, 34, .45)); }
.oeil-bouton:focus-visible { outline: 3px solid var(--ciel); outline-offset: 4px; }
.voile, .passer { display: none; }
@media (min-width: 600px) and (max-width: 959px) {
  .heros-actions { display: flex; flex-wrap: wrap; }
  .heros-actions .btn { padding: 0 22px; }
}
@media (min-width: 960px) {
  .heros {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    height: 100svh; min-height: 640px; max-height: 1080px;
  }
  .heros-photo { grid-column: 2; grid-row: 1; height: auto; }
  /* Le döner (le produit phare) reste entier à gauche de la photo. */
  .heros-photo img { object-position: 6% 60%; }
  .heros-photo::after { inset: 0 auto 0 0; width: 22%; height: auto; background: linear-gradient(to right, rgba(20, 42, 82, .6), transparent); }
  .heros-panneau { grid-column: 1; grid-row: 1; display: flex; align-items: center; padding: 48px 72px 48px max(var(--gout), calc(120% - var(--large) / 2 + var(--gout))); }
  .nom { font-size: clamp(76px, 7.6vw, 128px); }
  .phrase { font-size: 19px; }
  .heros-actions { display: flex; flex-wrap: wrap; margin-top: 30px; }
  .heros-actions .btn { padding: 0 22px; }
  .oeil-bouton { right: auto; left: calc(41.667% - 76px); top: calc(var(--nav-h) + 18%); width: 152px; height: 152px; }
}

/* ---------- Les incontournables ---------- */
.plats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
.plat figure { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--tuile); }
.plat img { width: 100%; height: 100%; object-fit: cover; }
.plat-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-top: 12px; }
.plat h3 { font-size: 21px; line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
.plat .prix { font: 700 21px/1 var(--f-titre); color: var(--verre); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.plat .desc { margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--gris); }
.suite { margin-top: 44px; }
@media (max-width: 599px) { .suite .btn { width: 100%; } }
@media (min-width: 720px) {
  .plats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
  .plat h3, .plat .prix { font-size: 25px; }
  .plat .desc { font-size: 16px; }
}

/* ---------- Infos : le bandeau en bois ---------- */
.bois { background: var(--bois); color: var(--bois-texte); }
.bois :focus-visible { outline-color: var(--bois-texte); }
.infos { padding: 60px 0; }
.infos-grille { display: grid; gap: 36px; }
.info h3 { font-size: 28px; margin-bottom: 10px; }
.jour { font: 700 21px/1.3 var(--f-titre); font-variant-numeric: lining-nums tabular-nums; margin-bottom: 8px; }
.semaine { opacity: .92; }
.info .btn { margin-top: 18px; }
.grand-tel { font-size: 32px; font-weight: 700; line-height: 1.1; }
.grand-tel a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.grand-tel a:hover { text-decoration: underline; }
.reseaux { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 10px; }
.reseaux a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 960px) { .infos { padding: 72px 0; } .infos-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; } }

/* ---------- L'œil, puis Best4GoEat, sur le même mur ---------- */
.nazar { padding-top: var(--section); }
.nazar-grille { display: grid; gap: 28px; align-items: center; }
.grand-oeil { width: min(200px, 52vw); height: auto; display: block; }
.nazar-texte p { margin-top: 14px; max-width: 46ch; opacity: .9; }
@media (min-width: 960px) { .nazar-grille { grid-template-columns: auto minmax(0, 1fr); gap: 72px; } .grand-oeil { width: 280px; } }
/* Origine au centre de chaque pièce de l'œil — par classe, jamais par balise : l'ellipse du reflet garde sa rotation. */
.oeil .oeil-clin, .oeil .o-verre, .oeil .o-email, .oeil .o-iris, .oeil .o-reflet, .oeil .o-paupiere-h, .oeil .o-paupiere-b {
  transform-box: fill-box; transform-origin: center;
}
.oeil .o-iris { transition: transform 200ms var(--c-pose); }
.o-paupiere-h { transform: translateY(-62px); }
.o-paupiere-b { transform: translateY(62px); }

.b4g-zone { padding: 72px max(var(--gout), env(safe-area-inset-right)) var(--section) max(var(--gout), env(safe-area-inset-left)); }
.b4g {
  max-width: calc(var(--large) - 2 * var(--gout)); margin: 0 auto; border-radius: 28px; background: var(--b4g-fond); border: 2px solid var(--b4g-bord);
  color: var(--prunelle); padding: 24px 20px; display: grid; gap: 18px;
}
.b4g-logo { width: 88px; height: auto; display: block; overflow: visible; }
.b4g-logo text { font-family: Poppins, var(--f-texte); font-style: italic; font-weight: 900; }
.b4g h2 { font: 700 25px/1.15 var(--f-texte); letter-spacing: 0; }
.b4g p { color: var(--gris); margin-top: 6px; }
.b4g-actions { display: grid; gap: 6px; justify-items: start; }
.b4g .tel { display: inline-flex; align-items: center; min-height: 44px; color: var(--verre); font-weight: 600; }
.b4g :focus-visible { outline-color: var(--b4g-bord); }
@media (max-width: 959px) { .b4g .btn-b4g { width: 100%; } .b4g-actions { justify-items: stretch; } }
@media (min-width: 960px) { .b4g { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 28px 40px; } .b4g-logo { width: 112px; } .b4g-actions { justify-items: end; } }

/* ---------- L'onglet du bas, sur téléphone et tablette (comme Ji Fu et l'ancien site) ---------- */
.barre-bas {
  position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1px;
  background: var(--carrelage); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(12, 24, 52, .22);
  transition: transform 320ms var(--c-pose);
}
.barre-bas a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 0 8px;
  background: var(--carrelage); color: var(--ardoise); text-decoration: none; font: 600 15px/1.1 var(--f-texte);
}
.barre-bas a + a { box-shadow: -1px 0 0 rgba(201, 210, 224, .2); }
.barre-bas svg { width: 20px; height: 20px; flex: none; }
.barre-bas .mini-broche { color: var(--ciel); }
.barre-bas .bb-commander { background: linear-gradient(135deg, var(--b4g-cyan-1), var(--b4g-cyan-2)); color: var(--b4g-encre); }
.bb-commander span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.bb-commander small { font-family: Poppins, var(--f-texte); font-style: italic; font-weight: 900; font-size: 11px; letter-spacing: -.01em; }
.barre-bas a:focus-visible { outline: 3px solid var(--ciel); outline-offset: -3px; }
.barre-bas .bb-commander:focus-visible { outline-color: var(--prunelle); }
/* Dès l'arrivée, on peut commander : l'onglet reste au-dessus du voile pendant l'accueil (BG, 10.10). */
.accueil .barre-bas { z-index: 52; }
@media (min-width: 960px) { .barre-bas { display: none; } }

/* ---------- Pied de page (aplat sombre : pas de couture avec le carrelage) ---------- */
.pied { background: var(--prunelle); padding: 36px 0 calc(44px + var(--barre-bas)); font-size: 16px; }
.pied .contenu { display: grid; gap: 8px; }
.pied a { color: var(--ardoise); }
.pied nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.pied nav a { display: inline-flex; align-items: center; min-height: 44px; }
.revoir { display: none !important; }
.mouvement:not(.eco) .revoir { display: inline-flex !important; }
.colophon { opacity: .86; }

/* ---------- Carte ---------- */
.carte-entete { padding: calc(var(--nav-h) + 44px) 0 40px; }
.carte-entete h1 { font-weight: 800; font-size: clamp(56px, 10vw, 104px); line-height: .9; }
.carte-entete .soustitre { color: var(--ardoise); opacity: .9; margin-top: 14px; }
.carte-actions { margin-top: 20px; }
.a-savoir { margin-top: 28px; background: var(--tuile); border-radius: 14px; padding: 16px 18px; color: var(--gris); font-size: 16px; }
.a-savoir strong { color: var(--prunelle); }
.categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.categories a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 14px;
  background: var(--email); border: 1.5px solid var(--filet); border-radius: 12px; text-decoration: none;
  font: 600 16px/1.15 var(--f-texte);
}
.categories a span { color: var(--gris); font-weight: 400; font-size: 14px; white-space: nowrap; }
.categories a:hover { border-color: var(--verre); }
.carte-corps { padding-bottom: var(--section); }
.sommaire { display: none; }
.etage { padding-top: 52px; }
.etage-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--prunelle); }
.etage h2 { font-size: clamp(32px, 5vw, 44px); }
.compte { color: var(--gris); font-size: 15px; white-space: nowrap; }
.banniere { margin-top: 18px; border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16 / 9; }
.banniere img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.lignes li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.lignes .vignette { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--tuile); }
.lignes .vignette img { width: 100%; height: 100%; object-fit: cover; }
.lignes .vide { display: grid; place-items: center; }
.lignes .vide svg { width: 26px; height: 26px; opacity: .35; }
.lignes h3 { font-size: 20px; line-height: 1.15; }
.lignes .desc { margin-top: 3px; font-size: 15px; line-height: 1.4; color: var(--gris); }
.lignes .prix { font: 700 21px/1 var(--f-titre); color: var(--verre); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; text-align: right; }
.pastille { display: inline-block; margin-left: 4px; padding: 1px 8px; vertical-align: 3px; border: 1.5px solid currentColor; border-radius: 999px; font: 600 12px/1.4 var(--f-texte); color: var(--gris); }
.fin-carte { margin-top: 28px; }
@media (min-width: 720px) {
  .lignes li { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 18px; }
  .lignes .vignette { width: 88px; height: 88px; }
  .lignes h3 { font-size: 22px; }
  .lignes .prix { font-size: 23px; }
  .categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .categories { display: none; }
  .carte-corps { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 64px; align-items: start; }
  .sommaire { display: block; position: sticky; top: calc(var(--nav-h) + 28px); padding-top: 52px; }
  .sommaire .oeil { width: 30px; height: 30px; margin-left: -14px; }
  .sommaire ol { position: relative; margin-top: 4px; }
  .sommaire ol::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--prunelle); border-radius: 2px; }
  .sommaire a {
    position: relative; display: flex; align-items: center; min-height: 44px; padding-left: 24px;
    font: 600 16px/1.2 var(--f-texte); text-decoration: none; color: var(--gris); transition: color 160ms, transform 240ms var(--c-pose);
  }
  .sommaire a::before {
    content: ""; position: absolute; left: -5px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
    background: var(--ardoise); border: 2px solid var(--prunelle); transition: background-color 200ms, transform 240ms var(--c-verre);
  }
  .sommaire a:hover { color: var(--prunelle); }
  .sommaire a[aria-current="true"] { color: var(--prunelle); transform: translateX(6px); }
  .sommaire a[aria-current="true"]::before { background: var(--braise); border-color: var(--braise); transform: translateX(-6px) scale(1.25); }
}

/* ---------- 404 ---------- */
.perdu { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: var(--nav-h) var(--gout) 48px; text-align: center; }
.perdu .oeil { width: 120px; height: 120px; }
.perdu h1 { font-size: clamp(40px, 8vw, 72px); }
.perdu .coord a { font-weight: 600; }

/* =====================================================================
   MOUVEMENT — n'existe que si le visiteur l'accepte.
   ===================================================================== */
@property --trou { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* 1. L'accueil (3 s) : l'œil se forme en verre, cligne, puis s'ouvre comme un hublot sur la maison. */
.accueil .voile {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 50;
  -webkit-mask: radial-gradient(circle at 50% 50%, #0000 var(--trou), #000 calc(var(--trou) + 1px));
  mask: radial-gradient(circle at 50% 50%, #0000 var(--trou), #000 calc(var(--trou) + 1px));
  animation: hublot 1000ms var(--c-ouvre) 1.35s both, voile-part 300ms linear 2.15s both;
}
/* Sans @property (iOS ≤ 16.3, Firefox ESR 115), pas de hublot : un fondu à la place. */
.sans-property.accueil .voile { -webkit-mask: none; mask: none; animation: voile-part 600ms var(--c-ouvre) 1.4s both; }
.oeil-accueil { width: min(46vw, 230px); height: auto; overflow: visible; }
.accueil .oeil-accueil { animation: plonge 950ms var(--c-ouvre) 1.35s both; }
.accueil .oeil-accueil .o-verre { animation: eclot 480ms var(--c-verre) .15s both; }
.accueil .oeil-accueil .o-email { animation: eclot 480ms var(--c-verre) .26s both; }
.accueil .oeil-accueil .o-iris { animation: eclot 480ms var(--c-verre) .37s both; }
.accueil .oeil-accueil .o-reflet { animation: eclot 420ms var(--c-verre) .5s both; }
.accueil .oeil-accueil .oeil-clin { animation: clin 220ms ease-in-out 1.02s both; }
.accueil .heros-photo img { animation: photo-pose 1500ms var(--c-pose) 1.35s both; }
.accueil .oeil-bouton svg { animation: eclot 520ms var(--c-verre) 2.2s both; }
.accueil .oeil-bouton .oeil-clin { animation: clin 220ms ease-in-out 2.85s both; }
.accueil .heros .arrive { animation: arrive 420ms var(--c-pose) both; animation-delay: calc(2.05s + var(--i, 0) * 80ms); }
.accueil .ticket-ombre { animation: ticket-tombe 380ms var(--c-pose) 2.3s both; }
/* « Passer » : en haut à droite, sur la photo, jamais sur le texte ; il part avec le voile. */
.accueil .passer {
  display: inline-flex; align-items: center; position: fixed; z-index: 51;
  right: max(16px, env(safe-area-inset-right)); top: calc(env(safe-area-inset-top) + 14px);
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 var(--f-texte); color: var(--ardoise); background: rgba(12, 24, 52, .72); border: 1.5px solid var(--ciel);
  animation: arrive 200ms var(--c-pose) 300ms both, voile-part 300ms linear 2.15s both;
}
.accueil .passer:focus-visible { outline: 3px solid var(--email); outline-offset: 3px; }
.accueil-saute .heros-photo img { animation: adoucir 260ms var(--c-pose) both; }

@keyframes hublot { from { --trou: 0px; } to { --trou: 150vmax; } }
@keyframes voile-part { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes plonge { from { transform: none; opacity: 1; } 70% { opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
@keyframes eclot { from { transform: scale(0); } to { transform: none; } }
@keyframes clin { 0%, 100% { transform: none; } 45% { transform: scaleY(.08); } }
@keyframes photo-pose { from { transform: scale(1.12); } to { transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ticket-tombe { from { transform: translateY(-110%); } to { transform: none; } }
@keyframes adoucir { from { opacity: .4; } to { opacity: 1; } }

/* 2. Le geste ludique : l'œil suit le visiteur, et cligne quand on le touche. */
.cligne .oeil-clin { animation: clin 220ms ease-in-out both; }
.cligne svg { animation: rebond 480ms var(--c-verre) both; }
@keyframes rebond { 0% { transform: none; } 35% { transform: scale(.88); } 100% { transform: none; } }

/* 3. Le coup de couteau : une photo hors écran se découvre une fois (une coupe en biais, deux moitiés qui s'écartent). */
.cache-h, .cache-b, .fil { display: none; }
.js.mouvement .coupe-attend .cache-h, .js.mouvement .coupe-attend .cache-b { display: block; position: absolute; inset: 0; z-index: 2; background: var(--carrelage); }
.js.mouvement .coupe-attend .cache-h { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); }
.js.mouvement .coupe-attend .cache-b { clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); }
.js.mouvement .coupe-attend .fil { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.js.mouvement .coupe-attend img { transform: scale(1.08); }
.coupe-joue .fil { animation: fil 340ms both; }
.coupe-joue .cache-h { animation: fente-h 480ms var(--c-fente) 220ms both; }
.coupe-joue .cache-b { animation: fente-b 480ms var(--c-fente) 220ms both; }
.coupe-joue img { animation: se-pose 760ms var(--c-pose) 220ms both; }
@keyframes fil { 0% { transform: scaleX(0); opacity: 1; animation-timing-function: var(--c-fil); } 65% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes fente-h { to { transform: translateY(-104%); } }
@keyframes fente-b { to { transform: translateY(104%); } }
@keyframes se-pose { from { transform: scale(1.08); } to { transform: none; } }

/* 4. Le grand œil s'ouvre une fois. */
.oeil-attend .o-verre, .oeil-attend .o-email, .oeil-attend .o-iris, .oeil-attend .o-reflet { transform: scale(0); }
.oeil-attend .o-paupiere-h, .oeil-attend .o-paupiere-b { transform: none; }
.oeil-joue .o-verre { animation: eclot 440ms var(--c-verre) both; }
.oeil-joue .o-email { animation: eclot 440ms var(--c-verre) 80ms both; }
.oeil-joue .o-iris, .oeil-joue .o-reflet { animation: eclot 440ms var(--c-verre) 160ms both; }
.oeil-joue .o-paupiere-h { animation: paupiere-h 340ms var(--c-pose) 320ms both; }
.oeil-joue .o-paupiere-b { animation: paupiere-b 340ms var(--c-pose) 320ms both; }
.oeil-joue .oeil-clin { animation: clin 200ms ease-in-out 950ms both; }
@keyframes paupiere-h { from { transform: none; } to { transform: translateY(-62px); } }
@keyframes paupiere-b { from { transform: none; } to { transform: translateY(62px); } }

/* 5. Le bloc Best4GoEat se pose une fois. */
.b4g.attend { opacity: 0; transform: translateY(14px); }
.b4g.vient { animation: arrive 440ms var(--c-pose) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .b4g.attend { opacity: 1; transform: none; }
}

/* ---------- Impression : la carte sur papier, lisible, sans décor ni barres ---------- */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticket-ombre, .barre-bas, .voile, .passer, .evitement, .oeil-bouton, .categories, .sommaire, .carte-actions, .heros-actions, .b4g-zone, .revoir { display: none !important; }
  body { background: #fff; color: #000; padding: 0 !important; font-size: 11pt; }
  .carrelage, .bois, .pied, .heros { background: none !important; color: #000 !important; }
  .sombre, .sombre *, .bois *, .carte-entete .soustitre { color: #000 !important; }
  .heros { padding-top: 0; display: block; height: auto; min-height: 0; }
  .heros-photo { height: 6cm; }
  .carte-entete { padding: 0 0 12pt; }
  .cache-h, .cache-b, .fil { display: none !important; }
  .coupe-attend img, .b4g.attend { transform: none !important; opacity: 1 !important; }
  .oeil-attend .o-verre, .oeil-attend .o-email, .oeil-attend .o-iris, .oeil-attend .o-reflet { transform: none !important; }
  .grand-oeil .o-paupiere-h, .grand-oeil .o-paupiere-b { display: none !important; }
  .lignes li { break-inside: avoid; }
  .carte-corps { display: block; }
}
