/* ==========================================================================
   LA CAMPAGNARDE — Feuille de style principale (refonte 2026, version 2)
   Remplace : templatemo-klassy-cafe.css, bootstrap, font-awesome, owl, slick…
   Organisation :
     1. Polices et variables (couleurs, typo, espacements)
     2. Base
     3. Composants communs (boutons, ticket, ruban, annonce…)
     4. En-tête & navigation
     5. Bandeau (accueil et pages intérieures)
     6. Sections (à propos, chiffres, produits, équipe, contact…)
     7. Pied de page
     8. Galerie des menus de fêtes + visionneuse
   Approche « mobile d'abord » : les styles de base sont ceux du smartphone,
   les @media (min-width: …) ajoutent ensuite tablette puis ordinateur.
   ========================================================================== */

/* ---------- 1. Polices (auto-hébergées : aucun appel à Google Fonts, RGPD) ---------- */
@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-variable.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Dancing Script";   /* police manuscrite du bandeau, comme sur l'ancien site */
  src: url("../fonts/dancing-script-latin-variable.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---------- 1. Variables ---------- */
:root {
  /* Palette d'origine conservée : bordeaux #890302, noirs #1e1e1e / #2a2a2a, blanc rosé #fffafa */
  --bordeaux: #890302;
  --bordeaux-fonce: #5c0201;
  --encre: #1e1e1e;
  --encre-douce: #2a2a2a;
  --neige: #fffafa;
  --blush: #f7ece9;          /* teinte très claire dérivée du bordeaux */
  --papier: #ffffff;
  --trait: rgba(137, 3, 2, 0.16);
  --texte-doux: #5b4b49;

  --police-titre: "Young Serif", Georgia, "Times New Roman", serif;
  --police-texte: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --police-script: "Dancing Script", "Segoe Script", cursive;

  --largeur: 1200px;
  --gouttiere: clamp(1rem, 4vw, 2rem);
  --rayon: 14px;
  --rayon-grand: 24px;
  --hauteur-entete: 5.25rem;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hauteur-entete) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre-douce);
  background: var(--neige);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 400;
  line-height: 1.1;
  color: var(--encre);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--bordeaux); text-underline-offset: 0.2em; }
a:hover { color: var(--bordeaux-fonce); }

:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; border-radius: 4px; }
.sur-fond-sombre :focus-visible { outline-color: #fff; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--bordeaux); color: #fff; padding: 0.6rem 1rem; border-radius: var(--rayon);
}
.lien-evitement:focus { top: 1rem; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--blush { background: var(--blush); }
.section--suite { padding-top: 0; }
.section--sombre { background: var(--bordeaux); color: rgba(255, 255, 255, 0.9); }
.section--sombre h1, .section--sombre h2, .section--sombre h3 { color: #fff; }
.section--sombre a { color: #fff; }

/* Petit titre au-dessus d'un h2 (textes d'origine « A Propos de Nous », etc.) */
.surtitre {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--bordeaux);
}
.surtitre::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section--sombre .surtitre { color: rgba(255, 255, 255, 0.85); }

/* ---------- 3. Composants ---------- */

/* Barre d'annonce (fermeture, message libre) — pilotée par assets/php/fermetures.php */
.annonce { background: var(--bordeaux-fonce); color: #fff; font-size: 0.92rem; }
.annonce__interne { display: flex; flex-direction: column; gap: 0.2rem; padding-block: 0.6rem; }
.annonce__ligne { display: flex; align-items: flex-start; justify-content: center; gap: 0.6rem; margin: 0; max-width: none; text-align: left; line-height: 1.4; }
.annonce__ligne svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.1rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font: inherit; font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--plein { background: var(--bordeaux); color: #fff; }
.btn--plein:hover { background: var(--bordeaux-fonce); color: #fff; }
.btn--clair { background: #fff; color: var(--bordeaux); }
.btn--clair:hover { background: var(--blush); color: var(--bordeaux-fonce); }
.btn--contour { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--contour:hover { background: #fff; color: var(--bordeaux); }
.btn--contour-bordeaux { border-color: var(--bordeaux); color: var(--bordeaux); }
.btn--contour-bordeaux:hover { background: var(--bordeaux); color: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Ruban : rappel du bandeau du logo, utilisé pour les prénoms */
.ruban {
  display: inline-block;
  padding: 0.5rem 2.2rem;
  background: var(--bordeaux); color: #fff;
  font-family: var(--police-titre); font-size: 1.25rem; line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.9rem) 50%, 100% 100%, 0 100%, 0.9rem 50%);
}

/* Ticket de boucherie : affiche si la boutique est ouverte, calculé côté serveur (voir horaires.php) */
.ticket {
  --souche: 6.5rem;
  display: inline-block; max-width: 100%;
  filter: drop-shadow(0 12px 18px rgba(30, 30, 30, 0.3));
  transform: rotate(-1.5deg);
  animation: ticket-entree 0.9s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes ticket-entree {
  from { opacity: 0; transform: translateY(-1.25rem) rotate(-4deg); }
  to   { opacity: 1; transform: rotate(-1.5deg); }
}
.ticket__papier {
  display: grid; grid-template-columns: var(--souche) 1fr;
  background: var(--papier); color: var(--encre);
  border-radius: 6px;
  /* Deux demi-cercles découpés en haut et en bas de la ligne de perforation */
  -webkit-mask:
    radial-gradient(circle 0.6rem at var(--souche) 0, #0000 96%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 0.6rem at var(--souche) 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 0.6rem at var(--souche) 0, #0000 96%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 0.6rem at var(--souche) 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
}
.ticket__souche {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.35rem;
  padding: 1rem 0.5rem 1rem 1.1rem;
  font-family: var(--police-titre); font-size: 1.15rem; line-height: 1.1;
  background: var(--blush);
}
.ticket__point {
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: #1f8a4c; box-shadow: 0 0 0 4px rgba(31, 138, 76, 0.18);
}
.ticket--ferme .ticket__point { background: var(--bordeaux); box-shadow: 0 0 0 4px rgba(137, 3, 2, 0.16); }
.ticket__corps {
  padding: 0.85rem 1.15rem 0.85rem 1rem;
  border-left: 2px dashed rgba(137, 3, 2, 0.35);
  font-size: 0.95rem; line-height: 1.4;
}
.ticket__jour { margin: 0; color: var(--texte-doux); font-size: 0.85rem; }
.ticket__heures { margin: 0.1rem 0 0.3rem; font-weight: 700; color: var(--encre); }
.ticket__heures span { display: block; }
.ticket__etat { margin: 0; font-size: 0.85rem; color: var(--bordeaux); font-weight: 600; }
.ticket__prevue { margin: 0.45rem 0 0; padding-top: 0.45rem; border-top: 1px dashed var(--trait); font-size: 0.78rem; line-height: 1.35; color: var(--texte-doux); max-width: 15rem; }

/* Liste d'horaires (à propos / contact) */
.horaires { margin: 0 0 1.5rem; display: grid; gap: 0.15rem; max-width: 24rem; }
.horaires__ligne { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.55rem 0; border-bottom: 1px solid var(--trait); font-size: 0.97rem; }
.horaires__jour { font-weight: 700; color: var(--encre); }
.horaires__heures { text-align: right; }
.horaires__heures span { display: block; }
.horaires__note { margin: 0.75rem 0 0; padding: 0.6rem 0.9rem; border-radius: 10px; background: var(--blush); color: var(--bordeaux-fonce); font-size: 0.9rem; font-weight: 600; }
.section--sombre .horaires__ligne { border-color: rgba(255, 255, 255, 0.22); }
.section--sombre .horaires__jour { color: #fff; }
.section--sombre .horaires__note { background: rgba(255, 255, 255, 0.14); color: #fff; }
.horaires__ligne--aujourdhui .horaires__jour::after {
  content: "aujourd’hui"; margin-left: 0.5rem; font-size: 0.75rem; font-weight: 600;
  padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--bordeaux); color: #fff;
}
.section--sombre .horaires__ligne--aujourdhui .horaires__jour::after { background: #fff; color: var(--bordeaux); }

/* Étagère de photos (pages produit) : défile à la main sur smartphone, grille sur grand écran */
.etagere {
  display: flex; gap: 0.9rem;
  margin: 0; padding: 0 0 0.5rem; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.etagere::-webkit-scrollbar { display: none; }
.etagere li { flex: 0 0 58%; scroll-snap-align: start; }
.etagere img { width: 100%; height: auto; aspect-ratio: 284 / 400; object-fit: cover; border-radius: var(--rayon-grand); background: var(--blush); }

/* Mosaïque (page boucherie) */
.mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.mosaique li { margin: 0; min-width: 0; overflow: hidden; border-radius: var(--rayon-grand); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; background: var(--blush); }
.mosaique__a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.mosaique__b { grid-row: span 2; }
.mosaique__c, .mosaique__d { aspect-ratio: 4 / 3; }

/* Fil d'Ariane */
.fil { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.92rem; color: var(--texte-doux); }
.fil li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.fil a { color: var(--texte-doux); }
.fil [aria-current] { color: var(--bordeaux); font-weight: 600; }

/* Titre des pages intérieures (sous le bandeau) */
.page-titre { padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(1rem, 2.5vw, 1.5rem); }
/* Titre de page : petit, bordeaux, souligné d'un court trait rouge qui sépare le titre du contenu */
.page-titre h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.2; color: var(--bordeaux); }
.page-titre h1::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 0.75rem; background: var(--bordeaux); border-radius: 2px; }
.page-titre + .section, .page-titre + .section--page { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.page-titre + .section--sombre { padding-top: clamp(2.5rem, 6vw, 4rem); }
.chapeau--centre { margin-inline: auto; }
.chapeau { font-family: var(--police-titre); font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.35; color: var(--encre); max-width: 40ch; }

/* ---------- 4. En-tête & navigation : barre flottante arrondie ---------- */
.entete { position: sticky; top: 0; z-index: 100; padding: 0.6rem 0; }
.entete__barre {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.9rem; padding: 0.2rem 0.5rem 0.2rem 1.1rem;
  background: #fff; border: 1px solid var(--trait); border-radius: 999px;
  box-shadow: 0 8px 28px rgba(30, 30, 30, 0.08);
}
.entete__logo { display: block; padding: 0.15rem 0; }
.entete__logo img { height: 52px; width: auto; }

.burger {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1rem; font: inherit; font-weight: 600; color: var(--encre);
  background: var(--blush); border: 0; border-radius: 999px; cursor: pointer;
}
.burger__traits { position: relative; width: 1.35rem; height: 1rem; }
.burger__traits span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, top 0.25s;
}
.burger__traits span:nth-child(1) { top: 0; }
.burger__traits span:nth-child(2) { top: 50%; margin-top: -1px; }
.burger__traits span:nth-child(3) { top: 100%; margin-top: -2px; }
.burger[aria-expanded="true"] .burger__traits span:nth-child(1) { top: 50%; margin-top: -1px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__traits span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__traits span:nth-child(3) { top: 50%; margin-top: -1px; transform: rotate(-45deg); }

/* Sans JavaScript : pas de bouton, le menu reste affiché sous le logo */
html:not(.js) .burger { display: none; }
html:not(.js) .entete__barre { flex-wrap: wrap; border-radius: 28px; }
html:not(.js) .nav { position: static; width: 100%; padding-top: 0; overflow: visible; }

/* Mobile : le menu est un panneau plein écran sous l'en-tête.
   (Pas de backdrop-filter ici : il piégerait ce panneau « fixed » dans la barre.) */
.nav {
  position: fixed; inset: var(--hauteur-entete) 0 0 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: 1rem var(--gouttiere) 2rem;
  background: var(--neige);
  overflow-y: auto;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.js .nav { opacity: 0; visibility: hidden; transform: translateY(-0.75rem); }
.js .nav.est-ouvert { opacity: 1; visibility: visible; transform: none; }

.nav__liste { margin: 0; padding: 0; list-style: none; }
.nav__lien {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem 0;
  font: inherit; font-family: var(--police-titre); font-size: 1.6rem; line-height: 1.2;
  color: var(--encre); text-decoration: none; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--trait); cursor: pointer;
}
.nav__lien:hover { color: var(--bordeaux); }
.nav__lien[aria-current="page"], .nav__lien.est-courant { color: var(--bordeaux); }
.nav__chevron { width: 1.1rem; height: 1.1rem; transition: transform 0.25s; }
.nav__item.est-ouvert .nav__chevron { transform: rotate(180deg); }

.sous-nav { margin: 0; padding: 0 0 0.5rem 1rem; list-style: none; }
.js .sous-nav { display: none; }
.js .nav__item.est-ouvert .sous-nav { display: block; }
.sous-nav a { display: block; padding: 0.7rem 0; font-size: 1.1rem; font-weight: 600; color: var(--encre); text-decoration: none; }
.sous-nav a:hover, .sous-nav a[aria-current="page"] { color: var(--bordeaux); }

.nav__appel { margin-top: 1.5rem; }
.nav__appel .btn { width: 100%; }

@media (min-width: 62rem) {   /* ≥ 992px : navigation horizontale dans la barre flottante */
  .entete__barre {
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
            backdrop-filter: saturate(1.4) blur(12px);
  }
  .burger { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center;
    padding: 0; background: none; overflow: visible; transform: none !important;
  }
  .js .nav { opacity: 1; visibility: visible; }
  .nav__liste { display: flex; align-items: center; gap: 0.1rem; }
  .nav__item { position: relative; }
  .nav__lien {
    width: auto; padding: 0.6rem 1rem; font-family: var(--police-texte); font-size: 0.95rem; font-weight: 600;
    border: 0; border-radius: 999px; gap: 0.35rem; transition: background-color 0.2s, color 0.2s;
  }
  .nav__lien:hover { background: var(--blush); }
  .nav__lien[aria-current="page"], .nav__lien.est-courant { background: var(--blush); color: var(--bordeaux); }
  .nav__chevron { width: 0.8rem; height: 0.8rem; }

  .sous-nav, .js .sous-nav {
    display: block; position: absolute; top: calc(100% + 0.6rem); left: 0; min-width: 13rem; padding: 0.5rem;
    background: #fff; border: 1px solid var(--trait); border-radius: 18px;
    box-shadow: 0 16px 36px rgba(30, 30, 30, 0.14);
    opacity: 0; visibility: hidden; transform: translateY(-0.4rem);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav__item:hover > .sous-nav,
  .nav__item.est-ouvert > .sous-nav,
  .js .nav__item:hover > .sous-nav,
  .js .nav__item.est-ouvert > .sous-nav { opacity: 1; visibility: visible; transform: none; }
  .sous-nav a { padding: 0.6rem 0.9rem; border-radius: 10px; font-size: 0.95rem; }
  .sous-nav a:hover { background: var(--blush); }

  .nav__appel { margin: 0 0 0 0.5rem; }
  .nav__appel .btn { width: auto; padding: 0.65rem 1.2rem; font-size: 0.93rem; }
}

/* ---------- 5. Bandeau : panneau bordeaux (texte) + photo avec flèches, comme l'ancien site ---------- */
.bandeau { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 0.4rem; background: var(--bordeaux); color: #fff; }
.bandeau__texte {
  display: flex; align-items: center;
  padding: clamp(2rem, 7vw, 3.25rem) var(--gouttiere);
  background:
    linear-gradient(rgba(137, 3, 2, 0.12), rgba(137, 3, 2, 0.12)),
    url("../img/fond-bandeau-viande.jpg") center / cover no-repeat;
  background-color: var(--bordeaux);
}
.bandeau__contenu { width: 100%; max-width: 28rem; }
.bandeau__titre {
  margin: 0 0 0.5rem; color: #fff;
  font-family: var(--police-script); font-weight: 500; font-size: clamp(2.7rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: 0;
}
.bandeau__accroche {
  margin: 0; max-width: 21ch;
  font-size: 0.82rem; font-weight: 600; line-height: 1.8; letter-spacing: 0.16em; text-transform: uppercase;
}
.bandeau__ticket { margin-top: 1.75rem; }

.bandeau__image { position: relative; aspect-ratio: 3 / 2; background: var(--bordeaux-fonce); overflow: hidden; }
.bandeau__image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau--page .bandeau__image { aspect-ratio: 16 / 6; }
.bandeau--page .bandeau__texte { padding-block: 1.75rem; }

.diaporama { position: absolute; inset: 0; }
.diaporama__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.diaporama__image:first-child, .diaporama__image.est-active { opacity: 1; }
.js .diaporama.est-pret .diaporama__image:first-child { opacity: 0; }
.js .diaporama.est-pret .diaporama__image.est-active { opacity: 1; }

.diaporama__fleche {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  color: #fff; background: rgba(137, 3, 2, 0.6); border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color 0.2s;
}
.diaporama__fleche:hover { background: var(--bordeaux); }
.diaporama__fleche svg { width: 1.3rem; height: 1.3rem; }
.diaporama__fleche--prec { left: 0.75rem; }
.diaporama__fleche--suiv { right: 0.75rem; }

.diaporama__points { position: absolute; left: 50%; bottom: 0.6rem; z-index: 2; translate: -50% 0; display: flex; gap: 0.1rem; }
.diaporama__point { position: relative; width: 1.5rem; height: 1.5rem; padding: 0; background: none; border: 0; cursor: pointer; }
.diaporama__point::before {
  content: ""; position: absolute; inset: 0.5rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55); transition: background-color 0.2s, transform 0.2s;
}
.diaporama__point[aria-current="true"]::before { background: #fff; transform: scale(1.3); }

@media (min-width: 62rem) {
  .bandeau { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); min-height: clamp(23rem, 36vw, 35rem); }
  .bandeau__texte { padding-left: clamp(2rem, 7vw, 8rem); }
  .bandeau__image, .bandeau--page .bandeau__image { aspect-ratio: auto; }
  .bandeau--page { min-height: clamp(12rem, 17vw, 16rem); }
  .diaporama__fleche { width: 3rem; height: 3rem; }
  .diaporama__fleche--prec { left: 1.25rem; }
  .diaporama__fleche--suiv { right: 1.25rem; }
}

/* ---------- 6. Sections ---------- */

/* À propos */
.apropos__grille { display: grid; gap: 2.5rem; align-items: start; }
.apropos__visuel img { width: 100%; border-radius: var(--rayon-grand); aspect-ratio: 540 / 507; object-fit: cover; }
.apercus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.apercus img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
.apropos__texte .horaires { margin-top: 1.5rem; }

@media (min-width: 62rem) {
  .apropos__grille { grid-template-columns: 1.05fr 0.95fr; gap: 5rem; }
  .apropos__visuel { position: sticky; top: calc(var(--hauteur-entete) + 2rem); }
}

/* Repères chiffrés (reprennent des faits du texte « À propos » et « Côté Boucherie ») */
.chiffres { padding-block: clamp(2.25rem, 5vw, 3.5rem); border-block: 1px solid var(--trait); }
.chiffres__grille { display: grid; gap: 1.75rem; }
.chiffre { padding-top: 1.75rem; border-top: 1px solid var(--trait); }
.chiffre:first-child { padding-top: 0; border-top: 0; }
.chiffre__valeur { margin: 0 0 0.4rem; font-family: var(--police-titre); font-size: clamp(2.6rem, 6vw, 3.75rem); line-height: 1; color: var(--bordeaux); }
.chiffre__texte { margin: 0; max-width: 28ch; font-size: 0.98rem; }
@media (min-width: 48rem) {
  .chiffres__grille { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .chiffre, .chiffre:first-child { padding: 0 2rem; border-top: 0; }
  .chiffre:first-child { padding-left: 0; }
  .chiffre + .chiffre { border-left: 1px solid var(--trait); }
}

/* Produits (accueil) : onglets Boucherie / Charcuterie / Traiteur */
.onglets__liste {
  display: flex; width: 100%; gap: 0.25rem; padding: 0.3rem; margin-bottom: clamp(1.75rem, 4vw, 3rem);
  background: #fff; border: 1px solid var(--trait); border-radius: 999px;
}
.onglets__liste[hidden] { display: none; }
.onglets__bouton {
  flex: 1; padding: 0.75rem 0.5rem; font: inherit; font-weight: 600; color: var(--encre);
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.onglets__bouton:hover { background: var(--blush); }
.onglets__bouton[aria-selected="true"] { background: var(--bordeaux); color: #fff; }

.panneau { display: grid; gap: 1.75rem; align-items: center; }
html:not(.js) .panneau + .panneau { margin-top: clamp(3rem, 8vw, 5rem); }
.panneau[hidden] { display: none; }
.js .panneau { animation: panneau-entree 0.45s ease both; }
@keyframes panneau-entree { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
.panneau__lien { margin-top: 0.5rem; }
.panneau__media img { width: 100%; height: auto; background: var(--blush); }
.photo-large img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon-grand); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 36rem; }
.duo img { aspect-ratio: 284 / 400; object-fit: cover; border-radius: var(--rayon-grand); }

@media (min-width: 48rem) {
  .onglets__liste { width: auto; display: inline-flex; }
  .onglets__bouton { flex: none; padding-inline: 1.75rem; }
  .panneau { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
}

/* Pages produit : introduction + galerie */
.intro { display: grid; gap: 2rem; align-items: start; }
.intro__texte { font-size: 1.15rem; }
.intro__texte p { max-width: 60ch; }
.intro__texte p + p { margin-top: 1.1em; }
.intro__appel { padding: 1.5rem; background: var(--blush); border-radius: var(--rayon-grand); }
.intro__appel p { margin-bottom: 1rem; font-weight: 600; color: var(--encre); }
.section--page { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

@media (min-width: 62rem) {
  .intro { grid-template-columns: minmax(0, 1fr) 20rem; gap: 5rem; }
  .intro__appel { position: sticky; top: calc(var(--hauteur-entete) + 2rem); }
}

@media (min-width: 56rem) {
  .etagere--cinq { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); overflow: visible; padding-bottom: 0; gap: 1rem; }
  .etagere--cinq li { flex: none; }
  .etagere--quatre { --n: 4; }

  .mosaique { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 15vw, 12.5rem); gap: 1rem; }
  .mosaique__a { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: auto; }
  .mosaique__b { grid-column: 5 / 7; grid-row: 1 / 4; }
  .mosaique__c { grid-column: 1 / 3; grid-row: 3; aspect-ratio: auto; }
  .mosaique__d { grid-column: 3 / 5; grid-row: 3; aspect-ratio: auto; }
}

.autres { display: grid; gap: 1rem; }
.autres a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.6rem; border: 1px solid var(--trait); border-radius: var(--rayon-grand); background: #fff;
  font-family: var(--police-titre); font-size: 1.35rem; color: var(--encre); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.autres a:hover { border-color: var(--bordeaux); background: var(--bordeaux); color: #fff; }
.autres svg { width: 1.25rem; height: 1.25rem; flex: none; }
@media (min-width: 40rem) { .autres { grid-template-columns: 1fr 1fr; } }

/* Équipe */
.equipe__grille { display: grid; gap: 2.5rem; }
.equipe__titre { max-width: 18ch; }
.equipe__portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 360 / 341; object-fit: cover; border-radius: var(--rayon-grand); }
.portrait .ruban { position: absolute; left: -0.5rem; bottom: 1rem; font-size: 1.05rem; padding: 0.4rem 1.8rem; }
.equipe__portraits li:nth-child(2) { margin-top: 2rem; }

@media (min-width: 62rem) {
  .equipe__grille { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: center; }
  .portrait .ruban { font-size: 1.2rem; padding: 0.5rem 2.2rem; }
}

/* Contact : texte volontairement compact */
.contact__grille { display: grid; gap: 2.5rem; align-items: start; }
.contact__titre { max-width: 26ch; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.contact__adresse { font-style: normal; font-size: 1rem; line-height: 1.6; margin-bottom: 1.75rem; }
.contact__adresse strong { display: block; font-family: var(--police-titre); font-weight: 400; font-size: 1.2rem; color: #fff; }
.contact h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.contact__moyens { display: grid; gap: 0.75rem; }
.moyen {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: center;
  padding: 0.9rem 1.2rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--rayon);
  color: #fff; text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.moyen:hover { background: #fff; color: var(--bordeaux); }
.moyen svg { grid-row: 1 / 3; width: 1.4rem; height: 1.4rem; }
.moyen__nom { font-size: 0.82rem; opacity: 0.85; }
.moyen__valeur { font-weight: 700; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }

@media (min-width: 62rem) {
  .contact__grille { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; }
}

/* Texte juridique (vie privée, cookies, CGV) */
.juridique { display: grid; gap: 3rem; }
.sommaire { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sommaire a { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--bordeaux); border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.sommaire a:hover { background: var(--bordeaux); color: #fff; }
.juridique h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 2.5rem; }
.juridique h2:first-of-type { margin-top: 0; }
.juridique__partie { padding-top: 1rem; }
.juridique__partie + .juridique__partie { border-top: 1px solid var(--trait); padding-top: 3rem; }
.juridique ul { margin: 0 0 1.2em; padding-left: 1.2rem; max-width: 62ch; }
.juridique li { margin-bottom: 0.5em; }
.juridique p, .juridique li { max-width: 68ch; }

/* Message de confirmation du formulaire */
.confirmation { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.confirmation p { margin-inline: auto; }

/* ---------- 7. Pied de page : texte compact ---------- */
.pied { background: var(--encre); color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; line-height: 1.55; padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.25rem; }
.pied a { color: #fff; }
.pied__grille { display: grid; gap: 2rem; padding-bottom: 2rem; }
.pied__logo img { width: 104px; height: auto; }
.pied h2 { font-family: var(--police-texte); font-size: 0.82rem; font-weight: 700; color: #fff; margin: 0 0 0.7rem; }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li { margin-bottom: 0.3rem; }
.pied__reseaux { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.pied__reseaux a {
  display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; transition: background-color 0.2s, color 0.2s;
}
.pied__reseaux a:hover { background: #fff; color: var(--bordeaux); }
.pied__reseaux svg { width: 1.1rem; height: 1.1rem; }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem;
  padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.82rem;
}
.pied__bas p { margin: 0; max-width: none; }

@media (min-width: 48rem) { .pied__grille { grid-template-columns: 1.1fr 1fr 1fr; gap: 3rem; } }

/* Bouton « Retour en haut » : rond, en bas à droite ; affiché par main.js après défilement */
.remonter {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 80;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  color: #fff; background: var(--bordeaux); border-radius: 50%;
  box-shadow: 0 8px 20px rgba(30, 30, 30, 0.3);
  opacity: 0; visibility: hidden; transform: translateY(0.75rem);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background-color 0.2s;
}
.remonter svg { width: 1.4rem; height: 1.4rem; }
.remonter:hover { background: var(--bordeaux-fonce); color: #fff; }
.remonter.est-visible { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .remonter { display: none; }   /* sans JavaScript : pas de bouton */
@media (min-width: 62rem) { .remonter { right: 1.75rem; bottom: 1.75rem; } }

/* ---------- 8. Galerie des menus de fêtes + visionneuse ---------- */
.menus { columns: 1; column-gap: 1rem; margin: 0; padding: 0; list-style: none; }
.menus li { break-inside: avoid; margin: 0 0 1rem; }
.menus a { display: block; position: relative; border-radius: var(--rayon-grand); overflow: hidden; background: var(--encre); }
.menus img { width: 100%; height: auto; transition: transform 0.4s; }
.menus a:hover img { transform: scale(1.03); }
.menus__legende {
  position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.8rem; border-radius: 99px;
  background: rgba(30, 30, 30, 0.82); color: #fff; font-size: 0.88rem; font-weight: 600;
}
@media (min-width: 40rem) { .menus { columns: 2; } }
@media (min-width: 62rem) { .menus { columns: 3; } }

.telechargement {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem;
  padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-grand);
}
.telechargement p { margin: 0; font-weight: 600; color: var(--encre); }

.visionneuse {
  width: min(96vw, 1400px); max-width: none; height: min(92vh, 1500px); max-height: none;
  padding: 0; border: 0; background: transparent; overflow: visible;
}
.visionneuse::backdrop { background: rgba(20, 4, 4, 0.9); }
.visionneuse__cadre { width: 100%; height: 100%; }
.visionneuse__image { width: 100%; height: 100%; object-fit: contain; border-radius: var(--rayon); }
.visionneuse__bouton {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem;
  color: #fff; background: rgba(30, 30, 30, 0.85); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer;
}
.visionneuse__bouton:hover { background: var(--bordeaux); }
.visionneuse__bouton svg { width: 1.3rem; height: 1.3rem; }
.visionneuse__fermer { top: 0.5rem; right: 0.5rem; }
.visionneuse__prec { left: 0.5rem; top: 50%; margin-top: -1.5rem; }
.visionneuse__suiv { right: 0.5rem; top: 50%; margin-top: -1.5rem; }
.visionneuse__compteur {
  position: absolute; left: 50%; bottom: 0.5rem; transform: translateX(-50%); z-index: 2;
  padding: 0.25rem 0.8rem; border-radius: 99px; background: rgba(30, 30, 30, 0.85); color: #fff; font-size: 0.9rem;
}

/* Lecteurs d'écran uniquement */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Respect de la préférence « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
