/* ==========================================================================
   La Berjallie — brasserie du stade Pierre-Rajon
   Identité : le grenat et le bleu ciel du logo (les couleurs « ciel et grenat » du CSBJ).
   Rappels du rugby volontairement discrets : poteaux en « H », lignes du terrain en fond,
   tableau d'affichage pour l'ouverture du jour.
   ========================================================================== */

@font-face { font-family: 'Bodoni Moda'; src: url(polices/bodoni-moda.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(polices/bodoni-moda-italique.woff2) format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(polices/barlow-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(polices/barlow-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(polices/barlow-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(polices/barlow-condensed-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(polices/barlow-condensed-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --grenat: #5f1e2d;          /* grenat du logo */
  --grenat-site: #50182c;     /* grenat du site actuel */
  --grenat-clair: #7a2b3e;
  --grenat-profond: #3a0f1b;
  --grenat-nuit: #1f070e;
  --ciel: #a5daec;            /* bleu ciel du logo */
  --ciel-vif: #c4ecf8;
  --ciel-neon: #7fdcf2;
  --ivoire: #f6efe6;
  --ivoire-2: #fbf7f1;
  --sable: #ede3d6;
  --encre: #2a1a1f;
  --gris: #6e5a60;
  --trait: rgba(95, 30, 45, .14);
  --trait-clair: rgba(165, 218, 236, .22);

  --titre: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --texte: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --etroit: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --entete: 78px;
  --largeur: 1240px;
  --marge: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 64px); }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 17px/1.65 var(--texte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 500; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ciel-neon); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ciel); color: var(--grenat-nuit); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.section-sable { background: var(--sable); }
.discret { color: var(--gris); font-size: .94rem; }

/* ---------- motifs ---------- */
.poteaux { width: .8em; height: 1.12em; flex: none; vertical-align: -.18em; color: var(--ciel); }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.terrain { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ciel); opacity: .09; pointer-events: none; }

/* ---------- textes ---------- */
.surtitre { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem; font: 600 .8rem/1.2 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--grenat); }
.surtitre .poteaux { color: var(--grenat); opacity: .7; }
.surtitre-clair, .surtitre-clair .poteaux { color: var(--ciel); opacity: 1; }
h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.08; color: var(--grenat); margin-bottom: .55em; }
h2 em { color: var(--grenat-clair); }
.section-tete { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-tete-ligne { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-tete-ligne h2 { max-width: 680px; margin-bottom: 0; }

.lien-fleche { display: inline-flex; align-items: center; gap: .55em; font: 600 .9rem/1 var(--etroit); letter-spacing: .16em; text-transform: uppercase; color: var(--grenat); text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor; }
.lien-fleche .ico { transition: transform .3s var(--ease); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.lien-clair { color: var(--ciel); }

/* ---------- boutons ---------- */
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 16px 28px; border: 1px solid transparent; border-radius: 2px; font: 600 .95rem/1 var(--etroit); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, box-shadow .3s, transform .25s var(--ease); }
.bouton:hover { transform: translateY(-1px); }
.bouton-ciel { background: var(--ciel); color: var(--grenat-nuit); }
.bouton-ciel:hover { background: var(--ciel-vif); box-shadow: 0 0 0 4px rgba(165, 218, 236, .18), 0 10px 30px -10px rgba(127, 220, 242, .6); }
.bouton-contour { border-color: rgba(246, 239, 230, .5); color: var(--ivoire); }
.bouton-contour:hover { background: rgba(246, 239, 230, .1); border-color: var(--ivoire); }
.bouton-grenat { background: var(--grenat); color: var(--ivoire); }
.bouton-grenat:hover { background: var(--grenat-profond); box-shadow: 0 12px 30px -14px rgba(58, 15, 27, .8); }
.bouton-petit { padding: 11px 18px; font-size: .86rem; }

/* ---------- en-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--entete); transition: background .35s, box-shadow .35s, height .35s; }
.entete-in { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--marge); display: flex; align-items: center; gap: 32px; }
.marque { position: relative; display: block; width: 196px; height: 35px; flex: none; }
.logo { position: absolute; inset: 0; width: 100%; height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav a { position: relative; color: var(--ivoire); text-decoration: none; font: 600 .9rem/1 var(--etroit); letter-spacing: .15em; text-transform: uppercase; padding: 8px 0; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ciel); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.entete-actions { display: flex; align-items: center; gap: 18px; }
.entete-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ivoire); text-decoration: none; font: 600 .95rem/1 var(--etroit); letter-spacing: .08em; transition: color .25s; }
.entete-tel .ico { color: var(--ciel); }
.entete.plein { background: rgba(46, 11, 21, .95); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 rgba(165, 218, 236, .14), 0 14px 34px -22px rgba(0, 0, 0, .7); --entete: 68px; height: 68px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; color: var(--ivoire); cursor: pointer; padding: 0; position: relative; }
.burger-barres, .burger-barres::before, .burger-barres::after { position: absolute; left: 11px; width: 24px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger-barres { top: 22px; }
.burger-barres::before { content: ''; left: 0; top: -7px; }
.burger-barres::after { content: ''; left: 0; top: 7px; width: 16px; }
.menu-ouvert .burger { color: var(--ivoire); }
.menu-ouvert .burger-barres { background: transparent; }
.menu-ouvert .burger-barres::before { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .burger-barres::after { width: 24px; transform: translateY(-7px) rotate(-45deg); }

.menu-mobile { position: fixed; inset: 0; z-index: 45; background: var(--grenat-profond); color: var(--ivoire); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--entete) + 24px) var(--marge) 40px; opacity: 0; transition: opacity .35s; }
.menu-mobile.ouvert { opacity: 1; }
/* Menu fermé : vraiment retiré de la page (sinon, invisible, il recevrait les touchers à la place des boutons) */
.menu-mobile[hidden] { display: none !important; }
.menu-mobile:not(.ouvert) { pointer-events: none; }
.menu-mobile nav { position: relative; display: flex; flex-direction: column; gap: 6px; }
.menu-mobile nav a { font: 400 clamp(2rem, 9vw, 2.8rem)/1.25 var(--titre); color: var(--ivoire); text-decoration: none; }
.menu-mobile nav a:last-child { margin-top: 18px; font: 600 1rem/1 var(--etroit); letter-spacing: .16em; text-transform: uppercase; color: var(--grenat-nuit); background: var(--ciel); padding: 18px 22px; text-align: center; }
.menu-mobile nav a[aria-current] { color: var(--ciel); font-style: italic; }
.menu-mobile-pied { position: relative; margin-top: 40px; display: grid; gap: 8px; color: rgba(246, 239, 230, .7); font-size: .95rem; }
.menu-mobile-pied a { display: inline-flex; gap: 10px; align-items: center; color: var(--ciel); text-decoration: none; font: 600 1.1rem/1 var(--etroit); letter-spacing: .06em; }
.menu-ouvert .entete { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-ouvert .entete .bouton { visibility: hidden; }
body.menu-ouvert { overflow: hidden; }

/* ---------- accroche (accueil) ---------- */
.accroche { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: var(--ivoire); background: var(--grenat-nuit); overflow: hidden; isolation: isolate; }
.accroche-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -2; animation: zoom 18s var(--ease) both; }
.accroche-voile { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(31, 7, 14, .94) 0%, rgba(31, 7, 14, .78) 34%, rgba(31, 7, 14, .25) 68%, rgba(31, 7, 14, .35) 100%),
  linear-gradient(0deg, rgba(31, 7, 14, .9) 0%, rgba(31, 7, 14, 0) 34%),
  linear-gradient(180deg, rgba(31, 7, 14, .55) 0%, rgba(31, 7, 14, 0) 22%); }
.accroche-in { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: calc(var(--entete) + 48px) var(--marge) clamp(40px, 7vh, 80px); }
.accroche h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 1.02; max-width: 12.5em; margin-bottom: .45em; text-wrap: balance; }
.accroche-texte { max-width: 33em; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(246, 239, 230, .86); margin-bottom: 2rem; }
/* titre de l'accueil : la partie *entre astérisques* (espace de gestion) s'allume comme une enseigne, sur sa propre ligne */
.accroche h1 em { display: block; }
.neon, .accroche h1 em { color: var(--ciel-vif); text-shadow: 0 0 6px rgba(127, 220, 242, .55), 0 0 22px rgba(127, 220, 242, .35), 0 0 48px rgba(127, 220, 242, .18); animation: allumage 2.4s .5s both; }
@keyframes allumage {
  0% { opacity: .15; text-shadow: none; }
  8% { opacity: 1; } 10% { opacity: .25; } 14% { opacity: 1; } 18% { opacity: .4; } 24% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* tableau d'affichage */
.tableau { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: var(--largeur); margin: 0 auto clamp(20px, 4vh, 40px); padding: 0 var(--marge); }
.tableau::before { content: ''; position: absolute; inset: 0 var(--marge); background: rgba(31, 7, 14, .62); border: 1px solid var(--trait-clair); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: -1; }
.tableau-case { padding: 16px 22px; display: grid; gap: 4px; border-left: 1px solid var(--trait-clair); text-decoration: none; color: inherit; }
.tableau-case:first-child { border-left: 0; }
.tableau-titre { font: 600 .7rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--ciel); opacity: .85; }
.tableau-valeur { display: inline-flex; align-items: center; gap: 10px; font: 600 1.32rem/1.1 var(--etroit); letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--ivoire); }
.tableau-tel { transition: background .25s; }
.tableau-tel:hover { background: rgba(165, 218, 236, .08); }
.voyant { width: 9px; height: 9px; border-radius: 50%; background: var(--ciel-neon); box-shadow: 0 0 0 3px rgba(127, 220, 242, .2), 0 0 12px var(--ciel-neon); animation: battement 2.4s ease-in-out infinite; flex: none; }
.voyant.ferme { background: #b9a2a7; box-shadow: none; animation: none; }
@keyframes battement { 50% { box-shadow: 0 0 0 6px rgba(127, 220, 242, 0), 0 0 18px var(--ciel-neon); } }

/* ---------- bandeau (pages intérieures) ---------- */
.bandeau { position: relative; min-height: clamp(440px, 62vh, 620px); display: flex; align-items: flex-end; color: var(--ivoire); background: var(--grenat-nuit); overflow: hidden; isolation: isolate; }
.bandeau-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: zoom 16s var(--ease) both; }
.bandeau-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 7, 14, .9) 0%, rgba(31, 7, 14, .6) 50%, rgba(31, 7, 14, .3) 100%), linear-gradient(0deg, rgba(31, 7, 14, .75), rgba(31, 7, 14, 0) 55%), linear-gradient(180deg, rgba(31, 7, 14, .55), rgba(31, 7, 14, 0) 30%); }
.bandeau-in { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: calc(var(--entete) + 40px) var(--marge) clamp(48px, 8vh, 84px); }
.bandeau h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 13em; margin-bottom: .35em; }
.bandeau h1 em { color: var(--ciel-vif); }
.bandeau-intro { max-width: 36em; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgba(246, 239, 230, .85); margin: 0; }
.bandeau-404 { min-height: 100svh; }
.bandeau-404 .boutons { margin-top: 28px; }

/* ---------- trois piliers ---------- */
.piliers-grille { display: grid; grid-template-columns: repeat(3, 1fr); }
.pilier { position: relative; padding: 8px clamp(20px, 3vw, 44px) 0; border-left: 1px solid var(--ciel); }
.pilier:first-child { padding-left: 0; border-left: 0; }
.pilier-num { display: block; font: italic 400 clamp(3.4rem, 5vw, 4.6rem)/1 var(--titre); color: var(--grenat); margin-bottom: 18px; }
.pilier h3 { font-size: 1.55rem; color: var(--grenat); margin-bottom: .6em; }
.pilier p { color: var(--gris); margin: 0; }

/* ---------- la maison ---------- */
.maison { background: var(--ivoire-2); }
.maison-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.maison-photo { position: relative; margin: 0; aspect-ratio: 3 / 2.3; background: #000; overflow: hidden; }
.maison-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
.maison-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(165, 218, 236, .35); pointer-events: none; }
.maison-photo figcaption { position: absolute; left: 28px; bottom: 26px; display: inline-flex; gap: 10px; align-items: center; font: 600 .78rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--ciel); }
.maison-texte p { color: #4a3a3f; }
.maison-texte .lien-fleche { margin-top: 10px; }

/* ---------- coin du boucher ---------- */
.boucher { background: var(--grenat-profond); color: var(--ivoire); overflow: hidden; isolation: isolate; }
.boucher-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: -1; filter: saturate(.6); }
.boucher::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 50%, rgba(31, 7, 14, .2), rgba(31, 7, 14, .85) 75%); }
.boucher-grille { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.boucher h2 { color: var(--ivoire); }
.boucher h2 em { color: var(--ciel); }
.boucher-texte p { color: rgba(246, 239, 230, .8); margin-bottom: 2rem; }

/* ---------- lignes de carte ---------- */
.carte-liste { display: grid; gap: 22px; }
.plat-ligne { display: flex; align-items: baseline; gap: 12px; }
.plat-nom { font-weight: 500; font-size: 1.06rem; color: var(--encre); }
.plat-points { flex: 1; min-width: 24px; border-bottom: 1px dotted rgba(95, 30, 45, .35); transform: translateY(-4px); }
.plat-prix { font: 600 1.15rem/1 var(--etroit); letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--grenat); white-space: nowrap; }
.plat-prix small { font-size: .8rem; letter-spacing: .06em; font-weight: 500; }
.plat-detail { display: block; margin-top: 3px; font-size: .94rem; color: var(--gris); font-style: italic; }
.badge { display: inline-block; margin-left: 10px; padding: 3px 8px 2px; font: 600 .66rem/1.2 var(--etroit); letter-spacing: .18em; text-transform: uppercase; vertical-align: 2px; background: var(--ciel); color: var(--grenat-nuit); border-radius: 2px; }
.carte-liste-sombre { padding: clamp(28px, 4vw, 48px); background: rgba(31, 7, 14, .55); border: 1px solid var(--trait-clair); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.carte-liste-sombre .plat-nom { color: var(--ivoire); font-size: 1.12rem; }
.carte-liste-sombre .plat-points { border-color: rgba(165, 218, 236, .35); }
.carte-liste-sombre .plat-prix { color: var(--ciel); font-size: 1.3rem; }
.carte-liste-sombre .plat-detail { color: rgba(246, 239, 230, .62); }
.plat-vedette { position: relative; }
.carte-liste-sombre .plat-vedette { order: -1; padding-bottom: 22px; border-bottom: 1px solid var(--trait-clair); }
.carte-liste-sombre .plat-vedette .plat-nom { font: italic 400 1.6rem/1.2 var(--titre); }

/* ---------- ambiance ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; grid-template-areas: 'a a b e' 'a a c e' 'd d f f'; }
.galerie-item { position: relative; overflow: hidden; background: var(--grenat-nuit); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .4s; }
.galerie-item:hover img { transform: scale(1.05); }
.galerie-item::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--ciel); transition: box-shadow .35s; }
.galerie-item:hover::after, .galerie-item:focus-visible::after { box-shadow: inset 0 0 0 3px var(--ciel); }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; } .g-f { grid-area: f; }

/* ---------- événements ---------- */
.evenements { background: var(--sable); }
.evenements-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.evenements-photos { position: relative; padding: 0 12% 18% 0; }
.evenements-photos img { width: 100%; object-fit: cover; }
.ev-1 { aspect-ratio: 4 / 3; }
.ev-2 { position: absolute; right: 0; bottom: 0; width: 46% !important; aspect-ratio: 1; border: 8px solid var(--sable); box-shadow: 0 24px 50px -24px rgba(31, 7, 14, .55); }
.puces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0 0 2rem; }
.puces li { position: relative; padding-left: 22px; font-weight: 500; color: var(--grenat); }
.puces li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 1.5px; background: var(--grenat); }
.evenements-texte > p { color: #4a3a3f; }

/* ---------- infos pratiques ---------- */
.infos { background: var(--grenat-profond); color: var(--ivoire); overflow: hidden; }
.infos-grille { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.info { padding: 0 clamp(20px, 3vw, 44px); border-left: 1px solid var(--trait-clair); }
.info:first-child { padding-left: 0; border-left: 0; }
.info-titre { display: flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--ciel); margin-bottom: 22px; }
.info-gros { font: 400 1.5rem/1.3 var(--titre); margin-bottom: .6em; }
.info-gros a { text-decoration: none; }
.infos .discret { color: rgba(246, 239, 230, .65); }
.infos .bouton { margin-top: 8px; }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--trait-clair); font-variant-numeric: tabular-nums; }
.horaires li:last-child { border-bottom: 0; }
.horaires li span:last-child { font: 600 1.02rem/1.4 var(--etroit); letter-spacing: .05em; }
.horaires li.aujourdhui { color: var(--ciel); }
.horaires li.aujourdhui span:first-child::after { content: ' · aujourd’hui'; font-size: .82em; opacity: .85; }
.horaires-clair li { border-color: var(--trait); }
.horaires-clair li.aujourdhui { color: var(--grenat); font-weight: 600; }

/* ---------- instagram ---------- */
.insta { padding-top: clamp(64px, 8vw, 110px); }
.insta-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.insta h2 a { text-decoration: none; background: linear-gradient(var(--ciel), var(--ciel)) 0 92% / 100% .14em no-repeat; }
.insta p { color: var(--gris); }
.insta-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insta-photos a { aspect-ratio: 1; overflow: hidden; background: var(--grenat-nuit); }
.insta-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-photos a:hover img { transform: scale(1.06); }

/* ---------- pied de page ---------- */
.pied { position: relative; background: var(--grenat-nuit); color: rgba(246, 239, 230, .78); font-size: .96rem; overflow: hidden; }
.pied-in { position: relative; max-width: var(--largeur); margin: 0 auto; padding: clamp(64px, 8vw, 100px) var(--marge) 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.pied-marque img { width: 220px; margin-bottom: 22px; }
.pied-marque p { max-width: 24em; }
.pied-titre { font: 600 .78rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--ciel); margin-bottom: 18px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--ciel); }
.pied .discret { color: rgba(246, 239, 230, .55); display: inline-flex; gap: 8px; align-items: center; }
.pied-horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.pied-horaires li.aujourdhui { color: var(--ciel); }
.pied-liens li { padding: 3px 0; }
.reseaux { display: flex; gap: 10px; }
.reseaux a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--trait-clair); border-radius: 50%; transition: background .25s, border-color .25s; }
.reseaux a:hover { background: rgba(165, 218, 236, .1); border-color: var(--ciel); }
.pied-bas { position: relative; max-width: var(--largeur); margin: 0 auto; padding: 22px var(--marge) 28px; border-top: 1px solid var(--trait-clair); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: rgba(246, 239, 230, .5); }
.barre-mobile { display: none; }

/* ---------- la carte ---------- */
.carte-nav { position: sticky; top: 68px; z-index: 20; background: rgba(246, 239, 230, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--trait); }
.carte-nav nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; padding: 14px 0; }
.carte-nav a { padding: 8px 14px; font: 600 .86rem/1 var(--etroit); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--grenat); border-radius: 2px; transition: background .25s, color .25s; }
.carte-nav a:hover { background: rgba(95, 30, 45, .07); }
.carte-nav a.actif { background: var(--grenat); color: var(--ivoire); }
.carte { padding-top: clamp(56px, 7vw, 96px); }
.carte-grille { columns: 2; column-gap: clamp(48px, 7vw, 110px); }
.carte-bloc { break-inside: avoid; padding-bottom: clamp(48px, 6vw, 72px); }
.carte-bloc h2 { display: flex; align-items: center; gap: 18px; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .7em; }
.carte-bloc h2::after { content: ''; flex: 1; height: 1px; background: var(--ciel); }
.carte-intro { margin: -8px 0 24px; color: var(--gris); font-style: italic; }
.carte-intro:empty, .carte-note:empty { display: none; }   /* textes facultatifs laissés vides dans l'espace de gestion */
.carte-bloc-boucher { position: relative; padding: clamp(28px, 3.5vw, 40px); margin-bottom: clamp(48px, 6vw, 72px); background: var(--ivoire-2); border: 1px solid var(--ciel); }
.carte-bloc-boucher::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(165, 218, 236, .45); pointer-events: none; }
.carte-bloc .plat-vedette .plat-nom { font: italic 400 1.35rem/1.2 var(--titre); color: var(--grenat); }
.carte-notes { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--trait); }
.carte-notes p { max-width: 640px; margin: 0; color: var(--gris); font-size: .94rem; }

/* ---------- pages intérieures ---------- */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.deux-colonnes p { color: #4a3a3f; }
.citation { margin: 0 0 32px; padding: 0 0 0 28px; border-left: 2px solid var(--ciel); }
.citation p { font: italic 400 clamp(1.4rem, 2.2vw, 1.85rem)/1.35 var(--titre); color: var(--grenat); margin: 0; }
.mosaique { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 20vw, 280px)); gap: 12px; }
.mosaique a { overflow: hidden; background: var(--grenat-nuit); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaique a:hover img { transform: scale(1.05); }
.m-1 { grid-row: span 2; }
.m-4 { grid-column: span 2; }
.infos-court { padding: clamp(64px, 8vw, 104px) 0; }
.infos-court h2, .contact-traiteur h2 { color: var(--ivoire); }
.infos-court h2 em { color: var(--ciel); }
.contact-traiteur { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact-traiteur p { color: rgba(246, 239, 230, .8); margin: 0; }
.contact-boutons { display: grid; gap: 12px; justify-items: stretch; }
.contact-boutons .bouton { text-transform: none; letter-spacing: .04em; font-size: 1.05rem; }

.carte-info { padding: clamp(24px, 3vw, 34px); background: var(--ivoire-2); border: 1px solid var(--trait); }
.carte-info h2 { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--grenat); margin-bottom: 18px; }
.carte-info h2 .ico { color: var(--grenat); }
.carte-info .info-gros { color: var(--grenat); }
.carte-info p:last-child { margin-bottom: 0; }
.carte-info .bouton { margin: 6px 0 16px; }
.carte-info .poteaux { color: var(--grenat); opacity: .6; }
.mt { margin-top: 28px; }

/* ---------- réservation (nouvelle version du 25/11/2026) ---------- */
[hidden] { display: none !important; }   /* tout élément caché l'est vraiment (un display:flex l'emportait sur hidden) */
.bandeau-court { min-height: 0; }
.bandeau-court .bandeau-in { padding: calc(var(--entete) + 58px) var(--marge) 34px; }
.bandeau-court h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .2em; }
.bandeau-court .bandeau-intro { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; }
.bandeau-court .bandeau-intro span { display: inline-flex; align-items: center; gap: 8px; }
.bandeau-court .bandeau-intro span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ciel); }
.resa-section { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.resa-mise { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.resa-module { background: #fff; border: 1px solid var(--trait); box-shadow: 0 30px 60px -40px rgba(31, 7, 14, .45); position: relative; padding-top: 4px; scroll-margin-top: calc(var(--entete) + 16px); }
.resa-module::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--grenat) 0 70%, var(--ciel) 70% 100%); }
/* hauteur de départ ≈ la première étape ; ensuite la page de réservation donne sa vraie hauteur (assets/site.js) */
.resa-module iframe { display: block; width: 100%; height: 500px; border: 0; transition: height .25s var(--ease); }
.resa-secours { margin: 0; padding: 14px 22px; border-top: 1px solid var(--trait); font-size: .9rem; color: var(--gris); background: var(--ivoire-2); }
.resa-secours a { color: var(--grenat); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.recap { position: sticky; top: calc(var(--entete) + 24px); background: var(--grenat-profond); color: var(--ivoire); overflow: hidden; }
.recap-photo { height: 150px; width: 100%; object-fit: cover; display: block; opacity: .85; }
.recap-in { padding: 22px 26px 26px; }
.recap h2 { font: 600 .78rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--ciel); margin: 0 0 16px; }
.recap dl { margin: 0; }
.recap dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(165, 218, 236, .18); }
.recap dt { color: rgba(246, 239, 230, .65); font-size: .92rem; }
.recap dd { margin: 0; font: 600 1.05rem/1.3 var(--etroit); letter-spacing: .04em; text-align: right; }
.recap dd.vide { color: rgba(246, 239, 230, .35); font-weight: 500; }
.recap-infos { margin-top: 18px; display: grid; gap: 6px; font-size: .9rem; color: rgba(246, 239, 230, .75); }
.recap-infos a { color: var(--ciel); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.recap-note { margin: 16px 0 0; padding: 12px 14px; background: rgba(165, 218, 236, .1); border-left: 2px solid var(--ciel); font-size: .88rem; color: rgba(246, 239, 230, .85); }
.recap-note a { color: var(--ciel); white-space: nowrap; }
.barre-resa { display: none; }
.services li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--trait); }
.services li:last-child { border-bottom: 0; }
.services strong { color: var(--grenat); font-weight: 600; }
.services span { color: var(--gris); }

.contact-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { grid-column: span 2; position: relative; min-height: 380px; background: var(--grenat-profond); overflow: hidden; }
.plan iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.plan-voile { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 32px; text-align: center; color: rgba(246, 239, 230, .78); }
.plan-voile .terrain { opacity: .16; }
.plan-voile p { position: relative; max-width: 26em; margin: 0; }
.plan-voile .bouton { position: relative; }

.texte-legal { max-width: 780px; }
.texte-legal h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p { color: #4a3a3f; }

/* ---------- visionneuse ---------- */
.visionneuse { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(31, 7, 14, .94); opacity: 0; transition: opacity .3s; padding: 24px; }
.visionneuse.ouverte { opacity: 1; }
.visionneuse img { max-width: min(1400px, 94vw); max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px -30px #000; }
.visionneuse button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border: 1px solid var(--trait-clair); border-radius: 50%; background: transparent; color: var(--ivoire); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.visionneuse button:hover { border-color: var(--ciel); color: var(--ciel); }

/* ---------- apparition au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .revele.vu { opacity: 1; transform: none; }
.js .accroche .revele:nth-child(2) { transition-delay: .08s; }
.js .accroche .revele:nth-child(3) { transition-delay: .16s; }
.js .accroche .revele:nth-child(4) { transition-delay: .24s; }
.js .piliers-grille .revele:nth-child(2) { transition-delay: .1s; }
.js .piliers-grille .revele:nth-child(3) { transition-delay: .2s; }

/* ---------- écrans moyens ---------- */
@media (max-width: 1100px) {
  .entete-tel span { display: none; }
  .pied-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .entete-tel { display: none; }
  .burger { display: block; }
  .entete-in { gap: 12px; }
  .entete-actions { margin-left: auto; gap: 8px; }
  .tableau { grid-template-columns: repeat(2, 1fr); }
  .tableau-case:nth-child(3) { border-left: 0; }
  .tableau-case:nth-child(n+3) { border-top: 1px solid var(--trait-clair); }
  .piliers-grille { grid-template-columns: 1fr; gap: 40px; }
  .pilier, .pilier:first-child { padding: 0 0 0 28px; border-left: 1px solid var(--ciel); }
  .maison-grille, .boucher-grille, .evenements-grille, .insta-grille, .deux-colonnes, .resa-mise, .contact-traiteur { grid-template-columns: 1fr; }
  /* sous le cadre : seulement les infos pratiques (le choix est rappelé dans la barre du bas) */
  .recap { position: static; }
  .recap-photo, .recap h2, .recap-choix { display: none; }
  .maison-photo { aspect-ratio: 3 / 2.2; }
  .infos-grille { grid-template-columns: 1fr; gap: 40px; }
  .info, .info:first-child { padding: 0; border-left: 0; }
  .info + .info { padding-top: 40px; border-top: 1px solid var(--trait-clair); }
  .contact-grille { grid-template-columns: 1fr 1fr; }
  .plan { grid-column: 1 / -1; order: 5; }
  .carte-grille { columns: 1; }
}

/* ---------- téléphone ---------- */
@media (max-width: 760px) {
  :root { --entete: 66px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .marque { width: 162px; height: 29px; }
  .entete-actions .bouton { display: none; }
  .accroche { min-height: max(560px, calc(100svh - 64px)); }
  .accroche-voile { background: linear-gradient(0deg, rgba(31, 7, 14, .96) 8%, rgba(31, 7, 14, .55) 55%, rgba(31, 7, 14, .55) 100%); }
  .accroche-photo { object-position: 70% 50%; }
  .accroche-in { padding-bottom: 28px; }
  .accroche h1 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .boutons .bouton { flex: 1 1 100%; }
  .tableau-case { padding: 12px 14px; }
  .tableau-valeur { font-size: 1.12rem; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-template-areas: 'a a' 'a a' 'b c' 'e d' 'e f'; }
  .puces { grid-template-columns: 1fr; }
  .insta-photos { grid-template-columns: repeat(2, 1fr); }
  .pied-in { grid-template-columns: 1fr; gap: 34px; }
  .contact-grille { grid-template-columns: 1fr; }
  .mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .m-1 { grid-row: auto; grid-column: span 2; }
  .m-4 { grid-column: span 2; }
  .carte-nav nav { gap: 4px; padding: 10px 0; }
  .carte-nav a { padding: 7px 9px; font-size: .78rem; letter-spacing: .1em; }
  .plat-nom { font-size: 1rem; }
  .bandeau-court .bandeau-in { padding: calc(var(--entete) + 40px) var(--marge) 22px; }
  .bandeau-court .bandeau-intro { font-size: .86rem; }
  .resa-section { padding-top: 16px; }
  .resa-section .conteneur { padding-left: 10px; padding-right: 10px; }
  .resa-module iframe { height: 520px; }
  /* barre du bas de la réservation : remplace « Appeler / Réserver » dès que le nombre de personnes est choisi */
  .resa-barre .barre-mobile { display: none; }
  .barre-resa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--grenat-nuit); border-top: 1px solid rgba(165, 218, 236, .22); color: var(--ivoire); }
  .barre-resa-texte { flex: 1; min-width: 0; margin: 0; font: 600 .95rem/1.25 var(--etroit); letter-spacing: .03em; }
  .barre-resa-texte small { display: block; font: 500 .7rem/1.2 var(--etroit); letter-spacing: .16em; text-transform: uppercase; color: var(--ciel); }
  .barre-resa-texte span { white-space: nowrap; }
  .barre-resa .bouton { flex: none; padding: 14px 16px; font-size: .86rem; }
  .menu-ouvert .barre-resa { display: none; }
  .barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; height: 64px; padding-bottom: env(safe-area-inset-bottom); background: var(--grenat-nuit); border-top: 1px solid var(--trait-clair); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 .92rem/1 var(--etroit); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ivoire); }
  .barre-mobile a .ico { color: var(--ciel); }
  .barre-mobile .barre-mobile-resa { background: var(--ciel); color: var(--grenat-nuit); }
  .menu-ouvert .barre-mobile { display: none; }
  .plat-points { min-width: 12px; }
}
@media (max-width: 380px) {
  .tableau { grid-template-columns: 1fr 1fr; }
  .badge { margin-left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .revele { opacity: 1; transform: none; }
}
@media print {
  .entete, .barre-mobile, .carte-nav, .menu-mobile { display: none !important; }
  body { background: #fff; }
}

/* ---------- carte du 25/11 : prix doubles, menus, note du boucher, dimanche ---------- */
.prix-sep { font-weight: 500; opacity: .45; margin: 0 .15em; }
.plat-menu .plat-nom { font: italic 400 1.3rem/1.2 var(--titre); color: var(--grenat); }
.plat-compo { margin: 8px 0 0; display: grid; gap: 3px; }
.plat-compo li { position: relative; padding-left: 18px; color: var(--gris); font-size: .96rem; }
.plat-compo li::before { content: ''; position: absolute; left: 0; top: .78em; width: 9px; height: 1px; background: var(--ciel); }
.carte-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed rgba(95, 30, 45, .25); font-size: .94rem; color: var(--gris); }
.carte-bloc-dimanche { padding: clamp(28px, 3.5vw, 40px); background: var(--grenat-profond); color: var(--ivoire); margin-bottom: clamp(48px, 6vw, 72px); }
.carte-bloc-dimanche h2 { color: var(--ivoire); }
.carte-bloc-dimanche h2::after { background: rgba(165, 218, 236, .5); }
.carte-bloc-dimanche .plat-nom { color: var(--ivoire); }
.carte-bloc-dimanche .plat-prix { color: var(--ciel); }
.carte-bloc-dimanche .plat-points { border-color: rgba(165, 218, 236, .35); }
.carte-bloc-dimanche .plat-detail { color: rgba(246, 239, 230, .65); }
.mois ul { display: grid; gap: 8px; margin-bottom: 26px; }
.mois li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; transition: opacity .3s; }
.mois-nom { font: 600 .78rem/1.2 var(--etroit); letter-spacing: .2em; text-transform: uppercase; color: var(--ciel); }
.mois-titre { font: 600 .72rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: rgba(246, 239, 230, .6); margin: 0 0 12px; }
.avec-mois li:not(.ce-mois) { opacity: .5; }
.ce-mois span:last-child { font-weight: 500; }
.ce-mois span:last-child::after { content: 'Ce mois-ci'; display: inline-block; margin-left: 10px; padding: 3px 8px 2px; font: 600 .62rem/1.2 var(--etroit); letter-spacing: .18em; text-transform: uppercase; background: var(--ciel); color: var(--grenat-nuit); border-radius: 2px; vertical-align: 2px; }
@media (max-width: 760px) { .mois li { grid-template-columns: 1fr; gap: 2px; } }
