/*
Theme Name: Le Breton Gourmand
Theme URI: https://lebretongourmand.staging.gamachemedia.com/
Author: Gamache Média
Description: Le Breton Gourmand, boucherie de Saint-Bruno-de-Montarville. Design de la maquette d'octobre 2026.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: breton-gourmand
*/
/* Généré par outils/wordpress.py depuis css/accueil.css et css/pages.css de la maquette. */

/* =========================================================
   Le Breton Gourmand · Accueil (maquette du 19 octobre 2026)
   Toutes les classes sont préfixées lbg- pour cohabiter avec
   le CSS d'un thème WordPress.
   ========================================================= */

@font-face {
  font-family: "Coolvetica";
  src: url("assets/coolvetica.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --lbg-beige: #E3DDC7;
  --lbg-orange: #F05A22;
  --lbg-noir: #000;
  --lbg-blanc: #fff;
  --lbg-filet: #8E8A7C;

  --lbg-police-titre: "Coolvetica", "Arial Narrow", Arial, sans-serif;
  --lbg-police-accroche: "Lora", Georgia, serif;
  --lbg-police-texte: "Roboto", Arial, sans-serif;

  --lbg-largeur: 1164px;
  --lbg-marge: 24px;
  --lbg-rayon: 16px;
}

/* ---------- Base ---------- */
.lbg, .lbg *, .lbg *::before, .lbg *::after { box-sizing: border-box; }
.lbg {
  margin: 0;
  background: var(--lbg-beige);
  color: var(--lbg-noir);
  font: 300 20px/1.4 var(--lbg-police-texte);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
.lbg img { max-width: 100%; height: auto; display: block; }
.lbg a { color: inherit; }
.lbg ul { list-style: none; margin: 0; padding: 0; }
.lbg figure, .lbg address { margin: 0; font-style: normal; }

.lbg-cadre {
  width: min(var(--lbg-largeur), 100% - 2 * var(--lbg-marge));
  margin-inline: auto;
}
.lbg-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.lbg-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--lbg-noir); color: var(--lbg-blanc);
}
.lbg-evitement:focus { top: 12px; }
.lbg :focus-visible { outline: 2px solid var(--lbg-orange); outline-offset: 3px; }

/* ---------- Typographie ---------- */
.lbg-titre {
  margin: 0;
  font-family: var(--lbg-police-titre);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.lbg-titre--xl { font-size: clamp(42px, 4.1vw + 17.6px, 75px); line-height: 0.98; }
.lbg-titre--l  { font-size: clamp(31px, 2.4vw + 18.4px, 52px); line-height: 1; }
/* Entrée des titres (SplitText, js/mouvement.js) : chaque ligne monte dans un masque « overflow: clip » haut d'une
   ligne. Avec un interlignage de 1, le bas des p, g, q, ç et les accents des capitales dépassent de la ligne
   (environ 0,08 em) et étaient coupés. Le masque est agrandi par clip-path (sans changer la mise en page). */
.lbg .lbg-ligne-mask { overflow: visible !important; clip-path: inset(-0.25em -0.15em); }

.lbg-accroche {
  margin: 0 0 14px;
  font: 700 clamp(21px, 0.8vw + 16.3px, 27.5px)/1.24 var(--lbg-police-accroche);
  color: var(--lbg-orange);
}
.lbg-corps {
  margin: 0;
  max-width: 530px;
  font-size: clamp(17px, 0.3vw + 15.8px, 20px);
  line-height: 1.4;
}
.lbg-corps--large { max-width: 610px; }
.lbg-corps strong { font-weight: 700; }

/* ---------- Boutons ---------- */
.lbg-boutons { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.lbg-sombre .lbg-boutons { margin-top: 24px; }
.lbg-boutons--pile { flex-direction: column; align-items: flex-start; }

.lbg-btn {
  display: inline-flex; align-items: center; gap: 0.35em;
  min-height: 37px; padding: 4px 17px;
  border: 1.5px solid var(--lbg-noir);
  border-radius: 999px;
  background: var(--lbg-orange);
  color: var(--lbg-blanc) !important;
  font: 700 18.5px/1.1 var(--lbg-police-texte);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--lbg-noir);
  transition: transform .15s ease, box-shadow .15s ease;
}
.lbg-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--lbg-noir); }
.lbg-btn--blanc { background: var(--lbg-blanc); color: var(--lbg-orange) !important; }
/* sur fond noir, l'ombre noire reçoit un liseré blanc */
.lbg-sombre .lbg-btn { box-shadow: 4px 4px 0 var(--lbg-noir), 4px 4px 0 1.5px var(--lbg-blanc); }
.lbg-sombre .lbg-btn:hover { box-shadow: 2px 2px 0 var(--lbg-noir), 2px 2px 0 1.5px var(--lbg-blanc); }

/* ---------- Bandeau du haut ---------- */
.lbg-annonce {
  background: var(--lbg-noir);
  text-align: center;
  font: 400 20px/1 var(--lbg-police-titre);
}
.lbg-annonce a {
  display: inline-block; padding: 14px 16px 14px;
  color: var(--lbg-orange); text-decoration: none;
}
.lbg-annonce a:hover { text-decoration: underline; }
/* mains au trait : le doigt pointe vers le texte, à droite puis à gauche */
.lbg-annonce__main {
  width: 21px; height: 21px; margin: 0 8px; vertical-align: -4px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(90deg);
}
.lbg-annonce__main--gauche { transform: scaleX(-1) rotate(90deg); }

/* ---------- En-tête ---------- */
.lbg-entete {
  position: relative; z-index: 20;
  background: var(--lbg-blanc);
  border-bottom: 1px solid var(--lbg-noir);
}
.lbg-entete__interieur {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 120px;
}
.lbg-logo img { width: 307px; }
.lbg-menu ul { display: flex; gap: 38px; }
.lbg-menu a {
  font: 400 21.3px/1 var(--lbg-police-titre);
  text-decoration: none;
}
.lbg-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lbg-burger { display: none; }

/* ---------- Sections ---------- */
.lbg-section { position: relative; }
.lbg-separateur {
  width: min(926px, 100% - 2 * var(--lbg-marge));
  margin: 0 auto; border: 0; border-top: 1px solid var(--lbg-noir);
}

.lbg-duo { display: grid; align-items: start; }
.lbg-duo--ouverture { grid-template-columns: minmax(0, 530fr) minmax(0, 572fr); column-gap: 62px; }
.lbg-duo--saucisses { grid-template-columns: minmax(0, 530fr) minmax(0, 570fr); column-gap: 64px; }
.lbg-duo--histoire  { grid-template-columns: minmax(0, 535fr) minmax(0, 569fr); column-gap: 60px; align-items: center; }
.lbg-duo--visite    { grid-template-columns: minmax(0, 590fr) minmax(0, 511fr); column-gap: 63px; align-items: center; }

.lbg-entete-section {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 28px;
}

/* ---------- Collages de photos inclinées ----------
   Positions en px de la maquette (--x, --y, --l), mises à l'échelle
   avec la largeur du collage : le collage garde ses proportions. */
.lbg-collage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: var(--w) / var(--h);
}
.lbg-collage > * {
  position: absolute; margin: 0;
  left: calc(var(--x) * 100cqw / var(--w));
  top: calc(var(--y) * 100cqw / var(--w));
  width: calc(var(--l) * 100cqw / var(--w));
  transform: rotate(var(--r, 0deg));
}
.lbg-photo {
  aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--lbg-noir);
  border-radius: calc(18 * 100cqw / var(--w));
}

.lbg-collage--ouverture { --w: 577; --h: 589; width: calc(100% * 577 / 572); }
.lbg-collage--ouverture .lbg-photo--arriere { --x: 0; --y: 0; --l: 462; }
.lbg-collage--ouverture .lbg-photo--avant   { --x: 100.4; --y: 112.6; --l: 462.8; --r: 3.4deg; }

.lbg-collage--saucisses { --w: 654; --h: 541; width: calc(100% * 654 / 570); margin-top: 5px; }
.lbg-collage--saucisses .lbg-photo--arriere { --x: 110; --y: 0; --l: 343; }
.lbg-collage--saucisses .lbg-photo--avant   { --x: 10.2; --y: 68.3; --l: 343.8; --r: 3.4deg; }
.lbg-collage--saucisses .lbg-mascotte       { --x: 348; --y: 7; --l: 306; }
.lbg-collage--saucisses .lbg-pastille       { --x: 163; --y: 369; --l: 172; }

.lbg-collage--histoire { --w: 535; --h: 444; }
.lbg-collage--histoire .lbg-photo--arriere { --x: 0; --y: 0; --l: 343; }
.lbg-collage--histoire .lbg-photo--avant   { --x: 170.65; --y: 80.05; --l: 341.9; --r: 7.86deg; }

/* pastille « Sans nitrite » */
.lbg-pastille {
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 0 calc(8 * 100cqw / var(--w));
  border: 1px solid var(--lbg-noir);
  border-radius: 50%;
  background: var(--lbg-blanc);
  color: var(--lbg-orange);
  font: 400 calc(24.4 * 100cqw / var(--w))/1.15 var(--lbg-police-titre);
  text-align: center;
}

/* ---------- 1. Ouverture ---------- */
.lbg-ouverture { padding-top: 76px; }
.lbg-ouverture .lbg-titre { margin-bottom: 30px; }
.lbg-ouverture .lbg-boutons { margin-top: 28px; }
.lbg-ouverture .lbg-corps { margin-top: 0; }
.lbg-ouverture .lbg-duo { padding-bottom: 80px; }

/* ---------- 2. Viandes ---------- */
.lbg-viandes { padding-top: 76px; }
.lbg-viandes .lbg-accroche { margin-bottom: 14px; }
.lbg-cartes { position: relative; margin-top: 40px; }
/* damier blanc derrière les cartes, d'un bord à l'autre de l'écran */
.lbg-cartes::before {
  content: "";
  position: absolute; left: 0; right: 0;
  top: 103px; height: 176px;
  /* --lbg-damier-decalage : glissement au défilement, piloté par js/mouvement.js */
  background: repeating-conic-gradient(var(--lbg-blanc) 0 25%, transparent 0 50%) calc(44px + var(--lbg-damier-decalage, 0px)) 0 / 88px 88px;
}
.lbg-cartes__grille {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.lbg-carte img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--lbg-noir);
  border-radius: var(--lbg-rayon);
}
.lbg-carte figcaption {
  max-width: 330px; margin: 30px auto 0;
  font: 400 clamp(22px, 0.85vw + 18.5px, 30.4px)/1.25 var(--lbg-police-titre);
  text-align: center; text-wrap: balance;
}

/* ---------- 3. Saucisses ---------- */
.lbg-saucisses { padding-top: 141px; }
.lbg-saucisses .lbg-titre { margin-bottom: 47px; }
.lbg-saucisses .lbg-duo { padding-bottom: 63px; }

/* ---------- 4. Prêt-à-manger ---------- */
.lbg-pret { padding-top: 104px; padding-bottom: 60px; }

.lbg-plats {
  overflow: hidden;
  background: linear-gradient(var(--lbg-beige) 50%, var(--lbg-orange) 50%);
}
.lbg-plats__piste {
  display: flex; gap: 20px; width: max-content;
  animation: lbg-defile 70s linear infinite;
}
.lbg-plats:hover .lbg-plats__piste { animation-play-state: paused; }
.lbg-plats img {
  width: 217px; height: 217px; object-fit: cover;
  border: 1px solid var(--lbg-noir);
  border-radius: var(--lbg-rayon);
}
@keyframes lbg-defile { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- 5. Bande menu de la semaine ---------- */
/* sur fond orange, tous les textes sont blancs */
.lbg-cta {
  background: var(--lbg-orange);
  color: var(--lbg-blanc);
  padding: 62px 0 58px;
  overflow: hidden;
}
.lbg-cta :focus-visible { outline-color: var(--lbg-blanc); }
.lbg-cta__interieur {
  display: flex; align-items: center; justify-content: center; gap: 66px;
  padding-right: 14px;
}
.lbg-cta__texte span { display: block; }
.lbg-cta__texte .lbg-cta__blanc { color: var(--lbg-blanc); }

.lbg-cta__rond {
  position: relative; flex: none;
  width: 170px; height: 170px;
  display: grid; place-items: center;
  border: 1px solid var(--lbg-noir);
  border-radius: 50%;
  background: var(--lbg-blanc);
  box-shadow: 4px 5px 0 var(--lbg-noir);
  text-decoration: none;
}
.lbg-cta__libelle {
  width: 120px;
  transform: rotate(6deg);
  color: var(--lbg-orange);
  font: 700 20px/1.3 var(--lbg-police-texte);
  text-align: center;
}
/* bras noir qui file jusqu'au bord de l'écran */
.lbg-cta__rond::after {
  content: "";
  position: absolute; left: 230px; top: 87px;
  width: 100vw; height: 14px;
  background: var(--lbg-noir);
}
/* gant : l'image reprend le bord du cercle pour que le doigt passe devant */
.lbg-cta__main {
  position: absolute; z-index: 1;
  left: 143px; top: -9.5px;
  width: 101px; max-width: none;
}
.lbg-cta__rond:hover .lbg-cta__libelle { text-decoration: underline; }

/* ---------- Fond noir ---------- */
.lbg-sombre { background: var(--lbg-noir); color: var(--lbg-blanc); }
/* recouvre le filet beige qu'un bord en demi-pixel laisse entre deux fonds pleins */
.lbg-sombre, .lbg-cta { box-shadow: 0 -2px 0 var(--lbg-noir); }
.lbg-cta { box-shadow: 0 -2px 0 var(--lbg-orange); }

/* ---------- 6. Notre histoire ---------- */
.lbg-histoire { padding-top: 116px; }
.lbg-histoire .lbg-titre { margin-bottom: 40px; }
.lbg-sombre .lbg-corps { max-width: 560px; }

/* ---------- 7. Nous trouver ---------- */
.lbg-visite { padding-top: 120px; }
.lbg-visite .lbg-titre { margin-bottom: 26px; }
.lbg-visite .lbg-boutons { margin-top: 36px; }
.lbg-visite .lbg-corps { max-width: 585px; }
.lbg-video {
  overflow: hidden;
  border-radius: var(--lbg-rayon);
  aspect-ratio: 511 / 342;
}
.lbg-video img, .lbg-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pied de page ---------- */
.lbg-pied { padding-top: 175px; }
.lbg-pied__logo { width: min(1015px, 100%); margin: 0 auto; }
.lbg-pied__milieu {
  display: flex; justify-content: space-between; gap: 40px;
  margin-top: 72px; padding: 56px 0 32px;
  border-top: 1.5px solid var(--lbg-filet);
}
.lbg-pied__coord address {
  color: var(--lbg-orange);
  font: 400 21.3px/28px var(--lbg-police-titre);
}
.lbg-pied__contact { display: flex; align-items: center; gap: 36px; margin-top: 34px; }
.lbg-pied__contact a[href^="tel"] { text-decoration: none; }
.lbg-pied__fb {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--lbg-orange); color: var(--lbg-blanc);
  box-shadow: 3px 3px 0 var(--lbg-noir), 3px 3px 0 1.5px var(--lbg-blanc);
}
.lbg-pied__menu {
  display: grid; grid-template-columns: repeat(4, auto); column-gap: 68px;
  align-items: start;
}
.lbg-pied__menu ul:last-child { justify-self: end; }
.lbg-pied__menu li + li { margin-top: 8px; }
.lbg-pied__menu a {
  font: 400 21.3px/28px var(--lbg-police-titre);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.lbg-pied__bas {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap;
  padding: 36px 0 42px;
  border-top: 1.5px solid var(--lbg-filet);
  font-size: 15px;
}
.lbg-pied__bas p { margin: 0; }
.lbg-pied__bas a { font-weight: 700; }
.lbg-pied__legal a { font-weight: 300 !important; text-decoration: none; }
.lbg-pied__legal a + a { margin-left: 18px; }
.lbg-pied__legal a:hover { text-decoration: underline; }

/* =========================================================
   Tablette et mobile
   ========================================================= */
/* la mascotte déborde du cadre à droite seulement quand la marge de l'écran le permet */
@media (max-width: 1360px) {
  .lbg-collage--saucisses { width: 100%; }
}

@media (max-width: 1100px) {
  .lbg-menu ul { gap: 24px; }
  .lbg-menu a { font-size: 18px; }
  .lbg-logo img { width: 250px; }
  .lbg-cta__interieur { gap: 40px; padding-right: 60px; }
}

@media (max-width: 900px) {
  /* en-tête : menu replié */
  .lbg-entete__interieur { min-height: 84px; }
  .lbg-logo img { width: 220px; }
  .lbg-burger {
    display: grid; place-items: center;
    width: 46px; height: 46px; padding: 0;
    border: 1.5px solid var(--lbg-noir); border-radius: 50%;
    background: var(--lbg-orange);
    box-shadow: 3px 3px 0 var(--lbg-noir);
    cursor: pointer;
  }
  .lbg-burger__barres,
  .lbg-burger__barres::before,
  .lbg-burger__barres::after {
    display: block; width: 18px; height: 2px; background: var(--lbg-blanc); position: relative;
  }
  .lbg-burger__barres::before, .lbg-burger__barres::after { content: ""; position: absolute; left: 0; }
  .lbg-burger__barres::before { top: -6px; }
  .lbg-burger__barres::after { top: 6px; }
  .lbg-menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--lbg-blanc);
    border-bottom: 1px solid var(--lbg-noir);
  }
  .lbg-menu.est-ouvert { display: block; }
  .lbg-menu ul { flex-direction: column; gap: 0; width: min(var(--lbg-largeur), 100% - 2 * var(--lbg-marge)); margin: 0 auto; padding: 8px 0 20px; }
  .lbg-menu a { display: block; padding: 12px 0; font-size: 22px; }

  /* colonnes empilées */
  .lbg-duo--ouverture, .lbg-duo--saucisses, .lbg-duo--histoire, .lbg-duo--visite {
    grid-template-columns: minmax(0, 1fr); row-gap: 48px;
  }
  .lbg-collage { width: 100% !important; max-width: 560px; margin-inline: auto; }
  .lbg-collage--saucisses { --w: 660; }
  .lbg-collage--histoire { order: 2; }
  .lbg-entete-section { flex-direction: column; align-items: flex-start; gap: 22px; }
  .lbg-entete-section .lbg-btn { order: 2; }

  .lbg-ouverture { padding-top: 48px; }
  .lbg-ouverture .lbg-titre, .lbg-saucisses .lbg-titre { margin-bottom: 28px; }
  .lbg-ouverture .lbg-duo { padding-bottom: 64px; }
  .lbg-viandes { padding-top: 64px; }
  .lbg-saucisses { padding-top: 96px; }
  .lbg-pret { padding-top: 72px; padding-bottom: 56px; }
  .lbg-histoire { padding-top: 88px; }
  .lbg-visite { padding-top: 96px; }
  .lbg-pied { padding-top: 110px; }

  .lbg-cartes__grille { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 480px; }
  .lbg-cartes::before { display: none; }
  .lbg-carte figcaption { margin-top: 18px; }

  .lbg-plats img { width: 160px; height: 160px; }
  .lbg-plats__piste { gap: 14px; }
  @keyframes lbg-defile { to { transform: translateX(calc(-50% - 7px)); } }

  .lbg-cta { padding: 48px 0 56px; }
  .lbg-cta__interieur { flex-direction: column; align-items: flex-start; gap: 36px; padding-right: 0; }

  .lbg-pied__milieu { flex-direction: column; margin-top: 48px; padding-top: 40px; }
  .lbg-pied__menu { grid-template-columns: repeat(2, auto); justify-content: start; gap: 22px 56px; }
  .lbg-pied__menu ul:last-child { justify-self: start; }
  .lbg-pied__bas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --lbg-marge: 16px; }
  .lbg-annonce { font-size: 17px; }
  .lbg-logo img { width: 190px; }
  .lbg-btn { font-size: 16px; min-height: 42px; }
  .lbg-boutons--pile .lbg-btn { align-self: stretch; justify-content: center; }
}

/* mouvement réduit : la bande de plats devient défilable à la main */
@media (prefers-reduced-motion: reduce) {
  .lbg-plats { overflow-x: auto; }
  .lbg-plats__piste { animation: none; }
  .lbg-btn, .lbg-btn:hover { transition: none; }
}

/* =========================================================
   Le Breton Gourmand · Pages intérieures
   S'ajoute à accueil.css : mêmes couleurs, polices, boutons,
   collages et bandes. Toutes les classes restent préfixées lbg-.
   ========================================================= */

/* ---------- Page courante dans les menus ---------- */
.lbg-menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--lbg-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.lbg-pied__menu a[aria-current="page"] { color: var(--lbg-orange); }

.lbg ol { list-style: none; margin: 0; padding: 0; }

/* ---------- Blocs de contenu ---------- */
.lbg-bloc { padding: 110px 0; }
.lbg-bloc--haut-serre { padding-top: 80px; }
.lbg-bloc--bas-serre { padding-bottom: 80px; }
.lbg-bloc + .lbg-separateur { margin-top: -1px; }

.lbg-duo--egal {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 80px; align-items: center;
}
.lbg-duo--egal.lbg-duo--photo-gauche > :first-child { order: 2; }

.lbg-texte > .lbg-titre { margin-bottom: 28px; }
.lbg-texte > .lbg-corps + .lbg-corps,
.lbg-tete > .lbg-corps + .lbg-corps { margin-top: 16px; }
.lbg-corps--fort { font-weight: 700; }
.lbg-sombre .lbg-corps--fort { color: var(--lbg-blanc); }

/* en-tête de section : titre, accroche et texte, centré au besoin */
.lbg-tete { max-width: 780px; margin-bottom: 52px; }
.lbg-tete > .lbg-titre { margin-bottom: 26px; }
.lbg-tete--centre { margin-inline: auto; text-align: center; }
.lbg-tete--centre .lbg-corps { margin-inline: auto; }

/* ---------- Photo seule, inclinée comme sur l'accueil ---------- */
.lbg-photo-seule { position: relative; margin: 0; }
.lbg-photo-seule > img {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  object-fit: cover;
  border: 1px solid var(--lbg-noir);
  border-radius: 18px;
  transform: rotate(var(--r, -2.5deg));
}
.lbg-photo-seule--droite { --r: 2.5deg; }
.lbg-photo-seule--carre { --ratio: 1; }
.lbg-photo-seule--haute { --ratio: 4 / 5; }
/* étiquette noire posée sur la photo */
.lbg-photo-seule figcaption {
  position: absolute; left: 22px; bottom: -18px;
  max-width: calc(100% - 44px);
  padding: 10px 18px;
  background: var(--lbg-noir); color: var(--lbg-blanc);
  border: 1.5px solid var(--lbg-blanc);
  border-radius: 999px;
  font: 400 19px/1.2 var(--lbg-police-titre);
  transform: rotate(-2deg);
}
.lbg-sombre .lbg-photo-seule figcaption { background: var(--lbg-orange); border-color: var(--lbg-noir); }

/* ---------- Photo à venir : emplacement réservé, à remplacer par une vraie photo ---------- */
.lbg-image-a-venir {
  display: grid; place-items: center; align-content: center; gap: 8px;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  padding: 24px;
  border: 1.5px dashed var(--lbg-noir);
  border-radius: 18px;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .7) 0 14px, rgba(255, 255, 255, .35) 14px 28px),
    var(--lbg-beige);
  color: var(--lbg-noir);
  text-align: center;
}
.lbg-image-a-venir::before {
  content: "";
  width: 54px; height: 54px; margin-bottom: 6px;
  border: 1.5px solid var(--lbg-noir); border-radius: 50%;
  background: var(--lbg-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: 3px 3px 0 var(--lbg-noir);
}
.lbg-image-a-venir strong { font: 400 22px/1.15 var(--lbg-police-titre); }
.lbg-image-a-venir span { max-width: 34ch; font-size: 15px; line-height: 1.4; }
.lbg-sombre .lbg-image-a-venir {
  border-color: var(--lbg-blanc);
  background: repeating-linear-gradient(-45deg, #1d1d1b 0 14px, #121211 14px 28px);
  color: var(--lbg-blanc);
}
.lbg-photo-seule > .lbg-image-a-venir { transform: rotate(var(--r, -2.5deg)); }
.lbg-fiche > .lbg-image-a-venir { --ratio: 16 / 10; border-radius: var(--lbg-rayon); }

/* macaron rond, comme « Sans nitrite » de l'accueil */
.lbg-macaron {
  position: absolute; z-index: 2;
  right: var(--mx, -26px); top: var(--my, -30px);
  width: 158px; aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 0 14px; margin: 0;
  border: 1px solid var(--lbg-noir);
  border-radius: 50%;
  background: var(--lbg-blanc);
  color: var(--lbg-orange);
  font: 400 21px/1.15 var(--lbg-police-titre);
  text-align: center;
  transform: rotate(var(--mr, 8deg));
  box-shadow: 4px 5px 0 var(--lbg-noir);
}
.lbg-macaron--bas { top: auto; bottom: var(--my, -34px); }
.lbg-macaron--gauche { right: auto; left: var(--mx, -26px); }

/* ---------- Fiches produits (boucherie) ---------- */
.lbg-fiches {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 48px;
}
.lbg-fiche { margin: 0; }
.lbg-fiche > img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border: 1px solid var(--lbg-noir);
  border-radius: var(--lbg-rayon);
}
.lbg-fiche h3 {
  margin: 28px 0 12px;
  font: 400 clamp(27px, 1.2vw + 18px, 36px)/1.05 var(--lbg-police-titre);
}
.lbg-fiche .lbg-accroche { font-size: clamp(19px, 0.4vw + 16px, 22px); margin-bottom: 10px; }
.lbg-fiche .lbg-corps { max-width: none; }
.lbg-fiche .lbg-corps + .lbg-corps { margin-top: 12px; }

/* ---------- Cartes de texte (différences, conseils) ---------- */
.lbg-cartes-texte {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.lbg-cartes-texte--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lbg-carte-texte {
  margin: 0;
  padding: 32px 30px 34px;
  background: var(--lbg-blanc); color: var(--lbg-noir);
  border: 1.5px solid var(--lbg-noir);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--lbg-noir);
}
.lbg-sombre .lbg-carte-texte { box-shadow: 6px 6px 0 var(--lbg-noir), 6px 6px 0 1.5px var(--lbg-blanc); }
.lbg-carte-texte__icone {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 20px;
  border: 1.5px solid var(--lbg-noir); border-radius: 50%;
  background: var(--lbg-orange);
  color: var(--lbg-blanc);
}
/* icônes au trait (Lucide, licence ISC), couleur du texte qui les porte */
.lbg-carte-texte__icone svg,
.lbg-saveurs svg {
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.lbg-carte-texte__icone svg { width: 28px; height: 28px; }
.lbg-saveurs svg { width: 18px; height: 18px; margin-left: 4px; vertical-align: -3px; }
.lbg-carte-texte h3 { margin: 0 0 12px; font: 400 28px/1.1 var(--lbg-police-titre); }
.lbg-carte-texte p { margin: 0; font-size: 18px; line-height: 1.45; }
.lbg-carte-texte p + p { margin-top: 10px; }
.lbg-note { margin: 40px 0 0; font: 700 clamp(19px, 0.4vw + 16px, 22px)/1.3 var(--lbg-police-accroche); color: var(--lbg-orange); }
.lbg-note--centre { text-align: center; }

/* ---------- Étapes numérotées ---------- */
.lbg-etapes {
  position: relative;
  counter-reset: etape;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
/* pointillé qui relie les numéros */
.lbg-etapes::before {
  content: "";
  position: absolute; left: 40px; right: 40px; top: 39px;
  border-top: 2px dashed currentColor; opacity: .45;
}
.lbg-etape { position: relative; }
.lbg-etape::before {
  counter-increment: etape;
  content: counter(etape);
  position: relative;
  display: grid; place-items: center;
  width: 80px; height: 80px; margin-bottom: 26px;
  border: 1.5px solid var(--lbg-noir); border-radius: 50%;
  background: var(--lbg-orange); color: var(--lbg-blanc);
  font: 400 42px/1 var(--lbg-police-titre);
  box-shadow: 4px 4px 0 var(--lbg-noir);
}
.lbg-sombre .lbg-etape::before { box-shadow: 4px 4px 0 var(--lbg-noir), 4px 4px 0 1.5px var(--lbg-blanc); }
.lbg-etape h3 { margin: 0 0 12px; font: 400 clamp(25px, 0.8vw + 19px, 31px)/1.1 var(--lbg-police-titre); }
.lbg-etape p { margin: 0; font-size: 18px; line-height: 1.45; }
.lbg-etape strong { color: var(--lbg-orange); font-weight: 700; }

/* ---------- Saveurs (saucisses) ---------- */
.lbg-saveurs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lbg-saveurs li {
  padding: 9px 18px 8px;
  border: 1.5px solid currentColor; border-radius: 999px;
  font: 400 21px/1.2 var(--lbg-police-titre);
}
.lbg-saveurs .lbg-saveur--feu { background: var(--lbg-orange); border-color: var(--lbg-orange); color: var(--lbg-blanc); }

/* ---------- Bande de photos de plats sur fond noir ---------- */
.lbg-plats--sombre { background: linear-gradient(var(--lbg-beige) 50%, var(--lbg-noir) 50%); }

/* ---------- Bande orange de fin de page ---------- */
/* sur fond orange, tous les textes sont blancs */
.lbg-bande {
  background: var(--lbg-orange);
  color: var(--lbg-blanc);
  padding: 100px 0 104px;
  text-align: center;
  box-shadow: 0 -2px 0 var(--lbg-orange);
}
.lbg-bande :focus-visible { outline-color: var(--lbg-blanc); }
.lbg-bande .lbg-titre span { display: block; }
.lbg-bande .lbg-accroche { color: var(--lbg-blanc); margin-top: 22px; }
.lbg-bande .lbg-corps { margin: 18px auto 0; max-width: 660px; }
.lbg-bande .lbg-boutons { justify-content: center; margin-top: 36px; }
.lbg-bande .lbg-note { color: var(--lbg-blanc); margin-top: 28px; }
.lbg-btn--noir { background: var(--lbg-noir); color: var(--lbg-blanc) !important; box-shadow: 4px 4px 0 var(--lbg-blanc); }
.lbg-btn--noir:hover { box-shadow: 2px 2px 0 var(--lbg-blanc); }

/* variante avec le cercle et la main de l'accueil */
.lbg-cta__bloc .lbg-corps { margin-top: 18px; max-width: 600px; }
.lbg-cta__bloc .lbg-boutons { margin-top: 28px; }

/* ---------- Zone du menu de la semaine (intégration à venir) ---------- */
.lbg-zone-menu {
  display: grid; place-items: center; gap: 10px;
  min-height: 340px; padding: 48px 32px;
  border: 2px dashed var(--lbg-noir);
  border-radius: 18px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .6) 0 14px, rgba(255, 255, 255, .25) 14px 28px);
  text-align: center;
}
.lbg-zone-menu strong { display: block; font: 400 clamp(24px, 1vw + 18px, 32px)/1.15 var(--lbg-police-titre); font-weight: 400; }
.lbg-zone-menu span { display: block; max-width: 520px; font-size: 17px; }

/* ---------- Foire aux questions ---------- */
.lbg-faq { max-width: 880px; margin-inline: auto; }
.lbg-faq details { border-top: 1.5px solid currentColor; }
.lbg-faq details:last-child { border-bottom: 1.5px solid currentColor; }
.lbg-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  list-style: none; cursor: pointer;
  font: 400 clamp(22px, 0.8vw + 16px, 28px)/1.2 var(--lbg-police-titre);
}
.lbg-faq summary::-webkit-details-marker { display: none; }
.lbg-faq summary::after {
  content: "+";
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1.5px solid var(--lbg-noir); border-radius: 50%;
  background: var(--lbg-orange); color: var(--lbg-blanc);
  font: 700 26px/1 var(--lbg-police-texte);
  box-shadow: 3px 3px 0 var(--lbg-noir);
}
.lbg-faq details[open] summary::after { content: "−"; }
.lbg-faq details p { margin: 0 0 28px; max-width: 720px; }

/* ---------- Frise (histoire) ---------- */
.lbg-frise {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
}
.lbg-frise::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 79px;
  border-top: 2px solid var(--lbg-filet);
}
.lbg-frise li { position: relative; }
.lbg-frise__annee {
  display: block; height: 64px;
  font: 400 clamp(40px, 2vw + 22px, 60px)/1 var(--lbg-police-titre);
  color: var(--lbg-orange);
}
/* point sur la ligne */
.lbg-frise li::before {
  content: "";
  position: absolute; left: 0; top: 70px;
  width: 20px; height: 20px;
  border: 2px solid var(--lbg-blanc); border-radius: 50%;
  background: var(--lbg-orange);
}
.lbg-frise p { margin: 48px 0 0; font-size: 18px; line-height: 1.45; }
.lbg-frise li { display: flex; flex-direction: column; }
.lbg-frise p { margin-bottom: 24px; }
/* les photos de la frise s'alignent sur une même ligne, sous les textes */
.lbg-frise li > img, .lbg-frise li > .lbg-image-a-venir { margin-top: auto; }
.lbg-frise li > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--lbg-blanc); border-radius: 14px; }
.lbg-frise .lbg-image-a-venir { padding: 14px; gap: 4px; border-radius: 14px; }
.lbg-frise .lbg-image-a-venir::before { width: 40px; height: 40px; background-size: 20px; margin-bottom: 2px; }
.lbg-frise .lbg-image-a-venir strong { font-size: 17px; }
.lbg-frise .lbg-image-a-venir span { font-size: 13px; }
.lbg-frise .lbg-frise--cle .lbg-frise__annee { color: var(--lbg-blanc); }
.lbg-frise .lbg-frise--cle::before { background: var(--lbg-blanc); border-color: var(--lbg-orange); }

/* ---------- Citation ---------- */
.lbg-citation {
  margin: 30px 0 0; padding: 4px 0 4px 24px;
  border-left: 4px solid var(--lbg-orange);
  font: 700 clamp(23px, 0.8vw + 17px, 30px)/1.25 var(--lbg-police-accroche);
  color: var(--lbg-orange);
}

/* ---------- Nous joindre ---------- */
.lbg-coordonnees {
  display: grid; grid-template-columns: minmax(0, 470fr) minmax(0, 650fr);
  gap: 44px; align-items: stretch;
}
.lbg-fiche-contact {
  padding: 38px 36px 40px;
  background: var(--lbg-blanc);
  border: 1.5px solid var(--lbg-noir); border-radius: 18px;
  box-shadow: 6px 6px 0 var(--lbg-noir);
}
.lbg-fiche-contact h2, .lbg-fiche-contact h3 { margin: 0 0 14px; font: 400 28px/1.1 var(--lbg-police-titre); }
.lbg-fiche-contact address { font-size: 19px; line-height: 1.5; }
.lbg-fiche-contact address strong { font-weight: 700; }
.lbg-fiche-contact .lbg-boutons { margin-top: 30px; }
.lbg-heures { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: 18px; }
.lbg-heures dt, .lbg-heures dd { margin: 0; padding: 9px 0; border-bottom: 1px dashed #b9b4a3; }
.lbg-heures dd { text-align: right; font-weight: 400; }
.lbg-heures + h3, address + h3 { margin-top: 30px; }
.lbg-carte-google {
  min-height: 460px; height: 100%;
  overflow: hidden;
  border: 1.5px solid var(--lbg-noir); border-radius: 18px;
  box-shadow: 6px 6px 0 var(--lbg-noir);
}
.lbg-carte-google iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

.lbg-telephone {
  display: inline-block; margin-top: 18px;
  font: 400 clamp(44px, 3.4vw + 22px, 80px)/1 var(--lbg-police-titre);
  color: var(--lbg-orange); text-decoration: none;
}
.lbg-telephone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }

.lbg-formulaire { display: grid; gap: 20px; }
.lbg-formulaire h3 { margin: 0 0 4px; font: 400 32px/1.1 var(--lbg-police-titre); }
.lbg-formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lbg-champ { display: grid; gap: 8px; }
.lbg-champ label { font: 400 20px/1.2 var(--lbg-police-titre); }
.lbg-champ label small { font: 300 15px/1 var(--lbg-police-texte); opacity: .8; }
.lbg-champ input, .lbg-champ textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--lbg-noir); border-radius: 12px;
  background: var(--lbg-blanc); color: var(--lbg-noir);
  font: 400 18px/1.4 var(--lbg-police-texte);
}
.lbg-champ textarea { min-height: 160px; resize: vertical; }
.lbg-champ input:focus, .lbg-champ textarea:focus { outline: 3px solid var(--lbg-orange); outline-offset: 1px; }
.lbg-formulaire .lbg-btn { justify-self: start; cursor: pointer; }
.lbg-formulaire__aide { margin: 0; font-size: 16px; opacity: .85; }
.lbg-formulaire__retour { margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--lbg-orange); color: var(--lbg-blanc); font-weight: 400; }
.lbg-formulaire__retour[hidden] { display: none; }

/* ---------- Section « En images » (médias) : vidéo, galerie des réseaux, liens pour nous suivre ---------- */
/* boucle vidéo muette continue (vidéo de Paul, bloc « Venez nous voir » de l'accueil) : figure [data-lbg-boucle],
   lancée par le script quand elle arrive à l'écran (js/mouvement.js), sans commandes */
.lbg-boucle__video { display: block; width: 100%; height: 100%; object-fit: cover; }

.lbg-medias__sous-titre { margin: 0 0 10px; font: 400 clamp(24px, 0.8vw + 18px, 30px)/1.15 var(--lbg-police-titre); }
.lbg-medias__chapeau { margin: 0 0 26px; }

/* capsules vidéo : rangée défilante de vidéos verticales hébergées sur le site. Seule l'affiche se charge avec la page ;
   la vidéo se charge au clic dans .lbg-lecteur (js/mouvement.js, bloc « Capsules vidéo »). */
.lbg-capsules__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lbg-capsules__nav { display: flex; flex: none; gap: 10px; margin-bottom: 26px; }
.lbg-capsules__nav[hidden] { display: none; }
.lbg-capsules__fleche {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  color: var(--lbg-noir); background: var(--lbg-blanc);
  border: 1.5px solid var(--lbg-noir); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--lbg-noir); cursor: pointer;
}
.lbg-capsules__fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lbg-capsules__fleche:disabled { opacity: .35; box-shadow: none; cursor: default; }
.lbg-capsules__fleche:focus-visible { outline: 3px solid var(--lbg-orange); outline-offset: 3px; }
.lbg .lbg-capsules { /* « .lbg » : plus fort que la remise à zéro « .lbg ul { margin: 0; padding: 0 } » */
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4.25);
  gap: 18px; margin: -8px 0 64px; padding: 8px 8px 14px 0; /* place du soulèvement et de l'ombre des cartes */
  overflow: auto hidden; overscroll-behavior-x: contain; /* défile en largeur seulement (l'entrée des cartes déborde en hauteur) */
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--lbg-noir) transparent;
}
.lbg-capsules > li { scroll-snap-align: start; }
.lbg-capsule {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 9 / 16;
  text-decoration: none;
  background: var(--lbg-noir);
  border: 1.5px solid var(--lbg-noir); border-radius: var(--lbg-rayon);
  box-shadow: 5px 5px 0 var(--lbg-noir);
}
.lbg-capsule, .lbg a.lbg-capsule { color: var(--lbg-blanc); } /* plus fort que « .lbg a { color: inherit } » */
.lbg-capsule > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lbg-capsule::after {
  content: ""; position: absolute; inset: 40% 0 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .85));
}
.lbg-capsule:focus-visible { outline: 3px solid var(--lbg-orange); outline-offset: 4px; }
.lbg-capsule__duree {
  position: absolute; z-index: 1; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 999px;
  font: 700 13px/1.4 var(--lbg-police-texte); letter-spacing: .02em;
  background: rgba(0, 0, 0, .72);
}
.lbg-capsule__bas {
  position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.lbg-capsule__lecture {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--lbg-orange); box-shadow: 0 0 0 6px rgba(240, 90, 34, .3);
}
.lbg-capsule__lecture svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--lbg-blanc); }
.lbg-capsule__titre { font: 400 clamp(19px, .5vw + 14px, 22px)/1.15 var(--lbg-police-titre); text-wrap: balance; }

/* lecteur des capsules : fenêtre (<dialog>) créée par le script, qui y place la vidéo au clic */
.lbg-lecteur {
  width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 24px);
  margin: auto; padding: 0 6px 6px 0; overflow: auto; /* marge droite et basse : place de l'ombre du cadre */
  color: var(--lbg-blanc); background: transparent; border: 0;
}
.lbg-lecteur::backdrop { background: rgba(0, 0, 0, .8); }
.lbg-lecteur__barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.lbg-lecteur__titre { flex: 1; min-width: 0; margin: 0; font: 400 clamp(18px, .5vw + 14px, 22px)/1.15 var(--lbg-police-titre); text-wrap: balance; }
.lbg-lecteur__fermer {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--lbg-blanc); background: var(--lbg-orange);
  border: 1.5px solid var(--lbg-noir); border-radius: 50%; cursor: pointer;
}
.lbg-lecteur__fermer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.lbg-lecteur__fermer:focus-visible { outline: 3px solid var(--lbg-blanc); outline-offset: 3px; }
.lbg-lecteur__actions { display: flex; flex: none; gap: 8px; margin-left: auto; }
.lbg-lecteur.est-compacte .lbg-lecteur__titre { /* écran très bas : titre gardé pour les lecteurs d'écran seulement */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.lbg-lecteur__nav {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--lbg-blanc); background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 50%; cursor: pointer;
}
.lbg-lecteur__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lbg-lecteur__nav:disabled { opacity: .3; cursor: default; }
.lbg-lecteur__nav:focus-visible { outline: 3px solid var(--lbg-blanc); outline-offset: 3px; }
.lbg-lecteur__cadre {
  position: relative; overflow: hidden;
  background: var(--lbg-noir); border: 1.5px solid var(--lbg-noir); border-radius: 14px;
  box-shadow: 6px 6px 0 var(--lbg-orange);
}
.lbg-lecteur__cadre::before {
  content: "Chargement de la capsule…"; position: absolute; inset: 0;
  display: grid; place-items: center; color: var(--lbg-blanc); font-size: 15px;
}
.lbg-lecteur__cadre video { position: relative; display: block; max-width: 100%; }
html.lbg-lecteur-ouvert { overflow: hidden; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: no-preference) {
  .lbg-lecteur[open] { animation: lbg-lecteur-entree .38s var(--lbg-ressort, ease-out) both; }
  .lbg-lecteur[open]::backdrop { animation: lbg-lecteur-fond .25s ease-out both; }
}
@keyframes lbg-lecteur-entree { from { opacity: 0; translate: 0 28px; scale: .96; } }
@keyframes lbg-lecteur-fond { from { opacity: 0; } }
.lbg-galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lbg-galerie li { aspect-ratio: 1; }
.lbg-galerie li:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.lbg-galerie li:nth-child(6), .lbg-galerie li:nth-child(10) { grid-column: span 2; aspect-ratio: auto; }
/* les grandes cases prennent la hauteur de leur rangée, fixée par les cases carrées */
.lbg-galerie li { position: relative; }
.lbg-galerie li:first-child a, .lbg-galerie li:nth-child(6) a, .lbg-galerie li:nth-child(10) a { position: absolute; inset: 0; }
.lbg-galerie a {
  display: block; height: 100%; overflow: hidden;
  border: 1.5px solid var(--lbg-noir); border-radius: var(--lbg-rayon);
}
.lbg-galerie img { width: 100%; height: 100%; object-fit: cover; }

.lbg-suivre {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 36px;
  border-top: 1.5px solid var(--lbg-filet);
}
.lbg-suivre .lbg-corps { max-width: 560px; }
.lbg-suivre .lbg-boutons { margin-top: 0; }
.lbg-btn__icone { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbg-btn__icone--plein { fill: currentColor; stroke: none; }
.lbg-pied__contact { gap: 18px; }
.lbg-pied__contact a[href^="tel"] { margin-right: 18px; }

/* =========================================================
   Tablette et mobile
   ========================================================= */
@media (max-width: 1100px) {
  .lbg-frise { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .lbg-frise::before { display: none; }
  .lbg-frise p { margin-top: 30px; }
  .lbg-frise li::before { top: 66px; }
  .lbg-cartes-texte { gap: 24px; }
}

@media (max-width: 900px) {
  .lbg-bloc { padding: 80px 0; }
  .lbg-bloc--haut-serre { padding-top: 64px; }
  .lbg-duo--egal { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .lbg-duo--egal.lbg-duo--photo-gauche > :first-child { order: 0; }
  .lbg-photo-seule { max-width: 560px; margin-inline: auto; width: 100%; }
  .lbg-macaron { width: 128px; font-size: 17px; --mx: -8px; }
  .lbg-tete { margin-bottom: 40px; }

  .lbg-fiches, .lbg-cartes-texte, .lbg-cartes-texte--2, .lbg-etapes { grid-template-columns: minmax(0, 1fr); }
  .lbg-fiches { gap: 56px; }
  .lbg-etapes { gap: 36px; }
  .lbg-etapes::before { left: 39px; right: auto; top: 40px; bottom: 40px; border-top: 0; border-left: 2px dashed currentColor; }
  .lbg-etape { display: grid; grid-template-columns: 80px 1fr; column-gap: 22px; }
  .lbg-etape::before { grid-row: span 2; margin: 0; }

  .lbg-frise { grid-template-columns: minmax(0, 1fr); row-gap: 34px; padding-left: 38px; }
  .lbg-frise::before { display: block; left: 9px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 2px solid var(--lbg-filet); }
  .lbg-frise li::before { left: -38px; top: 10px; }
  .lbg-frise__annee { height: auto; }
  .lbg-frise p { margin-top: 8px; }

  .lbg-bande { padding: 72px 0 80px; }
  .lbg-coordonnees { grid-template-columns: minmax(0, 1fr); }
  .lbg-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lbg .lbg-capsules {
    grid-auto-columns: 58%; gap: 12px;
    margin: -8px calc(-1 * var(--lbg-marge)) 48px; padding: 8px var(--lbg-marge) 14px;
    scroll-padding-inline: var(--lbg-marge); /* la rangée va jusqu'aux bords de l'écran */
  }
  .lbg-capsules__nav { display: none; }
  .lbg-capsule__duree { top: 8px; left: 8px; font-size: 12px; }
  .lbg-capsule__bas { left: 12px; right: 12px; bottom: 12px; gap: 10px; }
  .lbg-capsule__lecture { width: 44px; height: 44px; box-shadow: 0 0 0 4px rgba(240, 90, 34, .3); }
  .lbg-capsule__lecture svg { width: 18px; height: 18px; }
  .lbg-capsule__titre { font-size: 17px; }
  .lbg-carte-google, .lbg-carte-google iframe { min-height: 340px; }
  .lbg-formulaire__ligne { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .lbg-fiche-contact { padding: 28px 22px 30px; }
  .lbg-carte-texte { padding: 26px 22px 28px; }
  .lbg-photo-seule figcaption { left: 12px; font-size: 16px; }
}

/* =========================================================
   Mouvement et interactions · ordinateur (plus de 900 px)
   Le CSS ne cache rien. Les survols et les boucles douces passent par
   les propriétés translate / rotate / scale : elles s'ajoutent au
   transform posé par GSAP (js/mouvement.js) au lieu de le remplacer.
   ========================================================= */
:root { --lbg-ressort: cubic-bezier(.34, 1.56, .64, 1); --lbg-doux: cubic-bezier(.65, 0, .35, 1); }

@media (min-width: 901px) {
  /* les ancres ne passent pas sous l'en-tête collant */
  html { scroll-padding-top: 150px; }

  /* en-tête collant : il se cache en descendant et revient en remontant (js/mouvement.js) */
  .lbg-entete { position: sticky; top: 0; transition: box-shadow .3s ease; }
  .admin-bar .lbg-entete { top: 32px; }
  .lbg-entete.est-defile { box-shadow: 0 12px 28px -20px rgba(0, 0, 0, .55); }

  /* menu : un trait orange se dessine sous le lien survolé et reste sous la page courante */
  .lbg-menu a, .lbg-menu a:hover, .lbg-menu a[aria-current="page"] { position: relative; text-decoration: none; }
  .lbg-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px;
    background: var(--lbg-orange); border-radius: 2px;
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--lbg-doux);
  }
  .lbg-menu a:hover::after, .lbg-menu a:focus-visible::after, .lbg-menu a[aria-current="page"]::after {
    transform: scaleX(1); transform-origin: left;
  }

  /* la flèche des boutons avance au survol */
  .lbg-btn > span[aria-hidden] { display: inline-block; transition: translate .3s var(--lbg-ressort); }
  .lbg-btn:hover > span[aria-hidden], .lbg-btn:focus-visible > span[aria-hidden] { translate: 5px 0; }

  /* frise : le trait orange avance avec le défilement (--lbg-frise-progres, js/mouvement.js) */
  .lbg-frise::after {
    content: ""; position: absolute; left: 0; right: 0; top: 79px;
    border-top: 2px solid var(--lbg-orange);
    transform-origin: left; transform: scaleX(var(--lbg-frise-progres, 1));
  }
  .lbg-frise li::before { transition: background-color .3s ease, scale .4s var(--lbg-ressort); z-index: 1; }
  .lbg-frise--animee li:not(.est-atteint)::before { background: var(--lbg-noir); border-color: var(--lbg-filet); scale: .8; }

  /* étapes : le pointillé se trace avec le défilement (--lbg-trace) */
  .lbg-etapes::before { clip-path: inset(0 calc((1 - var(--lbg-trace, 1)) * 100%) 0 0); }

  /* FAQ : le + tourne en s'ouvrant */
  .lbg-faq summary::after { transition: rotate .35s var(--lbg-ressort), scale .25s ease; }
  .lbg-faq details[open] summary::after { rotate: 180deg; }
}

@media (max-width: 1100px) { .lbg-frise::after { display: none; } }

/* survols : seulement avec une vraie souris */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  /* collages : les photos s'écartent comme un jeu de cartes */
  .lbg-collage .lbg-photo { transition: rotate .7s var(--lbg-ressort), scale .7s var(--lbg-ressort); }
  .lbg-collage:hover .lbg-photo--arriere { rotate: -4deg; }
  .lbg-collage:hover .lbg-photo--avant { rotate: 3deg; scale: 1.02; }
  .lbg-pastille, .lbg-macaron { transition: rotate .5s var(--lbg-ressort), scale .5s var(--lbg-ressort); }
  .lbg-pastille:hover, .lbg-macaron:hover { rotate: 12deg; scale: 1.08; }

  /* cartes photo de l'accueil et fiches : l'image se penche légèrement */
  .lbg-carte img, .lbg-fiche > img, .lbg-photo-seule > img { transition: rotate .6s var(--lbg-ressort), scale .6s var(--lbg-ressort); }
  .lbg-carte:hover img { rotate: -1.5deg; scale: 1.04; }
  .lbg-fiche:hover > img { rotate: 1deg; scale: 1.03; }
  .lbg-photo-seule:hover > img { rotate: 1.5deg; scale: 1.02; }
  .lbg-galerie img { transition: scale .6s var(--lbg-ressort); }
  .lbg-galerie a:hover img, .lbg-galerie a:focus-visible img { scale: 1.07; }
  .lbg-capsules__fleche:not(:disabled) { transition: translate .3s var(--lbg-ressort), box-shadow .3s ease, scale .3s var(--lbg-ressort); }
  .lbg-capsules__fleche:not(:disabled):hover { translate: -2px -2px; box-shadow: 5px 5px 0 var(--lbg-noir); }
  .lbg-capsule { transition: translate .35s var(--lbg-ressort), box-shadow .35s ease; }
  .lbg-capsule:hover { translate: 0 -6px; box-shadow: 9px 9px 0 var(--lbg-noir); }
  .lbg-capsule > img, .lbg-capsule__lecture { transition: scale .5s var(--lbg-ressort); }
  .lbg-capsule:hover > img { scale: 1.05; }
  .lbg-capsule:hover .lbg-capsule__lecture { scale: 1.12; }
  .lbg-pied__fb { transition: translate .3s var(--lbg-ressort); }
  .lbg-pied__fb:hover { translate: 0 -3px; }

  /* cartes de texte : elles se soulèvent, l'ombre s'allonge, l'icône pivote */
  .lbg-carte-texte { transition: translate .35s var(--lbg-ressort), box-shadow .35s ease; }
  .lbg-carte-texte:hover { translate: 0 -6px; box-shadow: 11px 11px 0 var(--lbg-noir); }
  .lbg-sombre .lbg-carte-texte:hover { box-shadow: 11px 11px 0 var(--lbg-noir), 11px 11px 0 1.5px var(--lbg-blanc); }
  .lbg-carte-texte__icone { transition: rotate .45s var(--lbg-ressort), scale .45s var(--lbg-ressort); }
  .lbg-carte-texte:hover .lbg-carte-texte__icone { rotate: -14deg; scale: 1.12; }

  /* pastilles de saveurs, cercle du menu, FAQ, fiche contact */
  .lbg-saveurs li { transition: translate .3s var(--lbg-ressort), rotate .3s var(--lbg-ressort); }
  .lbg-saveurs li:hover { translate: 0 -4px; rotate: -3deg; }
  .lbg-cta__rond { transition: scale .4s var(--lbg-ressort); }
  .lbg-cta__rond:hover { scale: 1.06; }
  .lbg-cta__libelle { transition: rotate .45s var(--lbg-ressort); }
  .lbg-cta__rond:hover .lbg-cta__libelle { rotate: -6deg; }
  .lbg-faq summary:hover::after { scale: 1.12; }
  .lbg-etape::before { transition: rotate .45s var(--lbg-ressort), scale .45s var(--lbg-ressort); }
  .lbg-etape:hover::before { rotate: -10deg; scale: 1.08; }
  .lbg-logo img { transition: scale .35s var(--lbg-ressort); }
  .lbg-logo:hover img { scale: 1.04; }
}

/* boucles douces : elles respirent sans rien cacher */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .lbg-collage .lbg-photo--arriere { animation: lbg-flotte 6.5s ease-in-out infinite; }
  .lbg-collage .lbg-photo--avant { animation: lbg-flotte 7.5s ease-in-out -2.5s infinite; }
  .lbg-collage .lbg-pastille { animation: lbg-flotte 5s ease-in-out -1s infinite; }
  .lbg-macaron { animation: lbg-flotte 5.5s ease-in-out -3s infinite; }
  .lbg-saveur--feu svg { transform-origin: 50% 85%; animation: lbg-flamme 1.3s ease-in-out infinite; }

  /* passage d'une page à l'autre : l'en-tête reste, le contenu remonte en fondu */
  @view-transition { navigation: auto; }
  .lbg-annonce { view-transition-name: lbg-annonce; }
  .lbg-entete { view-transition-name: lbg-entete; }
  ::view-transition-old(root) { animation: lbg-vt-sortie .22s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: lbg-vt-entree .45s cubic-bezier(0, 0, .2, 1) .06s both; }
}
@keyframes lbg-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes lbg-flamme { 0%, 100% { transform: scale(1) rotate(0deg); } 30% { transform: scale(1.15, .92) rotate(-6deg); } 65% { transform: scale(.92, 1.12) rotate(5deg); } }
@keyframes lbg-vt-sortie { to { opacity: 0; translate: 0 -24px; } }
@keyframes lbg-vt-entree { from { opacity: 0; translate: 0 36px; } }
