/* Crousti Show : noir de devanture, orange du mur, jaune du damier des panneaux */
:root {
  --noir: #111010;
  --marbre: #1a1513;
  --orange: #e2581b;
  --orange-fonce: #b23f0b;
  --jaune: #f6b21a;
  --creme: #fff7ec;
  --gris: #cfc6bb;
  --slab: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --damier: repeating-conic-gradient(var(--jaune) 0 25%, var(--noir) 0 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--noir); color: var(--creme);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--jaune); color: var(--noir); padding: .6em 1em; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }

.label {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem;
  padding: .3em .7em; background: var(--noir); color: var(--jaune);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-jaune { background: var(--jaune); color: var(--noir); }
.btn-noir { background: var(--noir); color: var(--creme); }
.btn-ligne { border-color: var(--creme); color: var(--creme); }
.btn-ligne:hover { background: var(--creme); color: var(--noir); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(16px, 3vw, 40px);
  background: rgba(17, 16, 16, .82); backdrop-filter: blur(8px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: var(--damier); background-size: 12px 12px;
}
.logo, .f-logo { font-family: var(--slab); font-size: 1.45rem; text-decoration: none; color: var(--creme); line-height: 1; margin: 0; }
.logo span, .f-logo span { color: var(--orange); margin-left: .18em; }
.nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--jaune); }
.btn-tel { background: var(--orange); color: var(--noir); font-weight: 700; padding: .55em 1em; text-decoration: none; font-size: .95rem; }

/* ---------- 1. Entrée ---------- */
.entree { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.e-scene { position: relative; height: 100%; overflow: hidden; background: var(--noir); }
.e-dev-wrap, .e-salle-wrap { position: absolute; inset: 0; overflow: hidden; }
.e-dev, .e-salle { width: 100%; height: 100%; object-fit: cover; }
.e-dev { object-position: 48% 69%; transform-origin: 48% 69%; }
.e-salle { object-position: 40% 50%; }
.e-damier { position: absolute; inset: 0; display: grid; pointer-events: none; }
.e-damier i { display: block; transform: scale(0); }
.e-damier i:nth-child(odd) { background: var(--jaune); }
.e-damier i:nth-child(even) { background: var(--noir); }
.e-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,16,.55) 0%, rgba(17,16,16,.25) 35%, rgba(17,16,16,.88) 100%); }
.e-dehors { position: absolute; inset: auto 0 0 0; padding: 0 20px 34px; text-align: center; }
.e-addr { font-family: var(--slab); font-size: clamp(1rem, 2.2vw, 1.4rem); color: var(--creme); text-shadow: 0 2px 12px #000; margin-bottom: .6rem; }
.e-hint { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jaune); margin: 0; }
.e-hint::after { content: ""; display: block; width: 2px; height: 34px; background: var(--jaune); margin: .7rem auto 0; animation: tic 1.6s ease-in-out infinite; }
@keyframes tic { 0%, 100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.e-dedans {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(16px, 5vw, 72px) clamp(90px, 12vh, 120px);
}
.kicker { font-weight: 700; color: var(--jaune); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.72rem, 1.4vw, .9rem); margin-bottom: .8rem; }
.e-dedans h1 { font-size: clamp(3.6rem, 13vw, 11.5rem); line-height: .86; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.h1-a, .h1-b { display: inline-block; }
.h1-b { color: var(--orange); -webkit-text-stroke: 0; }
.e-sub { max-width: 38rem; font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 1.2rem 0 1.4rem; }
.e-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sans animation : la salle et le titre, directement */
.e-dehors, .e-damier { display: none; }
.e-dev-wrap { display: none; }
.motion .e-dehors, .motion .e-damier, .motion .e-dev-wrap { display: block; }
.motion .e-damier { display: grid; }
.motion .e-dedans, .motion .e-salle-wrap { visibility: hidden; }

/* ---------- 2. Le mur ---------- */
.mur { position: relative; background: #fff; color: var(--noir); overflow: hidden; padding: clamp(70px, 10vw, 140px) 0; }
.mur-mots { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; pointer-events: none; }
.mot {
  font-family: var(--slab); color: var(--orange); white-space: nowrap; margin: 0;
  font-size: clamp(4rem, 13vw, 12rem); line-height: .9; text-transform: uppercase; opacity: .95;
}
.m2 { transform: translateX(-30%); font-size: clamp(3rem, 9vw, 8rem); }
.m3 { transform: translateX(-12%); }
.mur-inner {
  position: relative; max-width: 1120px; margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.mur-photo { margin: 0; border: 10px solid var(--noir); box-shadow: 14px 14px 0 var(--jaune); transform: rotate(-2deg); }
.mur-txt { background: var(--creme); padding: clamp(24px, 4vw, 48px); border: 3px solid var(--noir); }
.mur-txt h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 1.2rem; }
.mur-txt strong { color: var(--orange-fonce); }

/* ---------- 3. Carte ---------- */
.carte {
  position: relative; background: var(--marbre);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(246,178,26,.10), transparent 55%), linear-gradient(160deg, #1d1715, #100d0c);
  padding: clamp(80px, 10vw, 130px) clamp(16px, 4vw, 48px);
}
.carte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background: var(--damier); background-size: 22px 22px; }
.carte-head { max-width: 1180px; margin: 0 auto 2.4rem; }
.carte-head .label { background: var(--jaune); color: var(--noir); }
.carte-head h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); color: var(--creme); }
.carte-head h2::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 1rem; background: var(--damier); background-size: 10px 10px; }
.carte-intro { max-width: 40rem; margin-top: 1rem; color: var(--gris); }
.carte-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tabs button {
  border: 2px solid var(--creme); background: transparent; color: var(--creme);
  padding: .55em 1em; font-weight: 700; font-size: .92rem; min-height: 44px;
}
.tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--noir); }
.tabs button:hover { border-color: var(--jaune); }
.panel-titre { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--jaune); margin-bottom: .6rem; }
.panel-note { color: var(--gris); }
.plats { list-style: none; margin: 0; padding: 0; }
.plat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px dashed rgba(255,247,236,.25);
}
.p-nom { font-weight: 700; font-size: 1.1rem; margin: 0; }
.p-desc { margin: .1rem 0 0; color: var(--gris); font-size: .9rem; }
.p-prix { font-family: var(--slab); font-size: 1.35rem; color: var(--jaune); margin: 0; white-space: nowrap; }
.add {
  border: 0; background: var(--creme); color: var(--noir); font-weight: 700; padding: .55em .9em; min-height: 44px;
  transition: background .2s, transform .15s;
}
.add:hover { background: var(--jaune); }
.add:active { transform: scale(.94); }
.add::before { content: "+ "; }
.plat-xl .p-nom { color: var(--orange); font-family: var(--slab); font-weight: 400; font-size: 1.4rem; }
.source { margin-top: 1.6rem; font-size: .85rem; color: var(--gris); border-left: 4px solid var(--jaune); padding-left: .9rem; }

/* Le ticket */
.ticket { position: sticky; top: 96px; color: var(--noir); filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.ticket-top { height: 16px; background: var(--damier); background-size: 16px 16px; }
.ticket-body {
  background: var(--creme); padding: 22px 22px 28px;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100%;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100%;
  padding-bottom: 34px;
}
.ticket-titre { font-family: var(--slab); font-size: 1.8rem; margin-bottom: .4rem; }
.ticket-vide { color: #5a4f45; font-size: .92rem; }
.ticket-lignes { list-style: none; padding: 0; margin: 0 0 .8rem; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9rem; }
.ticket-lignes li { display: flex; justify-content: space-between; gap: .6rem; padding: .35rem 0; border-bottom: 1px dotted #b9ab9a; }
.ticket-lignes .q { color: var(--orange-fonce); font-weight: 700; margin-right: .3em; }
.ticket-lignes button { border: 0; background: none; color: var(--orange-fonce); font-weight: 700; padding: 0 .2em; min-width: 28px; min-height: 28px; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px double var(--noir); padding-top: .7rem; font-weight: 700; }
.ticket-somme { font-family: var(--slab); font-weight: 400; font-size: 1.6rem; }
.ticket-actions { display: grid; gap: .6rem; margin-top: 1rem; }
.ticket-raz { border: 0; background: none; text-decoration: underline; color: #4d433a; padding: .4rem; min-height: 40px; }
.ticket-mini { font-size: .78rem; color: #5a4f45; margin: .6rem 0 0; }
.ticket.pulse .ticket-somme { color: var(--orange-fonce); }
.ticket-fab { display: none; }
.vol {
  position: fixed; z-index: 70; pointer-events: none; font-family: var(--slab); font-size: 1rem;
  background: var(--orange); color: var(--noir); padding: .25em .6em; white-space: nowrap;
}

/* ---------- 4. Galerie ---------- */
.galerie { background: var(--noir); padding: clamp(80px, 10vw, 130px) clamp(16px, 4vw, 48px); }
.gal-head { max-width: 1180px; margin: 0 auto 2.2rem; }
.gal-head .label { background: var(--orange); color: var(--noir); }
.gal-head h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); margin-bottom: .8rem; }
.gal-head p:last-child { color: var(--gris); }
.cases { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.cases li { min-width: 0; }
.c-big { grid-column: span 2; grid-row: span 2; }
.case { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--marbre); overflow: hidden; }
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case:hover img { transform: scale(1.06); }
.case-cap {
  position: absolute; left: 0; bottom: 0; background: var(--jaune); color: var(--noir);
  font-weight: 700; font-size: .85rem; padding: .35em .7em;
}

/* ---------- 5. Infos ---------- */
.infos { background: var(--orange); color: var(--noir); padding: clamp(80px, 10vw, 130px) clamp(16px, 4vw, 48px); position: relative; }
.infos::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background: var(--damier); background-size: 22px 22px; }
.infos-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); }
.infos h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.2rem; }
.today-line { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; }
.pastille { width: 14px; height: 14px; background: var(--noir); border-radius: 50%; flex: none; }
.horaires { width: 100%; border-collapse: collapse; margin: .6rem 0 1rem; font-size: 1.02rem; }
.horaires th, .horaires td { text-align: left; padding: .55rem .4rem; border-bottom: 2px solid rgba(17,16,16,.25); }
.horaires th { font-weight: 600; }
.horaires td { text-align: right; font-weight: 700; }
.horaires tr.today { background: var(--noir); color: var(--creme); }
.horaires tr.today th, .horaires tr.today td { border-color: var(--noir); }
.petit { font-size: .88rem; }
.infos-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.bloc { background: var(--noir); color: var(--creme); padding: 22px; }
.bloc-adresse, .bloc-halal { grid-column: span 2; }
.bloc-t { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--jaune); margin-bottom: .6rem; }
.gros { font-family: var(--slab); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.2; }
.gros a { text-decoration: none; }
.note { font-family: var(--slab); margin: 0 0 .3rem; line-height: 1; }
.note-n { font-size: 3.4rem; color: var(--jaune); }
.note-sur { font-size: 1.3rem; }
.lien { color: var(--jaune); font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); padding: 60px clamp(16px, 4vw, 48px) 110px; border-top: 6px solid var(--orange); }
.f-logo { font-size: 2.2rem; margin-bottom: 1.6rem; }
.f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1180px; color: var(--gris); font-size: .9rem; }
.f-titre { color: var(--creme); font-weight: 700; margin-bottom: .4rem; }

/* ---------- CTA mobile ---------- */
.sticky-cta { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(17,16,16,.94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 56px 16px; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; border: 6px solid var(--creme); }
.lightbox figcaption { color: var(--creme); font-weight: 600; }
.lb-btn { position: fixed; background: var(--jaune); color: var(--noir); border: 0; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .mur-inner, .carte-grid, .infos-grid { grid-template-columns: 1fr; }
  .mur-photo { max-width: 420px; }
  .ticket {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 72px; top: auto;
    max-height: 72vh; overflow: auto; transform: translateY(130%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .ticket.open { transform: none; visibility: visible; }
  .ticket-fab {
    display: inline-flex; align-items: center; gap: .5em; position: fixed; z-index: 61; right: 12px; bottom: 76px;
    background: var(--jaune); color: var(--noir); border: 2px solid var(--noir); font-weight: 700; padding: .6em 1em; min-height: 46px;
    box-shadow: 4px 4px 0 var(--noir); transform: translateY(220%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .ticket-fab.visible { transform: none; visibility: visible; }
  .fab-n { background: var(--noir); color: var(--jaune); min-width: 1.6em; text-align: center; padding: 0 .3em; }
  .cases { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .infos-cartes { grid-template-columns: 1fr; }
  .bloc-adresse, .bloc-halal { grid-column: auto; }
  .f-cols { grid-template-columns: 1fr; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    border-top: 4px solid var(--jaune);
  }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; min-height: 58px; font-weight: 700; text-decoration: none; }
  .sticky-cta a:first-child { background: var(--orange); color: var(--noir); }
  .sticky-cta a:last-child { background: var(--noir); color: var(--creme); }
}
@media (max-width: 480px) {
  .site-header { height: 58px; }
  .logo { font-size: 1.2rem; }
  .btn-tel { font-size: .82rem; padding: .5em .7em; }
  .plat { grid-template-columns: minmax(0, 1fr) auto; row-gap: .4rem; }
  .plat .add { grid-column: 1 / -1; justify-self: start; }
  .e-dedans h1 { font-size: clamp(3.4rem, 19vw, 6rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
