/* Snack Ali Baba — voir BRAND.md (fait foi) */
:root {
  --grenade: #8a1034;   /* 60 % fond */
  --nuit: #2b0714;      /* sections sombres, texte sur pistache/pain */
  --grenade-2: #a3173f; /* cartes sur grenade */
  --pistache: #c6dd62;  /* 10 % action, texte nuit dessus */
  --pain: #fff4e6;      /* cartes claires */
  --rose: #f6c9d3;      /* texte doux sur grenade (6,4:1) */
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 5vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 74px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--grenade); color: #fff; font: 400 17px/1.55 Manrope, system-ui, sans-serif; overflow-x: hidden; }
body.bloque { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; margin: 0; line-height: 1; letter-spacing: .005em; }
h1 span, h2 span { color: var(--pistache); }
h2 { font-size: clamp(32px, 8.5vw, 54px); margin-bottom: 14px; text-wrap: balance; }
.sur { font: 800 13px/1.3 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin: 0 0 10px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
.mini { font-size: 14px; color: var(--rose); margin: 0 0 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pistache); color: var(--nuit); padding: 10px 14px; border-radius: 10px; z-index: 60; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pistache); outline-offset: 3px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 16px; font: 800 16px/1.1 Manrope, sans-serif; text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .12s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn-pistache { background: var(--pistache); color: var(--nuit); }
.btn-ligne { color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .55); }
.btn.large { width: 100%; justify-content: space-between; min-height: 58px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn-pistache:hover { background: #d4e87a; }
  .btn-ligne:hover { box-shadow: inset 0 0 0 2px #fff; }
  .onglet:hover { background: rgb(255 255 255 / .18); }
  .lien:hover { color: var(--pistache); }
}

/* En-tête */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--pad) 8px; background: rgb(138 16 52 / .82); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
.logo { display: grid; text-decoration: none; min-height: 44px; align-content: center; }
.logo-a { font-family: 'Lilita One', sans-serif; font-size: 26px; line-height: 1; color: var(--pistache); }
.logo-s { white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.statut { margin: 0 0 0 auto; font-size: 13px; color: var(--rose); text-align: right; line-height: 1.2; }
.statut.ouvert { color: #fff; }
.statut.ouvert::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pistache); margin-right: 6px; }
.bar-tel { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .45); font-weight: 800; font-size: 14px; text-decoration: none; }

/* Arches */
.arche { margin: 0; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; position: relative; background: var(--nuit); }
.arche img { width: 100%; height: 100%; object-fit: cover; }

/* Héros */
.hero { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 10px var(--pad) 36px; position: relative; }
.hero-txt h1 { font-size: clamp(38px, 11vw, 84px); }
.hero-txt .sur { margin-bottom: 8px; }
.hero-arche { width: min(62vw, 34svh, 400px); aspect-ratio: 3/4; justify-self: center; box-shadow: 0 0 0 8px var(--grenade-2), 0 0 0 16px rgb(198 221 98 / .25); transform: translateY(14px); opacity: .001; transition: transform .9s var(--ease), opacity .6s; }
.pret .hero-arche { transform: none; opacity: 1; }
.hero-arche img { object-position: 50% 30%; }
.badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--pain); color: var(--nuit); border-radius: 12px; padding: 8px 14px; display: grid; text-align: center; line-height: 1.15; white-space: nowrap; }
.badge strong { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 22px; }
.badge span { font-size: 12px; font-weight: 600; }
.hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (max-width: 759px) { .hero-cta .btn-ligne { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-arche { transition: none; transform: none; opacity: 1; } }

.dit { background: var(--nuit); text-align: center; padding: 26px var(--pad); }
.dit p { margin: 0 0 6px; font: 400 clamp(22px, 6vw, 34px)/1.15 'Lilita One', sans-serif; color: var(--pistache); }
.dit span { font-size: 14px; color: var(--rose); }

/* Carte */
.carte { padding: 56px 0 40px; }
.onglets { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; position: sticky; top: 62px; z-index: 5; background: var(--grenade); }
.onglet { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: rgb(255 255 255 / .1); font-weight: 800; font-size: 15px; text-decoration: none; }
.rubrique { padding-top: 22px; }
.rubrique h3 { font-size: 30px; margin-bottom: 6px; }
.rubrique ul { list-style: none; margin: 0; padding: 0; background: var(--pain); color: var(--nuit); border-radius: var(--r); }
.plat { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f0dcc6; }
.plat:last-child { border-bottom: 0; }
.plat-l { display: grid; }
.plat-n { font-weight: 800; font-size: 17px; }
.plat-d { font-size: 14px; color: #6d3a4a; }
.plus { width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--grenade); color: #fff; font: 800 24px/1 Manrope, sans-serif; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .12s var(--ease); }
.plus:active { transform: scale(.92); }
.plus[aria-expanded=true] { background: var(--nuit); }
.plus.ok { animation: ok .5s var(--ease); }
@keyframes ok { 30% { transform: scale(1.18); background: #2f7d32; } }
.options { grid-column: 1 / -1; display: grid; gap: 10px; padding-top: 6px; }
.opt-t { margin: 4px 0 0; font-weight: 800; font-size: 15px; }
.opt-t small { font-weight: 600; color: #6d3a4a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px; background: #f3e2cf; color: var(--nuit); font-weight: 700; font-size: 15px; user-select: none; -webkit-user-select: none; }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.chip input:checked + span { background: var(--nuit); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--grenade); outline-offset: 2px; }
.ajout { justify-self: start; min-height: 46px; }

/* Sauces */
.sauces { padding: 40px 0 56px; }
.pots { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 10px; }
.pots li { display: grid; justify-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-align: center; }
.pot { width: 64px; height: 72px; border-radius: 999px 999px 14px 14px; background: var(--c); box-shadow: inset 0 -10px 0 rgb(0 0 0 / .12), 0 0 0 4px rgb(255 255 255 / .12); }
.pots li:first-child .pot { box-shadow: inset 0 -10px 0 rgb(0 0 0 / .12), 0 0 0 4px var(--pistache); }

/* Maison */
.maison { background: var(--nuit); padding: 56px 0; }
.trio { display: grid; gap: 18px; margin-top: 10px; }
.trio figure { aspect-ratio: 4/5; }
.trio figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgb(43 7 20 / .9)); font-weight: 700; font-size: 15px; }

/* Avis */
.avis { padding: 56px 0; }
.cartes-avis { display: grid; gap: 14px; margin: 18px 0; }
.cartes-avis blockquote { margin: 0; background: var(--pain); color: var(--nuit); border-radius: var(--r); padding: 20px; }
.cartes-avis p { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.cartes-avis cite { font-style: normal; font-size: 14px; color: #6d3a4a; }
.lien { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }

/* Infos */
.infos { background: var(--nuit); padding: 56px 0 40px; }
.grille { display: grid; gap: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .14); text-align: left; font-weight: 400; vertical-align: top; }
.horaires th { text-transform: capitalize; }
.horaires td { text-align: right; font-variant-numeric: tabular-nums; color: var(--rose); }
.horaires .auj th, .horaires .auj td { color: var(--pistache); font-weight: 800; }
.pied { background: var(--nuit); padding: 24px var(--pad) calc(110px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; color: var(--rose); border-top: 1px solid rgb(255 255 255 / .1); }
.pied a { display: inline-block; padding: 10px 4px; }

/* Panier */
.panier-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgb(43 7 20 / .9) 50%, transparent); }
.panier-barre .btn { max-width: 560px; margin: 0 auto; display: flex; }
.voile { position: fixed; inset: 0; z-index: 40; background: rgb(20 3 10 / .55); opacity: 0; transition: opacity .3s; }
.voile.ouvert { opacity: 1; }
.feuille { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--pain); color: var(--nuit); border-radius: 24px 24px 0 0; padding: 8px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .34s var(--ease); max-width: 640px; margin: 0 auto; }
.feuille.ouverte { transform: none; }
.poignee { width: 100%; height: 26px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.poignee::before { content: ""; width: 44px; height: 5px; border-radius: 5px; background: #d7bfa8; }
.feuille-haut { display: flex; justify-content: space-between; align-items: center; }
.feuille h2 { font-size: 32px; margin: 0; }
.fermer { width: 44px; height: 44px; border-radius: 12px; border: 0; background: #f3e2cf; color: var(--nuit); font-size: 26px; cursor: pointer; }
.lignes { list-style: none; margin: 12px 0; padding: 0; }
.lignes li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0dcc6; }
.lignes small { display: block; color: #6d3a4a; font-size: 14px; }
.qte { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.qte button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: #f3e2cf; color: var(--nuit); font-size: 20px; font-weight: 800; cursor: pointer; touch-action: manipulation; }
#commande { display: grid; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.creneaux { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.jours { display: flex; gap: 8px; }
.creneaux .chip { flex: none; }
#commande label:not(.chip) { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
#commande input:not([type=radio]) { font: 400 16px/1.2 Manrope, sans-serif; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 2px solid #e6cfb7; background: #fff; color: var(--nuit); width: 100%; }
#commande input:focus { border-color: var(--grenade); outline: none; }
#commande .mini { color: #6d3a4a; margin: 0; }
.erreur { margin: 0; color: #b0122f; font-weight: 800; }
.erreur:empty { display: none; }

/* Sésame, ouvre-toi : deux portes en arche s'ouvrent sur le numéro */
.sesame { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--nuit); overflow: hidden; }
.porte { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--grenade-2) radial-gradient(circle at 50% 30%, rgb(255 255 255 / .08), transparent 60%); transition: transform 1s var(--ease) .15s; z-index: 2; }
.porte.gauche { left: 0; border-right: 3px solid var(--pistache); }
.porte.droite { right: 0; border-left: 3px solid var(--pistache); }
.sesame.ouvre .gauche { transform: translateX(-100%); }
.sesame.ouvre .droite { transform: translateX(100%); }
.sesame-in { position: relative; z-index: 1; text-align: center; padding: 40px var(--pad); max-width: 420px; display: grid; gap: 10px; justify-items: center; }
.sesame-in::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--pistache); border-radius: 999px 999px 24px 24px; opacity: .5; z-index: -1; }
.sesame-n { margin: 0; font: 400 64px/1 'Lilita One', sans-serif; color: var(--pistache); }
.sesame-in p { margin: 0; }
.sesame-in .mini { margin: 6px 0 10px; }
@media (prefers-reduced-motion: reduce) { .porte { display: none; } }

.apparait { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.apparait.vu { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .trio { grid-template-columns: repeat(2, 1fr); }
  .cartes-avis { grid-template-columns: repeat(3, 1fr); }
  .grille { grid-template-columns: 1.2fr 1fr; }
  #rubriques { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .hero-cta { grid-template-columns: auto auto; justify-content: center; margin-top: 14px; }
}
@media (min-width: 1000px) {
  .trio { grid-template-columns: repeat(4, 1fr); }
  .hero { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; align-items: end; max-width: 1180px; margin: 0 auto; padding-top: 40px; padding-bottom: 60px; column-gap: 50px; }
  .hero-txt { grid-column: 1; grid-row: 1; }
  .hero-cta { grid-column: 1; grid-row: 2; align-self: start; justify-content: start; }
  .hero-arche { grid-column: 2; grid-row: 1 / 3; width: 420px; }
  .onglets { top: 62px; }
}
