/*
 Theme Name:   Le Croissant Fertile
 Theme URI:    https://www.lecroissantfertile.fr
 Description:  Thème sur mesure — ferme bio, pain au levain, Mornant (69).
 Author:       Arthur Pacaud
 Author URI:   mailto:arthurpacaud04@gmail.com
 Template:     kadence
 Version:      1.1.0
 License:      Proprietary
 Text Domain:  croissant-fertile
*/

/* ============================================
   Le Croissant Fertile — Design System
   Last refactor: Avril 2026 — Arthur Pacaud
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* Kill Kadence/Gutenberg editor artifacts on frontend */
body:not(.wp-admin) .entry-content [data-align],
body:not(.wp-admin) .wp-block-group,
body:not(.wp-admin) .wp-block-cover,
body:not(.wp-admin) [style*="resize"]:not(textarea) {
  resize: none !important;
  outline: none !important;
}
body:not(.wp-admin) .has-global-padding,
body:not(.wp-admin) .wp-block-post-content,
body:not(.wp-admin) .entry-content-wrap {
  border: none !important;
  outline: none !important;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette terroir */
  --color-ble:        #B8860B;
  --color-ble-light:  #D4A843;
  --color-ble-soft:   rgba(184, 134, 11, 0.12);
  --color-sauge:      #6B8F5B;
  --color-sauge-dark: #4A6B3A;
  --color-terra:      #B85C38;
  --color-terra-soft: rgba(184, 92, 56, 0.10);

  /* Neutres chauds */
  --bg-cream:         #FAF6F0;
  --bg-warm:          #F2EDE4;
  --bg-card:          #FFFDF8;
  --bg-dark:          #2C2416;

  /* Texte */
  --text-dark:        #2C2416;
  --text-body:        #4A3F32;
  --text-muted:       #8B7D6B;
  --text-light:       #B8A992;
  --text-on-dark:     #FAF6F0;

  /* Borders */
  --border-light:     #E8E0D4;
  --border-medium:    #D4C9B8;

  /* Typography */
  --font-display:     'DM Serif Display', Georgia, serif;
  --font-body:        'Source Sans 3', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Container */
  --container-max:    1200px;
  --container-narrow: 800px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-ble); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-terra); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 400;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--space-sm); max-width: 65ch; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--color-ble); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--space-2xl) 0;
}
.section--warm { background: var(--bg-warm); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }

/* --- Navigation ---
   Solid cream bg matches the logo PNG bg (no transparency, no white halo around logo). */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-cream);
  background-color: var(--bg-cream);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s;
}
/* Kill any inherited bg around the logo image (Kadence wraps it in extra divs sometimes) */
.nav__logo,
.nav__logo a,
.nav__logo-img {
  background: transparent !important;
  background-color: transparent !important;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.3rem var(--space-sm) 0.3rem var(--space-xs);
  min-height: 52px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 901px) {
  .nav__logo { margin-right: var(--space-lg); }
  /* Visual recentering — the wheat icon at the bottom of the logo image
     drags the perceived centre below the menu items baseline. Lift slightly. */
  .nav__logo-img { transform: translateY(-3px); }
}
/* !important needed: Kadence injects image sizes on some pages */
.nav__logo-img {
  height: 52px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block;
  /* Transparent PNG — no blend mode needed */
}
.nav__logo-text { display: none; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
}
.nav__links a {
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--color-ble);
  border-bottom-color: var(--color-ble);
}
.nav__item > a {
  display: flex;
  align-items: center;
  height: 60px;
}
/* CTA as small icon link on desktop — high specificity to beat .nav__links a */
.nav__links .nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  color: var(--text-dark);
  padding: 0.3rem;
  border-radius: 0;
  border-bottom: none;
  font-weight: 600;
  font-size: 0.75rem;
  height: auto;
  align-self: center;
  text-transform: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav__links .nav__cta:hover { opacity: 1; color: var(--color-ble); background: none; }
.nav__cta .nav__cta-text { display: none; }
/* Cart icon */
.nav__cart-item { list-style: none; }
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}
.nav__cart:hover { background: var(--color-ble-soft); color: var(--color-ble); }
.nav__cart-count {
  position: absolute;
  top: 0; right: 0;
  background: var(--color-terra);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(250, 246, 240, 0.95);
  transition: transform 0.2s ease, opacity 0.15s;
  transform-origin: center;
}
.nav__cart-count[hidden] { display: none !important; }
.nav__cart-count.is-updated { animation: cart-bump 0.45s ease; }
@keyframes cart-bump {
  0% { transform: scale(1); }
  45% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
/* Mobile nav actions (hidden on desktop) */
.nav__actions-mobile { display: none; align-items: center; gap: 0.5rem; }
/* !important needed: Kadence styles all <button> with blue background */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  gap: 0;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: transform 0.3s, opacity 0.2s;
  transform-origin: center;
  border-radius: 1px;
}

/* --- Nav Dropdown --- */
.nav__item {
  position: relative;
}
.has-dropdown {
  position: relative;
}
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(44, 36, 22, 0.12), 0 2px 8px rgba(44, 36, 22, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.3s;
  z-index: 200;
  pointer-events: none;
  margin-top: 0;
  padding-top: 12px;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}
/* Dropdown only triggers on hover for devices that support hover (desktop w/ mouse).
   On touch (iPad, phone), the first tap = hover-activate = dropdown opens + user often
   re-taps the item just below ("Le jardin-forêt"), causing accidental navigation.
   We fall back to focus-within (keyboard) + the mobile overlay menu for touch. */
@media (hover: hover) and (pointer: fine) {
  .nav__item.has-dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
  }
}
.nav__item.has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
}
.nav__dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-body);
  border-bottom: none;
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown a:hover {
  background: var(--bg-warm);
  color: var(--color-ble);
}
.nav__links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  transition: transform 0.2s;
}
.nav__links .has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* ============================================================
   Nav — desktop polish: scroll elevation, CTA pill, refined hover
   ============================================================ */

/* Subtle elevation when user scrolls past the top */
.nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(184, 134, 11, 0.08), 0 8px 24px rgba(44, 36, 22, 0.08);
  border-bottom-color: transparent;
}

/* Refined hover on top-level items — soft ble background pill
   (exclude .nav__item--cta to avoid overriding the gold Commander pill) */
@media (min-width: 901px) {
  .nav__links > .nav__item:not(.nav__item--cta) > a {
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border-bottom: none;
    transition: background 0.2s, color 0.2s;
    height: auto;
  }
  .nav__links > .nav__item:not(.nav__item--cta) > a:hover {
    background: rgba(184, 134, 11, 0.08);
    color: var(--color-ble);
    border-bottom-color: transparent;
  }
  .nav__links > .nav__item:not(.nav__item--cta) > a[aria-current="page"] {
    background: rgba(184, 134, 11, 0.12);
    color: var(--color-ble);
    border-bottom-color: transparent;
  }
  /* Caret aligns mid-line — tighten its margin */
  .nav__links .has-dropdown > a::after { margin-left: 6px; }
}

/* ============================================================
   CTA pill — "Commander" minimal gold pill, matches nav items
   ============================================================
   Idle    : soft gold tint bg + thin gold border, gold text
   Hover   : tint deepens slightly
   Active  : pressed inset + filled
   Selected: filled gold (same as filled hover but persistent)
   Same SIZE & padding as other nav items — visually uniform.
   ============================================================ */
/* CTA pill — minimal, exact same dims as CONTACT, just a fine gold border for cue */
.nav__links .nav__cta-pill {
  display: inline-block !important;
  background: rgba(184, 134, 11, 0.10) !important;
  color: var(--color-ble) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  padding: 0.45rem 0.7rem !important;
  border: 1px solid rgba(184, 134, 11, 0.45) !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  height: auto !important;
  vertical-align: middle !important;
}
/* Defensive : kill any inherited gap, icon space, before/after pseudos */
.nav__links .nav__cta-pill::before,
.nav__links .nav__cta-pill::after { display: none !important; content: none !important; }
.nav__links .nav__cta-pill svg,
.nav__links .nav__cta-pill img { display: none !important; }

/* HOVER — tint deepens, border firms up */
.nav__links .nav__cta-pill:hover {
  background: rgba(184, 134, 11, 0.20) !important;
  color: var(--color-ble) !important;
  border-color: var(--color-ble) !important;
}

/* SELECTED (on /boutique/) — solid gold, white text */
.nav__links .nav__cta-pill[aria-current="page"] {
  background: var(--color-ble) !important;
  color: #fff !important;
  border-color: var(--color-ble) !important;
}
.nav__links .nav__cta-pill[aria-current="page"]:hover {
  background: #8B6508 !important;
  border-color: #8B6508 !important;
}

/* ACTIVE (mouse press) — solid gold flash */
.nav__links .nav__cta-pill:active {
  background: var(--color-ble) !important;
  color: #fff !important;
  border-color: var(--color-ble) !important;
}

/* FOCUS — kill default outline, gold ring */
.nav__links .nav__cta-pill:focus { outline: none !important; }
.nav__links .nav__cta-pill:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.30) !important;
}

/* Hide CTA on mobile (already in overlay footer) */
@media (max-width: 900px) {
  .nav__item--cta { display: none !important; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
  background: var(--bg-dark); /* fallback if .hero__bg image fails or loads slowly */
}
.hero--page {
  min-height: 50vh;
}
.hero--page .hero__bg {
  filter: brightness(0.72);
}
.hero--half {
  min-height: 50vh;
}
.hero--half .hero__bg {
  filter: brightness(0.72);
}
.page-offset { padding-top: 80px; }
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.72);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-on-dark);
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
}
.hero__content h1 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-md);
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 4px 20px rgba(0,0,0,0.5);
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--text-on-dark);
  letter-spacing: -0.005em;
  line-height: 1.02;
  margin: 0 auto 1.4rem;
  text-shadow: 0 3px 14px rgba(0,0,0,0.85), 0 6px 32px rgba(0,0,0,0.55);
  text-align: center;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(250, 246, 240, 0.94);
  margin: 0 auto 1.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.72);
  line-height: 1.35;
  text-align: center;
  max-width: 26ch;
}
.hero__subtitle, .hero__content p {
  text-shadow: 0 1px 4px rgba(0,0,0,0.72);
}
.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(250, 246, 240, 0.88);
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: 58ch;
}
.hero .btn-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}
.hero .btn {
  font-size: 0.95rem;
  padding: 0.95rem 1.8rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.hero .btn--primary {
  background: var(--color-ble);
  color: #fff;
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35), 0 2px 4px rgba(0,0,0,0.15);
}
.hero .btn--primary:hover {
  background: var(--color-terra);
  box-shadow: 0 10px 30px rgba(184, 92, 56, 0.4);
  transform: translateY(-2px);
}
.hero .btn--secondary {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1.5px solid rgba(250, 246, 240, 0.7);
  backdrop-filter: blur(8px);
}
.hero .btn--secondary:hover {
  background: rgba(250, 246, 240, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}
.hero__sub {
  margin-left: auto;
  margin-right: auto;
}
.hero__badges {
  justify-content: center;
}
.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ble-light);
  border: 1px solid rgba(212, 168, 67, 0.4);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn--primary {
  background: var(--color-ble);
  color: var(--bg-cream);
}
.btn--primary:hover {
  background: var(--color-terra);
  color: var(--bg-cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 92, 56, 0.25);
}
.btn--secondary {
  background: transparent;
  color: var(--bg-cream);
  border: 1.5px solid rgba(250, 246, 240, 0.5);
}
.btn--secondary:hover {
  background: rgba(250, 246, 240, 0.1);
  border-color: var(--bg-cream);
  color: var(--bg-cream);
}
.btn--outline {
  background: transparent;
  color: var(--color-ble);
  border: 1.5px solid var(--color-ble);
}
.btn--outline:hover {
  background: var(--color-ble);
  color: var(--bg-cream);
}
.btn--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.btn--dark:hover { background: var(--text-body); }
.btn-group { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 36, 22, 0.08), 0 2px 8px rgba(184, 134, 11, 0.06);
}
.card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.card__body { padding: var(--space-md); }
.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sauge-dark);
  background: rgba(107, 143, 91, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: var(--space-xs);
}

/* --- Grids --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* --- Pillars (homepage blocks) --- */
.pillar {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.pillar__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.pillar:hover .pillar__bg { transform: scale(1.05); }
.pillar__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,22,0.85) 0%, rgba(44,36,22,0.2) 60%, transparent 100%);
}
.pillar__content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
  color: var(--text-on-dark);
}
.pillar__content h3 { color: var(--text-on-dark); margin-bottom: var(--space-xs); }
.pillar__content p { color: rgba(250,246,240,0.75); font-size: 0.95rem; margin-bottom: var(--space-sm); }

/* --- Testimonials --- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-lg);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  line-height: 1;
  color: var(--color-ble);
  opacity: 0.2;
}
.testimonial__text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: var(--text-body);
}
.testimonial__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.testimonial__source {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Section headers --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}
.section-header__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ble);
  margin-bottom: var(--space-xs);
}
.section-header p {
  color: var(--text-muted);
  margin: 0 auto;
}

/* --- Product card (pains) --- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}
.product__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.product__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product__price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-ble);
  margin-bottom: var(--space-xs);
}
.product__price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* --- Form elements --- */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-ble);
  box-shadow: 0 0 0 3px var(--color-ble-soft);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* --- Order summary --- */
.order-summary {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-lg);
}
.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.order-summary__row:last-child { border-bottom: none; }
.order-summary__total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  padding-top: var(--space-sm);
  margin-top: var(--space-xs);
  border-top: 2px solid var(--color-ble);
}

/* --- Stage cards --- */
.stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.stage-card__header {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-md);
}
.stage-card__date {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-ble-light);
}
.stage-card__body { padding: var(--space-md); }
.stage-card__meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.stage-card__meta strong { color: var(--text-dark); }
.stage-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ble);
}

/* --- Map placeholder --- */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--bg-warm);
  border: 2px dashed var(--border-medium);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background: #231c12;
  color: var(--text-on-dark);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(184, 134, 11, 0.25);
  position: relative;
  overflow: hidden;
}
/* Compact spacing — slim footer */
/* NUCLEAR centering — flex column + width 100% on children to defeat
   any cascade override (Kadence parent CSS, inline-block content-width, etc.) */
.footer__newsletter {
  padding: var(--space-md) 0 !important;
  margin: var(--space-sm) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.footer__newsletter > * {
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.footer__newsletter > form {
  max-width: 420px !important;
}
.footer__newsletter-heading,
.footer__newsletter p {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}
.footer__grid { margin-bottom: var(--space-md) !important; }
.footer::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  background: url('assets/map-france.svg') no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
  filter: saturate(0) brightness(5);
  mix-blend-mode: soft-light;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  align-items: start;
}
.footer__grid > div {
  padding-top: 0;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
}
.footer__logo span { color: var(--color-ble-light); }
.footer p { color: rgba(250,246,240,0.6); font-size: 0.9rem; }
.footer h4,
.footer .footer__heading {
  color: var(--text-on-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 700;
}
/* !important needed: Kadence parent forces link colors */
.footer__links {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a { color: rgba(250,246,240,0.6) !important; font-size: 0.9rem; text-decoration: none; }
.footer__links a:hover { color: var(--color-ble-light) !important; }
.footer a { color: rgba(250,246,240,0.6) !important; text-decoration: none; }
.footer a:hover { color: var(--color-ble-light) !important; }
.footer__bottom a { color: rgba(250,246,240,0.4) !important; }
.footer__bottom a:hover { color: rgba(250,246,240,0.7) !important; }
.footer__bottom {
  border-top: 1px solid rgba(250,246,240,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(250,246,240,0.4);
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--color-ble);
  border-radius: 2px;
  margin: var(--space-md) auto;
}

/* --- Broken image placeholder --- */
img:not([src]),
img[src=""] {
  visibility: hidden;
}
img {
  background: var(--bg-warm);
}

/* --- Utils --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }


/* ============================================
   WordPress & Kadence Overrides
   !important required: Kadence parent uses high specificity
   ============================================ */
.site { background: var(--bg-cream) !important; }
.site-header { background: transparent !important; border: none !important; }
.entry-content-wrap { padding: 0 !important; max-width: none !important; }
.content-wrap { padding: 0 !important; }
.site-main { padding: 0 !important; }

body.home .site-header { display: none; }
body.home .entry-hero-section-overlay,
body.home .entry-header,
body.home .wp-block-post-title { display: none; }

body:not(.home) .site-header { display: block; }
body:not(.home):not([class*="lcf-"]):not(.page-template-front-page) .site-main { padding-top: 80px !important; }


/* ============================================
   WooCommerce Overrides (consolidated)
   !important required: WC uses very high specificity
   ============================================ */

/* Product cards in shop */
.woocommerce ul.products li.product {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 0 !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 36, 22, 0.08);
}
.woocommerce ul.products li.product a img {
  border-radius: 0;
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  color: var(--text-dark);
  padding: 0 var(--space-md);
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-display) !important;
  color: var(--color-ble) !important;
  font-size: 1.4rem;
  padding: 0 var(--space-md);
}
.woocommerce ul.products li.product .button {
  margin: var(--space-sm) var(--space-md) var(--space-md) !important;
  background: var(--color-ble) !important;
  color: var(--bg-cream) !important;
  border-radius: 6px !important;
  font-weight: 600;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--color-terra) !important;
}

/* All WooCommerce buttons (consolidated) */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--color-ble) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  text-transform: none !important;
  text-align: center;
  display: inline-block;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--color-terra) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 92, 56, 0.25) !important;
}
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--color-ble) !important;
}
.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover {
  background: var(--color-terra) !important;
}

/* All WooCommerce form inputs (consolidated) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  border: 1px solid var(--border-medium) !important;
  border-radius: 8px !important;
  padding: 0.7rem 0.9rem !important;
  font-family: var(--font-body) !important;
  background: var(--bg-card) !important;
  color: var(--text-body);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--color-ble) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--color-ble-soft) !important;
}

/* WooCommerce checkout labels */
.woocommerce-checkout .form-row label,
.woocommerce-cart .cart-collaterals label {
  font-family: var(--font-body) !important;
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}
.woocommerce-checkout .form-row {
  margin-bottom: var(--space-sm) !important;
}
.woocommerce-checkout h3,
.woocommerce-cart h2 {
  font-family: var(--font-display) !important;
  color: var(--text-dark) !important;
}
/* Hide confusing billing title for pickup model */
.woocommerce-billing-fields > h3 {
  display: none !important;
}

/* WPForms */
.wpforms-container .wpforms-form button[type="submit"] {
  background: var(--color-ble) !important;
  border-radius: 6px !important;
  font-family: var(--font-body) !important;
  font-weight: 600;
}

/* WooCommerce pages (panier, commande) */
.woocommerce-page .site {
  background: var(--bg-cream) !important;
}
.woocommerce-page .site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) !important;
}
.woocommerce-page .entry-title,
.woocommerce-page h1.wp-block-post-title {
  font-family: var(--font-display);
  color: var(--text-dark);
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* WC Block cart & checkout */
.wc-block-cart,
.wc-block-checkout {
  font-family: var(--font-body) !important;
  color: var(--text-body) !important;
}
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-cart .wc-block-components-button {
  background: var(--color-ble) !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background 0.2s !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
  background: var(--color-terra) !important;
}
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .components-combobox-control input {
  border-color: var(--border-light) !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .components-combobox-control input:focus {
  border-color: var(--color-ble) !important;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15) !important;
}

/* Classic WC table (cart) */
.woocommerce table.shop_table {
  border-color: var(--border-light) !important;
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-body);
}
.woocommerce table.shop_table th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-warm);
  border-color: var(--border-light) !important;
}
.woocommerce table.shop_table td {
  border-color: var(--border-light) !important;
  color: var(--text-body);
}
.woocommerce .quantity .qty {
  border-radius: 6px;
  border-color: var(--border-light);
  font-family: var(--font-body);
}

/* Cart page specifics */
.woocommerce-cart table.cart {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.woocommerce-cart table.cart td {
  border-bottom: 1px solid var(--border-light) !important;
  padding: var(--space-sm) !important;
  vertical-align: middle !important;
}
.woocommerce-cart table.cart th {
  font-family: var(--font-display) !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--text-muted) !important;
  border-bottom: 2px solid var(--border-medium) !important;
  padding: var(--space-sm) !important;
}
.woocommerce-cart .cart_item img {
  border-radius: 8px !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
}
.woocommerce-cart .cart-collaterals {
  margin-top: var(--space-lg) !important;
  padding: var(--space-lg) !important;
  background: var(--bg-warm) !important;
  border-radius: 12px !important;
  border: 1px solid var(--border-light) !important;
}
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100% !important;
  float: none !important;
}
.woocommerce-cart .cart-collaterals .cart_totals table {
  margin-bottom: var(--space-md) !important;
}
.woocommerce-cart .wc-proceed-to-checkout {
  padding-top: var(--space-sm) !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  text-align: center !important;
  padding: 1rem 2rem !important;
  font-size: 1.05rem !important;
  border-radius: 8px !important;
}
.woocommerce-cart .quantity .qty {
  width: 60px !important;
  text-align: center !important;
  padding: 0.4rem !important;
}
.woocommerce-cart .coupon {
  display: flex !important;
  gap: var(--space-sm) !important;
  align-items: center !important;
  margin-top: var(--space-md) !important;
}
.woocommerce-cart .coupon input {
  max-width: 200px !important;
}
.woocommerce-cart .actions {
  padding: var(--space-md) 0 !important;
  border-top: 1px solid var(--border-light) !important;
  margin-top: var(--space-sm) !important;
}
.woocommerce-cart .actions .button {
  font-size: 0.85rem !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 6px !important;
}
.woocommerce-cart .actions .button[disabled] {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}
.woocommerce-cart .actions .button:not([disabled]) {
  opacity: 1 !important;
  cursor: pointer !important;
}

/* Checkout specifics */
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-review-order {
  margin-bottom: var(--space-lg) !important;
}
.woocommerce-checkout #payment {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 12px !important;
  padding: var(--space-lg) !important;
  margin-top: var(--space-md) !important;
}
.woocommerce-checkout #payment .payment_methods {
  border-bottom: 1px solid var(--border-light) !important;
}
.woocommerce-checkout #payment .payment_methods li {
  border-bottom: 1px solid var(--border-light) !important;
  padding: var(--space-sm) var(--space-md) !important;
}
.woocommerce-checkout #payment .place-order {
  padding-top: var(--space-md) !important;
}
.woocommerce #place_order {
  font-size: 1.1rem !important;
  padding: 1rem 2rem !important;
  width: 100%;
  margin-top: var(--space-md) !important;
}

/* Checkout review order table */
.woocommerce-checkout-review-order-table {
  border-collapse: collapse !important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.6rem 0.8rem !important;
  border-bottom: 1px solid var(--border-light) !important;
  font-size: 0.9rem !important;
}
.woocommerce-checkout-review-order-table .order-total td {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  color: var(--color-ble) !important;
}

/* Stripe payment form */
#stripe-payment-data,
.wc-stripe-elements-field,
.wc-stripe-elements-field iframe {
  border-radius: 8px !important;
  border: 1px solid var(--border-medium) !important;
  padding: 0.7rem 0.9rem !important;
}

/* Hide Stripe TEST MODE badge (visible only in test environment) */
.wc_payment_method.payment_method_stripe .payment_box::before,
.payment_method_stripe > label::after,
.wc-stripe-gateway-test-mode-message,
.wc-stripe-test-mode-badge,
.wc-stripe-test-mode-notice,
.woocommerce-SavedPaymentMethods-tokenInput + label .test-mode {
  display: none !important;
}
.StripeElement,
.wc-stripe-elements-field,
#stripe-card-element,
#stripe-payment-data .wc-stripe-elements-field,
.payment_method_stripe .wc-stripe-elements-field {
  border: 1px solid var(--border-medium) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.StripeElement--focus,
.wc-stripe-elements-field.focused,
.wc-stripe-elements-field:focus-within,
#stripe-card-element:focus-within {
  border-color: var(--color-ble) !important;
  box-shadow: 0 0 0 3px var(--color-ble-soft) !important;
  outline: none !important;
}

/* Pickup location field */
.lcf-pickup-field {
  background: var(--bg-warm) !important;
  border-radius: 12px !important;
  padding: var(--space-md) !important;
  margin: var(--space-md) 0;
  border: 1px solid var(--border-light) !important;
}
.lcf-pickup-field h3 {
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
}

/* WooCommerce notices (consolidated) */
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner.is-success {
  background: var(--bg-warm) !important;
  border-top-color: var(--color-ble) !important;
  color: var(--text-body) !important;
  font-family: var(--font-body) !important;
  border-radius: 8px !important;
}
.woocommerce-message {
  border-top-color: var(--color-sauge) !important;
}
.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  background: rgba(184,92,56,0.08) !important;
  border-top-color: var(--color-terra) !important;
  border-radius: 8px !important;
}
.woocommerce-info {
  border-color: var(--color-ble) !important;
  background: var(--color-ble-soft) !important;
}
.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--color-ble) !important;
  color: white !important;
}

/* Privacy policy text */
.woocommerce-privacy-policy-text {
  margin-top: var(--space-md) !important;
  margin-bottom: var(--space-md) !important;
}
.woocommerce-privacy-policy-text p {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  padding: var(--space-sm) 0 !important;
}

/* Order received / thank you page */
.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: var(--font-display) !important;
  font-size: 1.3rem !important;
  color: var(--color-sauge-dark) !important;
  text-align: center !important;
  padding: var(--space-lg) !important;
  background: rgba(107,143,91,0.08) !important;
  border-radius: 12px !important;
}


/* ============================================
   Notre histoire — hero image position
   ============================================ */
.page-template-page-notre-histoire .hero__bg,
body.lcf-histoire .hero__bg {
  background-position: center 25% !important;
}


/* ============================================
   Global Form Styling
   !important required: overrides WP/Kadence/WC default form styles
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  padding: 0.7rem 0.9rem !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: 8px !important;
  background: var(--bg-card) !important;
  color: var(--text-body) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  width: 100%;
  box-sizing: border-box;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-ble) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--color-ble-soft) !important;
}
label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: block;
}


/* ============================================
   Global Safety Nets
   ============================================ */

/* Event content area images */
.event-content-area img,
.entry-content img,
.wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
}

/* Prevent inline-styled images from overflowing.
   Scoped with :not([style*="height"]) so images that explicitly set height
   (e.g. twin photo grids using height:320px object-fit:cover) keep their layout. */
img[style*="width"]:not([style*="height"]) {
  max-width: 100% !important;
  height: auto !important;
}


/* ============================================
   RESPONSIVE — Consolidated
   4 breakpoints, 1 block each
   ============================================ */

/* ── 1024px — Tablet landscape / nav breakpoint ── */
@media (max-width: 1024px) {

  /* Grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr !important; gap: var(--space-lg) !important; }
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }

  /* Footer inline override (pages with inline grid styles) */
  [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-lg) !important;
  }

  /* Lock scroll when nav overlay is open */
  body.nav-open { overflow: hidden !important; }

  /* FIX : .nav has position:fixed + z-index:100 + backdrop-filter = stacking context,
     which caps .nav__links (local z 9999) at root layer 100 — below body::after scrim
     at z 9998. When nav opens we raise .nav above the scrim and make its bar transparent
     so the scrim shows through behind. */
  body.nav-open .nav {
    z-index: 10002 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
  }

  /* Show mobile actions (cart + burger) */
  .nav__actions-mobile { display: flex !important; z-index: 10001; position: relative; }
  /* Hide section-nav when burger menu is open */
  body.nav-open .section-nav { display: none !important; }
  /* Hide floating cart when burger menu is open */
  body.nav-open .floating-cart { display: none !important; }
  .nav__cart-item { display: none !important; }

  /* Hide mobile actions bar when overlay is open — close btn is inside overlay */
  body.nav-open .nav__actions-mobile { opacity: 0; pointer-events: none; }

  /* Kadence override: kill blue bg on all buttons in nav area */
  .nav button,
  .nav__actions-mobile button {
    background: none !important;
    background-color: transparent !important;
  }

  /* ── Hamburger — refined 3 bars ── */
  .nav__toggle {
    display: flex !important;
    z-index: 10000;
    position: relative;
    width: 44px;
    height: 44px;
  }
  .nav__toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, width 0.3s ease;
    border-radius: 2px;
  }
  /* Stagger widths: 24 / 18 / 22 for a crafted asymmetry */
  .nav__toggle span:nth-child(2) { width: 18px; }
  .nav__toggle span:nth-child(3) { width: 22px; }
  /* X morph when open */
  .nav__toggle.is-active span:nth-child(1) {
    width: 24px;
    transform: translateY(5px) rotate(45deg);
    background: var(--text-on-dark);
  }
  .nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav__toggle.is-active span:nth-child(3) {
    width: 24px;
    transform: translateY(-5px) rotate(-45deg);
    background: var(--text-on-dark);
  }

  /* Hide ALL dropdowns by default on mobile */
  .nav__dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    min-width: auto !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ── Nav mobile — slide-in overlay depuis droite ── */
  .nav__links {
    display: block !important;      /* always in DOM for animation */
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: #1e180f;            /* slightly lighter than --bg-dark for depth */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    z-index: 9999;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    margin: 0;
    /* Slide from right — hidden state */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0s linear 0.35s;
    /* Subtle left edge shadow */
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  }
  .nav__links.is-open {
    display: block !important;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0s linear 0s;
  }

  /* ── Overlay backdrop (dark scrim left of panel) ── */
  .nav__links::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    transition: background 0.35s ease;
    pointer-events: none;
  }
  .nav__links.is-open::before {
    /* We handle the scrim via body::after instead — see below */
    display: none;
  }

  /* Scrim behind the panel */
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: scrimIn 0.3s ease forwards;
  }
  @keyframes scrimIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ── Overlay header — logo + close ── */
  .nav__overlay-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(250, 246, 240, 0.08);
    width: 100%;
    position: sticky;
    top: 0;
    background: #1e180f;
    z-index: 1;
  }
  /* Mobile overlay "Accueil" link — sits on the left of the header row */
  .nav__overlay-home {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: var(--text-on-dark) !important;
    text-transform: none !important;
    letter-spacing: 0.01em;
    padding: 0 !important;
    border: none !important;
    text-decoration: none;
    line-height: 1.2;
  }
  .nav__overlay-home:hover { color: var(--color-ble) !important; }

  .nav__overlay-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #faf6f0;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    padding: 0;
  }
  .nav__overlay-close:hover {
    color: var(--color-ble);
    transform: scale(1.08);
  }
  .nav__overlay-close:focus-visible {
    outline: 2px solid var(--color-ble);
    outline-offset: 2px;
  }

  /* Hide the desktop-only "Accueil" nav__item on mobile — overlay header handles it */
  .nav__item--desktop-only { display: none !important; }

  /* ── Nav links scroll area ── */
  .nav__links > li.nav__item,
  .nav__links > li.has-dropdown {
    width: 100%;
    border-bottom: none;
    padding: 0 1.5rem;
  }

  /* Hide CTA and cart list items — they appear in overlay footer */
  .nav__links > li:not(.nav__item):not(.has-dropdown):not(.nav__overlay-header):not(.nav__overlay-footer) {
    display: none !important;
  }

  /* Main nav links — DM Serif Display, large */
  .nav__links.is-open .nav__item > a,
  .nav__links.is-open > li.has-dropdown > a {
    display: block;
    height: auto;
    color: var(--text-on-dark);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(250, 246, 240, 0.07);
    text-transform: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
  }
  .nav__links.is-open .nav__item > a:hover,
  .nav__links.is-open > li.has-dropdown > a:hover {
    color: var(--color-ble);
    border-bottom-color: rgba(250, 246, 240, 0.07);
  }

  /* Hide the pseudo-element separator line (replaced by border-bottom above) */
  .nav__links.is-open > li.has-dropdown > a::after {
    display: none !important;
  }

  /* ── Dropdown sub-links — indented, muted ── */
  .nav__links.is-open .nav__dropdown {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 0 0.5rem 1rem !important;
    margin: 0 !important;
    border-left: 1.5px solid rgba(184, 134, 11, 0.3);  /* blé doré accent */
    margin-left: 0 !important;
    margin-bottom: 0.25rem !important;
  }
  .nav__links.is-open .nav__dropdown a {
    color: rgba(250, 246, 240, 0.55);
    font-size: 0.9rem;
    font-family: 'Source Sans 3', sans-serif;
    padding: 0.4rem 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    height: auto;
    border-bottom: none;
    text-transform: none;
  }
  .nav__links.is-open .nav__dropdown a:hover {
    color: var(--color-ble);
    background: transparent;
  }

  /* Hide desktop dropdown arrows on mobile */
  .nav__links .has-dropdown > a::after {
    display: none !important;
  }

  /* ── Overlay footer — CTA + coords ── */
  .nav__overlay-footer {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(250, 246, 240, 0.08);
    position: sticky;
    bottom: 0;
    background: #1e180f;
  }
  .nav__overlay-cta-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--color-ble) !important;
    color: #fff !important;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 6px;
    border-bottom: none !important;
    transition: background 0.2s ease, opacity 0.2s ease;
    text-align: center;
    height: auto;
  }
  .nav__overlay-cta-btn:hover {
    background: #a07608 !important;
    color: #fff !important;
  }
  .nav__overlay-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  .nav__overlay-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(250, 246, 240, 0.45);
    font-size: 0.8rem;
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    height: auto;
    border-bottom: none !important;
    text-decoration: none;
  }
  .nav__overlay-info-link:hover { color: rgba(250, 246, 240, 0.75); }
  .nav__overlay-info-sep {
    color: rgba(250, 246, 240, 0.2);
    font-size: 0.8rem;
  }

}

/* Desktop: hide overlay-only elements — breakpoint aligned with mobile nav (1024px) */
@media (min-width: 1025px) {
  .nav__overlay-header,
  .nav__overlay-footer { display: none !important; }
  /* Ensure nav__links stays flex row on desktop */
  .nav__links {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
  }
}


/* ── 768px — Mobile / tablet portrait ── */
@media (max-width: 768px) {

  /* Grids */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__img { min-height: 200px; }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero--boutique,
  .hero--page {
    min-height: max(280px, 40vh);
    padding-bottom: var(--space-lg);
  }
  /* Fallback min-height if background image fails to load */
  .hero--half {
    min-height: max(280px, 40vh);
  }
  .hero__content h1 {
    font-size: 1.8rem;
  }
  .hero__sub {
    font-size: 0.9rem;
  }
  .hero__badges {
    gap: 0.4rem;
    justify-content: center;
  }
  .hero__badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }

  /* Pillars */
  .pillar { min-height: 280px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr !important; gap: var(--space-md) !important; }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  /* Buttons */
  .btn-group { flex-direction: column; align-items: center; }
  .section { padding: var(--space-xl) 0; }

  /* Product grid (boutique) */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Category header */
  .category-header {
    flex-direction: column;
  }
  .category-header__price {
    align-self: flex-start;
  }

  /* Boutique info banner */
  .boutique-info__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  /* Product cards stacking */
  .product {
    flex-direction: column;
  }
  .product--reverse {
    flex-direction: column;
  }
  .product__img {
    max-height: 300px;
  }

  /* Pickup section */
  .pickup-grid {
    grid-template-columns: 1fr;
  }

  /* Floating cart */
  .floating-cart {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  /* Mini-cart */
  .minicart {
    width: 100%;
    max-width: 100vw;
  }

  /* Contact + access */
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .access-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Stats grid (inline 4-col → 2-col) */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-md) !important;
  }

  /* Footer inline (pages with custom footer) — 1 col on mobile */
  [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  /* Event cards flex wrap */
  [style*="align-items: flex-start"][style*="gap: var(--space-md)"] {
    flex-wrap: wrap;
  }
  [style*="align-items: flex-start"][style*="gap: var(--space-md)"][style*="padding: var(--space-md) var(--space-lg)"] {
    flex-wrap: wrap !important;
  }

  /* Legal pages */
  .legal-section p,
  .legal-section li {
    font-size: 0.9rem;
  }

  /* Agenda: featured event card → stack */
  [style*="grid-template-columns: 1fr 1fr"][style*="min-height: 320px"] {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  [style*="grid-template-columns: 1fr 1fr"][style*="min-height: 320px"] > div:last-child {
    min-height: 240px !important;
  }

  /* Agenda: "Comment réserver" 3-col → 1-col */
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Agenda: calendar 7-day grid — horizontal scroll on small screens */
  [style*="grid-template-columns: repeat(7, 1fr)"] {
    min-width: 420px;
  }
  [style*="align-items: center; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-md)"] {
    flex-wrap: wrap !important;
    gap: var(--space-sm) !important;
  }

  /* Scolaires: tarifs 3-col → 1-col */
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Scolaires: infos-grid */
  .infos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Event detail page */
  .event-detail {
    grid-template-columns: 1fr;
  }
  .event-sidebar {
    position: static;
  }

  /* WooCommerce — !important needed: overrides base WC page styles */
  .woocommerce-page .site-main {
    padding: var(--space-md) !important;
  }

  /* WCAG touch targets — min 44px */
  .card__tag,
  .btn--outline,
  .event-tag,
  .filter-tag,
  .hero__badge,
  .boutique-tab,
  .stage-card .btn,
  .order-row__select,
  .event-sidebar a,
  .event-sidebar button,
  .agenda-filter-tag,
  .reserve-link,
  .event-card__link,
  .nav__menu a,
  .footer__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
  }

  /* Ensure all buttons and links meet minimum touch target */
  .btn, button[type="submit"], input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
  }

  /* Form inputs also need 44px for mobile */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="password"],
  select,
  textarea {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Radio + checkbox labels clickable */
  label {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* Card equal heights */
  .grid-3, .grid-2 {
    align-items: stretch;
  }
  .card {
    display: flex;
    flex-direction: column;
  }
  .card__body {
    flex: 1;
  }
}


/* ── 600px — Small mobile ── */
@media (max-width: 600px) {

  /* Scolaires: infos → 1 col */
  .infos-grid {
    grid-template-columns: 1fr;
  }

  /* Scolaires: programmes primaire → 1 col */
  .grid-primaire {
    grid-template-columns: 1fr;
  }

  /* Agenda: festival image smaller */
  [style*="grid-template-columns: 1fr 1fr"][style*="min-height: 320px"] > div:last-child {
    min-height: 180px !important;
  }
}


/* ── 480px — Very small mobile (iPhone SE, etc.) ── */
@media (max-width: 480px) {

  /* Reduce spacing */
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  /* Container tighter padding */
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  /* Hero */
  .hero { min-height: 75vh; }
  .hero__content h1 {
    font-size: 1.5rem;
  }

  /* Nav logo smaller — !important needed: overrides base .nav__logo-img */
  .nav__logo-img { height: 44px !important; width: auto !important; max-width: 200px !important; }

  /* Access grid → 1 col */
  .access-grid {
    grid-template-columns: 1fr;
  }

  /* Stats 4-col → 1-col */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer inline → 1 col */
  [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Festival card: hide image on very small */
  [style*="grid-template-columns: 1fr 1fr"][style*="min-height: 320px"] > div:last-child {
    display: none !important;
  }

  /* Flex event cards stack */
  [style*="display: flex"][style*="padding: var(--space-md) var(--space-lg)"] {
    flex-direction: column;
    align-items: stretch !important;
  }

  /* Buttons stacked */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    width: 100%;
    text-align: center;
  }

  /* Calendar cells smaller */
  [style*="grid-template-columns: repeat(7, 1fr)"] {
    font-size: 0.75rem !important;
    min-width: 320px;
  }

  /* Boutique tabs */
  .boutique-tabs__inner {
    gap: 0;
  }
  .boutique-tab {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.78rem;
  }
  .product-card__name {
    font-size: 1rem;
  }

  /* Order row */
  .order-row {
    gap: 0.3rem;
  }
  .order-row__label {
    font-size: 0.8rem;
  }

  /* Event cards compact */
  .event-card {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }
  .event-date {
    min-width: 52px;
  }
  .event-date__day {
    font-size: 1.3rem;
  }
}

/* ============================================================
   KILL Kadence mobile drawer (we have our own custom nav overlay)
   ============================================================ */
#mobile-drawer,
.popup-drawer,
.drawer-overlay,
.mobile-navigation,
.drawer-content,
.drawer-inner,
.kadence-mobile-navigation,
.menu-toggle-open,
.menu-toggle-close,
.drawer-toggle,
.header-mobile-navigation,
.mobile-header,
.mobile-toggle-open-button {
  display: none !important;
  visibility: hidden !important;
}
body.showing-popup-drawer-from-right,
body.showing-popup-drawer-from-left {
  overflow: auto !important;
}
body.showing-popup-drawer-from-right::before,
body.showing-popup-drawer-from-left::before {
  display: none !important;
}

/* ============================================================
   Fix input icon overlap (search box in agenda + others)
   Use background-image icons rather than positioned SVGs
   ============================================================ */
#event-search {
  padding-left: 2.8rem !important;
  min-height: 44px !important;
  font-size: 0.95rem !important;
}
input[type="search"] {
  padding-left: 2.8rem !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B7D6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
}

/* Remove autofill yellow bg on safari */
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px var(--bg-card) inset !important; }

/* ============================================================
   Footer — Trust strip (labels + partners, logos only, clickable)
   ============================================================ */
.footer__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding: var(--space-md) 0;
  margin: var(--space-sm) 0 var(--space-md);
  border-top: 1px solid rgba(250, 246, 240, 0.08);
  /* border-bottom removed — .footer__bottom keeps its border-top, single divider */
}
.footer__trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}
/* !important : WooCommerce + Kadence on /panier/ force img sizing — defend */
.footer__trust-item img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 90px !important;
  min-width: 0 !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Also defend the wrapper sizing on cart/checkout pages */
.footer__trust { box-sizing: border-box; }
.footer__trust-item {
  box-sizing: border-box;
  max-height: 50px !important;
}
.footer__trust-item:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
/* Text-only variant for partners without logo PNG yet */
.footer__trust-item--text {
  font-family: var(--font-display, Georgia, serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark) !important;
  height: 38px;
  padding: 0.4rem 0.8rem;
  white-space: nowrap;
}
.footer__trust-item--text:hover {
  color: var(--color-ble) !important;
}
@media (max-width: 600px) {
  .footer__trust { gap: 0.8rem; padding: var(--space-sm) 0; }
  .footer__trust-item { padding: 0.25rem 0.4rem; }
  .footer__trust-item img { height: 24px; }
}

/* ============================================
   A11y — WCAG 2.2 AA — Audit 2026-04-21
   Contrasts + focus-visible + skip link
   Design system colors untouched; only foreground
   text shades that needed darkening for AA 4.5:1
   ============================================ */

/* 1. Header banner landmark — minimal impact layout wrapper.
   NOTE: `display: contents` breaks bg color inheritance in axe-core, so
   we keep block flow. `.nav` is position:fixed → <header> has no visual
   impact. `<main>` is block by default, which is what we want. */
.lcf-site-header { display: block; margin: 0; padding: 0; }
.lcf-main-wrap { display: block; min-height: 0; }

/* 2. Skip to main content link --- */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.15s ease-in-out;
}
.skip-to-main:focus {
  top: 0.5rem;
  outline: 3px solid var(--color-ble-light);
  outline-offset: 2px;
}

/* 2. Focus-visible rings — visible keyboard focus --- */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--color-ble) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.25) !important;
  border-radius: 4px;
}
/* On dark backgrounds use light variant so focus is visible */
.section--dark a:focus-visible,
.section--dark button:focus-visible,
.footer a:focus-visible,
.footer button:focus-visible,
.hero--dark a:focus-visible {
  outline-color: var(--color-ble-light) !important;
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.35) !important;
}
/* Input focus keeps existing border style but adds ring */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 0 !important;
}

/* 3. Contrast fixes — WCAG AA 4.5:1 minimum
   We do NOT change --color-ble / --text-muted / --color-terra
   (these remain the brand palette for icons, borders, backgrounds).
   Instead we darken ONLY foreground TEXT that failed. */

/* 3a. Muted body text on cream/card/warm — darken from #8B7D6B to #6B5D4B
       Old ratio: 3.43-3.94 / New ratio: 5.47-6.27
       !important needed : page templates embed <style> blocks AFTER style.css */
.event-meta,
.event-meta span,
.event-date__month,
.testimonial__source,
.product__details,
.product__desc,
.js-carousel-desc,
.js-carousel-details,
.stage-card__meta,
.jf-event__month,
.levain-card__text,
.vente-card,
.vente-card .mt-sm,
.section-header p,
.family-header__sub,
.jf-intro__signature,
.jf-quote__author,
.process-step__desc,
.lcf-checkout-intro,
.lcf-stepper__label,
.section-header + p,
.lcf-summary__trust-item {
  color: #6B5D4B !important;
}

/* 3b. .section-header__label gold text on light bg — darken from #B8860B to #8B6508
       Old ratio: 2.79-3.20 / New ratio: 4.54-5.30 */
.section-header__label,
.section__label,
.info-block,
.info-block__label,
.lcf-back-link,
.jf-activite__link,
.jf-agenda__inner .btn--outline,
.stage-card__footer .btn--outline,
.btn--outline {
  color: #8B6508 !important;
}
/* Keep accent for hover / icons / headings */
.section-header__label { font-weight: 700; }

/* 3c. Buttons --primary : white on --color-ble is 3.25, fails.
       Darken button bg from #B8860B to #8B6508 for AA compliance.
       This only affects the button background utility, not brand text. */
.btn--primary,
.event-action .btn,
.event-action .btn--primary,
.lcf-step__continue,
.stage-card__footer .btn--primary,
.jf-cta__buttons .btn--primary,
.cta-buttons .btn--primary,
.btn-group .btn--primary,
.btn--primary.btn,
.experience-text .btn--primary {
  background: #8B6508 !important;
  border-color: #8B6508 !important;
  color: #FFFFFF !important;
}
.btn--primary:hover,
.event-action .btn:hover,
.event-action .btn--primary:hover,
.lcf-step__continue:hover,
.stage-card__footer .btn--primary:hover,
.jf-cta__buttons .btn--primary:hover,
.cta-buttons .btn--primary:hover,
.btn-group .btn--primary:hover,
.experience-text .btn--primary:hover {
  background: #7D5A07 !important;
  border-color: #7D5A07 !important;
}

/* 3d. Filter buttons active state — white text on gold button needs darker bg */
.filter-btn.active,
button[data-type].active,
button[data-view].active {
  background: #8B6508 !important;
  border-color: #8B6508 !important;
  color: #FFFFFF !important;
}

/* 3e. Decorative step numbers — these are large display numbers with opacity 0.2
       The low ratio comes from opacity blending. Setting opacity:1 kills the
       subtle "02" watermark effect; instead we use a different approach:
       mark them aria-hidden via CSS content (not possible) — or darken the
       base color so even with opacity it remains >= 3:1 for large text.
       Base #B8860B at opacity 0.2 ≈ #E4D9C2 (ratio 1.3).
       Base #2C2416 at opacity 0.2 ≈ #D6D1C6 still fails (1.15).
       Best: remove opacity, use full color #8B6508 which is designed to be visible */
.process-item__num,
.process-step__number,
.jf-pilier__num {
  color: #8B6508 !important;
  opacity: 1 !important;
}

/* 3f. Terracotta horaires text on warm pink bg — darken from #B85C38 to #A84823
       Old ratio: 3.94 / New: 5.04 */
.vente-card__horaires,
.badge-complet,
.date-row .badge-complet {
  color: #A84823 !important;
}

/* 3g. CTA section on dark bg — #746e62 on #2C2416 fails.
       The .cta-section is a dark section; italic/em text should be brighter */
.cta-section em,
.cta-section p em,
.cta-section a {
  color: var(--color-ble-light) !important; /* #D4A843 — AA on dark */
}
/* .cta-section italic/em main body (#746e62) — brighter */
.cta-section p,
.cta-section p:nth-child(6),
.cta-section p:nth-child(6) a {
  color: #D4C9B8 !important; /* --border-medium gives 6.8:1 on dark */
}

/* 3h. Product variant chips on active state */
.product__variant-chip--active,
.product__variants-list .product__variant-chip--active,
.product__variant-chip--active.product__variant-chip {
  color: #8B6508 !important;
}

/* 3i. Extra muted text catch-all — inline style="color: var(--text-muted)"
   won't match !important, but does match color (specificity 0,1,0,0 vs 1,0,0,0).
   Target common inline patterns via attribute selector. */
[style*="color: var(--text-muted)"],
[style*="color:var(--text-muted)"] {
  color: #6B5D4B !important;
}
/* Same for accent ble used as text */
[style*="color: var(--color-ble)"]:not(.btn--primary):not(button),
[style*="color:var(--color-ble)"]:not(.btn--primary):not(button) {
  color: #8B6508 !important;
}
/* jf-pilier num, info-block labels, lcf-back-link, etc. */
.info-block .lcf-back-link,
.lcf-back-link {
  color: #8B6508 !important;
}
/* Stage cards specific */
.stage-card__footer,
.stage-card__footer .btn,
.stage-card__footer .btn--outline {
  color: #8B6508 !important;
}
/* Container p inline muted on warm bg */
.section--warm .container p,
.section--warm .container > p {
  color: #6B5D4B !important;
}
/* Tel links inline */
a[href^="tel:"] {
  color: #8B6508 !important;
}
/* Carousel product description .product__desc */
.product__desc,
.js-carousel-desc.product__desc {
  color: #6B5D4B !important;
}

/* Product card details (li items) — page-nos-pains inline styles */
.product__details,
.product__details li,
.js-carousel-details,
.js-carousel-details li {
  color: #6B5D4B !important;
}
/* Product price value — mid-weight */
.product__price,
.js-carousel-price,
.product__price span,
.visit-card__price,
.tarif-block__label {
  color: #6B5D4B !important;
}
/* Product variants label */
.product__variants-label {
  color: #6B5D4B !important;
}
/* Stage card body */
.stages-grid .stage-card__body,
.stage-card__body {
  color: #4A3F32;
}
.stage-card__body p,
.stage-card__body span {
  color: #6B5D4B !important;
}

/* Section label on DARK section — needs LIGHT color, not dark.
   Override 3b above for .section--dark context */
.section--dark .section-header__label,
.section--dark .section__label,
.cta-section .section-header__label,
.cta-section .section__label,
.section-header__label.on-dark {
  color: var(--color-ble-light) !important; /* #D4A843 ≈ 8.2:1 on dark */
}
/* CTA section paragraph + italic on dark */
.cta-section,
.cta-section p,
.cta-section em,
.cta-section p em,
.cta-section p a,
.section--dark p,
.section--dark p em {
  color: #E8E0D4 !important; /* border-light on dark = 12.1:1 */
}
.cta-section a,
.section--dark a {
  color: var(--color-ble-light) !important;
}

/* btn--secondary — typically dark text on warm bg */
.btn--secondary,
.btn--secondary.btn {
  color: var(--text-dark) !important;
  background: #E8E0D4 !important;
  border-color: #E8E0D4 !important;
}
.btn--secondary:hover {
  background: #D4C9B8 !important;
  color: var(--text-dark) !important;
}

/* visit-card__price and parts */
.visit-card__price,
.visit-card__price strong,
.visit-card__price span {
  color: #6B5D4B !important;
}
/* process-step container text */
.process-step,
.process-step p,
.process-step span {
  color: #6B5D4B !important;
}
/* lcf-summary (panier sidebar) */
.lcf-summary__item-qty,
.lcf-summary__trust-item,
.lcf-summary__item span {
  color: #6B5D4B !important;
}

/* Fallback wildcard : any remaining elements using
   color: var(--text-muted) via cascade will now be caught.
   Higher-specificity selector avoids hitting form labels etc. */
p[style*="--text-muted"],
span[style*="--text-muted"],
div[style*="--text-muted"],
li[style*="--text-muted"] {
  color: #6B5D4B !important;
}

/* section-header__label on ANY dark bg (catches inline .cta-section too) */
.section--dark .section-header__label,
.section-header__label[style*="color:#fff"],
[class*="dark"] .section-header__label,
[style*="background:#2C2416"] .section-header__label,
[style*="background:#2c2416"] .section-header__label,
[style*="background-color:#2C2416"] .section-header__label,
[style*="background-color:#2c2416"] .section-header__label,
[style*="bg-dark"] .section-header__label,
[style*="var(--bg-dark)"] .section-header__label,
.section-header__label[style*="color: var(--color-ble-light)"],
.section-header__label[style*="color:var(--color-ble-light)"] {
  color: var(--color-ble-light) !important;
}

/* Product desc when hidden in carousel opacity transition — axe picks
   the blended color. Use hardcoded dark that passes 10:1 on cream. */
.product__desc.js-carousel-desc,
.js-carousel-desc.product__desc,
.family-section .product--carousel .product__desc {
  color: #2C2416 !important; /* text-dark, 13:1 on #fffdf8 */
}

/* ============================================================
   A11y color-contrast fixes (WCAG 2.2 AA bulletproof)
   ============================================================ */

/* .section-header__label on dark bg — hardcoded #F5CE7A (≈10:1 on #2c2416) */
.section--dark .section-header__label,
.section--dark .section__label,
.cta-section .section-header__label,
.cta-section .section__label,
section[aria-labelledby="presse-title"] .section-header__label,
section[aria-labelledby="presse-title"] .section__label,
[class*="dark"] .section-header__label,
[style*="background: var(--bg-dark)"] .section-header__label,
[style*="background:var(--bg-dark)"] .section-header__label {
  color: #F5CE7A !important;
}

/* Inline-styled presse labels (uppercase gold on dark cards) */
section[aria-labelledby="presse-title"] [style*="color: var(--color-ble-light)"],
section[aria-labelledby="presse-title"] [style*="color:var(--color-ble-light)"],
.section--dark [style*="color: var(--color-ble-light)"],
.section--dark [style*="color:var(--color-ble-light)"] {
  color: #F5CE7A !important;
}
/* visites-stages specific stepper label */
.lcf-stepper__label,
[data-step-indicator] .lcf-stepper__label {
  color: #6B5D4B !important;
}

/* 4. Reduced-motion support (best-practice) --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 5. Screen reader only helper --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* End A11y audit 2026-04-21 */

/* ============================================================
   BUTTON CONTRAST GUARANTEES — 2026-04-21
   Force visible contrast on every button class regardless of
   the tag used (<a>, <button>, <span>) and the surrounding
   context (light, dark, cream). Brown-on-brown reported on
   event cards and across the site — this block ends the game.
   ============================================================ */

/* Primary : dark brown bg + pure white text ; works on any bg */
a.btn.btn--primary,
a.btn--primary,
button.btn.btn--primary,
button.btn--primary,
span.btn.btn--primary,
span.btn--primary,
.btn.btn--primary,
.event-action .btn,
.event-action .btn--primary,
.event-action a.btn,
.event-action span.btn,
.stage-card__footer .btn--primary,
.jf-cta__buttons .btn--primary,
.cta-buttons .btn--primary,
.btn-group .btn--primary,
.experience-text .btn--primary {
  background: #8B6508 !important;
  background-color: #8B6508 !important;
  color: #FFFFFF !important;
  border: 1px solid #8B6508 !important;
  text-shadow: none;
}
a.btn--primary:hover,
a.btn.btn--primary:hover,
button.btn--primary:hover,
span.btn--primary:hover,
.btn--primary:hover,
.event-action .btn:hover,
.event-action .btn--primary:hover,
.stage-card__footer .btn--primary:hover,
.jf-cta__buttons .btn--primary:hover,
.cta-buttons .btn--primary:hover,
.btn-group .btn--primary:hover,
.experience-text .btn--primary:hover {
  background: #6F5007 !important;
  background-color: #6F5007 !important;
  color: #FFFFFF !important;
  border-color: #6F5007 !important;
}

/* Secondary (outline / ghost) : was cream text which disappears on cream bg ;
   force dark brown text on a transparent bg with a clear border. */
.btn--secondary,
a.btn--secondary,
button.btn--secondary,
span.btn--secondary {
  background: transparent !important;
  color: #2C2416 !important;
  border: 1.5px solid #8B6508 !important;
}
.btn--secondary:hover {
  background: rgba(184, 134, 11, 0.08) !important;
  color: #2C2416 !important;
  border-color: #6F5007 !important;
}

/* Outline variant : brown text + brown border, white bg */
.btn--outline,
a.btn--outline,
button.btn--outline {
  background: #FFFFFF !important;
  color: #6F5007 !important;
  border: 1.5px solid #8B6508 !important;
}
.btn--outline:hover {
  background: #8B6508 !important;
  color: #FFFFFF !important;
  border-color: #8B6508 !important;
}

/* Hero-specific primary override : keep the original gold accent but darker for AA
   — hero backgrounds are photos, so we need strong contrast regardless. */
.hero .btn--primary,
.hero a.btn--primary {
  background: #8B6508 !important;
  color: #FFFFFF !important;
  border-color: #8B6508 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.15) !important;
}

/* Buttons placed inside a dark section : keep same dark brown + white (cards),
   but add a subtle white outline so the button stays visible if the card
   happens to share the brown tone. */
.section--dark .btn--primary,
[class*="event-card"] .btn--primary,
[class*="-dark"] .btn--primary {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12) inset, 0 6px 20px rgba(0,0,0,0.25) !important;
}

/* ============================================================
   Google Reviews Widget — collapsible bottom-right badge
   ============================================================ */
.lcf-reviews-widget {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 9990;
  font-family: 'Poppins', var(--font-body, system-ui), sans-serif;
  max-width: 340px;
  width: auto;
}

.lcf-reviews-widget__teaser {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 6px 10px 6px 10px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.15s;
  color: #1a1a1a;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
.lcf-reviews-widget__teaser:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.lcf-reviews-widget__teaser:focus-visible {
  box-shadow: 0 0 0 3px rgba(247, 128, 47, 0.4), 0 4px 14px rgba(0,0,0,0.12);
}

.lcf-reviews-widget__google {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lcf-reviews-widget__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.lcf-reviews-widget__score {
  font-size: 1rem;
  font-weight: 700;
  color: #F7802F;
  line-height: 1;
}
.lcf-reviews-widget__stars {
  display: inline-flex;
  gap: 1px;
}
.lcf-reviews-widget__count {
  font-size: 0.65rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.lcf-reviews-widget__caret {
  display: inline-flex;
  align-items: center;
  color: #999;
  transition: transform 0.25s;
}
.lcf-reviews-widget[data-state="collapsed"] .lcf-reviews-widget__caret {
  transform: rotate(180deg);
}

.lcf-reviews-widget__panel {
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  padding: 14px;
  max-height: 60vh;
  overflow-y: auto;
  width: 340px;
  max-width: calc(100vw - 36px);
}
.lcf-reviews-widget__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.lcf-reviews-widget__panel-header strong {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
}
.lcf-reviews-widget__panel-header a,
.lcf-reviews-widget__panel-footer a {
  color: #4285F4;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.lcf-reviews-widget__panel-header a:hover,
.lcf-reviews-widget__panel-footer a:hover {
  text-decoration: underline;
}
.lcf-reviews-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lcf-reviews-widget__review {
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}
.lcf-reviews-widget__review:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.lcf-reviews-widget__review-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 5px;
}
.lcf-reviews-widget__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8eef9;
  color: #4285F4;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lcf-reviews-widget__review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.lcf-reviews-widget__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1a;
}
.lcf-reviews-widget__review-stars {
  display: inline-flex;
  gap: 1px;
  margin-top: 1px;
}
.lcf-reviews-widget__date {
  font-size: 0.68rem;
  color: #888;
  margin-top: 1px;
}
.lcf-reviews-widget__text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #444;
  margin: 0;
  padding-left: 39px;
}
.lcf-reviews-widget__panel-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

/* Hide widget on small phones to avoid overlap */
@media (max-width: 480px) {
  .lcf-reviews-widget {
    bottom: 12px;
    left: 12px;
    max-width: 280px;
  }
  .lcf-reviews-widget__teaser {
    padding: 5px 8px;
    gap: 0.4rem;
  }
  .lcf-reviews-widget__count { display: none; }
  .lcf-reviews-widget__panel {
    width: calc(100vw - 24px);
    max-width: 320px;
  }
}

/* Hide on print */
@media print {
  .lcf-reviews-widget { display: none !important; }
}
