/* ============================================================================
   The Lunch Box — feuille de style partagée
   Une seule feuille pour tout le site. Chaque page change sa couleur de
   marque via <html data-brand="…"> (voir « Déclinaisons » en bas de fichier).
   ========================================================================= */

/* --- 1. Jetons ----------------------------------------------------------- */

:root {
  /* Fond — blanc chaud. Richard n'aime pas le beige : la couleur vient des
     aplats de marque, pas du fond. */
  --paper:       #FFFDFB;
  --paper-deep:  #FCEFF4;
  --paper-edge:  #EFCFDC;

  /* Encre — un noir aubergine, jamais un noir pur */
  --ink:         #22131B;
  --ink-soft:    #5A4250;   /* texte secondaire : teinté depuis l'encre, jamais gris */

  /* Les couleurs fixes de chaque page — elles servent aussi à signaler une
     page depuis une autre (nav, liens croisés). */
  --rani:        #B8135F;   /* rose rani : la rue de la Montagne et la carte */
  --rani-deep:   #7C0B3F;
  --sun:         #F4C21A;   /* jaune camionnette : traiteur & food truck */
  --sun-deep:    #E5AE00;
  --sun-soft:    #FBE7A1;
  --indigo:      #2B2C7C;   /* le cadre des étiquettes : les jus */
  --indigo-deep: #1A1A52;

  /* Curcuma — filets, pastilles, chiffres. Jamais du texte courant sur blanc. */
  --turmeric:    #E3A008;
  --turmeric-ink:#8A5D02;

  /* Piment — le carré non-végétarien et le filet imprimé */
  --chili:       #A82B18;

  /* Marque de la page courante (rue de la Montagne par défaut) */
  --brand:          var(--rani);
  --brand-deep:     var(--rani-deep);
  --on-brand:       #FFFFFF;
  --on-brand-soft:  #FBE1EC;   /* texte secondaire sur la marque (≥ 4,5:1) */
  --on-brand-accent:#FFD98A;   /* souci pâle : chiffres et mots mis en avant sur la marque */

  /* La seule couleur d'action : un bouton plein = commander */
  --action:      var(--rani);
  --action-deep: var(--rani-deep);
  --on-action:   #FFFFFF;

  /* Typographie */
  --display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --text:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rythme */
  --gap:     clamp(1rem, 3vw, 1.5rem);
  --pad:     clamp(1rem, 5vw, 4.5rem);
  --band:    clamp(3.5rem, 9vw, 7rem);
  --measure: 66ch;
  --wrap:    76rem;

  --radius:  3px;
  --lift:    0 1px 2px rgba(34, 19, 27, .06), 0 8px 24px -8px rgba(34, 19, 27, .2);
  --lift-lg: 0 2px 4px rgba(34, 19, 27, .07), 0 20px 48px -16px rgba(34, 19, 27, .28);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --- 2. Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

/* Surfaces du navigateur — elles font aussi partie du design */
::selection { background: var(--brand); color: var(--on-brand); }
:root { caret-color: var(--brand); accent-color: var(--brand); }

:where(a, button, [tabindex]):focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

@supports (scrollbar-color: red blue) {
  html { scrollbar-color: var(--paper-edge) var(--paper); scrollbar-width: thin; }
}

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* --- 3. Échelle typographique ------------------------------------------- */

.t-hero  { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 6rem); }
.t-sect  { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); }
.t-item  { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }
.t-quote { font-size: clamp(1.2rem, 1.02rem + .9vw, 1.6rem); line-height: 1.34; }

.lede {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem);
  line-height: 1.5;
  max-width: 34ch;
}

.prose { max-width: var(--measure); }
.muted { color: var(--ink-soft); }

.label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- 4. Structure -------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.band { padding-block: var(--band); }
.band--paper { background: var(--paper-deep); }
.band--leaf  { background: var(--brand); color: var(--on-brand); }
.band--leaf .muted { color: var(--on-brand-soft); }

/* Filet imprimé au tampon — le seul motif du site, une seule fonction :
   marquer le haut d'un bandeau. */
.blockprint {
  height: 12px;
  background:
    repeating-linear-gradient(90deg,
      var(--turmeric) 0 6px, transparent 6px 12px,
      var(--chili) 12px 15px, transparent 15px 24px);
  opacity: .9;
}

.rule {
  border: 0;
  height: 1px;
  background: var(--paper-edge);
  margin: 0;
}
.band--leaf .rule { background: rgba(255, 255, 255, .22); }

/* --- 5. Boutons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { flex: none; }

.btn--go    { background: var(--action); color: var(--on-action); box-shadow: var(--lift); }
.btn--go:hover    { background: var(--action-deep); transform: translateY(-2px); box-shadow: var(--lift-lg); }
.btn--go:active   { transform: translateY(0); }

.btn--line  { border-color: currentColor; color: var(--ink); }
.btn--line:hover  { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Sur un aplat de marque, le bouton plein s'inverse : blanc, texte de marque */
:is(.band--leaf, .splash) .btn--go { background: var(--on-brand); color: var(--brand-deep); }
:is(.band--leaf, .splash) .btn--go:hover { background: var(--on-brand-soft); }
:is(.band--leaf, .splash) .btn--line { color: var(--on-brand); }
:is(.band--leaf, .splash) .btn--line:hover { background: var(--on-brand); color: var(--brand-deep); border-color: var(--on-brand); }

.btn--wa    { background: #0F7A6D; color: #fff; }
.btn--wa:hover { background: #0A5F55; transform: translateY(-2px); }

.btn--full { width: 100%; }

/* --- 6. En-tête ---------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--paper-edge);
}

.top__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--gap);
  min-height: 4rem;
}

/* Le logo NK de Richard, en coin, devant le nom */
.mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.08rem + .5vw, 1.5rem);
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
  padding-block: .45rem;
}
.mark img {
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--paper-edge);
}
.mark em { font-style: normal; color: var(--brand); }

/* Les pages du site. Sur téléphone, elles passent sur une deuxième ligne
   qui défile à l'horizontale : quatre pages, ça ne se cache pas dans un menu. */
.nav {
  order: 3;
  display: flex;
  gap: 1.25rem;
  width: calc(100% + 2 * var(--pad));
  margin-inline: calc(-1 * var(--pad));
  padding: 0 var(--pad) .1rem;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: .875rem;
  font-weight: 600;
  border-top: 1px solid var(--paper-edge);
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none;
  text-decoration: none;
  padding-block: .7rem .6rem;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { border-bottom-color: var(--paper-edge); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); }

@media (min-width: 62rem) {
  .nav {
    order: 0;
    width: auto;
    margin: 0;
    padding: 0;
    gap: clamp(1.1rem, 1.9vw, 1.9rem);
    border-top: 0;
    overflow: visible;
  }
}

.top .btn { display: none; }
@media (min-width: 48rem) { .top .btn { display: inline-flex; } }

/* --- 7. Ouverture (le moment vivant du site) ---------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.05rem .6rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--paper-edge);
  background: var(--paper);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.status:hover { border-color: var(--ink-soft); }
.status__dot {
  flex: none;
  width: .6rem; height: .6rem;
  border-radius: 50%;
  background: var(--ink-soft);
}
.status[data-open="oui"] { border-color: #9ABF98; background: #EAF3E7; color: #1B3A1E; }
.status[data-open="oui"] .status__dot {
  background: #2E8B36;
  animation: beat 2.4s var(--ease) infinite;
}
.status[data-open="bientot"] { border-color: #E6C888; background: #FBF2DC; color: var(--turmeric-ink); }
.status[data-open="bientot"] .status__dot { background: var(--turmeric); }

@keyframes beat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 139, 54, .55); }
  70%      { box-shadow: 0 0 0 .5rem rgba(46, 139, 54, 0); }
}

:is(.band--leaf, .splash) .status { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: var(--on-brand); }
:is(.band--leaf, .splash) .status__dot { background: var(--on-brand-soft); }
:is(.band--leaf, .splash) .status[data-open="oui"] { background: #fff; border-color: #fff; color: #1B3A1E; }
:is(.band--leaf, .splash) .status[data-open="oui"] .status__dot { background: #2E8B36; }
:is(.band--leaf, .splash) .status[data-open="bientot"] { background: #FBF2DC; border-color: #FBF2DC; color: var(--turmeric-ink); }
:is(.band--leaf, .splash) .status[data-open="bientot"] .status__dot { background: var(--turmeric); }

/* --- 8. Accueil ---------------------------------------------------------- */

.hero { padding-block: clamp(2rem, 4.5vw, 3.25rem) clamp(3rem, 7vw, 5.5rem); }

/* Le titre court sur toute la largeur : c'est la manchette.
   Les faits et la photo se partagent la ligne en dessous. */
.hero h1 { margin-block: 1.25rem clamp(1.75rem, 4vw, 2.75rem); }
.hero h1:first-child { margin-top: 0; }
.hero h1 em { font-style: normal; color: var(--brand); }

.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: start;
  }
  .hero .lede { max-width: 38ch; }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 30rem) { .hero__actions .btn { flex: 0 0 auto; } }

/* Bandeau d'accueil pleine largeur, dans la couleur de la page */
.splash { background: var(--brand); color: var(--on-brand); }
.splash .muted { color: var(--on-brand-soft); }
.splash .hero h1 em { color: var(--on-brand-accent); }
.splash .facts, .splash .facts > div { border-color: rgba(255, 255, 255, .3); }
.splash .facts dt { color: var(--on-brand-soft); }
.splash .facts .price { color: var(--on-brand-accent); }
.splash .facts a { color: inherit; text-underline-offset: .2em; }
.splash .shot { box-shadow: 10px 10px 0 var(--brand-deep); border: 2px solid var(--on-brand); }

/* Les faits, en fiche produit — pas en cartes */
.facts {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--paper-edge);
}
.facts > div {
  padding-block: .8rem;
  border-bottom: 1px solid var(--paper-edge);
}
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { font-weight: 500; margin-top: .15rem; }

/* Sur téléphone, l'étiquette passe au-dessus : plus de valeurs en drapeau
   à droite qui se coupent en deux. */
@media (min-width: 34rem) {
  .facts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .facts dd { text-align: right; margin-top: 0; }
}
.facts .price {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -.02em;
}

/* --- 9. Emplacements photo ---------------------------------------------- */
/* Tant que les vraies photos ne sont pas là, on montre un cadre assumé —
   pas un faux plat. Remplacer le <span> par <img> le moment venu. */

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--lift);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

.shot--tall   { aspect-ratio: 4 / 5; }
.shot--wide   { aspect-ratio: 3 / 2; }
.shot--face   { aspect-ratio: 1 / 1; }
.shot--trio   { aspect-ratio: 5 / 3; }
.shot--bottle { aspect-ratio: 6 / 11; }

.shot__todo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  background:
    repeating-linear-gradient(-45deg,
      transparent 0 11px, rgba(34, 19, 27, .035) 11px 12px);
  box-shadow: inset 0 0 0 1px var(--paper-edge);
}
.shot__todo span { font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.shot__todo svg { opacity: .55; }

/* --- 10. La carte -------------------------------------------------------- */

.dishes {
  display: grid;
  gap: clamp(2rem, 4vw, 2.5rem);
  margin-top: clamp(2rem, 5vw, 3.25rem);
}
@media (min-width: 46rem) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .dishes { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 64rem) { .dishes--3 { grid-template-columns: repeat(3, 1fr); } }

.dish h3 { margin-block: 1rem .5rem; }
.dish p { color: var(--ink-soft); }

.menu-group + .menu-group { margin-top: clamp(2.75rem, 6vw, 4rem); }
.menu-group > h3 {
  font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem);
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--ink);
}
.menu-group .dishes { margin-top: 1.5rem; }

/* Le carré végé / non-végé — la vraie signalétique indienne, pas un emoji */
.mark-veg {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.mark-veg::before {
  content: "";
  width: .95rem; height: .95rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 50%, currentColor 0 30%, transparent 31%);
}
.mark-veg[data-veg="oui"] { color: #1B6B28; }
.mark-veg[data-veg="non"] { color: var(--chili); }

/* --- 11. Horaires -------------------------------------------------------- */

.hours {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hours li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .5rem 1rem;
  padding: 1rem .9rem 1rem 1rem;
  margin-inline: -1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  transition: background-color .3s var(--ease);
}
.hours__day  { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); }
.hours__time { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 600; color: var(--on-brand-accent); text-align: right; white-space: nowrap; }
.hours__time small { display: block; font-size: inherit; }
@media (min-width: 34rem) { .hours__time small { display: inline; } .hours__time small::before { content: " · "; } }
.hours__note { grid-column: 1 / -1; font-size: .9375rem; color: var(--on-brand-soft); }
.hours li[data-off] .hours__time { color: var(--on-brand-soft); font-weight: 500; }

.hours li[data-today] { background: rgba(0, 0, 0, .16); }
.hours li[data-today] .hours__day::after {
  content: "aujourd’hui";
  display: inline-block;
  margin-left: .7rem;
  vertical-align: middle;
  padding: .2rem .5rem;
  border-radius: 2px;
  background: var(--on-brand-accent);
  color: var(--brand-deep);
  font-family: var(--text);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* --- 12. Avis ------------------------------------------------------------ */

.reviews { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.review { padding-block: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid var(--paper-edge); }
.review:last-child { border-bottom: 1px solid var(--paper-edge); }
.review blockquote { margin: 0; font-family: var(--display); letter-spacing: -.01em; }
.review figcaption { margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; font-size: .9375rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: .1rem; color: var(--turmeric-ink); }

@media (min-width: 54rem) {
  .reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(2rem, 4vw, 3rem); }
  .review { border-top: 2px solid var(--ink); }
  .review:last-child { border-bottom: 0; }
}

/* --- 13. Contact & carte ------------------------------------------------- */

.contact__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 58rem) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.contact__grid--mid { align-items: center; }

.map {
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--lift);
}
.map iframe { width: 100%; height: clamp(260px, 42vw, 400px); border: 0; }
.map__foot a { display: inline-block; padding-block: .4rem; }
.map__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1rem; border-top: 1px solid var(--paper-edge); background: var(--paper); font-size: .875rem; }

.stack { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 30rem) { .stack { grid-auto-flow: column; justify-content: start; } }

.note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-edge);
}
.note h3 { font-size: 1.2rem; margin-bottom: .4rem; }

/* --- 14. Offres (traiteur) ---------------------------------------------- */
/* Trois colonnes à filet, pas des cartes : pour qui, puis comment. */

.offers {
  display: grid;
  gap: 0 clamp(2rem, 4vw, 3rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 54rem) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer {
  padding-block: 1.5rem;
  border-top: 2px solid currentColor;
}
.offer h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); margin-bottom: .6rem; }
.offer .label { display: block; margin-bottom: .5rem; }
.offer p + p { margin-top: .5rem; }
.band--leaf .offer .label { color: var(--on-brand-soft); }

.refs { margin-top: 1.5rem; border-top: 1px solid var(--paper-edge); }
.refs li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .25rem 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--paper-edge);
}
.refs strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }

/* --- 15. Les jus --------------------------------------------------------- */
/* Une section par jus, dans la couleur de son étiquette. */

.juice { padding-block: var(--band); background: var(--j); color: var(--j-ink); }
.juice__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 52rem) {
  .juice__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .juice:nth-of-type(even) .juice__grid > figure { order: 2; }
}
.juice figure { max-width: min(22rem, 62vw); margin-inline: auto; width: 100%; box-shadow: 12px 12px 0 var(--j-deep); }
.juice .label { color: var(--j-soft); }
.juice h2 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.5rem); margin-block: .5rem 1.5rem; }
.juice__ing { border-top: 1px solid var(--j-line); }
.juice__ing li {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  padding-block: .55rem;
  border-bottom: 1px solid var(--j-line);
}
.juice__foot { margin-top: 1.25rem; color: var(--j-soft); }

.juice--amour  { --j: #B83357; --j-deep: #7E1F3A; --j-ink: #fff;    --j-soft: #FCE0E8; --j-line: rgba(255, 255, 255, .3); }
.juice--coeur  { --j: #DC6E2F; --j-deep: #2B2C7C; --j-ink: #22131B; --j-soft: #3A1A0A; --j-line: rgba(34, 19, 27, .3); }
.juice--cleaner{ --j: #799F38; --j-deep: #4B6620; --j-ink: #22131B; --j-soft: #233108; --j-line: rgba(34, 19, 27, .3); }

/* --- 16. Texte long (mentions légales) ---------------------------------- */

.legal { max-width: var(--measure); }
.legal h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); margin-block: 2.5rem .75rem; }
.legal p, .legal ul { margin-bottom: .75rem; }
.legal li { list-style: disc; margin-left: 1.25rem; }
.todo {
  background: #FFF3C4;
  color: #5C4100;
  padding: .05em .35em;
  border-radius: 2px;
  font-weight: 600;
}

/* --- 17. Pied ------------------------------------------------------------ */

.foot { background: var(--brand-deep); color: var(--on-brand); padding-block: clamp(2.5rem, 6vw, 4rem); }
.foot .muted, .foot .label { color: var(--on-brand-soft); }
.foot a { display: inline-block; padding-block: .45rem; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: .25em; }
.foot a:hover { text-decoration-color: currentColor; }
.foot__grid { display: grid; gap: 2rem; }
@media (min-width: 46rem) { .foot__grid { grid-template-columns: repeat(4, 1fr); } }
.foot .mark img { box-shadow: none; }
.foot__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .875rem; color: var(--on-brand-soft); display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; }

/* --- 18. Barre d'appel mobile ------------------------------------------- */
/* Sur téléphone, l'action de commande ne doit jamais être à plus d'un pouce. */

.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 1px;
  background: var(--paper-edge);
  border-top: 1px solid var(--paper-edge);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgba(34, 19, 27, .3);
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3.5rem;
  padding-inline: .35rem;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(.8125rem, .55rem + .8vw, .9375rem);
  font-weight: 600;
  text-decoration: none;
}
.callbar a:first-child { background: var(--action); color: var(--on-action); }
.callbar a:active { filter: brightness(.93); }

@media (min-width: 48rem) { .callbar { display: none; } }
@media (max-width: 47.999rem) { body { padding-bottom: 3.9rem; } }

/* --- 19. Mouvement ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- 20. Déclinaisons ---------------------------------------------------- */
/* Chaque page change sa couleur de marque et hérite de tout le reste.
   Rue de la Montagne, carte, mentions : rose rani (défaut).                */

/* Traiteur & food truck : le jaune de la camionnette, l'encre en contrepoint */
[data-brand="jaune"] {
  --brand: var(--sun); --brand-deep: var(--ink);
  --on-brand: var(--ink); --on-brand-soft: #3B3305; --on-brand-accent: var(--ink);
  --action: var(--ink); --action-deep: #000; --on-action: var(--sun);
  --paper-deep: var(--sun-soft); --paper-edge: #E8D48A;
}
[data-brand="jaune"] .top { background: var(--sun); border-bottom: 2px solid var(--ink); }
[data-brand="jaune"] .nav { border-top-color: rgba(34, 19, 27, .2); }
[data-brand="jaune"] .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
[data-brand="jaune"] .mark em { color: var(--ink); background: var(--paper); padding: 0 .18em; border-radius: 2px; }
[data-brand="jaune"] .mark img { box-shadow: 0 0 0 2px var(--ink); }
[data-brand="jaune"] .splash { border-bottom: 2px solid var(--ink); }
[data-brand="jaune"] .splash .hero h1 em { color: var(--ink); background: linear-gradient(transparent 62%, var(--paper) 62% 92%, transparent 92%); }
[data-brand="jaune"] .splash .facts, [data-brand="jaune"] .splash .facts > div { border-color: rgba(34, 19, 27, .28); }
[data-brand="jaune"] .splash .shot { box-shadow: 10px 10px 0 var(--ink); border-color: var(--ink); }
[data-brand="jaune"] :is(.band--leaf, .splash) .btn--go { background: var(--ink); color: var(--sun); }
[data-brand="jaune"] :is(.band--leaf, .splash) .btn--go:hover { background: #000; }
[data-brand="jaune"] :is(.band--leaf, .splash) .btn--line:hover { background: var(--ink); color: var(--sun); border-color: var(--ink); }
/* Le bandeau sombre de la page camion : encre, avec le jaune en accent */
[data-brand="jaune"] .band--ink { background: var(--ink); color: var(--paper); }
[data-brand="jaune"] .band--ink .muted, [data-brand="jaune"] .band--ink .offer .label { color: #E3D9C2; }
[data-brand="jaune"] .band--ink .btn--go { background: var(--sun); color: var(--ink); }
[data-brand="jaune"] .band--ink .shot { border: 2px solid var(--sun); }
[data-brand="jaune"] .foot { background: var(--ink); color: var(--paper); }
[data-brand="jaune"] .foot .muted, [data-brand="jaune"] .foot .label, [data-brand="jaune"] .foot__legal { color: #E3D9C2; }
.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--sun) 14px 28px); }

/* Les jus : l'indigo du cadre des étiquettes */
[data-brand="jus"] {
  --brand: var(--indigo); --brand-deep: var(--indigo-deep);
  --on-brand-soft: #DADBF4; --on-brand-accent: #FFD98A;
  --action: var(--indigo); --action-deep: var(--indigo-deep);
  --paper-deep: #F1F1FB; --paper-edge: #D5D6EE;
}

/* --- 21. Impression ------------------------------------------------------ */

@media print {
  .top, .callbar, .map iframe, .btn { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .band--leaf, .splash, .juice { background: #fff !important; color: #000 !important; }
}

/* Sur petit écran, les intitulés du menu se raccourcissent pour que les
   quatre pages tiennent sur une ligne : « Montagne », « Traiteur ». */
@media (max-width: 33.999rem) { .nav__plus { display: none; } .nav { gap: 1.1rem; } }

/* --- Carte : les plats sans photo ---------------------------------------- */
/* Une liste nue, en filets, sous les cartes photo : pas d'emplacement vide. */
.menu-list {
  display: grid;
  column-gap: 2.5rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--paper-edge);
}
@media (min-width: 46rem) { .menu-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .menu-list { grid-template-columns: repeat(3, 1fr); } }
.menu-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--paper-edge);
  font-family: var(--display);
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  line-height: 1.3;
}
.menu-list small {
  display: block;
  margin-top: .2rem;
  font-family: var(--text);
  font-size: .875rem;
  color: var(--ink-soft);
}
