/* El Capitan — charte validée adaptée au web */
:root {
  --bg: #111111;
  --bg-2: #1a1716;
  --bordeaux: #5C1A1B;
  --night: #1F2A5C;
  --green: #1E4D3A;
  --gold: #F2B230;
  --red: #E6332A;
  --cream: #FFF6E0;
  --teal: #5E8C8A;
  --orange: #F28C28;
  --muted: #cbbfa6;
  --line: rgba(255, 246, 224, .14);
  --wa: #25D366;
  --f-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --f-cond: "Oswald", "Arial Narrow", sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top: 64px;
  color-scheme: dark;
  --zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 14 L12 0 L24 14Z' fill='%23E6332A'/%3E%3Cpath d='M24 14 L36 0 L48 14Z' fill='%23F2B230'/%3E%3Cpath d='M48 14 L60 0 L72 14Z' fill='%235E8C8A'/%3E%3Cpath d='M72 14 L84 0 L96 14Z' fill='%233B5BA9'/%3E%3Cpath d='M96 14 L108 0 L120 14Z' fill='%232E8B57'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font: 400 16px/1.5 var(--f-body);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 40;
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  padding: 0 12px; background: rgba(17, 17, 17, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 7px; background: var(--zig) repeat-x; background-size: 60px 7px; }
.burger { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 10px; }
.burger span { width: 24px; height: 2.5px; background: var(--cream); border-radius: 2px; }
.brand { text-align: center; text-decoration: none; line-height: 1; }
.brand-name { display: block; font: 800 22px/1 var(--f-serif); letter-spacing: .06em; color: var(--cream); }
.brand-sub { display: block; margin-top: 4px; font: 500 9.5px/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 50; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(84vw, 340px); z-index: 60;
  background: var(--bordeaux); padding: 72px 28px 28px; transform: translateX(-102%);
  transition: transform .28s ease; overflow: hidden; display: flex; flex-direction: column;
}
.drawer.open { transform: none; box-shadow: 8px 0 0 var(--gold); }
.drawer-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 14px 0; font: 400 28px/1.1 var(--f-display); color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-lang { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; font: 500 13px var(--f-cond); letter-spacing: .15em; text-transform: uppercase; }
.drawer-flower { position: absolute; width: 220px; height: 220px; right: -70px; bottom: -70px; opacity: .35; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--gold); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: 0; background: none; padding: 8px 14px; font: 600 13px var(--f-cond); letter-spacing: .1em; cursor: pointer; min-width: 44px; }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: #111; }

/* ---------- Hero ---------- */
main { padding-top: var(--top); }
.hero { position: relative; min-height: min(78vh, 640px); display: grid; align-items: end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
@media (max-width: 759px) { .hero-img { object-position: 90% 15%; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17,17,17,.15) 0%, rgba(17,17,17,.35) 40%, rgba(17,17,17,.94) 88%, var(--bg) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 16px 34px; max-width: 760px; margin: 0 auto; width: 100%; text-align: center; }
.kicker { margin: 0 0 10px; font: 500 12px var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sign {
  margin: 0; font: 400 clamp(34px, 9vw, 64px)/1.02 var(--f-display); color: var(--gold);
  -webkit-text-stroke: 1.5px #111; paint-order: stroke fill; text-shadow: 3px 3px 0 var(--red);
  letter-spacing: .01em;
}
.hero-sub { margin: 14px auto 22px; max-width: 30ch; font-size: 17px; color: var(--cream); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 15px var(--f-cond); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold); color: #111; box-shadow: 3px 3px 0 var(--red); }
.btn-wa { background: var(--wa); color: #0b2b15; box-shadow: 3px 3px 0 #0e7a3a; }
.btn-outline { border-color: var(--gold); color: var(--gold); background: none; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn:hover { filter: brightness(1.06); }

.zigzag { height: 14px; background: var(--zig) repeat-x; background-size: 120px 14px; }

/* ---------- Offres ---------- */
.offers { display: grid; gap: 12px; padding: 22px 16px; max-width: 960px; margin: 0 auto; grid-template-columns: 1fr; }
.offer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.ribbon {
  position: relative; display: inline-block; margin: 0; padding: 7px 22px 7px 16px; background: var(--red); color: var(--cream);
  font: 600 13px/1.2 var(--f-cond); letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%, 10px 50%);
}
.offer-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; flex: 1; }
.offer .ribbon { padding-left: 22px; max-width: 100%; }
.offer-detail { margin: 0; padding-left: 16px; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 34ch; }
.seal small { display: block; margin-top: 2px; font: 600 9px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--red); transform: rotate(-10deg); }
.seal { align-content: center; }
.review-cta { display: flex; justify-content: center; margin-top: 22px; }
.g-star { font-size: 18px; line-height: 1; }
.seal {
  flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--cream); color: var(--red); box-shadow: 3px 3px 0 #000;
  outline: 2px solid var(--red); outline-offset: -6px;
  border: 3px dotted var(--red);
}
.seal span { font: 400 20px/1 var(--f-display); transform: rotate(-10deg); white-space: nowrap; }
.seal-sm { width: 66px; height: 66px; }
.seal-sm span { font-size: 15px; }

/* ---------- Titres de section ---------- */
.section-head { text-align: center; padding: 34px 16px 8px; }
.section-head .sign { font-size: clamp(32px, 8vw, 52px); }
.hint { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.ornament { display: flex; justify-content: center; align-items: center; gap: 2px; margin-bottom: 8px; }
.o-flower { width: 48px; height: 48px; }
.o-leaf { width: 40px; height: 20px; }
.o-leaf.l { transform: scaleX(-1); }

/* ---------- Catégories "Uber-like" ---------- */
.menu { max-width: 1100px; margin: 0 auto; }
.cats-wrap { position: sticky; top: calc(var(--top) + 6px); z-index: 30; background: linear-gradient(var(--bg) 82%, rgba(17,17,17,0)); padding: 10px 0 12px; }
.cats { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding: 4px 16px 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; scroll-snap-align: start; padding: 0; }
.cat-ring { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--bordeaux); border: 3px solid rgba(242, 178, 48, .35); transition: border-color .2s, transform .2s; }
.cat-ring img { width: 100%; height: 100%; object-fit: cover; }
.cat-icon { font-size: 30px; line-height: 1; }
.cat-name { font: 500 11.5px/1.15 var(--f-cond); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cat.is-active .cat-ring { border-color: var(--gold); box-shadow: 0 0 0 2px #111, 0 0 0 4px var(--red); transform: scale(1.04); }
.cat.is-active .cat-name { color: var(--gold); }

/* ---------- Panneau catégorie choisie ---------- */
.panel { padding: 6px 16px 40px; }
.panel-head { position: relative; text-align: center; margin-bottom: 18px; }
.panel-photo { width: min(56vw, 220px); aspect-ratio: 1; margin: 6px auto 0; border-radius: 50%; overflow: hidden; border: 8px solid var(--gold); box-shadow: 0 0 0 2px #111, 0 10px 30px rgba(0,0,0,.5); }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.panel-title { margin: 14px 0 0; font: 400 30px/1.1 var(--f-display); color: var(--cream); }
.msec { max-width: 760px; margin: 0 auto 22px; }
.msec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 6px; }
.msec-head .ribbon { font-size: 13px; }
.msec-note { margin: 4px 0 8px; color: var(--muted); font-size: 13.5px; }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.item-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.item-name { font: 600 16.5px/1.25 var(--f-body); color: var(--cream); }
.item-desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
.item-deal { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(242,178,48,.15); color: var(--gold); font: 600 12px var(--f-cond); letter-spacing: .06em; }
.item-price { flex: none; font: 400 18px/1.2 var(--f-display); color: var(--gold); white-space: nowrap; }
.chili { font-size: 13px; }

/* ---------- Avis ---------- */
.reviews { background: var(--bordeaux); padding-bottom: 36px; }
.rating { margin: 10px 0 0; color: var(--cream); font-size: 15px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.review-track { scroll-padding-inline: 16px; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding: 20px 16px 8px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(84vw, 360px); margin: 0; scroll-snap-align: start; background: var(--bg); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.review blockquote { margin: 0; padding: 16px 18px 6px; }
.review p { margin: 6px 0 0; font: 400 19px/1.35 var(--f-serif); font-style: italic; }
.review figcaption { padding: 6px 18px 18px; font: 500 12px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.review-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,246,224,.3); transition: background .2s, width .2s; }
.review-dots span.on { background: var(--gold); width: 22px; border-radius: 4px; }

/* ---------- Carte / réservation ---------- */
.visit { max-width: 1100px; margin: 0 auto; padding-bottom: 40px; }
.loc { margin: 18px 16px; border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.map { aspect-ratio: 4 / 3; background: #222; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.loc-info { padding: 18px; }
.loc-info h3 { margin: 0 0 6px; font: 400 26px var(--f-display); color: var(--gold); }
.loc-info p { margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 14px; }
.hours h4 { margin: 0 0 6px; font: 600 13px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hours ul { list-style: none; margin: 0 0 16px; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.book { margin: 28px 16px 0; padding: 26px 20px; text-align: center; border-radius: 18px; background: var(--green); position: relative; overflow: hidden; }
.book h3 { margin: 0; font: 400 28px/1.1 var(--f-display); color: var(--gold); }
.book p { margin: 8px auto 18px; max-width: 34ch; }

/* ---------- Footer ---------- */
.footer { padding: 0 16px 96px; max-width: 1100px; margin: 0 auto; }
.footer-band { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; border-top: 1.5px solid var(--gold); padding: 18px 0 14px; }
.f-name { font: 800 20px var(--f-serif); letter-spacing: .06em; }
.f-sub { font: 500 11px var(--f-cond); letter-spacing: .22em; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-row a { color: var(--gold); font-weight: 500; text-decoration: none; padding: 10px 0; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 16px; }

/* ---------- Bouton flottant ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.fab svg { width: 30px; height: 30px; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  :root { --top: 72px; }
  .brand-name { font-size: 26px; }
  .offers { grid-template-columns: 1fr 1fr; }
  .cats { justify-content: safe center; flex-wrap: nowrap; }
  .cat { width: 90px; }
  .cat-ring { width: 78px; height: 78px; }
  .panel-head { display: flex; align-items: center; gap: 28px; text-align: left; max-width: 760px; margin: 0 auto 10px; }
  .panel-photo { width: 220px; margin: 0; flex: none; }
  .panel-title { font-size: 40px; margin: 0; }
  .loc { display: grid; grid-template-columns: 1.4fr 1fr; }
  .map { aspect-ratio: auto; min-height: 360px; }
  .loc-info { padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .review-track { justify-content: safe center; }
  .fab { display: none; }
  .footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Carrousels fluides ---------- */
.rail { position: relative; --edge: var(--bg); }
.reviews-rail { --edge: var(--bordeaux); }
.cats, .review-track { cursor: grab; }
.rail.dragging .cats, .rail.dragging .review-track { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.rail.dragging .cat, .rail.dragging .review { pointer-events: none; }
.cats img, .review img { -webkit-user-drag: none; user-select: none; }
.rail::before, .rail::after { content: ""; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s; }
.rail::before { left: 0; background: linear-gradient(90deg, var(--edge), transparent); }
.rail::after { right: 0; background: linear-gradient(-90deg, var(--edge), transparent); }
.rail.can-prev::before, .rail.can-next::after { opacity: 1; }
.nav-arrow {
  position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  border: 0; display: grid; place-items: center; padding: 0 0 3px; cursor: pointer;
  background: var(--cream); color: #111; font: 400 28px/1 var(--f-display); box-shadow: 2px 2px 0 var(--red);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .15s;
}
.nav-arrow.prev { left: 8px; }
.nav-arrow.next { right: 8px; }
.rail.can-prev .nav-arrow.prev, .rail.can-next .nav-arrow.next { opacity: 1; pointer-events: auto; }
.nav-arrow:hover { transform: scale(1.06); }
.cats-wrap .nav-arrow { display: none; margin-top: -30px; }
.reviews-rail .nav-arrow { top: 40%; }
.review-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,246,224,.3); cursor: pointer; transition: background .2s, width .2s; }
.review-dots button.on { background: var(--gold); width: 22px; border-radius: 4px; }
.review-dots { gap: 10px; }
@media (hover: hover) and (pointer: fine) { .cats-wrap .nav-arrow { display: grid; } }
@media (max-width: 759px) { .reviews-rail .nav-arrow { width: 36px; height: 36px; margin-top: -18px; font-size: 24px; } }

/* ---------- Catégories : alignement et flèches ---------- */
.cats-wrap.rail { position: sticky; } /* .rail ne doit pas écraser le sticky */
.cats { padding-top: 10px; } /* place pour le cercle de la catégorie active */
.nav-arrow { display: none !important; } /* flèches retirées : glissement seul */
