/* Bar le über — styles du site (chargés aussi dans l'éditeur de blocs) */

@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/bricolage.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument';
  src: url('../fonts/instrument.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #0d0c0b;
  --surface: #161412;
  --surface-2: #1f1c19;
  --line: #2d2925;
  --text: #f3eee6;
  --muted: #a8a096;
  --grey: #8a8884;
  --accent: #f2a945;
  --accent-ink: #1a1206;
  --qc: #5b95ff;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header: 76px;
  --display: 'Bricolage', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Instrument', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.bu-icon { width: 18px; height: 18px; flex: none; }

/* Le point carré du logo, réutilisé comme ponctuation */
.sq, .is-style-square::after {
  display: inline-block; width: .16em; height: .16em; background: var(--grey);
  margin-left: .06em; vertical-align: baseline;
}
.is-style-square::after { content: ''; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: .98; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 9vw, 6rem); }
h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h3 { font-size: 1.5rem; letter-spacing: -.015em; line-height: 1.05; }

/* ---------- Styles de blocs : texte ---------- */
p.is-style-eyebrow, .is-style-eyebrow {
  font: 600 .8rem/1.5 var(--body) !important;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  display: flex;
  align-items: center;
}
.is-style-eyebrow::before {
  content: ''; flex: none; width: 17px; height: 6px; margin-right: 10px;
  background: linear-gradient(90deg, var(--grey) 6px, transparent 6px 11px, var(--grey) 11px);
}
p.is-style-lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; text-wrap: pretty; }
p.is-style-lead strong { color: var(--text); }

/* ---------- Boutons ---------- */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--body);
  padding: 16px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary, .wp-block-button__link { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover, .wp-block-button:not(.is-style-ghost) .wp-block-button__link:hover { background: #ffbc5e; transform: translateY(-1px); }
.wp-block-button:not(.is-style-ghost) .wp-block-button__link::after {
  content: ''; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-ghost, .is-style-ghost .wp-block-button__link { border-color: rgba(243, 238, 230, .28); color: var(--text); background: rgba(13, 12, 11, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover, .is-style-ghost .wp-block-button__link:hover { border-color: var(--text); transform: translateY(-1px); }
.wp-block-buttons { gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-solid, .has-solid-header .site-header {
  background: rgba(13, 12, 11, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.has-solid-header main { padding-top: var(--header); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header); }
.brand { display: block; flex: none; }
.brand img { display: block; width: 112px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 14px; border-radius: 999px; opacity: .86; }
.nav a:hover, .nav a[aria-current] { opacity: 1; background: rgba(243, 238, 230, .08); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600;
  padding: 8px 13px; border-radius: 999px;
  background: rgba(243, 238, 230, .08);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); }
.status.is-open::before { background: #49d17d; box-shadow: 0 0 0 4px rgba(73, 209, 125, .18); }
.status.is-happy { border-color: rgba(242, 169, 69, .5); }
.status.is-happy::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 169, 69, .2); }
.status:empty { display: none; }
.header-cta { padding: 12px 18px; display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .status { margin-left: auto; }
  .header-cta { display: inline-flex; }
  .page-carte .header-cta { display: none; }
}
@media (max-width: 420px) {
  .brand img { width: 92px; }
  .header-row { gap: 12px; }
  .status { font-size: .8rem; padding: 7px 11px; }
  .header-cta { padding: 11px 14px; font-size: .92rem; }
}

/* ---------- Contenu ---------- */
.entry-content > * { margin-block: 0; }
.entry-content > * + * { margin-block-start: 0; }
.entry-header { padding-block: 56px 8px; }

/* Mise en page « contrainte » de WordPress : les éléments plus étroits que la colonne (intro, grand titre)
   restent calés à gauche de la colonne de 1200 px au lieu d'être centrés */
.is-layout-constrained > p.is-style-lead,
.is-layout-constrained > h1,
.is-layout-constrained > .is-style-facts {
  margin-left: max(0px, (100% - var(--wp--style--global--content-size, 1200px)) / 2) !important;
  margin-right: auto !important;
}

/* Section : bloc Groupe pleine largeur */
.wp-block-group.is-style-section { padding-block: clamp(72px, 11vw, 140px); }
.wp-block-group.is-style-section + .wp-block-group.is-style-section { padding-top: 0; }
.is-style-section > h2 { margin-bottom: clamp(18px, 3vw, 38px); }
.is-style-section > p.is-style-lead { margin-top: 0; }

/* En-tête de page (ex. Menu) */
.wp-block-group.is-style-page-header { padding-block: 56px 28px; }
.is-style-page-header h1 { margin-block: 0; }

/* ---------- Héros : bloc Couverture ---------- */
.wp-block-cover.is-style-hero {
  min-height: min(100svh, 940px) !important;
  padding: 140px 0 clamp(48px, 8vw, 96px);
  align-items: flex-end;
  margin-block: 0;
}
.wp-block-cover.is-style-hero .wp-block-cover__image-background { object-position: 50% 40%; }
.wp-block-cover.is-style-hero .wp-block-cover__background {
  opacity: 1 !important;
  background:
    linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,.1) 30%, rgba(13,12,11,.55) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13,12,11,.7) 0%, rgba(13,12,11,0) 70%) !important;
}
.wp-block-cover.is-style-hero .wp-block-cover__inner-container { width: 100% !important; padding-inline: var(--gutter) !important; color: var(--text); }
.wp-block-cover.is-style-hero .wp-block-cover__inner-container > * { margin-block: 0; }
.wp-block-cover.is-style-hero h1 { font-size: clamp(3.4rem, 11vw, 8.6rem); max-width: 10ch; margin-top: 18px; }
.wp-block-cover.is-style-hero p.is-style-lead { color: #d9d2c7; margin-top: 18px; }
.wp-block-cover.is-style-hero .wp-block-buttons { margin-top: 32px; }
.wp-block-cover.is-style-hero ul.is-style-facts { margin-top: 40px; }

/* Infos clés (liste avec pictogrammes) */
ul.is-style-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 40px 0 0; padding: 0; list-style: none;
  font-size: .95rem; color: #d9d2c7;
}
.is-style-facts li { display: flex; align-items: center; gap: 10px; }
.is-style-facts li::before {
  content: ''; width: 18px; height: 18px; flex: none; background: var(--accent);
  -webkit-mask: var(--fact-icon) center / contain no-repeat; mask: var(--fact-icon) center / contain no-repeat;
  --fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-5.5 10.2-7.4 11.8a1 1 0 0 1-1.2 0C9.5 20.2 4 15 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.is-style-facts li:nth-child(2)::before {
  --fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}

/* ---------- Bandeau défilant : bloc Liste ---------- */
.bu-marquee, ul.is-style-marquee { border-block: 1px solid var(--line); background: var(--surface); }
.bu-marquee { overflow: hidden; }
ul.is-style-marquee { display: flex; flex-wrap: wrap; margin: 0; padding: 0 var(--gutter); list-style: none; }
.bu-marquee ul.is-style-marquee { flex-wrap: nowrap; width: max-content; padding: 0; border: 0; animation: bu-ticker 48s linear infinite; }
.is-style-marquee li {
  font: 700 clamp(1.1rem, 2.4vw, 1.5rem)/1 var(--display);
  letter-spacing: -.01em;
  padding: 22px 0;
  display: flex; align-items: center; white-space: nowrap;
}
.is-style-marquee li::after { content: ''; width: 9px; height: 9px; background: var(--grey); margin-inline: 28px; }
@keyframes bu-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .bu-marquee ul.is-style-marquee { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Soirées (bloc ACF) ---------- */
.events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.event {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; display: flex; flex-direction: column; min-height: 300px;
  transition: border-color .25s ease, transform .25s ease;
}
.event:hover { border-color: #4a443d; transform: translateY(-3px); }
.event-day { font: 800 clamp(2.6rem, 4.4vw, 3.4rem)/.9 var(--display); letter-spacing: -.04em; color: var(--accent); text-transform: lowercase; }
.event h3 { font-size: 1.55rem; margin-top: 40px; }
.event p { color: var(--muted); font-size: .97rem; margin: 0 0 18px; }
.event p.event-when { font-weight: 600; color: var(--text); opacity: .8; margin: 8px 0 10px; }
.event-next { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem !important; }
.event-next:empty { display: none; }
.event-next b { color: var(--text); font-weight: 600; }
@media (max-width: 1000px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .events { grid-template-columns: 1fr; }
  .event { min-height: 0; }
  .event h3 { margin-top: 24px; }
}

/* ---------- Encart ambré : bloc Média et texte ---------- */
.wp-block-media-text.is-style-accent {
  margin-top: 14px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--accent); color: var(--accent-ink);
}
.is-style-accent .wp-block-media-text__content { padding: clamp(28px, 4.5vw, 56px) !important; }
.is-style-accent .wp-block-media-text__content > * { margin-block: 0; }
.is-style-accent .wp-block-media-text__content > * + * { margin-top: 16px; }
.is-style-accent .is-style-eyebrow { color: rgba(26, 18, 6, .7); }
.is-style-accent .is-style-eyebrow::before { background: linear-gradient(90deg, rgba(26,18,6,.55) 6px, transparent 6px 11px, rgba(26,18,6,.55) 11px); }
.is-style-accent h2, .is-style-accent h3 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin-top: 6px !important; }
.is-style-accent .is-style-square::after { background: rgba(26, 18, 6, .45); }
.is-style-accent p { font-size: 1.08rem; max-width: 44ch; }
.is-style-accent .wp-block-media-text__media { min-height: 320px; align-self: stretch; }
.is-style-accent .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .is-style-accent .wp-block-media-text__media { min-height: 240px; } }

.wp-block-group.is-style-prices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px !important; }
.wp-block-group.is-style-price { background: rgba(26, 18, 6, .1); border-radius: 14px; padding: 14px 18px; min-width: 120px; }
.is-style-price > p { margin: 0 !important; max-width: none; }
.is-style-price > p:first-child { font: 800 2.2rem/1 var(--display) !important; letter-spacing: -.03em; }
.is-style-price > p + p { font-size: .9rem !important; font-weight: 600; margin-top: 4px !important; }

/* ---------- En-tête de section avec bouton ---------- */
.wp-block-group.is-layout-flex.section-split { justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-split > .wp-block-group > * { margin-block: 0; }
.section-split > .wp-block-group > * + * { margin-top: 18px; }

/* ---------- Aperçu du menu (bloc ACF) ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.teaser-cards { display: grid; gap: 14px; }
.tcard {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease;
}
.tcard:hover { border-color: #4a443d; background: var(--surface-2); }
.tcard-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); }
.tcard-icon .bu-icon { width: 26px; height: 26px; }
.tcard h3 { font-size: 1.3rem; letter-spacing: -.01em; }
.tcard p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.tcard-price { font: 700 1rem/1 var(--body); color: var(--accent); white-space: nowrap; }
.tcard-price small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; margin-bottom: 4px; text-align: right; }
.teaser-media { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 420px; margin: 0; }
.teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-media figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(13, 12, 11, .78); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 16px 18px; font-size: .95rem;
  display: flex; gap: 12px; align-items: center;
}
.teaser-media figcaption svg { width: 28px; height: 28px; color: var(--qc); flex: none; }
@media (max-width: 900px) {
  .teaser { grid-template-columns: 1fr; }
  .teaser-media { min-height: 340px; }
}
@media (max-width: 480px) {
  .tcard { grid-template-columns: auto 1fr; padding: 18px; }
  .tcard-icon { width: 44px; height: 44px; }
  .tcard-price { grid-column: 2; }
  .tcard-price small { display: inline; margin-right: 4px; }
}

/* ---------- Le bar : Colonnes + Galerie mosaïque ---------- */
.wp-block-columns.is-style-about { gap: clamp(32px, 6vw, 80px); align-items: center; margin: 0; }
.is-style-about .wp-block-column > * { margin-block: 0; }
.is-style-about .wp-block-column > * + * { margin-top: 18px; }
.is-style-about .wp-block-column > p:not([class]) { color: var(--muted); max-width: 46ch; }
.is-style-about .wp-block-column > p strong { color: var(--text); font-weight: 600; }
.is-style-about .wp-block-column > h2 { margin-bottom: 4px; }

.wp-block-gallery.is-style-mosaic {
  display: grid !important; grid-template-columns: 1.15fr 1fr; gap: 12px !important; margin: 0;
}
.wp-block-gallery.is-style-mosaic > figure.wp-block-image {
  width: auto !important; margin: 0 !important; border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--surface); display: block !important;
}
.wp-block-gallery.is-style-mosaic > figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; aspect-ratio: 1; transition: transform .6s ease; display: block; }
.wp-block-gallery.is-style-mosaic > figure.wp-block-image:hover img { transform: scale(1.03); }
.wp-block-gallery.is-style-mosaic > figure.wp-block-image:first-child { grid-row: span 2; min-height: 320px; }
.wp-block-gallery.is-style-mosaic > figure.wp-block-image:first-child img { position: absolute; inset: 0; aspect-ratio: auto; }
.wp-block-gallery.is-style-mosaic figure.wp-block-image figcaption {
  position: absolute; left: 12px; bottom: 12px; right: auto; top: auto; width: auto; max-height: none;
  margin: 0; padding: 6px 11px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--text); text-align: left;
  background: rgba(13, 12, 11, .72) !important; backdrop-filter: blur(6px);
}
.wp-block-gallery.is-style-mosaic figure.wp-block-image figcaption::before { display: none; }

/* ---------- Infos pratiques (bloc ACF) ---------- */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.info h3 { font: 600 1.05rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.info address { font-style: normal; font: 700 1.6rem/1.2 var(--display); letter-spacing: -.015em; }
.info address span { display: block; color: var(--muted); font: 400 1rem/1.5 var(--body); letter-spacing: 0; margin-top: 6px; }
.info .btn { margin-top: 22px; }
.map { display: block; position: relative; margin-top: 22px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 420; object-fit: cover; transition: transform .5s ease; }
.map:hover img { transform: scale(1.04); }
.map small { position: absolute; right: 6px; bottom: 4px; font-size: .68rem; color: var(--muted); background: rgba(13, 12, 11, .7); padding: 1px 6px; border-radius: 4px; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th { text-align: left; font-weight: 500; padding: 7px 0; color: var(--muted); }
.hours td { text-align: right; padding: 7px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr > * { border-top: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 11px 0; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.contact-list .bu-icon { width: 20px; height: 20px; color: var(--accent); }
@media (max-width: 960px) { .infos { grid-template-columns: 1fr 1fr; } .infos .info:first-child { grid-column: span 2; } }
@media (max-width: 640px) { .infos { grid-template-columns: 1fr; } .infos .info:first-child { grid-column: auto; } }

/* ---------- Carte complète (bloc ACF) ---------- */
.menu-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 22px; font-size: .92rem; color: var(--muted); }
.menu-legend span { display: inline-flex; align-items: center; gap: 8px; }
.menu-legend svg { width: 20px; height: 20px; color: var(--qc); }
.carte .menu-bar {
  position: sticky; top: var(--header); z-index: 40;
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%);
  background: rgba(13, 12, 11, .92); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.admin-bar .carte .menu-bar { top: calc(var(--header) + 32px); }
.menu-bar-row { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.chips { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; text-decoration: none; font-weight: 600; font-size: .94rem;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  transition: color .2s, background-color .2s, border-color .2s;
}
.chips a:hover { color: var(--text); border-color: #4a443d; }
.chips a.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.qc-toggle { flex: none; display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; cursor: pointer; user-select: none; }
.qc-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.qc-toggle .track { width: 42px; height: 24px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); position: relative; transition: background-color .2s; }
.qc-toggle .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background-color .2s; }
.qc-toggle input:checked + .track { background: rgba(91, 149, 255, .25); border-color: var(--qc); }
.qc-toggle input:checked + .track::after { transform: translateX(18px); background: var(--qc); }
.qc-toggle input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 3px; }
.qc-toggle .label { display: inline-flex; gap: 8px; align-items: center; }
.qc-toggle svg { width: 18px; height: 18px; color: var(--qc); }
@media (max-width: 640px) {
  .menu-bar-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .qc-toggle { justify-content: space-between; flex-direction: row-reverse; }
  .qc-toggle .label { margin-right: auto; }
}

.menu-cat { padding-top: clamp(48px, 7vw, 80px); }
.menu-cat > h2 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin-bottom: 28px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.menu-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 20px; }
.menu-sec.is-wide { grid-column: 1 / -1; }
.menu-sec.is-wide tbody { columns: 2; column-gap: 48px; display: block; }
.menu-sec.is-wide tbody tr { display: grid; grid-template-columns: 1fr auto; break-inside: avoid; }
.menu-sec .sub { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.menu-sec table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.menu-sec thead th { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; padding: 0 0 8px 14px; white-space: nowrap; vertical-align: bottom; }
.menu-sec thead th:first-child { text-align: left; padding-left: 0; }
.menu-sec tbody th { text-align: left; font-weight: 600; padding: 11px 0; vertical-align: top; }
.menu-sec tbody td { text-align: right; padding: 11px 0 11px 14px; vertical-align: top; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.menu-sec tbody td.na { color: #57514a; font-weight: 400; }
.menu-sec tbody tr > * { border-top: 1px solid var(--line); }
.menu-sec .item-desc { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; line-height: 1.45; margin-top: 2px; }
.menu-sec .note { margin: 14px 0 4px; font-size: .9rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; }
.qc { display: inline-block; width: 1.05em; height: 1.05em; color: var(--qc); vertical-align: -.16em; margin-left: 6px; }
.nw { white-space: nowrap; }
@media (max-width: 860px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-sec.is-wide tbody { columns: 1; }
}
@media (max-width: 480px) {
  .menu-sec { padding: 22px 18px 16px; }
  .menu-sec thead th { white-space: normal; padding-left: 10px; }
  .menu-sec tbody td { padding-left: 10px; }
}

/* Filtre « produits québécois » */
body.only-qc .carte tbody tr:not(.is-qc) { display: none; }
body.only-qc .carte .menu-sec:not(:has(tr.is-qc)) { display: none; }
body.only-qc .carte .menu-cat:not(:has(tr.is-qc)) { display: none; }

/* Fin de page du menu */
.wp-block-group.menu-end { padding-block: 64px 24px; text-align: center; }
.menu-end h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
.menu-end p { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }

/* ---------- Contenu éditorial générique ---------- */
.entry-content p:not([class]) a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.entry-content > .wp-block-paragraph, .entry-content > p, .entry-content > ul, .entry-content > h2, .entry-content > h3 { margin-top: 1.2em; }
.post-list { display: grid; gap: 14px; padding-bottom: 80px; }
.post-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.post-item h2 { font-size: 1.6rem; }
.post-item h2 a { text-decoration: none; }
.post-date { color: var(--muted); font-size: .9rem; }
.bu-empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; color: var(--muted); font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; justify-content: space-between; }
.footer-brand img { display: block; width: 130px; height: auto; }
.footer-brand p { margin: 14px 0 0; font: 700 1.25rem/1.2 var(--display); color: var(--text); letter-spacing: -.01em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-meta { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
.footer-meta a { color: var(--text); text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.notfound h1 { font-size: clamp(3rem, 10vw, 7rem); margin-top: 18px; }
.notfound .is-style-lead { margin: 18px auto 0; }
.notfound .is-style-eyebrow { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }

/* ---------- Apparition au défilement (seulement si JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
