/* Big Moh's — pages SEO (27/11/2026) : bandeau d'infos du haut, pages par spécialité, contact, blog.
   S'appuie sur les jetons du gabarit v4 (bigmohs-v4.css) : --b4-cream, --b4-blue (rouge), --b4-ink… */

/* ---------- Bandeau du haut : adresse · horaires du jour · téléphone ---------- */
.bms-top { background: var(--b4-ink); color: #fbf5ec; font: 500 0.7rem/1 var(--b4-font); overflow: hidden; }
.bms-top__in { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem 0.6rem; width: min(1180px, 100%); margin: 0 auto; padding: 0 10px; min-height: 34px; }
.bms-top__it { display: inline-flex; align-items: center; gap: 0.3rem; min-width: 0; min-height: 34px; color: inherit !important; text-decoration: none; white-space: nowrap; }
.bms-top__it svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.bms-top__it:hover { text-decoration: underline; text-underline-offset: 3px; }
.bms-top__tel { font-weight: 600; }
.bms-top__long { display: none; }
@media (max-width: 379px) { .bms-top__short { display: none; } .bms-top__addr svg { width: 16px; height: 16px; } }
@media (min-width: 760px) {
  .bms-top { font-size: 0.8rem; }
  .bms-top__in { gap: 0.4rem 1.6rem; padding: 0 24px; min-height: 36px; }
  .bms-top__it svg { width: 15px; height: 15px; }
  .bms-top__long { display: inline; }
  .bms-top__short { display: none; }
  .bms-top__hours { margin-left: auto; }
}

/* ---------- Mise en page commune ---------- */
.bms { width: min(1180px, 100%); margin: 0 auto; padding: 1rem 16px 2.5rem; color: var(--b4-ink); font-family: var(--b4-font); }
.bms a { color: var(--b4-blue); }
.bms-crumbs { margin: 0 0 1rem; color: var(--b4-ink-3, #8a7f78); font-size: 0.8rem; }
.bms-crumbs a { color: inherit; text-decoration: none; }
.bms-crumbs a:hover { text-decoration: underline; }
.bms-h1 { margin: 0 0 0.8rem; font-size: clamp(1.75rem, 7vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--b4-ink); text-wrap: balance; }
.bms-h2 { margin: 0 0 0.8rem; font-size: clamp(1.25rem, 4.6vw, 1.7rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.025em; color: var(--b4-ink); }
.bms-h3 { margin: 1.4rem 0 0.4rem; font-size: 1.05rem; font-weight: 600; color: var(--b4-ink); }
.bms-lead { font-size: 1.04rem; line-height: 1.6; color: var(--b4-ink); }
.bms p { margin: 0 0 0.9rem; line-height: 1.65; color: var(--b4-ink-2, #4d433d); max-width: 68ch; }
.bms p.bms-lead { color: var(--b4-ink); }
.bms-muted { color: var(--b4-ink-3, #8a7f78) !important; font-size: 0.86rem; }
.bms-sec { margin-top: 2.2rem; }
.bms-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.bms-sec__head .bms-h2 { margin: 0; }

/* ---------- En-tête de page : texte + photo du produit phare ---------- */
.bms-hero { display: grid; gap: 1.2rem; align-items: center; }
.bms-hero__ph { order: -1; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; background: var(--b4-beige, #efdfcb); box-shadow: var(--b4-s1); }
.bms-hero__ph picture, .bms-hero__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 1.1rem 0 0.9rem; }
.bms-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.2rem; border: 1.5px solid rgba(30, 23, 20, 0.2); border-radius: 999px; color: var(--b4-ink) !important; font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.bms-ghost:hover { border-color: var(--b4-ink); background: #fff; }
.bms-halal { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 !important; color: var(--b4-ink) !important; font-size: 0.86rem; font-weight: 500; }
.bms-halal svg { width: 18px; height: 18px; fill: none; stroke: var(--b4-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- L'essentiel : adresse, téléphone, horaires, commande ---------- */
.bms-info { display: grid; gap: 1.1rem; margin-top: 1.8rem; padding: 1.3rem; border-radius: 22px; background: #fff; box-shadow: var(--b4-s1); }
.bms-info__lab { margin: 0 0 0.3rem !important; color: var(--b4-blue) !important; font-size: 0.7rem !important; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.bms-info__val { margin: 0 0 0.35rem !important; color: var(--b4-ink) !important; font-size: 0.95rem; font-weight: 500; line-height: 1.45 !important; }
.bms-info__val a { color: inherit; text-decoration: none; }
.bms-info__hours { font-size: 0.88rem; font-weight: 400; }
.bms-info__btn { min-height: 46px; margin-top: 0.3rem; }
.bms-info .b4-link { font-size: 0.84rem; }

/* ---------- Fiches produit (réutilise .b4-item) ---------- */
.bms-cards .b4-add { text-decoration: none; }

/* ---------- Texte ---------- */
.bms-prose > .bms-h2 { margin-top: 2rem; }
.bms-prose > .bms-h2:first-child { margin-top: 0; }
.bms-prose .bms-cards { margin: 1rem 0 1.6rem; }
.bms-ul { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--b4-ink-2, #4d433d); line-height: 1.65; max-width: 68ch; }
.bms-ul li { margin-bottom: 0.3rem; }
.bms-ul li::marker { color: var(--b4-blue); }
.bms-note { padding: 0.85rem 1rem; border-radius: 14px; background: var(--b4-rose, #f6dcd4); color: var(--b4-ink) !important; font-size: 0.92rem; }
.bms-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 1.2rem; padding: 0; list-style: none; }
.bms-chips li { padding: 0.42rem 0.8rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--b4-line); color: var(--b4-ink); font-size: 0.86rem; }
.bms-chips strong { color: var(--b4-blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.bms-faq { border-top: 1px solid var(--b4-line); padding: 0.85rem 0; max-width: 78ch; }
.bms-faq:last-of-type { border-bottom: 1px solid var(--b4-line); }
.bms-faq summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--b4-ink); font-weight: 600; list-style: none; }
.bms-faq summary::-webkit-details-marker { display: none; }
.bms-faq summary::after { content: "+"; flex: none; color: var(--b4-blue); font-size: 1.2rem; line-height: 1; }
.bms-faq[open] summary::after { content: "–"; }
.bms-faq p { margin: 0.55rem 0 0 !important; }

/* ---------- Liens entre pages ---------- */
.bms-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.3rem 0 0; padding: 0; list-style: none; }
.bms-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--b4-line); color: var(--b4-ink) !important; font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.bms-pills a:hover { box-shadow: inset 0 0 0 1.5px var(--b4-blue); color: var(--b4-blue) !important; }

/* ---------- Contact ---------- */
.bms-contact { display: grid; gap: 1rem; margin-top: 1.6rem; }
.bms-card { padding: 1.3rem; border-radius: 22px; background: #fff; box-shadow: var(--b4-s1); }
.bms-dl { display: grid; gap: 0.9rem; margin: 0; }
.bms-dl dt { color: var(--b4-blue); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.bms-dl dd { margin: 0.2rem 0 0; color: var(--b4-ink); line-height: 1.5; }
.bms-dl address { font-style: normal; }
.bms-dl dd > a:not(.b4-link) { color: var(--b4-ink); font-weight: 600; text-decoration: none; }
.bms-dl .bms-socials a { font-weight: 500 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.bms-hours { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.bms-hours th, .bms-hours td { padding: 0.55rem 0; border-top: 1px solid var(--b4-line); text-align: left; font-weight: 400; color: var(--b4-ink-2, #4d433d); }
.bms-hours tr:first-child th, .bms-hours tr:first-child td { border-top: 0; }
.bms-hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bms-hours .is-today th, .bms-hours .is-today td { color: var(--b4-ink); font-weight: 600; }
.bms-hours small { margin-left: 0.3rem; color: var(--b4-blue); font-size: 0.72rem; font-weight: 500; }
.bms-map { overflow: hidden; border-radius: 22px; box-shadow: var(--b4-s1); background: var(--b4-beige, #efdfcb); aspect-ratio: 4 / 3; }
.bms-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.bms-map + .bms-muted { margin-top: 0.6rem; }

/* ---------- Blog ---------- */
.bms-posts { display: grid; gap: 1rem; }
.bms-post { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--b4-s1); color: var(--b4-ink) !important; text-decoration: none; transition: transform 0.3s var(--b4-ease), box-shadow 0.3s var(--b4-ease); }
.bms-post:hover { transform: translateY(-3px); box-shadow: var(--b4-s2); }
.bms-post__ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--b4-beige, #efdfcb); }
.bms-post__ph picture, .bms-post__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bms-post__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; }
.bms-post__body small { color: var(--b4-blue); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.bms-post__body strong { font-size: 1.04rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.bms-post__body > span { color: var(--b4-ink-2, #4d433d); font-size: 0.88rem; line-height: 1.5; }
.bms--post { width: min(820px, 100%); }
.bms--post .bms-info, .bms--post .bms-posts { grid-template-columns: 1fr; }
.bms-posthead .bms-lead { margin-top: 0.8rem; }
.bms-postimg { margin: 1.3rem 0 1.6rem; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; background: var(--b4-beige, #efdfcb); box-shadow: var(--b4-s1); }
.bms-postimg picture, .bms-postimg img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 640px) {
  .bms-info { grid-template-columns: 1fr 1fr; padding: 1.5rem 1.6rem; }
  .bms-contact { grid-template-columns: 1fr 1fr; }
  .bms-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bms--post .bms-info { grid-template-columns: 1fr 1fr; }
  .bms--post .bms-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bms-map { aspect-ratio: 21 / 9; }
}
@media (min-width: 960px) {
  .bms { padding: 1.6rem 24px 4rem; }
  .bms-hero { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .bms-hero--solo { grid-template-columns: 1fr; max-width: 820px; }
  .bms-hero__ph { order: 0; aspect-ratio: 3 / 2; }
  .bms-info { grid-template-columns: 1.15fr 0.8fr 1.25fr 1fr; gap: 1.6rem; margin-top: 2.4rem; }
  .bms--post .bms-info { grid-template-columns: 1fr 1fr; }
  .bms-sec { margin-top: 3rem; }
  .bms-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bms--post .b4-grid--cups.bms-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* ---------- Pied de page : 5 colonnes depuis l'ajout de « Nos spécialités » ---------- */
@media (min-width: 760px) and (max-width: 1099px) {
  .b4-footer__inner { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .b4-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .b4-footer__inner { grid-template-columns: 1.35fr 1.15fr 1fr 0.9fr 1.1fr; align-items: start; gap: 1.6rem; }
  .b4-footer__brand { flex-direction: column; align-items: flex-start; }
}
