/* Street Food Turkey, concept : vert bouteille et rouge du restaurant, papier des sacs. Le seul éclat, c'est le feu. */
:root {
  --vert: #131b10;
  --vert-2: #1f2a1a;
  --rouge: #e31b16;
  --papier: #f2ece3;
  --encre: #17130f;
  --titre: "Ranchers", "Arial Black", sans-serif;
  --main: "Kaushan Script", cursive;
  --texte: "Instrument Sans", "Segoe UI", sans-serif;
  --bord: clamp(16px, 3.4vw, 64px);
  --r: 8px;
}
* { box-sizing: border-box; }
html { background: var(--vert); }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--vert); color: var(--papier); font: 400 18px/1.4 var(--texte); overflow-x: clip; }
h1, h2, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

h1, h2 { font: 400 1em/.86 var(--titre); }
h2 i, .titre i, .revelation i { display: block; font: 400 .36em/1 var(--main); }

.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r);
  font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.bouton:hover { transform: translateY(-2px); }
.rouge.bouton { background: var(--rouge); color: #fff; }
.bouton.rouge:hover { background: #c11410; }
.bouton.clair { background: var(--papier); color: var(--encre); }
.bouton.sombre { background: var(--vert); color: var(--papier); }
.bouton.contour { border-color: currentColor; }

/* ---------------------------------------------------------------- mention, en-tête, barre */
.concept { position: fixed; z-index: 30; inset: 0 0 auto; height: 24px; padding: 0 10px; background: #050705; color: rgba(242, 236, 227, .78); font-size: 11px; line-height: 24px; text-align: center; white-space: nowrap; overflow: hidden; }
.haut { position: fixed; z-index: 20; inset: 24px 0 auto; height: 84px; display: flex; align-items: center; gap: 24px; padding: 0 var(--bord); transition: background .25s, height .25s; }
.haut.plein { height: 68px; background: var(--vert); }
.logo img { width: 70px; height: 70px; border-radius: 50%; background: var(--rouge); transition: width .25s, height .25s; }
.plein .logo img { width: 54px; height: 54px; }
.liens { display: flex; gap: 28px; margin-left: 20px; }
.liens a { text-decoration: none; font-weight: 600; font-size: 16px; }
.liens a:hover { color: #ff9a4a; }
.etat { margin-left: auto; font-size: 14px; white-space: nowrap; }
.etat::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #d98a3d; }
.etat.ouvert::before { background: #69c46b; }
.etat:empty::before { display: none; }
.haut .commander { min-height: 46px; padding: 0 20px; font-size: 16px; }
.barre { display: none; }

/* ---------------------------------------------------------------- 1. le cercle de feu */
.scene { position: relative; }
.colle { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.feu { height: 260vh; background: var(--vert); }
.flammes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.assiette { position: absolute; z-index: 2; left: 0; top: 0; overflow: hidden; border-radius: 50%; background: #241c14; will-change: transform; }
/* leur photo vue du dessus : on ne garde que le disque de l'assiette */
.assiette img { position: absolute; left: 50%; top: 50%; width: 117%; max-width: none; height: auto; transform: translate(-49.9%, -50.9%); }
.titre { position: absolute; z-index: 1; inset: 0; font-size: min(14.6vw, 34vh); }
.mot { position: absolute; top: 49%; display: block; line-height: .8; margin-top: -.62em; will-change: transform; }
.mot i { margin-bottom: .02em; color: #ff9a4a; }
.mot-1 { right: calc(50% + min(29vh, 16.75vw) + 2.4vw); }
.mot-2 { left: calc(50% + min(29vh, 16.75vw) + 2.4vw); }
.dessous { position: absolute; z-index: 3; left: var(--bord); right: var(--bord); bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.promesse { max-width: 17ch; font: 400 clamp(22px, 2.1vw, 34px)/1.05 var(--main); }
.preuves { display: flex; gap: 28px; font-size: 15px; }
.preuves li { max-width: 13ch; line-height: 1.15; }
.preuves b { display: block; font: 400 34px/1 var(--titre); color: #ff9a4a; }
.revelation { position: absolute; z-index: 3; left: 0; right: 0; bottom: 3vh; opacity: 0; font: 400 min(10vw, 11.5vh)/.86 var(--titre); text-align: center; pointer-events: none; }
.revelation i { color: #ff9a4a; }

/* ---------------------------------------------------------------- 2. les deux feux */
.deux-feux { height: 260vh; }
.foyer { --k: 1; position: absolute; inset: 0; background: #0b0b09; }
.foyer-image { position: absolute; inset: 0; overflow: hidden; }
.foyer-image img { width: 100%; height: 100%; object-fit: cover; }
.foyer-texte { position: absolute; left: var(--bord); right: var(--bord); bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.foyer-texte p { max-width: 18ch; font: 400 clamp(26px, 3.2vw, 56px)/1.02 var(--main); }
.charbon .foyer-texte { opacity: var(--k); }

/* ---------------------------------------------------------------- 3. les plats en grand */
.defile { height: 620vh; background: var(--vert); }
.piste { display: flex; height: 100%; width: max-content; will-change: transform; }
.panneau { --panneau-h: 100svh; display: grid; grid-template-columns: var(--panneau-h) minmax(360px, min(46vw, 74svh)); height: 100%; }
.panneau-photo { position: relative; overflow: hidden; background: #d8d7d9; }
.panneau-photo img { width: 100%; height: 100%; object-fit: cover; }
.panneau-texte { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 120px clamp(24px, 3vw, 56px) 56px; }
.panneau h2 { font-size: min(6.6vw, 14vh); }
.panneau h2 i { margin-bottom: .08em; }
.panneau-nom { max-width: 24ch; font-size: 17px; line-height: 1.25; }
.panneau-prix { font: 400 46px/1 var(--titre); font-variant-numeric: tabular-nums; }
.panneau.rouge { background: var(--rouge); color: #fff; }
.panneau.vert { background: var(--vert-2); }
.panneau.vert h2 i { color: #ff9a4a; }
.panneau.papier { background: var(--papier); color: var(--encre); }
.panneau.papier h2 i { color: var(--rouge); }
.panneau .bouton { border-color: currentColor; }

/* ---------------------------------------------------------------- 4. toute la table */
.table { padding: 120px 0 112px; overflow: hidden; }
.table h2 { padding: 0 var(--bord); margin-bottom: 56px; font-size: clamp(64px, 11vw, 176px); }
.table h2 i { color: #ff9a4a; }
.rangee { overflow: hidden; }
.rangee + .rangee { margin-top: 16px; }
.ruban { display: flex; width: max-content; will-change: transform; }
.ruban figure { position: relative; flex: none; width: clamp(210px, 24vw, 380px); margin-right: 16px; }
.ruban img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #d8d7d9; border-radius: var(--r); }
.ruban figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; color: var(--encre); font: 400 clamp(17px, 1.5vw, 24px)/1 var(--main); }

/* ---------------------------------------------------------------- 5. composer son repas */
.festin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--rouge); color: #fff; }
.festin-table { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding-top: 72px; overflow: hidden; }
.plateau { position: relative; width: min(44vw, calc(100svh - 160px)); aspect-ratio: 1; border-radius: 50%; background: var(--vert); }
.place { position: absolute; overflow: hidden; border-radius: 50%; background: rgba(242, 236, 227, .06); transform: translate(-50%, -50%); }
.place.vide { border: 2px dashed rgba(242, 236, 227, .22); }
.place img { width: 100%; height: 100%; object-fit: cover; animation: sert .7s cubic-bezier(.2, 1, .3, 1) both; }
@keyframes sert { from { opacity: 0; transform: scale(1.5) rotate(-24deg); } }
.place-principal { left: 50%; top: 55%; width: 59%; height: 59%; z-index: 2; }
.place-dip { left: 25%; top: 22%; width: 25%; height: 25%; }
.place-cote { left: 73%; top: 21%; width: 25%; height: 25%; }
.place-douceur { left: 14%; top: 67%; width: 20%; height: 20%; }
.place-boisson { left: 87%; top: 66%; width: 21%; height: 21%; }
.festin-choix { min-width: 0; padding: 120px var(--bord) 56px clamp(8px, 2vw, 32px); }
.festin h2 { margin-bottom: 32px; font-size: clamp(60px, 8vw, 128px); }
.etape { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.etape legend { margin-bottom: 10px; padding: 0; font: 400 28px/1 var(--main); }
.choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.choix button { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 4px 12px 4px 4px;
  border: 0; border-radius: var(--r); background: rgba(0, 0, 0, .13); font-size: 14px; line-height: 1.15; text-align: left; }
.choix button:hover { background: rgba(0, 0, 0, .24); }
.choix button[aria-pressed="true"] { background: var(--papier); color: var(--encre); }
.choix img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.choix b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.addition { display: grid; gap: 16px; margin-top: 32px; padding: 24px; border-radius: var(--r); background: var(--vert); color: var(--papier); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { font: 400 28px/1 var(--main); }
.total b { font: 400 56px/1 var(--titre); font-variant-numeric: tabular-nums; }
.recap { margin-top: 10px; font-size: 14px; opacity: .8; }
.addition-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.note { font-size: 13px; opacity: .75; }

/* ---------------------------------------------------------------- 6. la carte */
.carte { padding: 112px var(--bord) 88px; background: var(--papier); color: var(--encre); }
.carte h2 { margin-bottom: 32px; font-size: clamp(72px, 12vw, 196px); }
.carte h2 i { color: var(--rouge); }
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.onglets button { min-height: 48px; padding: 0 20px; border: 2px solid var(--encre); border-radius: var(--r); background: none; font-weight: 700; }
.onglets button[aria-selected="true"] { border-color: var(--rouge); background: var(--rouge); color: #fff; }
.carte-corps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 48px; }
.apercu { position: sticky; top: 112px; width: min(100%, calc(100svh - 190px)); }
.apercu img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.apercu figcaption { margin-top: 12px; font: 400 24px/1.1 var(--main); }
.apercu.sans-photo img { visibility: hidden; }
.plats a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(23, 19, 15, .16); text-decoration: none; }
.plats a:hover .nom { color: var(--rouge); }
.plats img, .plats .sans { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.plats .sans { background: rgba(23, 19, 15, .06); }
.plats .nom { font-weight: 600; line-height: 1.2; }
.plats small { display: block; margin-top: 4px; color: #8c2a20; font-weight: 400; font-size: 13px; }
.plats b { font: 400 26px/1 var(--titre); font-variant-numeric: tabular-nums; }
.carte > .note { margin-top: 24px; }

/* ---------------------------------------------------------------- 7. les avis */
.avis { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px 72px; padding: 104px var(--bord); background: var(--rouge); color: #fff; }
.note-google b { display: block; font: 400 clamp(150px, 24vw, 380px)/.8 var(--titre); }
.note-google span { display: block; max-width: 25ch; margin-top: 16px; font-size: 17px; line-height: 1.2; }
.avis blockquote p { max-width: 17ch; font: 400 clamp(34px, 4.6vw, 80px)/1.04 var(--main); }
.avis blockquote footer { margin-top: 20px; font-size: 16px; }
.avis-liens { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- 8. venir */
.venir { position: relative; padding: 112px var(--bord) 200px; overflow: hidden; }
.flammes-bas { position: absolute; left: 0; bottom: 0; width: 100%; height: 340px; pointer-events: none; }
.venir-corps { position: relative; }
.venir h2 { font-size: clamp(64px, 11vw, 184px); }
.venir h2 i { color: #ff9a4a; }
.ville { margin-top: 12px; font-size: 22px; }
.etat.grand { margin: 16px 0 40px; font-size: 18px; }
.venir-grille { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 480px); justify-content: space-between; gap: 40px; }
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { padding: 8px 0; border-bottom: 1px solid rgba(242, 236, 227, .16); font-weight: 400; }
.horaires th { text-align: left; }
.horaires td { text-align: right; }
.horaires .jour th, .horaires .jour td { color: #ff9a4a; font-weight: 700; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 8px; }
.contacts .large { grid-column: 1 / -1; }
.pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 24px var(--bord) 28px; background: #050705; font-size: 14px; }
.pied a { display: inline-block; padding: 4px 0; margin-right: 12px; }
.pied .note { width: 100%; }
.sans-js { padding: 120px 20px; }

/* ---------------------------------------------------------------- tablettes */
@media (max-width: 1100px) {
  .liens { display: none; }
  .choix { grid-template-columns: 1fr; }
  .addition-actions, .venir-grille { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- téléphone et écran en hauteur */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  body { font-size: 16px; }
  .concept { font-size: 10px; }
  .haut { height: 72px; gap: 12px; }
  .haut.plein { height: 60px; }
  .logo img { width: 56px; height: 56px; }
  .plein .logo img { width: 46px; height: 46px; }
  .haut .etat { font-size: 12px; }
  .haut .commander { display: none; }

  .titre { font-size: min(29vw, 15vh); }
  .mot, .mot-1, .mot-2 { left: 0; right: 0; margin: 0; text-align: center; }
  .mot i { display: inline; margin-right: .1em; }
  .mot-1 { top: calc(24px + 8.5svh); }
  .mot-2 { top: auto; bottom: 19svh; }
  .dessous { bottom: 14px; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .promesse { max-width: none; font-size: 17px; }
  .preuves { gap: 16px; font-size: 11px; }
  .preuves b { font-size: 23px; }
  .revelation { bottom: 13svh; font-size: min(19vw, 11.5vh); }

  .deux-feux { height: auto; }
  .deux-feux .colle { position: relative; height: auto; overflow: visible; }
  .foyer { position: relative; }
  .foyer-image { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .foyer-texte { position: static; padding: 20px var(--bord) 32px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .foyer-texte p { font-size: 28px; }

  .defile { height: 560vh; }
  .panneau { width: 100vw; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .panneau-photo img { object-position: 50% 64%; }
  .panneau-texte { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 14px; padding: 18px 18px 82px; }
  .panneau h2 { grid-column: 1 / -1; font-size: min(17vw, 9.5vh); }
  .panneau-nom { grid-column: 1 / -1; max-width: none; font-size: 13px; }
  .panneau-prix { font-size: 34px; }
  .panneau .bouton { min-height: 46px; }

  .table { padding: 80px 0 72px; }
  .table h2 { margin-bottom: 28px; }

  .festin { display: block; }
  .festin-table { position: relative; height: auto; padding: 96px 16px 0; }
  .plateau { width: min(86vw, 52svh); }
  .festin-choix { padding: 24px 16px 32px; }
  .festin h2 { font-size: 17vw; }
  /* chaque étape se feuillette du pouce, sinon la liste fait dix écrans */
  .choix { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; margin-right: -16px; }
  .choix button { flex: none; width: 238px; scroll-snap-align: start; }
  .addition { padding: 18px 16px; }
  .total b { font-size: 46px; }

  .carte { padding: 88px 16px 64px; }
  .onglets { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 4px; }
  .onglets button { flex: none; }
  .carte-corps { display: block; }
  .apercu { display: none; }
  .plats a { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
  .plats img, .plats .sans { width: 64px; height: 64px; }
  .plats .nom { font-size: 15px; }
  .plats b { font-size: 21px; }

  .avis { grid-template-columns: minmax(0, 1fr); padding: 72px 16px; }
  .venir { padding: 80px 16px 180px; }
  .venir h2 { font-size: 17vw; }
  .pied { padding-bottom: 80px; }

  .barre { position: fixed; z-index: 25; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1.6fr 1fr; background: var(--vert); transform: translateY(110%); transition: transform .3s; }
  .barre.la { transform: none; }
  .barre a { display: grid; place-items: center; min-height: 58px; padding-bottom: env(safe-area-inset-bottom); font-size: 14px; font-weight: 700; text-decoration: none; }
  .barre .principal { background: var(--rouge); color: #fff; }
}

/* ---------------------------------------------------------------- animations réduites */
.calme .feu { height: 100vh; }
.calme .deux-feux, .calme .defile { height: auto; }
.calme .deux-feux .colle, .calme .defile .colle { position: relative; height: auto; overflow: visible; }
.calme .foyer { position: relative; height: 80vh; }
.calme .piste { width: 100%; height: 100svh; overflow-x: auto; transform: none !important; }
.calme .panneau { flex: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* la petite image s'affiche tout de suite, la nette la recouvre */
.foyer-image, .panneau-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.festin, .carte, .venir { scroll-margin-top: 76px; }
