/* === Snack Chez LOLO — Design system partagé (accueil, menu, pages légales).
   Source : refonte menu v5 (sept. 2026). Tokens, base, header, boutons, hero clair,
   en-têtes de section, cartes, lignes de plat, infos, barre CTA, footer. === */
:root {
  --primary: hsl(168, 76%, 36%); --primary-light: hsl(168, 76%, 45%);
  --teal-deep: hsl(168, 72%, 28%); --secondary: hsl(36, 72%, 52%);
  --gold-light: hsl(42, 95%, 70%); --gold-pale: hsl(42, 95%, 95%); --accent: hsl(353, 91%, 65%);
  --blue: hsl(200, 80%, 45%); --pink: hsl(330, 70%, 60%);
  --bg: hsl(36, 30%, 97%); --fg: hsl(195, 35%, 12%);
  --muted: hsl(36, 18%, 92%); --muted-fg: hsl(195, 25%, 35%);
  --border: hsl(36, 18%, 88%); --radius: 1rem; --hd-h: 64px;
  --shadow: 0 4px 16px rgba(0,0,0,0.05);
  --teal: var(--teal-deep); --teal-mid: hsl(168,60%,38%); --teal-light: hsl(168,55%,55%);
  --gold: var(--secondary); --cream: var(--bg); --cream-warm: hsl(36,50%,91%); --ink: var(--fg); --ink-muted: var(--muted-fg);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lora', Georgia, serif; background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.02em; font-weight: 900; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
svg { flex: 0 0 auto; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.4rem; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.up { font-family: 'Fraunces', serif; text-transform: uppercase; letter-spacing: 0.05em; }
.price { font-family: 'Fraunces', serif; font-weight: 900; color: var(--primary); white-space: nowrap; }
.price small { font-family: 'Lora', serif; font-weight: 500; font-size: 0.6em; color: var(--muted-fg); letter-spacing: 0.04em; }

/* ---------- HEADER ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--hd-h); }
.hd-logo { display: flex; align-items: center; gap: 0.6rem; }
.hd-logo img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.hd-logo b { font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.05rem; line-height: 1; white-space: nowrap; }
.hd-logo b i { font-style: italic; font-weight: 300; color: var(--secondary); }
#hd-nav { display: none; align-items: center; gap: 1.2rem; }
#hd-nav a { font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; position: relative; padding: 0.3rem 0; white-space: nowrap; }
#hd-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); transition: width .25s; }
#hd-nav a:hover::after, #hd-nav a[aria-current]::after { width: 100%; }
#hd-nav a[aria-current] { color: var(--primary); }
.hd-right { display: flex; align-items: center; gap: 0.55rem; }
.lang-sw { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-sw button { border: 0; background: none; padding: 0.35rem 0.65rem; font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.7rem; color: var(--muted-fg); cursor: pointer; transition: background .18s, color .18s; }
.lang-sw button.active { background: var(--primary); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; font-family: 'Fraunces', serif; font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.7rem 1.2rem; cursor: pointer; border: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, opacity .2s, background .2s; }
.btn:active { transform: scale(0.97); }
.btn-wa { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; box-shadow: 0 4px 12px rgba(18,140,126,0.28); }
.btn-wa:hover { opacity: 0.92; transform: translateY(-1px); }
/* Bouton commande téléphone (remplace l'ancien CTA WhatsApp) */
.btn-tel { background: linear-gradient(135deg, var(--primary), var(--teal-deep)); color: #fff; box-shadow: 0 4px 12px hsla(168,76%,36%,0.28); }
.btn-tel:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-gold { background: var(--gold-light); color: var(--fg); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.btn-gold:hover { background: hsl(42,95%,62%); transform: translateY(-1px); }
.hd-cta { display: none; }
.hd-burger { display: inline-flex; background: none; border: 0; padding: 0.4rem; cursor: pointer; color: var(--fg); }
.hd-menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); display: none; flex-direction: column; gap: 0.2rem; padding: 0.75rem 1.4rem 1.25rem; box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.hd-menu.open { display: flex; }
.hd-menu a { padding: 0.7rem 0.5rem; font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 0.5rem; }
.hd-menu a[aria-current] { color: var(--primary); }
.hd-menu .btn { margin-top: 0.4rem; }
@media (min-width: 960px) {
  #hd-nav { display: flex; } .hd-cta { display: inline-flex; } .hd-burger, .hd-menu { display: none !important; }
}
/* Entre 960 et 1200 px : le CTA téléphone (long) a la priorité, Itinéraire reste dans la barre CTA et le footer */
@media (min-width: 960px) and (max-width: 1200px) { .hd-cta.btn-gold { display: none; } #hd-nav { gap: 0.9rem; } }

/* ---------- HERO clair ---------- */
.hero { position: relative; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('../img/image_0.webp') center 40%/cover; }
@media (max-width: 768px) { .hero-bg { background-image: url('../img/image_0-mobile.webp'); } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.48) 0%, rgba(255,255,255,0.70) 55%, hsla(36,30%,97%,0.92) 85%, var(--bg) 100%); }
.hero-in { position: relative; z-index: 2; padding: 2.2rem 0 1.6rem; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5.2rem); font-style: italic; font-weight: 700; line-height: 1; color: hsl(195, 45%, 16%); display: inline-flex; align-items: flex-start; gap: 0.15em; letter-spacing: -0.01em; }
.hero h1 .hib { width: 0.55em; height: 0.55em; margin-top: -0.05em; }
.hero-kicker { display: block; margin: 0.9rem 0 0.4rem; font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(0.72rem, 1.6vw, 0.86rem); text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary); }
.hero-sub { color: var(--muted-fg); font-style: italic; font-size: clamp(0.9rem, 2vw, 1rem); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-top: 1.3rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.45rem; font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-fg); }
.hero-badges .ico { width: 24px; height: 24px; stroke-width: 1.5; color: var(--teal-deep); }

/* ---------- EN-TÊTES DE SECTION ---------- */
.sh { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.sh .ico { width: 26px; height: 26px; stroke-width: 1.6; color: var(--primary); }
.sh h2 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--primary); font-weight: 900; }
.sh .ln { flex: 1; border-bottom: 2px dotted var(--border); margin-left: 0.4rem; }
.sh.coral .ico, .sh.coral h2 { color: var(--accent); }
.sh.dark h2 { color: var(--fg); } .sh.dark .ico { color: var(--secondary); }
.cat { scroll-margin-top: calc(var(--hd-h) + 72px); }

/* ---------- RANGÉES 3 BLOCS ---------- */
.row3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 940px) { .row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.box { background: #fff; border: 1px solid var(--border); border-radius: 1.1rem; padding: 1.1rem 1.15rem 1.2rem; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.box .sh { margin-bottom: 0.6rem; }
.box .sh h2 { font-size: 1.1rem; }

/* Vignettes (photo réelle ou placeholder marque) */
.th { flex: 0 0 auto; overflow: hidden; background: linear-gradient(145deg, hsl(36,45%,94%), hsl(168,45%,88%)); display: grid; place-items: center; color: var(--teal-deep); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th .ico { width: 46%; height: 46%; stroke-width: 1.4; opacity: 0.8; }
.th.round { width: 62px; height: 62px; border-radius: 50%; }
.th.rect { width: 78px; height: 58px; border-radius: 0.7rem; }
.th.sq { width: 100%; aspect-ratio: 1 / 1; border-radius: 0.6rem; }

/* Lignes de plat (burgers, snacking, boissons, poulet) */
.li { display: flex; align-items: center; gap: 0.85rem; padding: 0.62rem 0; border-bottom: 1px dotted var(--border); }
.li:last-of-type { border-bottom: 0; }
.li-body { flex: 1 1 auto; min-width: 0; }
.li-name { font-family: 'Fraunces', serif; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.25; display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; }
.li-desc { font-size: 0.72rem; color: var(--muted-fg); font-style: italic; margin-top: 0.12rem; }
.li-pr { display: flex; align-items: baseline; gap: 0.45rem; margin-top: 0.25rem; }
.li-pr .price { font-size: 0.92rem; }
.li-pr .mu { font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-fg); }
.li > .price { font-size: 0.95rem; text-align: right; }
.li.card { border: 1px solid var(--border); border-radius: 0.9rem; padding: 0.45rem 0.7rem 0.45rem 0.45rem; margin-bottom: 0.5rem; }
.li.card:last-of-type { margin-bottom: 0; }
.bdg { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--gold-light); color: var(--fg); font-size: 0.52rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-family: 'Fraunces', serif; }
.bdg .ico { width: 10px; height: 10px; fill: currentColor; }
.supp { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; padding: 0.42rem 1rem; border-radius: 999px; background: var(--primary); color: #fff; font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; align-self: flex-start; }
.supp b { font-weight: 900; }
.supp.light { background: hsla(168,76%,36%,0.1); color: var(--primary); border: 1px solid hsla(168,76%,36%,0.25); }

/* Blocs larges, fenêtres de service, formules petit déj */
@media (min-width: 940px) { .span2 { grid-column: span 2; } }
.when { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-family: 'Lora', serif; font-style: italic; font-size: 0.72rem; color: var(--muted-fg); white-space: nowrap; }
.when .ico { width: 14px; height: 14px; }
@media (max-width: 480px) { .sh { flex-wrap: wrap; } .when { margin-left: 2.1rem; flex-basis: 100%; white-space: normal; } }

.icard .hours span { color: var(--muted-fg); }

/* ---------- INFOS ---------- */
.icard h2 { font-size: 1rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.icard h2 .ico { width: 22px; height: 22px; color: var(--fg); }
.icard p { font-size: 0.86rem; color: var(--muted-fg); margin: 0.2rem 0; line-height: 1.55; }
.icard p b { color: var(--fg); }
.icard .hours b { display: inline-block; min-width: 5.2rem; }
.icard .link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; color: var(--primary); font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
details { border-top: 1px solid var(--border); padding: 0.55rem 0; }
details:first-of-type { border-top: 0; }
summary { font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.82rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--primary); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin-top: 0.4rem; font-size: 0.8rem; }

/* ---------- BARRE CTA teal ---------- */
.mbar { margin-top: 1.6rem; background: linear-gradient(135deg, var(--primary), var(--teal-deep)); color: #fff; border-radius: 1.2rem; box-shadow: 0 14px 34px rgba(0,0,0,0.16); display: grid; grid-template-columns: 1fr; gap: 0.9rem; padding: 1rem 1.2rem; align-items: center; }
@media (min-width: 760px) { .mbar { grid-template-columns: 1fr 1fr auto; padding: 1rem 1.6rem; } }
.mbar-item { display: flex; align-items: center; gap: 0.8rem; }
.mbar-item .ring { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); display: grid; place-items: center; }
.mbar-item .ring .ico { width: 22px; height: 22px; }
.mbar-item b { display: block; font-family: 'Fraunces', serif; font-weight: 900; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; }
.mbar-item small { display: block; font-style: italic; font-size: 0.72rem; opacity: 0.85; }
@media (min-width: 760px) { .mbar-item + .mbar-item { border-left: 1px solid rgba(255,255,255,0.25); padding-left: 1.2rem; } }
@media (max-width: 640px) {
  .mbar-wrap { position: sticky; bottom: 0.6rem; z-index: 40; }
  .mbar { grid-template-columns: 1fr auto; gap: 0.6rem; padding: 0.7rem 0.9rem; }
  .mbar-item b { font-size: 0.7rem; letter-spacing: 0; white-space: nowrap; } .mbar-item small { font-size: 0.64rem; }
  .mbar-item .ring { width: 40px; height: 40px; }
  .mbar > .btn { display: none; }
  .mbar-item.wa span:not(.ring) { display: none; }
}

/* ---------- FOOTER ---------- */
.ft { margin-top: 2.6rem; padding: 2.2rem 0 1.6rem; text-align: center; border-top: 1px solid var(--border); }
.ft b { font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.1rem; }
.ft b i { font-style: italic; font-weight: 300; color: var(--secondary); }
.ft p { color: var(--muted-fg); font-size: 0.82rem; margin: 0.6rem 0 1rem; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 1.5rem; font-size: 0.78rem; }
.ft-links a { color: var(--muted-fg); }
.ft-links a:hover { color: var(--primary); }
.ft-legal { margin-top: 1.2rem; font-size: 0.68rem; color: var(--muted-fg); opacity: 0.7; }
