/* Chez Ballisto — site vitrine. Couleurs du menu TV du café (Menu TV 2026) : presque noir chaud, lueur orangée,
   or #f4c24f, crème. Titres condensés (comme DIN Condensed), texte Figtree. Simple et pro : peu d'effets. */
:root {
  --bg: #15110e;
  --bg2: #1b1612;
  --gold: #f4c24f;
  --cream: #f7efdf;
  --muted: #c2b59d;
  --line: rgba(244, 194, 79, 0.28);
  --card: rgba(255, 255, 255, 0.045);
  --red: #e0402f;
  --r: 16px;
  --w: 1200px;
  --cond: "Barlow Condensed", "DIN Condensed", "Avenir Next Condensed", "Cairo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0; color: var(--cream); font: 17px/1.6 "Figtree", "Avenir Next", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: radial-gradient(700px 600px at 0 0, rgba(201, 100, 31, 0.3), transparent 70%), radial-gradient(800px 700px at 100% 40%, rgba(201, 100, 31, 0.16), transparent 70%), var(--bg);
}
html[dir="rtl"] body { font-family: "Cairo", "Figtree", sans-serif; }
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }
svg { width: 1.1em; height: 1.1em; flex: none; }
h1, h2, h3, h4 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; margin: 0; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: "Cairo", sans-serif; font-weight: 800; }
h2 { font-size: clamp(42px, 9vw, 76px); margin-bottom: 10px; }
h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--gold); margin-top: 16px; }
main > section { max-width: var(--w); margin: 0 auto; padding: 96px 20px 0; }
.hand { font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

/* Bandeau couscous (fixe, sans clignoter) */
.bar { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 16px; background: var(--gold); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 14px; text-align: center; }
.flame { display: none; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; background: rgba(21, 17, 14, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand img { height: 38px; width: auto; }
.nav { display: none; gap: 34px; }
.nav a { color: var(--cream); text-decoration: none; font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a:hover, .nav a.hot { color: var(--gold); }
.top-r { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; font-size: 11px; }
.lang > div { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 160px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.lang > div a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--cream); text-decoration: none; }
.lang > div a[aria-current] { background: var(--gold); color: var(--bg); font-weight: 700; }
@media (min-width: 900px) { .nav { display: flex; } .brand img { height: 44px; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.btn:active { transform: scale(0.97); }
.btn.yellow { background: var(--gold); color: var(--bg); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.sm span { display: none; }
@media (min-width: 520px) { .btn.sm span { display: inline; } }
.btn.big { width: 100%; min-height: 58px; font-size: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta.center { justify-content: center; }

/* Héros */
.hero { position: relative; max-width: none !important; padding: 0 !important; min-height: calc(100svh - 100px); display: grid; align-items: end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 17, 14, 0.2) 0%, rgba(21, 17, 14, 0.55) 45%, var(--bg) 100%); }
.hero-in { position: relative; z-index: 1; max-width: var(--w); margin: 0 auto; width: 100%; padding: 120px 20px 60px; }
.hero h1 span { display: block; font-size: clamp(68px, 17vw, 150px); line-height: 0.88; }
.hero h1 small { display: block; margin-top: 14px; font-size: clamp(22px, 5vw, 32px); color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }
.lead { font-size: 19px; max-width: 34ch; margin: 18px 0 0; color: var(--muted); }

/* Couscous du vendredi */
.couscous { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .couscous { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.c-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 3px solid var(--gold); }
.c-media video, .c-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-media img:not(.full) { top: auto; height: 36%; width: 44%; inset-inline-start: auto; inset-inline-end: 14px; bottom: 14px; border-radius: 12px; border: 3px solid var(--cream); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.price-tag { position: absolute; top: 16px; inset-inline-start: 16px; background: var(--gold); color: var(--bg); font-family: var(--cond); font-weight: 700; font-size: 34px; padding: 4px 16px 2px; border-radius: 999px; }
.badge-live { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--gold); background: rgba(244, 194, 79, 0.1); color: var(--gold); font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; animation: ping 1.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224, 64, 47, 0.8); } 100% { box-shadow: 0 0 0 10px rgba(224, 64, 47, 0); } }
.couscous h2 { color: var(--cream); }
.c-text { font-size: 18px; margin: 18px 0 0; color: var(--muted); }
.c-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.c-points li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.c-points li::before { content: "—"; color: var(--gold); }
.resa { margin-top: 26px; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; }
.resa-date { margin: 0; font-size: 18px; }
.resa-date b { color: var(--gold); text-transform: capitalize; }
.resa label > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--muted); }
.resa input, .resa select { width: 100%; height: 50px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); padding: 0 14px; font: inherit; color: var(--cream); }
.resa select option { color: #111; }
.resa input:focus, .resa select:focus { outline: none; border-color: var(--gold); }
.resa-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: end; }
.resa-row > * { min-width: 0; }
.seg { position: relative; }
.resa fieldset { min-width: 0; min-inline-size: 0; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex !important; align-items: center; justify-content: center; height: 50px; margin: 0 !important; border-radius: 10px; border: 1px solid var(--line); font-size: 14px !important; color: var(--cream) !important; text-align: center; line-height: 1.1; padding: 0 6px; cursor: pointer; }
.seg input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--bg) !important; font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.err { margin: 0; color: #ff8a73; font-weight: 700; }
.resa-or { margin: 0; text-align: center; color: var(--muted); }
.resa-or a { font-weight: 700; }
.resa-note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Soirs de match */
.match { position: relative; max-width: none !important; padding: 0 !important; margin-top: 96px; min-height: 76svh; display: grid; align-items: end; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.match-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.match::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 17, 14, 0.55), rgba(21, 17, 14, 0.92)); }
.match-in { position: relative; z-index: 1; max-width: var(--w); width: 100%; margin: 0 auto; padding: 80px 20px 64px; }
.match h2 { font-size: clamp(60px, 14vw, 128px); max-width: 9ch; }
.match p:not(.eyebrow) { font-size: 18px; max-width: 40ch; color: var(--muted); }
.match p.games { color: var(--cream); font-weight: 600; }

/* Spécialités */
.specials article { display: grid; gap: 18px; align-items: center; margin-top: 34px; }
.specials img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.specials .num { font-family: var(--cond); font-weight: 700; font-size: 18px; color: var(--gold); letter-spacing: 0.1em; }
.specials h3 { font-size: clamp(34px, 6vw, 54px); margin: 6px 0 10px; }
.specials p { margin: 0; color: var(--muted); font-size: 18px; max-width: 38ch; }
@media (min-width: 820px) { .specials article { grid-template-columns: 1.1fr 1fr; gap: 64px; margin-top: 64px; } .specials article.rev img { order: 2; } }

/* La carte, comme le menu TV */
.menu .paper { padding: 0; }
.menu-head h2 { margin-bottom: 4px; }
.menu-head p { margin: 14px 0 0; color: var(--muted); }
.al-toggle { margin-top: 14px; border: 1px solid var(--line); background: transparent; color: var(--cream); border-radius: 999px; padding: 9px 16px; font: 600 14px/1 "Figtree", "Cairo", sans-serif; cursor: pointer; }
.al-toggle[aria-pressed="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 24px 0 4px; padding-bottom: 4px; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; color: var(--cream); text-decoration: none; font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); }
.cats a:hover { border-color: var(--gold); color: var(--gold); }
.cols { columns: 1; column-gap: 28px; }
@media (min-width: 900px) { .cols { columns: 2; } }
.cat { break-inside: avoid; margin-top: 28px; padding: 22px 22px 14px; background: var(--card); border-radius: var(--r); border-top: 4px solid var(--gold); }
.cat h3 { font-size: 34px; color: var(--cream); }
.tagline { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.cat h4 { margin-top: 18px; font-size: 20px; color: var(--gold); letter-spacing: 0.06em; }
.note { color: var(--muted); font-size: 14px; margin: 4px 0; }
.note.small { margin-top: 26px; text-align: center; }
.items { list-style: none; padding: 0; margin: 6px 0 0; }
.items li { padding: 8px 0; }
.items li.hot { background: rgba(244, 194, 79, 0.1); margin: 6px -10px; padding: 10px; border-radius: 10px; border: 1.5px solid var(--gold); }
.row { display: flex; align-items: baseline; gap: 8px; }
.nm { font-weight: 600; }
.dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.pr { font-family: var(--cond); font-weight: 700; font-size: 21px; white-space: nowrap; color: var(--gold); }
.ds { margin: 1px 0 0; color: var(--muted); font-size: 14px; }
.tag { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bg); background: var(--gold); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.blink { animation: none; }
.al { display: none; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.menu.show-al .al { display: block; }

/* Galerie */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mosaic img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic img:nth-child(4) { grid-row: span 2; }
@media (min-width: 820px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
  .mosaic img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaic img:nth-child(6) { grid-column: span 2; }
}

/* Comment venir */
.go-sub { margin: 14px 0 24px; color: var(--muted); font-size: 18px; }
.go-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .go-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 300px; display: block; }
.map img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; filter: saturate(0.85); }
.map span { position: absolute; bottom: 6px; inset-inline-end: 8px; font-size: 11px; color: #333; background: rgba(255, 255, 255, 0.85); padding: 1px 6px; border-radius: 6px; }
.trs { display: grid; gap: 12px; }
@media (min-width: 600px) { .trs { grid-template-columns: 1fr 1fr; } }
.tr { padding: 16px 18px; border-radius: var(--r); background: var(--card); border-inline-start: 4px solid var(--gold); }
.tr h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.tr h3 svg { width: 24px; height: 24px; color: var(--gold); }
.tr ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.tr li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tr li b { font-weight: 600; }
.tr li small { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.lines { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ln { font-style: normal; font-weight: 700; font-size: 13px; min-width: 28px; text-align: center; padding: 2px 7px; border-radius: 6px; color: #fff; background: #555; }
.ln-metro { background: #8a5bb0; }
.ln-tram { background: #d9822b; }
.ln-bus { background: #2a7ab0; }
.ln-train { background: #f7efdf; color: #15110e; }
.min { color: var(--muted); font-size: 14px; }

/* Fin de page */
.end-card { display: grid; gap: 24px; padding: 30px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.end-card h3 { font-size: 24px; color: var(--gold); margin-top: 22px; }
.end-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: center 30%; border-radius: 12px; }
@media (min-width: 900px) { .end-card { grid-template-columns: 1.1fr 1fr; padding: 52px; gap: 52px; } }
.hours-line { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; max-width: 360px; }

/* Bouton flottant couscous (calme) */
.float { position: fixed; z-index: 30; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); transition: opacity 0.25s, transform 0.25s; }
.float.off { opacity: 0; pointer-events: none; transform: translateY(20px); }

footer { max-width: var(--w); margin: 96px auto 0; padding: 32px 20px max(90px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
footer img { height: 40px; width: auto; margin: 0 auto 14px; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-weight: 600; }
footer .by a { color: #ff2e7e; font-weight: 700; text-decoration: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Avis Google */
.review-in { text-align: center; padding: 44px 22px; border-radius: var(--r); border: 1.5px solid var(--gold); background: rgba(244, 194, 79, 0.08); }
.review .stars { margin: 0 0 6px; color: var(--gold); font-size: 30px; letter-spacing: 6px; }
.review h2::after { margin-inline: auto; }
.review p:not(.stars) { color: var(--muted); font-size: 18px; margin: 14px auto 22px; max-width: 36ch; }

/* Corrections après le test des 10 clients */
.openstate { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(0, 0, 0, 0.45); }
.openstate:empty { display: none; }
.openstate::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.openstate.on { color: #7ee08a; }
.openstate.off { color: #ff9b8a; }
.hero .eyebrow { display: flex; }
details.cat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.cat > summary::-webkit-details-marker { display: none; }
details.cat > summary .cnt { flex: none; font-style: normal; display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); font-weight: 700; font-size: 14px; }
details.cat > summary .cnt::after { content: " ▾"; font-size: 11px; margin-inline-start: 2px; }
details.cat[open] > summary .cnt::after { content: " ▴"; }
details.cat:not([open]) { padding-bottom: 22px; }
.al { display: block; }
.pract { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.pract li::before { content: "— "; color: var(--gold); }
@media (max-width: 899px) {
  .top { flex-wrap: wrap; row-gap: 8px; }
  .nav { display: flex; order: 3; width: 100%; justify-content: space-between; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 16px; white-space: nowrap; }
  .nav a.hot::after { display: none; }
  html { scroll-padding-top: 130px; }
}

/* Le badge Netlify (offre gratuite) est en bas à droite : bouton couscous à gauche */
.float { inset-inline-end: auto; left: 16px; right: auto; }
footer { padding-bottom: max(110px, env(safe-area-inset-bottom)); }

/* Questions fréquentes */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Barbecue */
.bbq { display: grid; gap: 26px; align-items: center; }
.bbq video { width: 100%; max-height: 78svh; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.bbq p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 40ch; }
@media (min-width: 820px) { .bbq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } .bbq video { max-height: 640px; } }

/* Bouton couscous au-dessus du badge Netlify (offre gratuite) */
.float { left: auto; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
html[dir="rtl"] .float { right: auto; left: 16px; }
