/* ============================================
   BRASSERIE CASTELAIN — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-cream: #F8F7F0;
  --color-terracotta: #C04D3A;
  --color-terracotta-dark: #A3402F;
  --color-dark: #314044;
  --color-yellow-pale: #FFECC4;
  --color-green-pale: #D9EBCE;
  --color-pink-pale: #E8C8BD;
  --color-black: #1A1A1A;
  --color-white: #FFFFFF;

  /* Derived from palette for Jade pages */
  --color-jade-green: #4B8B3E;
  --color-jade-light: #6AAF4A;
  --color-jade-bg: #5A9E3C;

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;

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

  /* Layout — proportional ratio like Leroux */
  --container-pad: 5vw;
  --container-content: 900px;
  --header-height: 100px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  /* vw-driven root font: everything in rem scales proportionally.
     At 1440px → 16px, scales down/up with viewport. */
  font-size: clamp(14px, 1.11vw, 20px);
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-terracotta);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader--hide {
  opacity: 0;
  visibility: hidden;
}

.preloader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader__logo {
  height: 120px;
  width: auto;
  animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: preloaderSpin 0.8s linear infinite;
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloaderPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- Typography --- */
.text-upper {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.subtitle {
  font-weight: 400;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-dark);
}

.section-title {
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-dark);
}

/* --- Layout --- */
/* True full-width: no max-width, just side padding.
   Safe zone kicks in only on ultra-wide screens (2000px+). */
.container {
  width: 100%;
  padding: 0 var(--container-pad);
}

/* Narrower container for text-heavy content (readability) */
.container--content {
  max-width: var(--container-content);
  margin: 0 auto;
}

/* Full-bleed: no padding at all */
.container--full {
  padding: 0;
}

/* Mobile: fixed padding floor */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
  }
}

/* --- CTA Link --- */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-dark);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.cta-link .cta-text {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.cta-link:hover {
  color: var(--color-terracotta);
}

.cta-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.cta-link:hover::after {
  transform: translateX(4px);
}

/* White variant */
.cta-link--white {
  color: var(--color-white);
}

.cta-link--white:hover {
  color: var(--color-yellow-pale);
}

/* --- Hero Logo --- */
.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  height: 170px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-cream);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--container-pad);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  width: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 900;
  font-size: 0.85rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #C04D3A;
  color: var(--color-terracotta);
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  outline: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: #314044;
  color: var(--color-dark);
}

.nav-link .chevron {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link .chevron,
.nav-item.open .nav-link .chevron {
  transform: rotate(180deg);
}

/* Active state - bold terracotta */
.nav-link--active {
  font-weight: 900;
  color: #C04D3A;
  color: var(--color-terracotta);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  color: var(--color-terracotta);
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--color-dark);
}

.header-divider {
  width: 1px;
  height: 20px;
  background: var(--color-dark);
  opacity: 0.3;
}

.search-btn {
  display: flex;
  align-items: center;
  color: var(--color-terracotta);
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.search-btn:hover {
  color: var(--color-dark);
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.search-overlay.active {
  pointer-events: auto;
  opacity: 1;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-overlay-panel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 1rem);
}

body.has-admin-topbar .search-overlay-panel {
  padding-top: calc(var(--header-height) + 36px + 1rem);
}

.search-overlay-inner {
  background: var(--color-cream);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform var(--transition-base);
  max-height: 75vh;
  display: flex;
  flex-direction: column;
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(49, 64, 68, 0.1);
}

.search-input-icon {
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-primary);
}

.search-input::placeholder {
  color: var(--color-dark);
  opacity: 0.4;
}

.search-close {
  flex-shrink: 0;
  color: var(--color-dark);
  opacity: 0.4;
  transition: opacity var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-close:hover {
  opacity: 1;
}

.search-results {
  overflow-y: auto;
  padding: 0.5rem 0;
  flex: 1;
}

.search-group {
  padding: 0.25rem 0;
}

.search-group+.search-group {
  border-top: 1px solid rgba(49, 64, 68, 0.08);
}

.search-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem 0.35rem;
}

.search-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  opacity: 0.8;
}

.search-group-link {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-terracotta);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.search-group-link:hover {
  opacity: 1;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-item:hover,
.search-item.active {
  background: rgba(192, 77, 58, 0.06);
}

.search-item-icon {
  flex-shrink: 0;
  color: var(--color-terracotta);
  opacity: 0.6;
  display: flex;
  align-items: center;
}

.search-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.search-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-title mark {
  background: rgba(192, 77, 58, 0.15);
  color: var(--color-terracotta);
  border-radius: 2px;
  padding: 0 2px;
}

.search-item-desc {
  font-size: 0.75rem;
  color: var(--color-dark);
  opacity: 0.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-hint {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-terracotta);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.search-item:hover .search-item-hint,
.search-item.active .search-item-hint {
  opacity: 0.5;
}

.search-item-arrow {
  flex-shrink: 0;
  color: var(--color-dark);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.search-item:hover .search-item-arrow,
.search-item.active .search-item-arrow {
  opacity: 0.4;
  transform: translateX(2px);
}

.search-more {
  font-size: 0.75rem;
  color: var(--color-terracotta);
  opacity: 0.6;
  padding: 0.4rem 1.25rem 0.4rem 3.25rem;
  font-weight: 600;
}

.search-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-dark);
  opacity: 0.5;
}

/* ============================================
   MEGA MENU — Full-width drawer from top
   ============================================ */
.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-cream);
  /* Content starts below the floating header (top:16 + h:64 + gap) */
  padding: calc(16px + 72px + 2rem) var(--container-pad) 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 3rem;
  opacity: 0;
  visibility: hidden;
  /* Clip from top: hides content, reveals downward like a drawer from the header */
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.4s ease;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  z-index: 998;
  /* Below header (1000) */
}

body.has-admin-topbar .mega-menu {
  padding-top: calc(52px + 64px + 2rem);
}

/* Keep nav-item static so click zones work */
.nav-item[data-mega] {
  position: static;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
}

/* Header stays put — no visual changes, just prevent shadow overlap */
.site-header.mega-open {
  box-shadow: none !important;
}

/* Brands column — large bold links */
.mega-menu-brands {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-brand {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.mega-brand-name {
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-terracotta);
  transition: color var(--transition-fast);
  line-height: 1.3;
}

.mega-brand-name:hover {
  color: var(--color-dark);
}

.mega-brand-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-brand-links span {
  color: var(--color-terracotta);
  opacity: 0.7;
}

.mega-brand-links .sep {
  color: var(--color-terracotta);
  opacity: 0.4;
}

/* Featured cards — right side, fill full panel height */
.mega-menu-featured {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  align-self: stretch;
}

.mega-featured-card {
  width: var(--mega-card-size, 160px);
  height: var(--mega-card-size, 160px);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--color-green-pale);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.mega-featured-card:hover {
  transform: translateY(-3px);
}

.mega-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-featured-card .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--color-white);
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

a.mega-featured-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* External link icon */
.external-icon {
  font-size: 0.75rem;
  margin-left: 0.15rem;
  transition: transform var(--transition-fast);
}

.mega-brand-name:hover .external-icon {
  transform: translate(2px, -2px);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Hero slide background variants — palette-based */
.hero-slide-bg--dark {
  background: var(--color-dark);
}

.hero-slide-bg--green {
  background: var(--color-dark);
  background-image:
    radial-gradient(ellipse at 20% 80%, var(--color-green-pale) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(217, 235, 206, 0.3) 0%, transparent 40%);
}

.hero-slide-bg--terracotta {
  background: var(--color-dark);
  background-image:
    radial-gradient(ellipse at 30% 70%, var(--color-yellow-pale) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(192, 77, 58, 0.2) 0%, transparent 40%);
}

.hero-slide-bg--jade {
  background: var(--color-green-pale);
  background-image:
    radial-gradient(ellipse at 50% 80%, rgba(75, 139, 62, 0.25) 0%, transparent 50%);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49, 64, 68, 0.3) 0%, transparent 100%);
}

/* --- Hero video slide --- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh;
  /* 100 / 0.5625 */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-slide-overlay--video {
  background: linear-gradient(135deg,
      rgba(49, 64, 68, 0.45) 0%,
      rgba(49, 64, 68, 0.15) 100%);
}

.hero-slide-poster {
  z-index: 0;
}

.hero-slide--video .hero-video-wrap {
  z-index: 1;
}

.hero-slide--video .hero-slide-overlay {
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--container-pad);
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-badge-inner {
  display: inline-flex;
  flex-direction: column;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: 1.2rem 1.5rem;
  border-radius: 4px;
}

.hero-badge-inner--jade {
  background: var(--color-jade-green);
}

.hero-badge-number {
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-badge-number span {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
  margin-left: 0.2rem;
}

.hero-badge-text {
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hero-badge-sub {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
  opacity: 0.8;
}

.hero-description {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 350px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 5;
}

.hero-indicator {
  width: 40px;
  height: 3px;
  background: var(--color-white);
  opacity: 0.4;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.hero-indicator.active {
  opacity: 1;
}

/* ============================================
   SECTION — GAMME
   ============================================ */
.section {
  padding: var(--space-2xl) 0;
}

/* Full-bleed bottom: padding top only, content touches edges */
.section--flush {
  padding-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .subtitle {
  margin-bottom: 0.5rem;
  display: block;
}

.gamme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.gamme-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.gamme-item:hover {
  transform: translateY(-8px);
}

.gamme-item-image {
  width: 160px;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gamme-item-image img {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.gamme-item:hover .gamme-item-image img {
  opacity: 1;
}

.gamme-item-logo {
  height: 65px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.gamme-item:hover .gamme-item-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.gamme-item-placeholder {
  width: 100px;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(192, 77, 58, 0.08) 100%);
  border-radius: 40% 40% 5% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gamme-item-placeholder img {
  width: 60px;
  opacity: 0.5;
}

.gamme-item-name {
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-dark);
}

/* ============================================
   SECTION — TRIPTYQUE (Cards)
   ============================================ */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.triptych-card {
  border-radius: 12px;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  position: relative;
  transition: transform var(--transition-base);
}

.triptych-card:hover {
  transform: translateY(-4px);
}

.triptych-card--yellow {
  background-color: var(--color-yellow-pale);
  background-image: url('../assets/images/triptych-bg-yellow.png');
  background-size: cover;
  background-position: center;
}

.triptych-card--pink {
  background-color: var(--color-pink-pale);
  background-image: url('../assets/images/triptych-bg-pink.png');
  background-size: cover;
  background-position: center;
}

.triptych-card--green {
  background-color: var(--color-green-pale);
  background-image: url('../assets/images/triptych-bg-green.png');
  background-size: cover;
  background-position: center;
}

.triptych-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  opacity: 0.7;
}

.triptych-title {
  font-weight: 900;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-terracotta);
  margin-bottom: 1.5rem;
}

.triptych-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.triptych-image img {
  max-height: 280px;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
}

.triptych-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.triptych-image-placeholder img {
  max-height: 280px;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
}

.triptych-card--yellow .triptych-image-placeholder {
  background: transparent;
}

.triptych-card--pink .triptych-image-placeholder {
  background: transparent;
}

.triptych-card--green .triptych-image-placeholder {
  background: transparent;
}

.triptych-cta {
  text-align: center;
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ============================================
   SECTION — ACTUALITÉ / INSTAGRAM SLIDER
   ============================================ */
.actualite-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}

.actualite-title {
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--color-dark);
}

.actualite-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-dark);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.actualite-handle:hover {
  opacity: 1;
  color: var(--color-terracotta);
}

.actualite-ig-icon {
  flex-shrink: 0;
}

/* --- Instagram Grid --- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 0 var(--container-pad);
  margin-bottom: var(--space-xl);
}

.ig-grid-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
}

.ig-grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-fast);
  z-index: 1;
}

.ig-grid-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.ig-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ig-grid-item:hover img {
  transform: scale(1.05);
}

.ig-grid-item .ig-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.ig-grid-item:hover .ig-icon {
  opacity: 0.9;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  border: none;
  height: 2px;
  background: var(--color-terracotta);
  opacity: 0.2;
  margin: 0;
}

.divider--strong {
  opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #C04D3A !important;
  background: var(--color-terracotta) !important;
  color: #FFFFFF !important;
  color: var(--color-white) !important;
  padding: var(--space-xl) 0 0;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-info h3 {
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer-info p {
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-info a {
  transition: opacity var(--transition-fast);
}

.footer-info a:hover {
  opacity: 0.7;
}

/* Newsletter */
.footer-newsletter h3 {
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.5rem;
  min-width: 300px;
}

.newsletter-form input {
  flex: 1;
  background: none;
  color: var(--color-white);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:-webkit-autofill,
.newsletter-form input:-webkit-autofill:hover,
.newsletter-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-white);
  -webkit-box-shadow: 0 0 0 1000px var(--color-terracotta) inset;
  box-shadow: 0 0 0 1000px var(--color-terracotta) inset;
  caret-color: var(--color-white);
  transition: background-color 5000s ease-in-out 0s;
}

.newsletter-submit {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.newsletter-submit:hover {
  color: var(--color-yellow-pale);
}

/* ============================================
   NEWSLETTER MODAL
   ============================================ */
.nl-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nl-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nl-modal {
  background: var(--color-white);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.nl-modal-overlay.active .nl-modal {
  transform: translateY(0) scale(1);
}

.nl-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(49, 64, 68, 0.06);
  color: var(--color-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  line-height: 1;
}

.nl-modal-close:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
}

.nl-modal-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.nl-modal-title {
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.nl-modal-subtitle {
  font-size: 0.85rem;
  color: var(--color-dark);
  opacity: 0.6;
  line-height: 1.5;
}

/* --- Modal Form --- */
.nl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nl-form-group {
  margin-bottom: 1rem;
}

.nl-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.nl-required {
  color: var(--color-terracotta);
}

.nl-form-group input[type="text"],
.nl-form-group input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(49, 64, 68, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  color: var(--color-dark);
  background: rgba(49, 64, 68, 0.02);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nl-form-group input[type="text"]:focus,
.nl-form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(192, 77, 58, 0.1);
}

.nl-form-group input::placeholder {
  color: rgba(49, 64, 68, 0.3);
}

/* Error state */
.nl-form-group.has-error input[type="text"],
.nl-form-group.has-error input[type="email"] {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.nl-form-group.has-error .nl-checkbox-custom {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* --- Custom Checkbox --- */
.nl-form-group--checkbox {
  margin-bottom: 1.5rem;
}

.nl-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.nl-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.nl-checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(49, 64, 68, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-top: 1px;
  position: relative;
}

.nl-checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.nl-checkbox-label input[type="checkbox"]:checked+.nl-checkbox-custom {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
}

.nl-checkbox-label input[type="checkbox"]:checked+.nl-checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.nl-checkbox-text {
  color: var(--color-dark);
  opacity: 0.6;
  line-height: 1.5;
}

.nl-checkbox-text a {
  color: var(--color-terracotta);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.nl-checkbox-text a:hover {
  opacity: 0.7;
}

/* --- Submit Button --- */
.nl-modal-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--color-terracotta);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nl-modal-submit:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-1px);
}

.nl-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --- Feedback --- */
.nl-feedback {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.nl-feedback--success {
  background: rgba(75, 139, 62, 0.08);
  color: #2d6a1e;
}

.nl-feedback--error {
  background: rgba(229, 62, 62, 0.08);
  color: #c53030;
}

.nl-feedback-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 540px) {
  .nl-modal {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .nl-form-row {
    grid-template-columns: 1fr;
  }

  .nl-modal-title {
    font-size: 1.15rem;
  }
}

/* Sub-footer */
.sub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}


.sub-footer-links {
  display: flex;
  gap: 1.5rem;
}

.sub-footer-links a {
  transition: opacity var(--transition-fast);
}

.sub-footer-links a:hover {
  opacity: 0.8;
}

.sub-footer-links .sep {
  opacity: 0.3;
}

/* ============================================
   PAGE HERO — Shared component for all sub-pages
   ============================================ */
.page-hero {
  height: 100vh;
  height: 100svh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--header-height);
  background: var(--color-dark) center center / cover no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* When no bg image — subtle gradient instead of overlay */
.page-hero:not([style*="background-image"]) .page-hero__overlay {
  background: linear-gradient(160deg, var(--color-dark) 0%, rgba(49, 64, 68, 0.95) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  max-width: 900px;
}

.page-hero__surtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.page-hero__desc {
  color: var(--color-white);
  opacity: 0.65;
  max-width: 500px;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 auto;
}

/* Scroll-down indicator */
.page-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.page-hero__scroll:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

@keyframes heroScrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@media (max-width: 640px) {
  .page-hero {
    height: 100vh;
    height: 100svh;
    min-height: 380px;
  }

  .page-hero__surtitle {
    font-size: 0.7rem;
  }

  .page-hero__scroll {
    width: 40px;
    height: 40px;
    bottom: 1.5rem;
  }

  .page-hero__scroll svg {
    width: 22px;
    height: 22px;
  }
}

/* ============================================
   GAMME HERO — Shared component for gamme pages
   ============================================ */
.gamme-hero {
  height: 100vh;
  height: 100svh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--header-height);
  background: var(--color-dark) center center / cover no-repeat;
}

.gamme-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.gamme-hero:not([style*="background-image"]) .gamme-hero__overlay,
.gamme-hero[style*="background-image: url('')"] .gamme-hero__overlay {
  background: linear-gradient(160deg, var(--color-dark) 0%, rgba(49, 64, 68, 0.95) 100%);
}

/* When a custom bg_color is set, don't overlay it with the dark gradient */
.gamme-hero--custom-bg .gamme-hero__overlay {
  background: none;
}

.gamme-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  max-width: 700px;
}

.gamme-hero__logo {
  height: auto;
  object-fit: contain;
}

.gamme-hero__logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.gamme-hero__badge {
  position: absolute;
  top: 30px;
  right: -80px;
  width: 120px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* SEO title — visually hidden but accessible */
.gamme-hero__title-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gamme-hero__desc {
  color: var(--color-white);
  font-weight: 600;
  opacity: 0.65;
  max-width: 550px;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 auto 2rem;
}



@media (max-width: 640px) {
  .gamme-hero {
    height: 100vh;
    height: 100svh;
    min-height: 380px;
  }

  .gamme-hero__logo {
    max-width: 220px !important;
  }

}

/* ============================================
   BRAND HERO — Base (shared by all brand pages)
   ============================================ */
.hero--brand {
  height: 65vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero--brand::before {
  position: absolute;
  font-weight: 900;
  font-size: 20vw;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.hero--brand .hero-content {
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* --- Castelain (Dark) --- */
.hero--castelain {
  background: var(--color-black);
}

.hero--castelain::before {
  content: 'CASTELAIN';
  color: rgba(255, 255, 255, 0.03);
}

/* --- Ch'ti (Golden) --- */
.hero--chti {
  background: var(--color-dark);
}

.hero--chti::before {
  content: "CH'TI";
  font-size: 22vw;
  color: rgba(255, 236, 196, 0.06);
}

.hero--chti .brand-hero-title {
  color: var(--color-yellow-pale);
}

.hero--chti .brand-hero-subtitle {
  color: var(--color-yellow-pale);
  opacity: 0.8;
}

.hero--chti .brand-anchor {
  border-color: rgba(255, 236, 196, 0.4);
}

.hero--chti .brand-anchor:hover {
  border-color: var(--color-yellow-pale);
  color: var(--color-yellow-pale);
}

/* --- La Cadette (Pink) --- */
.hero--cadette {
  background: linear-gradient(160deg, var(--color-cream) 0%, var(--color-pink-pale) 60%, var(--color-terracotta) 100%);
}

.hero--cadette::before {
  content: 'CADETTE';
  font-size: 18vw;
  color: rgba(255, 255, 255, 0.08);
}

.hero--cadette .brand-hero-title {
  color: var(--color-dark);
}

.hero--cadette .brand-hero-subtitle {
  color: var(--color-dark);
  opacity: 0.7;
}

.hero--cadette .brand-hero-desc {
  color: var(--color-dark);
  opacity: 0.6;
}

/* --- Jade (Green) --- */
.hero--jade {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-yellow-pale) 25%, var(--color-green-pale) 55%, var(--color-jade-bg) 100%);
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2rem;
}

/* --- À propos (Dark) --- */
.hero--apropos {
  background: var(--color-dark);
}

.hero--apropos::before {
  content: 'À PROPOS';
  font-size: 16vw;
  color: rgba(255, 255, 255, 0.03);
}

/* --- Histoire (Photo) --- */
.hero--histoire {
  background: url('https://brasseriecastelain.com/wp-content/uploads/2019/07/yves-brasserie-castellain.jpg') center center / cover no-repeat;
  height: 85vh;
  min-height: 600px;
}

.hero--histoire::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero--histoire .hero-content {
  position: relative;
  z-index: 2;
}

.hero--histoire .brand-hero-sub {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.hero--histoire .brand-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero--histoire::before {
  display: none;
}

/* --- Valeurs (Terracotta) --- */
.hero--valeurs {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-terracotta-dark) 100%);
}

.hero--valeurs::before {
  content: 'VALEURS';
  color: rgba(255, 255, 255, 0.04);
}

/* --- Savoir-faire (Dark green) --- */
.hero--savoir-faire {
  background: linear-gradient(160deg, var(--color-dark) 0%, #2D4A2E 100%);
}

.hero--savoir-faire::before {
  content: 'SAVOIR-FAIRE';
  font-size: 14vw;
  color: rgba(255, 255, 255, 0.03);
}

/* --- Rejoignez-nous (Terracotta) --- */
.hero--rejoignez-nous {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-terracotta-dark) 100%);
}

.hero--rejoignez-nous::before {
  content: 'REJOIGNEZ-NOUS';
  font-size: 12vw;
  color: rgba(255, 255, 255, 0.03);
}

/* --- Contact (Dark) --- */
.hero--contact {
  background: var(--color-dark);
}

.hero--contact::before {
  content: 'CONTACT';
  color: rgba(255, 255, 255, 0.03);
}

/* --- FAQ (Dark) --- */
.hero--faq {
  background: var(--color-dark);
}

.hero--faq::before {
  content: 'FAQ';
  font-size: 25vw;
  color: rgba(255, 255, 255, 0.03);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding-bottom: var(--space-2xl);
}

/* Filters */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.faq-filter {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-terracotta);
  background: transparent;
  border: 2px solid var(--color-terracotta);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-filter:hover {
  background: rgba(192, 77, 58, 0.08);
}

.faq-filter.active {
  background: var(--color-terracotta);
  color: var(--color-white);
}

/* Accordion list */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* Accordion item */
.faq-item {
  border-bottom: 1px solid rgba(49, 64, 68, 0.12);
}

.faq-item.hidden {
  display: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--color-terracotta);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-terracotta);
  border: 2px solid var(--color-terracotta);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.faq-item.open .faq-icon {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-dark);
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.faq-answer ul li {
  color: var(--color-dark);
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer a {
  color: var(--color-terracotta);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.faq-answer a:hover {
  opacity: 0.8;
}

/* No results */
.faq-no-results {
  text-align: center;
  padding: var(--space-xl) 0;
}

.faq-no-results p {
  font-size: 1rem;
  color: var(--color-dark);
  opacity: 0.5;
  font-style: italic;
}

/* Page placeholder */
.page-placeholder {
  text-align: center;
  padding: var(--space-2xl) 0;
  font-size: 1.1rem;
  color: var(--color-dark);
  opacity: 0.5;
  font-style: italic;
}

.brand-hero-title {
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.brand-hero-title sup {
  font-size: 0.3em;
  vertical-align: super;
}

.brand-hero-subtitle {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
  opacity: 0.7;
  margin-bottom: 2rem;
}

.brand-hero-desc {
  color: var(--color-white);
  opacity: 0.6;
  max-width: 450px;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 auto 2rem;
}

.brand-hero-anchors {
  display: flex;
  gap: 2rem;
}

.brand-anchor {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: capitalize;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.brand-anchor:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}

.brand-anchor .arrow {
  transition: transform var(--transition-fast);
}

.brand-anchor:hover .arrow {
  transform: translateY(3px);
}

/* Product showcase */
.product-showcase {
  background: var(--color-black);
  padding: var(--space-2xl) 0;
  position: relative;
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.product-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  z-index: 5;
}

.product-nav:hover {
  opacity: 1;
}

.product-nav--prev {
  left: -60px;
}

.product-nav--next {
  right: -60px;
}

.product-info-left {
  flex: 1;
  text-align: left;
}

.product-type {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.product-name {
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--color-terracotta);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--color-white);
  opacity: 0.6;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 250px;
}

.product-badges {
  display: flex;
  gap: 0.5rem;
}

.product-badge {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--color-white);
  opacity: 0.5;
}

.product-image {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.product-bottle-placeholder {
  width: 120px;
  height: 350px;
  background: linear-gradient(180deg, rgba(192, 77, 58, 0.3) 0%, rgba(192, 77, 58, 0.1) 100%);
  border-radius: 10px 10px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-bottle-placeholder::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 30px;
  background: rgba(192, 77, 58, 0.2);
  border-radius: 3px 3px 0 0;
}

.product-bottle-placeholder img {
  width: 50px;
  opacity: 0.3;
}

.product-info-right {
  flex: 1;
}

.product-abv {
  font-weight: 900;
  font-size: 3rem;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 1rem;
}

.product-abv sup {
  font-size: 0.4em;
  vertical-align: super;
}

.product-abv small {
  font-size: 0.3em;
  font-weight: 400;
  opacity: 0.5;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-spec {
  font-size: 0.8rem;
  color: var(--color-white);
}

.product-spec strong {
  font-weight: 700;
}

.product-spec span {
  opacity: 0.6;
}

.product-formats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-format-text {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-white);
  line-height: 1.4;
}

.product-format-icons {
  display: flex;
  gap: 0.5rem;
}

.product-format-icon {
  width: 28px;
  opacity: 0.4;
}

/* Related products */
.related-products {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.related-title {
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-category {
  text-align: center;
}

.related-category-items {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  min-height: 180px;
  align-items: flex-end;
}

.related-item {
  width: 60px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.related-item:hover {
  transform: scale(1.1);
}

.related-item-placeholder {
  width: 50px;
  height: 140px;
  background: linear-gradient(180deg, var(--color-yellow-pale) 0%, var(--color-cream) 100%);
  border-radius: 6px 6px 2px 2px;
  margin: 0 auto;
}

.related-category-name {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  padding-top: 1rem;
  border-top: 2px solid var(--color-terracotta);
}

/* Product gamme grid */
.gamme-full {
  padding: 3rem 0 var(--space-2xl);
  position: relative;
  z-index: 1;
}

.gamme-full-title {
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.gamme-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
}

.gamme-full-image {
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Exclusivity badge — top-left inside product card */
.gamme-full-exclu {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 0;
  width: 34%;
  height: auto;
  pointer-events: none;
}


/* Illustration — behind the beer */
.gamme-full-illus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.gamme-full-item:hover .gamme-full-illus {
  transform: scale(1.06);
}

/* Hide per-product illustrations when admin disabled them for this gamme */
.gamme-full--no-illus .gamme-full-illus {
  display: none;
}


.gamme-full-placeholder img:not(.gamme-full-img):not(.gamme-full-illus):not(.gamme-full-exclu) {
  width: 40%;
  opacity: 0.2;
}

.gamme-full-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-dark);
  opacity: 1;
  margin-bottom: 0.25rem;
}


.gamme-full-name {
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.gamme-full-style {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.gamme-full-underline {
  width: 30px;
  height: 2px;
  background: var(--color-terracotta);
  margin: 0 auto;
}

/* ============================================
   CASTELAIN — Dark Theme
   ============================================ */
.gamme-page--castelain {
  background: #0a0a0a;
}

.gamme-page--castelain .gamme-full-title {
  color: #fff;
}

.gamme-page--castelain .gamme-full-name {
  color: #fff;
}

.gamme-page--castelain .gamme-full-type,
.gamme-page--castelain .gamme-full-style {
  color: rgba(255, 255, 255, 0.9);
}

.gamme-page--castelain .gamme-full-underline {
  background: rgba(255, 255, 255, 0.6);
}

.gamme-page--castelain .gamme-full-placeholder {
  background: transparent !important;
}


/* ── Gamme filter bar (type pills + container icons) ── */
.gamme-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}


.gamme-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.gamme-filter-btn {
  padding: .4rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gamme-filter-btn.active {
  background: var(--color-dark);
  color: var(--color-cream);
  border-color: var(--color-dark);
}

/* Separator between type pills and container icons */
.gamme-filter-sep {
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 .25rem;
  flex-shrink: 0;
}

/* Container icon buttons */
.gamme-filter-icons {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.gamme-filter-icon {
  padding: .4rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.gamme-filter-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0);
  transition: filter var(--transition-fast);
}

.gamme-filter-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.gamme-filter-icon.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-cream);
}

.gamme-filter-icon.active img {
  filter: brightness(0) invert(1);
}

/* Castelain dark overrides */
.gamme-page--castelain .gamme-filter-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.gamme-page--castelain .gamme-filter-btn.active {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.gamme-page--castelain .gamme-filter-sep {
  background: rgba(255, 255, 255, 0.2);
}

.gamme-page--castelain .gamme-filter-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.gamme-page--castelain .gamme-filter-icon img {
  filter: brightness(0) invert(1);
}

.gamme-page--castelain .gamme-filter-icon.active {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a;
}

.gamme-page--castelain .gamme-filter-icon.active img {
  filter: brightness(0);
}

/* ============================================
   JADE — Green Theme (#73bc25)
   ============================================ */
.gamme-page--jade {
  background: #73bc25;
  position: relative;
  overflow: hidden;
}

.gamme-page--jade .gamme-full-title {
  color: #fff;
}

.gamme-page--jade .gamme-full-name {
  color: #fff;
}

.gamme-page--jade .gamme-full-type,
.gamme-page--jade .gamme-full-style {
  color: #fff;
}

.gamme-page--jade .gamme-full-underline {
  background: #fff;
}

.gamme-page--jade .gamme-full-placeholder {
  background: transparent !important;
}


/* Jade green filter overrides */
.gamme-page--jade .gamme-filter-btn {
  color: #fff;
  border-color: #fff;
}

.gamme-page--jade .gamme-filter-btn.active {
  background: #fff;
  color: #73bc25;
  border-color: #fff;
}

.gamme-page--jade .gamme-filter-sep {
  background: #fff;
}

.gamme-page--jade .gamme-filter-icon {
  color: #fff;
  border-color: #fff;
}

.gamme-page--jade .gamme-filter-icon img {
  filter: brightness(0) invert(1);
}

.gamme-page--jade .gamme-filter-icon.active {
  background: #fff;
  border-color: #fff;
  color: #73bc25;
}

.gamme-page--jade .gamme-filter-icon.active img {
  filter: brightness(0);
}

/* Jade gamme — decorative clouds & bird behind products */
.gamme-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: auto;
  opacity: 0.85;
  will-change: transform;
  --drift-x: 0px;
  --drift-y: 0px;
  --parallax-y: 0px;
  translate: var(--drift-x) calc(var(--drift-y) + var(--parallax-y));
}

.gamme-deco--nuage1 {
  top: 8%;
  right: 13%;
  width: 222px;
}

.gamme-deco--nuage2 {
  top: 53%;
  right: -13%;
  width: 350px;
}

.gamme-deco--nuage3 {
  top: 61%;
  right: -8%;
  width: 190px;
}

.gamme-deco--nuage4 {
  top: 60%;
  left: -2%;
  width: 175px;
  transform: scaleX(-1);
}

.gamme-deco--nuage5 {
  bottom: 32%;
  left: -2%;
  width: 64.4px;
}

.gamme-deco--nuage6 {
  top: 17%;
  left: 0%;
  width: 112px;
}

.gamme-deco--nuage7 {
  top: 22%;
  left: -8%;
  width: 240px;
}

/* Jade clouds 4 & 5 — push further left on medium viewports */
@media (max-width: 1440px) and (min-width: 1101px) {
  .gamme-deco--nuage4 {
    left: -6%;
  }
  .gamme-deco--nuage5 {
    left: -5%;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .gamme-deco--nuage4 {
    left: -10%;
  }
  .gamme-deco--nuage5 {
    left: -8%;
  }
}

.gamme-deco--oiseau {
  top: 51px;
  right: 29.5%;
  width: 120px;
  filter: none;
  opacity: 0.9;
}

/* Jade hero — no dark overlay */
#hero-jade .gamme-hero__overlay {
  background: none;
}

#hero-jade .gamme-hero__desc {
  color: #fff;
  opacity: 1;
}

#hero-jade .brand-anchor {
  color: #216e40;
  border-color: rgba(33, 110, 64, 0.4);
}

#hero-jade .brand-anchor:hover {
  color: #216e40;
  border-color: #216e40;
}

/* Jade hero — decorative bandeau at bottom */
.gamme-hero__bandeau {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* Jade hero — decorative clouds */
.gamme-hero__nuage {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: auto;
  opacity: 0.85;
  will-change: transform;
}

.gamme-hero__nuage--gauche {
  top: 90px;
  left: calc(50% - 800px);
  width: 550px;
  z-index: 0;
}

.gamme-hero__nuage--droite {
  top: 0px;
  left: calc(50% - -250px);
  width: 560px;
  z-index: 0;
}

/* ============================================
   CH'TI — Kraft Theme
   ============================================ */
.gamme-page--chti {
  background: #e6cea8;
  position: relative;
  overflow: clip;
}

.gamme-page--chti .gamme-full-title {
  color: #000;
}

.gamme-page--chti .gamme-full-name {
  color: #000;
}

.gamme-page--chti .gamme-full-type,
.gamme-page--chti .gamme-full-style {
  color: #000;
}

.gamme-page--chti .gamme-full-underline {
  background: #000;
}

.gamme-page--chti .gamme-full-placeholder {
  background: transparent !important;
}

.gamme-page--chti .gamme-filter-btn {
  color: #000;
  border-color: rgba(0, 0, 0, 0.2);
}

.gamme-page--chti .gamme-filter-btn.active {
  background: #000;
  color: var(--color-cream);
  border-color: #000;
}

.gamme-page--chti .gamme-filter-sep {
  background: rgba(0, 0, 0, 0.2);
}

.gamme-page--chti .gamme-filter-icon {
  border-color: rgba(0, 0, 0, 0.2);
}

.gamme-page--chti .gamme-filter-icon.active {
  background: #000;
  border-color: #000;
}

.gamme-page--chti .gamme-filter-icon.active img {
  filter: brightness(0) invert(1);
}

/* Ch'ti — Decorative pictos borders */
.chti-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Stagger entrance delays for scattered reveal */
.chti-deco:nth-child(1) {
  transition-delay: 0.1s;
}

.chti-deco:nth-child(2) {
  transition-delay: 0.2s;
}

.chti-deco:nth-child(3) {
  transition-delay: 0.15s;
}

.chti-deco:nth-child(4) {
  transition-delay: 0.3s;
}

.chti-deco:nth-child(5) {
  transition-delay: 0.25s;
}

.chti-deco:nth-child(6) {
  transition-delay: 0.35s;
}

.chti-deco:nth-child(7) {
  transition-delay: 0.18s;
}

.chti-deco:nth-child(8) {
  transition-delay: 0.4s;
}

.chti-deco:nth-child(9) {
  transition-delay: 0.28s;
}

.chti-deco:nth-child(10) {
  transition-delay: 0.45s;
}

.chti-deco:nth-child(n+11) {
  transition-delay: 0.5s;
}

.chti-deco:nth-child(n+14) {
  transition-delay: 0.55s;
}

.chti-deco:nth-child(n+17) {
  transition-delay: 0.6s;
}

/* Revealed state — triggered by JS IntersectionObserver */
.chti-deco.visible {
  opacity: 0.75;
}

/* Dynamic deco items — positioned via inline styles from JSON data */
.chti-deco--dynamic {
  /* position/transform set inline; keep scale(1) separate for revealed state */
}

.chti-deco--dynamic.visible {
  opacity: 0.75;
  /* Inline transform (rotate) is set, scale handled separately */
}


/* Hide Ch'ti deco on mobile — too narrow */
@media (max-width: 900px) {
  .chti-deco {
    display: none;
  }
}

/* ── Cadette gamme page overrides ── */
.gamme-page--cadette {
  background: #2c7089;
}

.gamme-page--cadette .gamme-full-title {
  color: #fff;
}

.gamme-page--cadette .gamme-full-name {
  color: #fff;
}

.gamme-page--cadette .gamme-full-type,
.gamme-page--cadette .gamme-full-style {
  color: rgba(255, 255, 255, 0.9);
}

.gamme-page--cadette .gamme-full-underline {
  background: rgba(255, 255, 255, 0.6);
}

.gamme-page--cadette .gamme-full-placeholder {
  background: transparent !important;
}

.gamme-page--cadette .gamme-filter-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.gamme-page--cadette .gamme-filter-btn.active {
  background: #fff;
  color: #2c7089;
  border-color: #fff;
}

.gamme-page--cadette .gamme-filter-sep {
  background: rgba(255, 255, 255, 0.25);
}

.gamme-page--cadette .gamme-filter-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.gamme-page--cadette .gamme-filter-icon img {
  filter: brightness(0) invert(1);
}

.gamme-page--cadette .gamme-filter-icon.active {
  background: #fff;
  border-color: #fff;
  color: #2c7089;
}

.gamme-page--cadette .gamme-filter-icon.active img {
  filter: brightness(0);
}

/* ── Cadette Bio gamme page overrides ── */
.gamme-page--cadette-bio {
  background: #f3f3ec;
  position: relative;
  overflow: clip;
}

/* --- Cadette Bio product detail overrides --- */
.pd.pd--cadette-bio {
  background: #f3f3ec;
  --pd-bg-color: #f3f3ec;
  --pd-text-color: #000;
}

.pd--cadette-bio .pd-breadcrumb a,
.pd--cadette-bio .pd-breadcrumb .sep,
.pd--cadette-bio .pd-breadcrumb span {
  color: #000;
}

.pd--cadette-bio .pd-breadcrumb a:hover {
  color: #000;
}

.pd--cadette-bio .pd-type {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-name {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-desc {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-abv-num,
.pd--cadette-bio .pd-abv-deg {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-abv-vol {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-fiche {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-fiche b {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-separator {
  background: rgba(0, 0, 0, 0.1);
}

.pd--cadette-bio .pd-format-type {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-format-value {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-format-icon {
  opacity: 1;
  filter: invert(1);
}

.pd--cadette-bio .pd-nav-arrow {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-nav-preview-name {
  color: var(--color-dark);
}

.pd--cadette-bio .pd-badge {
  color: var(--color-dark);
  border-color: rgba(0, 0, 0, 0.15);
}

/* Cadette Bio related products section */
.pd--cadette-bio~.product-related--dark {
  background: #eaeae2;
}

.pd--cadette-bio~.product-related--dark .gamme-full-title {
  color: var(--color-dark);
}

.pd--cadette-bio~.product-related--dark .gamme-full-name {
  color: var(--color-dark);
}

.pd--cadette-bio~.product-related--dark .gamme-full-type,
.pd--cadette-bio~.product-related--dark .gamme-full-style {
  color: var(--color-dark);
}

.pd--cadette-bio~.product-related--dark .gamme-full-placeholder {
  background: transparent !important;
}

.pd--cadette-bio~.product-related--dark .gamme-full-underline {
  background: var(--color-dark);
}

/* --- Ch'ti product detail overrides --- */
.pd.pd--chti {
  background: #e6cea8;
  --pd-bg-color: #e6cea8;
  --pd-text-color: #000;
  position: relative;
  overflow: clip;
}

.pd--chti .pd-breadcrumb a,
.pd--chti .pd-breadcrumb .sep,
.pd--chti .pd-breadcrumb span {
  color: #000;
}

.pd--chti .pd-breadcrumb a:hover {
  color: #000;
}

.pd--chti .pd-type {
  color: #000;
}

.pd--chti .pd-name {
  color: #000;
}

.pd--chti .pd-desc {
  color: #000;
}

.pd--chti .pd-abv-num,
.pd--chti .pd-abv-deg {
  color: #000;
}

.pd--chti .pd-abv-vol {
  color: #000;
}

.pd--chti .pd-fiche {
  color: #000;
}

.pd--chti .pd-fiche b {
  color: #000;
}

.pd--chti .pd-separator {
  background: rgba(0, 0, 0, 0.1);
}

.pd--chti .pd-format-type {
  color: #000;
}

.pd--chti .pd-format-value {
  color: #000;
}

.pd--chti .pd-format-icon {
  opacity: 1;
  filter: invert(1);
}

.pd--chti .pd-nav-arrow {
  color: #000;
}

.pd--chti .pd-nav-preview-name {
  color: #000;
}

.pd--chti .pd-badge {
  color: #000;
  border-color: rgba(0, 0, 0, 0.15);
}

/* Ch'ti related products section */
.pd--chti~.product-related--dark {
  background: #d9be94;
}

.pd--chti~.product-related--dark .gamme-full-title {
  color: #000;
}

.pd--chti~.product-related--dark .gamme-full-name {
  color: #000;
}

.pd--chti~.product-related--dark .gamme-full-type,
.pd--chti~.product-related--dark .gamme-full-style {
  color: #000;
}

.pd--chti~.product-related--dark .gamme-full-placeholder {
  background: transparent !important;
}

.pd--chti~.product-related--dark .gamme-full-underline {
  background: #000;
}

/* --- Jade product detail overrides --- */
.pd.pd--jade {
  background: #73bc25;
  --pd-bg-color: #73bc25;
  --pd-text-color: #fff;
  position: relative;
  overflow: hidden;
}

.pd--jade .pd-breadcrumb a,
.pd--jade .pd-breadcrumb .sep,
.pd--jade .pd-breadcrumb span {
  color: #fff;
  opacity: 1;
}

.pd--jade .pd-breadcrumb a:hover {
  color: #fff;
}

.pd--jade .pd-type {
  color: #fff;
}

.pd--jade .pd-name {
  color: #fff;
}

.pd--jade .pd-desc {
  color: #fff;
  opacity: 1;
}

.pd--jade .pd-abv-num,
.pd--jade .pd-abv-deg {
  color: #fff;
}

.pd--jade .pd-abv-vol {
  color: #fff;
}

.pd--jade .pd-fiche {
  color: #fff;
}

.pd--jade .pd-fiche b {
  color: #fff;
}

.pd--jade .pd-separator {
  background: #fff;
}

.pd--jade .pd-format-type {
  color: #fff;
}

.pd--jade .pd-format-value {
  color: #fff;
}

.pd--jade .pd-format-icon {
  opacity: 1;
}

.pd--jade .pd-nav-arrow {
  color: #fff;
}

.pd--jade .pd-nav-preview-name {
  color: #fff;
}

.pd--jade .pd-badge {
  color: #fff;
  border-color: #fff;
}

.pd--jade .pd-bottle {
  filter: none;
}

.pd--jade .pd-center:hover .pd-bottle {
  filter: none;
}

/* Jade related products section */
.pd--jade~.product-related--dark {
  background: #51a42e;
}

.pd--jade~.product-related--dark .gamme-full-title {
  color: #fff;
}

.pd--jade~.product-related--dark .gamme-full-name {
  color: #fff;
}

.pd--jade~.product-related--dark .gamme-full-type,
.pd--jade~.product-related--dark .gamme-full-style {
  color: #fff;
}

.pd--jade~.product-related--dark .gamme-full-placeholder {
  background: transparent !important;
}

.pd--jade~.product-related--dark .gamme-full-underline {
  background: #fff;
}

/* --- Jade Blanche Malt Bio — per-beer overrides --- */
.pd--jade[data-beer-slug="jade-blanche-malt-bio"] {
  background: #2c99dc;
}

.pd--jade[data-beer-slug="jade-blanche-malt-bio"]~.product-related--dark {
  background: #2280bd;
}

/* --- Jade Blanche CHR — per-beer overrides --- */
.pd--jade[data-beer-slug="jade-blanche-chr"] {
  background: #2c99dc;
}

.pd--jade[data-beer-slug="jade-blanche-chr"]~.product-related--dark {
  background: #2280bd;
}

/* --- Jade Ambrée Malt Bio — per-beer overrides --- */
.pd--jade[data-beer-slug="jade-ambree-malt-bio"] {
  background: #ac5336;
}

.pd--jade[data-beer-slug="jade-ambree-malt-bio"]~.product-related--dark {
  background: #8f4429;
}

/* --- Jade Sans Gluten — per-beer overrides --- */
.pd--jade[data-beer-slug="jade-sans-gluten"] {
  background: #32589a;
}

.pd--jade[data-beer-slug="jade-sans-gluten"]~.product-related--dark {
  background: #294a82;
}

/* --- Jade Sans Alcool — per-beer overrides --- */
.pd--jade[data-beer-slug="jade-sans-alcool"] {
  background: #409e46;
}

.pd--jade[data-beer-slug="jade-sans-alcool"]~.product-related--dark {
  background: #358539;
}

/* --- Jade Sans Alcool CHR — per-beer overrides --- */
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] {
  background: #fde45c;
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-breadcrumb a,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-breadcrumb .sep,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-breadcrumb span {
  color: #000;
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-breadcrumb a:hover {
  color: #000;
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-type,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-name,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-desc,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-fiche,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-fiche b,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-abv-num,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-abv-deg,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-abv-vol,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-format-type,
.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-format-value {
  color: #000;
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-separator {
  background: rgba(0, 0, 0, 0.15);
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-format-icon {
  filter: brightness(0);
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-badge {
  color: #000;
  border-color: rgba(0, 0, 0, 0.2);
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-nav-arrow {
  color: #000;
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"] .pd-nav-preview-name {
  color: #000;
}

.pd--jade[data-beer-slug="jade-sans-alcool-chr"]~.product-related--dark {
  background: #d4b920;
}

/* --- La Cadette product detail overrides --- */
.pd.pd--cadette {
  background: #2c7089;
  --pd-bg-color: #2c7089;
  --pd-text-color: #fff;
}

.pd--cadette .pd-breadcrumb a,
.pd--cadette .pd-breadcrumb .sep,
.pd--cadette .pd-breadcrumb span {
  color: #fff;
}

.pd--cadette .pd-breadcrumb a:hover {
  color: #fff;
}

.pd--cadette .pd-separator {
  background: rgba(255, 255, 255, 0.2);
}

.pd--cadette .pd-format-icon {
  opacity: 1;
}

.pd--cadette .pd-badge {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Cadette related products section */
.pd--cadette~.product-related--dark {
  background: #245e73;
}

.pd--cadette~.product-related--dark .gamme-full-title {
  color: #fff;
}

.pd--cadette~.product-related--dark .gamme-full-name {
  color: #fff;
}

.pd--cadette~.product-related--dark .gamme-full-type,
.pd--cadette~.product-related--dark .gamme-full-style {
  color: rgba(255, 255, 255, 0.9);
}

.pd--cadette~.product-related--dark .gamme-full-placeholder {
  background: transparent !important;
}

.pd--cadette~.product-related--dark .gamme-full-underline {
  background: rgba(255, 255, 255, 0.6);
}

/* --- Tropical Blast — per-beer overrides --- */
.pd--cadette[data-beer-slug="cadette-tropical-blast"] {
  background: #4c8c62;
  background-image: url('/assets/images/illustrations/fond-tropical-blast.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pd--cadette[data-beer-slug="cadette-tropical-blast"]~.product-related--dark {
  background: #3b6e4e;
}

/* --- Super Nova — per-beer overrides --- */
.pd--cadette[data-beer-slug="cadette-super-nova"] {
  background: #fee131;
  background-image: url('/assets/images/illustrations/fond-super-nova.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-breadcrumb a,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-breadcrumb .sep,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-breadcrumb span {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-breadcrumb a:hover {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-type,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-desc,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-fiche,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-abv-num,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-abv-deg,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-abv-vol,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-format-type,
.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-format-value {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-name {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-separator {
  background: rgba(0, 0, 0, 0.15);
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-format-icon {
  filter: brightness(0);
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-badge {
  color: #000;
  border-color: rgba(0, 0, 0, 0.2);
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-nav-arrow {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-super-nova"] .pd-fiche b {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-super-nova"]~.product-related--dark {
  background: #d4b920;
}

/* --- Red Sunset — per-beer overrides --- */
.pd--cadette[data-beer-slug="cadette-red-sunset"] {
  background: #fce7ec;
  background-image: url('/assets/images/illustrations/fond-red-sunset.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-breadcrumb a,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-breadcrumb .sep,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-breadcrumb span {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-breadcrumb a:hover {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-type,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-desc,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-fiche,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-abv-num,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-abv-deg,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-abv-vol,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-format-type,
.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-format-value {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-name {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-fiche b {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-separator {
  background: rgba(0, 0, 0, 0.15);
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-format-icon {
  filter: brightness(0);
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-badge {
  color: #000;
  border-color: rgba(0, 0, 0, 0.2);
}

.pd--cadette[data-beer-slug="cadette-red-sunset"] .pd-nav-arrow {
  color: #000;
}

.pd--cadette[data-beer-slug="cadette-red-sunset"]~.product-related--dark {
  background: #e8c8d0;
}

/* Legacy cadette showcase classes */
.product-showcase--cadette {
  background: var(--color-dark);
}

.product-bottle-placeholder--cadette {
  background: linear-gradient(180deg, rgba(232, 200, 189, 0.3) 0%, rgba(232, 200, 189, 0.1) 100%) !important;
}

.product-bottle-placeholder--cadette::before {
  background: radial-gradient(circle, rgba(232, 200, 189, 0.15) 0%, transparent 70%) !important;
}


.jade-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.jade-title {
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--color-jade-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 0.9;
}

.jade-badge {
  width: 70px;
  height: 70px;
  background: var(--color-jade-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 900;
  font-size: 1rem;
  margin-left: 1rem;
}

.jade-subtitle {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-jade-green);
  margin-bottom: 2rem;
}

.jade-desc {
  color: var(--color-dark);
  opacity: 0.7;
  max-width: 450px;
  margin: 0 auto 2rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Jade landscape silhouette */
.jade-landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  overflow: hidden;
}

.jade-landscape-inner {
  width: 100%;
  height: 100%;
  background: var(--color-jade-bg);
  position: relative;
}

/* Jade product showcase */
.product-showcase--jade {
  background: var(--color-jade-bg);
}

.product-showcase--jade .product-name {
  color: var(--color-jade-green);
}

.product-showcase--jade .product-bottle-placeholder {
  background: linear-gradient(180deg, rgba(75, 139, 62, 0.3) 0%, rgba(75, 139, 62, 0.1) 100%);
}

.product-showcase--jade .product-bottle-placeholder::before {
  background: rgba(75, 139, 62, 0.2);
}

/* Jade page modifiers */
.jade-page .related-item-placeholder {
  background: linear-gradient(180deg, var(--color-green-pale) 0%, var(--color-cream) 100%);
}

.jade-page .related-category-name {
  border-color: var(--color-jade-green);
}

.jade-page .gamme-full-placeholder {
  background: transparent;
}

.jade-page .gamme-full-underline {
  background: var(--color-jade-green);
}

.jade-page .product-badge {
  border-color: rgba(75, 139, 62, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children — fallback delays (JS overrides for grids) */
.stagger-children .animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* Gamme grid & related: slide in from left */
#gamme-grid .gamme-full-item.animate-on-scroll,
.product-related .gamme-full-item.animate-on-scroll {
  transform: translateX(-40px);
}

#gamme-grid .gamme-full-item.animate-on-scroll.visible,
.product-related .gamme-full-item.animate-on-scroll.visible {
  transform: translateX(0);
}

/* ============================================
   BURGER BUTTON
   ============================================ */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-terracotta);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Burger → X animation */
.burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer.active {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-drawer.active .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 85vw;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.active .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  min-height: 72px;
  border-bottom: 1px solid rgba(49, 64, 68, 0.08);
}

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  transition: background var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: rgba(49, 64, 68, 0.08);
}

/* Mobile nav list */
.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(49, 64, 68, 0.06);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-terracotta);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav-link:hover {
  background: rgba(192, 77, 58, 0.04);
}

a.mobile-nav-link {
  justify-content: flex-start;
}

.mobile-chevron {
  font-size: 0.7rem;
  transition: transform var(--transition-base);
  color: var(--color-dark);
  opacity: 0.4;
}

.mobile-nav-item.open .mobile-chevron {
  transform: rotate(180deg);
}

/* Sub-list accordion */
.mobile-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  background: rgba(49, 64, 68, 0.03);
}

.mobile-nav-item.open .mobile-sub-list {
  max-height: 400px;
}

.mobile-sub-link {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 2.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-sub-link:hover {
  color: var(--color-terracotta);
  background: rgba(192, 77, 58, 0.04);
}

/* Drawer footer */
.mobile-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(49, 64, 68, 0.08);
}

.mobile-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-social-link:hover {
  color: var(--color-dark);
}

/* Body lock when drawer open */
body.mobile-drawer-open {
  overflow: hidden;
}

/* Admin topbar offset */
body.has-admin-topbar .mobile-drawer {
  top: 36px;
}

/* ============================================
   RESPONSIVE (basic)
   ============================================ */

/* --- Tablet+ : burger + hide desktop nav --- */
@media (max-width: 1200px) {
  :root {
    --header-height: 60px;
  }

  .burger-btn {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .header-divider {
    display: none;
  }
}

/* --- Medium screens : floating header --- */
/* TEMP: testing globally — restore @media (min-width: 769px) and (max-width: 1200px) after */
:root {
  --header-height: 0px;
}

.site-header {
  top: 16px;
  left: 16px;
  right: 16px;
  height: 72px;
  border-radius: 14px;
  background: var(--color-cream);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.site-header.scrolled {
  background: var(--color-cream);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.14);
}

/* Stretch nav chain to full header height so dropdowns clear the bar */
.main-nav,
.nav-list {
  height: 100%;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

body.has-admin-topbar .site-header {
  top: 52px;
}

/* } end TEMP */

/* --- Layout adjustments at 1024px --- */
@media (max-width: 1024px) {
  .gamme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .triptych {
    grid-template-columns: 1fr;
  }

  .ig-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-card {
    flex-direction: column;
    text-align: center;
  }

  .product-info-left {
    text-align: center;
  }

  .product-desc {
    margin: 0 auto 1.5rem;
  }

  .product-badges {
    justify-content: center;
  }

  .product-nav--prev {
    left: 0;
  }

  .product-nav--next {
    right: 0;
  }

  .gamme-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 400px;
  }

  .gamme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    flex-direction: column;
    gap: 2rem;
  }

  .newsletter-form {
    min-width: unset;
  }

  .sub-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .sub-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gamme-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-hero-anchors {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .gamme-grid {
    grid-template-columns: 1fr;
  }

  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gamme-full-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   GAMME ITEMS — Clickable + Badges
   ============================================ */
.gamme-full-item {
  text-decoration: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: transform var(--transition-base), opacity 0.6s ease;
}

.gamme-full-item:hover {
  transform: translateY(-6px);
}

a.gamme-full-item:hover .gamme-full-placeholder {
  transform: scale(1.05);
}

.gamme-full-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  position: relative;
  transition: transform var(--transition-base);
}

.gamme-full-placeholder img.gamme-full-img {
  width: auto;
  max-width: 65%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.45s ease;
  position: relative;
  z-index: 1;
}

a.gamme-full-item:hover .gamme-full-img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
}

/* ── Pack visual type — more square, larger image ── */
.gamme-full-item[data-visual-type="pack"] .gamme-full-image {
  aspect-ratio: 4/3;
}

.gamme-full-item[data-visual-type="pack"] .gamme-full-placeholder {
  height: 95%;
}

.gamme-full-item[data-visual-type="pack"] .gamme-full-placeholder img.gamme-full-img {
  max-width: 50%;
  max-height: 100%;
}

.gamme-full-rupture {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  background: #888;
  padding: .15rem .5rem;
  border-radius: 3px;
  margin-top: .25rem;
}

/* ============================================
   HERO BRAND VARIANTS
   ============================================ */
.hero--cadette-bio {
  background: linear-gradient(135deg, #5a8a3c 0%, #3d6b28 100%);
}

.hero--about {
  background: var(--color-dark);
  min-height: 50vh;
}

.brand-hero-sub {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .7);
  margin-bottom: .5rem;
}

/* ============================================
   PRODUCT DETAIL — 3-Column Dark Showcase
   ============================================ */
.pd {
  background: #0a0a0a;
  color: #fff;
  --pd-bg-color: #0a0a0a;
  --pd-text-color: #fff;
  padding-top: 120px;
  /* Clear floating header: 16px offset + 72px height + 32px gap */
  padding-bottom: 2rem;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  display: flex;
  flex-direction: column;
}

body.has-admin-topbar .pd {
  padding-top: 156px;
  /* 52px (header top with topbar) + 72px header + 32px gap */
}

/* Admin text-color override — beats gamme-specific selectors via [style] attr */
.pd[style*="--pd-text-color"] .pd-type,
.pd[style*="--pd-text-color"] .pd-name,
.pd[style*="--pd-text-color"] .pd-desc,
.pd[style*="--pd-text-color"] .pd-abv-num,
.pd[style*="--pd-text-color"] .pd-abv-deg,
.pd[style*="--pd-text-color"] .pd-abv-vol,
.pd[style*="--pd-text-color"] .pd-fiche,
.pd[style*="--pd-text-color"] .pd-fiche b,
.pd[style*="--pd-text-color"] .pd-format-type,
.pd[style*="--pd-text-color"] .pd-format-value,
.pd[style*="--pd-text-color"] .pd-contenant,
.pd[style*="--pd-text-color"] .pd-unite-alcool-label,
.pd[style*="--pd-text-color"] .pd-separator {
  color: var(--pd-text-color);
}

.pd[style*="--pd-text-color"] .pd-separator {
  background: var(--pd-text-color);
}

.pd[style*="--pd-text-color"] .pd-breadcrumb a,
.pd[style*="--pd-text-color"] .pd-breadcrumb .sep,
.pd[style*="--pd-text-color"] .pd-breadcrumb span {
  color: var(--pd-text-color);
}

/* Breadcrumb */
.pd-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pd-breadcrumb a,
.pd-breadcrumb .sep,
.pd-breadcrumb span {
  color: inherit;
  transition: opacity var(--transition-fast);
}

/* ── 3-column showcase ── */
.pd>.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pd-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  align-content: center;
  flex: 1;
  min-height: 520px;
}

/* ── LEFT column ── */
.pd-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: clamp(1rem, 6vw, 8rem);
}

.pd-type {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: .3rem;
}


.pd-name {
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.pd-desc {
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* AB label — left column, between description and medals */
.pd-ab-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pd-ab-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.pd-ab-logo--sg {
  height: 55px;
}

.pd-badge {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 3px;
  font-size: .7rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.pd-badge--exclu {
  background: rgba(255, 236, 196, 0.15);
  color: var(--color-yellow-pale);
}

.pd-badge--rupture {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 700;
}

.pd-badge--bio {
  background: rgba(217, 235, 206, 0.15);
  color: var(--color-green-pale);
}

.pd-medals {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: .5rem;
}

.pd-medal-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.pd-medal-placeholder {
  display: inline-block;
  padding: .4rem .8rem;
  background: rgba(255, 236, 196, 0.12);
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-yellow-pale);
}

/* ── CENTER column — Bottle ── */
.pd-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30rem;
  overflow: visible;
}

.pd-illus {
  position: absolute;
  width: 33rem;
  height: auto;
  max-width: none;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.5s ease;
}

.pd-bottle {
  position: relative;
  z-index: 1;
  max-height: 37.5rem;
  max-width: 22rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pd-center:hover .pd-bottle {
  transform: scale(1.08) translateY(-6px);
}

/* ── Pack visual type — product detail ── */
.pd--pack .pd-bottle {
  max-width: 350px;
  max-height: 500px;
}

.pd--pack .pd-illus {
  width: 37.5rem;
}

.pd-center:hover .pd-illus {
  transform: translate(-50%, -50%) scale(1.06);
}

.pd-bottle-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 300px;
  opacity: 0.5;
  font-weight: 700;
  font-size: 1.1rem;
}

.pd-bottle-placeholder-sub {
  font-size: .75rem;
  font-weight: 400;
  opacity: .5;
}

/* ── Unité d'alcool — glass + value ── */
.pd-unite-alcool {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  color: var(--pd-text-color, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-unite-alcool-value {
  position: absolute;
  top: 19%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: .56rem;
  line-height: 1;
  color: var(--pd-bg-color, #0a0a0a);
  z-index: 1;
}

.pd-unite-alcool-glass {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  overflow: visible;
}

.pd-unite-alcool-glass svg {
  display: block;
  width: auto;
  height: 100%;
  overflow: visible;
}

/* ── Picto grid — glass + label + contenant ── */
.pd-unite-alcool-picto {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 0 .14rem;
  align-items: end;
  overflow: visible;
}

.pd-unite-alcool-glass {
  grid-column: 1;
  grid-row: 1;
}

.pd-unite-alcool-label {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.pd-contenant {
  grid-column: 1;
  grid-row: 2;
}

/* ── Label "UNITÉ / D'ALCOOL" — bottom-right of picto ── */
.pd-unite-alcool-label {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: .28rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .05em;
  color: var(--pd-text-color, #fff);
  text-transform: uppercase;
  white-space: nowrap;
}

.pd--chti .pd-unite-alcool-value {
  top: 44%;
  left: 50%;
}

.pd--jade .pd-unite-alcool-value {
  top: 27%;
  left: 50%;
}

.pd--cadette .pd-unite-alcool-value,
.pd--cadette-bio .pd-unite-alcool-value {
  top: 25%;
  left: 50%;
}



/* ── Contenant — below picto, centered ── */
.pd-contenant {
  display: block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: .36rem;
  font-weight: 600;
  text-align: center;
  color: var(--pd-text-color, #fff);
  letter-spacing: .03em;
  margin-top: .25rem;
}

/* ── RIGHT column ── */
.pd-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 150px;
  margin-left: -80px;
  width: 300px;
}

/* Certification logos (AB bio, sans gluten) — right column */
.pd-cert-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .4rem;
}

.pd-cert-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.pd-cert-logo[alt="Sans Gluten"] {
  width: 70px;
  height: 70px;
}

/* Remonter la colonne droite quand des logos sont affichés */
.pd-right:has(.pd-cert-logos) {
  margin-top: 30px;
}

/* ABV */
.pd-abv {
  margin-bottom: .6rem;
  line-height: 1;
}

.pd-abv-num {
  font-size: 2.6rem;
  font-weight: 900;
}

.pd-abv-deg {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
}

.pd-abv-vol {
  font-size: .95rem;
  font-weight: 700;
  color: inherit;
  opacity: 0.75;
  margin-left: .25rem;
}

/* Fiche technique — unified spec block */
.pd-fiche {
  font-size: .9rem;
  line-height: 1.6;
  color: inherit;
  opacity: 0.85;
}

.pd-fiche b {
  font-weight: 700;
}

/* Separator */
.pd-separator {
  width: 100%;
  height: 1px;
  background: currentColor;
  margin: 1rem 0;
}

/* Formats / Contenance */
.pd-formats-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.pd-formats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pd-format {
  display: flex;
  align-items: center;
  gap: .3rem;
  line-height: 1.5;
}

.pd-format-icons {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  padding-top: .1rem;
}

.pd-format-icon {
  width: auto;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.pd-format-icon[alt="Canette"] {
  height: 26px;
}

.pd-format-type {
  font-size: .9rem;
  font-weight: 700;
}

.pd-format-value {
  font-size: .9rem;
  font-weight: 400;
  margin-left: .3rem;
}

/* Back CTA */
.pd-back {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  text-align: center;
}

.pd-back .cta-link--white {
  color: rgba(255, 255, 255, 0.5);
  font-size: .82rem;
}

.pd-back .cta-link--white:hover {
  color: #fff;
}

.pd-back .cta-link--white::after {
  content: '';
}

/* ── Product Navigation Arrows ── */
.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.pd-nav:hover {
  color: rgba(255, 255, 255, 1);
}

.pd-nav--prev {
  left: 1rem;
  flex-direction: row-reverse;
}

.pd-nav--next {
  right: 1rem;
}

.pd-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.pd-nav:hover .pd-nav-arrow {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

/* ── Preview card ── */
.pd-nav-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
}

.pd-nav--prev .pd-nav-preview {
  left: calc(100% + 0.75rem);
  transform: translateY(-50%) translateX(-10px);
}

.pd-nav--next .pd-nav-preview {
  right: calc(100% + 0.75rem);
  transform: translateY(-50%) translateX(10px);
}

.pd-nav:hover .pd-nav-preview {
  opacity: 1;
  pointer-events: auto;
}

.pd-nav--prev:hover .pd-nav-preview {
  transform: translateY(-50%) translateX(0);
}

.pd-nav--next:hover .pd-nav-preview {
  transform: translateY(-50%) translateX(0);
}

/* Visual container */
.pd-nav-preview-visual {
  position: relative;
  width: 100px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-nav-preview-illus {
  position: absolute;
  width: 120px;
  height: auto;
  max-width: none;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.pd-nav-preview-img {
  position: relative;
  z-index: 1;
  max-height: 130px;
  max-width: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.pd-nav-preview-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.pd-nav-preview-name {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.3;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Responsive: hide preview on tablet, hide all on small mobile ── */
@media (max-width: 1200px) {
  .pd-nav-preview {
    display: none;
  }
}

@media (max-width: 768px) {
  .pd-nav {
    display: none;
  }
}

/* ============================================
   PRODUCT RELATED — "Vous pourriez aussi aimer"
   ============================================ */
.product-related {
  padding: var(--space-xl) 0;
  padding-bottom: calc(var(--space-xl) + 1rem);
  background: var(--color-cream);
  overflow: visible;
}

.product-related .gamme-full-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* Dark variant (always for product detail) */
.product-related--dark {
  background: #111;
}

.product-related--dark .gamme-full-title {
  color: #fff;
}

.product-related--dark .gamme-full-name {
  color: rgba(255, 255, 255, 0.9);
}

.product-related--dark .gamme-full-type,
.product-related--dark .gamme-full-style {
  color: rgba(255, 255, 255, 0.5);
}

.product-related--dark .gamme-full-placeholder {
  background: transparent !important;
}

.product-related--dark .gamme-full-underline {
  background: rgba(255, 255, 255, 0.6);
}

/* Hide style subtitle in related products — visible in fiche on detail page */
.product-related .gamme-full-style {
  display: none;
}

/* Hide illustration behind product in "Vous pourriez aussi aimer" — product only */
.product-related .gamme-full-illus {
  display: none;
}

/* ── Slider wrapper ── */
.related-slider-wrap {
  position: relative;
}

/* ── Slider track ── */
.related-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0.5rem;
  align-items: flex-end;
}

.related-slider::-webkit-scrollbar {
  display: none;
}

/* No-scroll: center items when ≤ 6 */
.related-slider--no-scroll {
  overflow: hidden;
  justify-content: center;
}

/* Card sizing: 6 visible */
.related-slider .gamme-full-item,
.related-slider--no-scroll .gamme-full-item {
  flex: 0 0 calc((100% - 5 * 1.5rem) / 6);
  min-width: 0;
  overflow: hidden;
}

/* Fixed-height image zone — pixel constraints so images don't grow unbounded */
.related-slider .gamme-full-image,
.related-slider--no-scroll .gamme-full-image {
  aspect-ratio: auto;
  height: 220px;
}

.related-slider .gamme-full-placeholder {
  aspect-ratio: auto;
  height: 100%;
}

.related-slider .gamme-full-placeholder img.gamme-full-img {
  max-height: 310px;
}

/* Exclu badge — fixed size, no hover scale */
.related-slider .gamme-full-exclu {
  top: 8px;
  left: -40px;
  width: 80px;
}

.related-slider a.gamme-full-item:hover .gamme-full-exclu {
  transform: scale(calc(1 / 1.05));
}

.related-slider .gamme-full-item[data-visual-type="pack"] .gamme-full-placeholder img.gamme-full-img,
.related-slider--no-scroll .gamme-full-item[data-visual-type="pack"] .gamme-full-placeholder img.gamme-full-img {
  max-width: 85%;
  max-height: 75%;
}

.related-slider .gamme-full-name {
  font-size: 1.1rem;
  min-height: 2.4em;
}

.related-slider .gamme-full-type {
  font-size: 0.6rem;
}

/* ── Arrow buttons ── */
.related-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.25s ease;
}

.related-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.related-slider-arrow--prev {
  left: -24px;
}

.related-slider-arrow--next {
  right: -24px;
}

.related-slider-arrow--hidden {
  opacity: 0;
  pointer-events: none;
}

.related-slider-mobile-nav {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {

  .related-slider .gamme-full-item,
  .related-slider--no-scroll .gamme-full-item {
    flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
  }

  .related-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .related-slider-arrow--prev {
    left: -8px;
  }

  .related-slider-arrow--next {
    right: -8px;
  }
}

@media (max-width: 768px) {

  .related-slider,
  .related-slider--no-scroll {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--container-pad);
    scroll-padding-inline-start: var(--container-pad);
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .related-slider .gamme-full-item,
  .related-slider--no-scroll .gamme-full-item {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .related-slider-arrow {
    display: none;
  }

  .related-slider-wrap {
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black calc(100% - 40px), transparent 100%);
  }

  .related-slider-wrap.scrolled-end {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40px, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 40px, black 100%);
  }

  .related-slider-mobile-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .related-slider-mobile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .related-slider-mobile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .related-slider-mobile-btn:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
  }


}

@media (max-width: 480px) {

  .related-slider .gamme-full-item,
  .related-slider--no-scroll .gamme-full-item {
    flex: 0 0 60%;
  }
}

/* ============================================
   PRODUCT DETAIL — RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .pd {
    overflow-x: clip;
  }

  .pd-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .pd-left {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .pd-name {
    font-size: 2.4rem;
  }

  .pd-desc {
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pd-center {
    min-height: 350px;
  }

  .pd-bottle {
    max-height: 420px;
    max-width: 240px;
  }

  .pd-illus {
    width: 380px;
  }

  .pd--pack .pd-bottle {
    max-width: 300px;
    max-height: 380px;
  }

  .pd--pack .pd-illus {
    width: 420px;
  }

  .pd-right {
    margin-top: 0;
    margin-left: 0;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
  }

  .pd-fiche {
    text-align: left;
  }

  .pd-abv-num {
    font-size: 1.6rem;
  }
}



/* ============================================
   HISTOIRE — Intro Section
   ============================================ */
.histoire-intro {
  background-color: #fef2be;
  background-image: url('/assets/images/histoire/fond-100-ans.jpg');
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  padding: var(--space-2xl) 0 0;
  overflow: hidden;
}

.histoire-intro .container {
  margin: 0 auto;
}

.histoire-intro-text {
  text-align: center;
}

.histoire-surtitle {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
  margin-bottom: 0.75rem;
}

.histoire-title {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  color: var(--color-terracotta);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.histoire-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-dark);
  opacity: 0.75;
  max-width: 650px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.histoire-tagline {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  text-align: center;
  font-style: italic;
}

.histoire-video {
  margin-top: var(--space-xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Cream background behind bottom half of video → cuts the yellow at midpoint */
.histoire-video::after {
  content: '';
  position: absolute;
  left: -999px;
  right: -999px;
  top: 50%;
  bottom: -999px;
  background: var(--color-cream);
  z-index: -1;
}

.histoire-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #D1D1D1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.histoire-video-embed {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.histoire-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
}

.histoire-video-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2a2a;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.histoire-video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dark);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.histoire-video-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.histoire-video-play:hover {
  transform: scale(1.1);
  background: var(--color-white);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   HISTOIRE — CTA Spot Banner
   ============================================ */
.histoire-cta {
  background: var(--color-dark);
  color: #fff;
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 1;
}

.histoire-cta .container {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.histoire-cta__logo {
  flex-shrink: 0;
  width: clamp(180px, 22vw, 260px);
  background: var(--color-cream);
  border-radius: 16px;
  padding: 1.25rem;
}

.histoire-cta__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.histoire-cta__body {
  flex: 1;
}

.histoire-cta__title {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: inherit;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.histoire-cta__text {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.25rem;
}

.histoire-cta__text strong {
  color: inherit;
  font-weight: 700;
}

.histoire-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--color-terracotta);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.histoire-cta__btn:hover {
  background: #d45a46;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 77, 58, 0.35);
}

.histoire-cta__btn svg {
  transition: transform 0.25s ease;
}

.histoire-cta__btn:hover svg {
  transform: translate(2px, -2px);
}

/* No logo: full-width centered text */
.histoire-cta--no-logo .container,
.histoire-cta:not(:has(.histoire-cta__logo)) .container {
  justify-content: center;
}

.histoire-cta--no-logo .histoire-cta__body,
.histoire-cta:not(:has(.histoire-cta__logo)) .histoire-cta__body {
  text-align: center;
}

.histoire-cta--no-logo .histoire-cta__btn,
.histoire-cta:not(:has(.histoire-cta__logo)) .histoire-cta__btn {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .histoire-cta .container {
    flex-direction: column;
    text-align: center;
  }

  .histoire-cta__logo {
    width: 160px;
  }

  .histoire-cta__text {
    margin-bottom: 1rem;
  }

  .histoire-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   HISTOIRE — Timeline (alternating layout)
   ============================================ */
.histoire-timeline {
  background: var(--color-cream);
  padding: var(--space-2xl) 0 calc(var(--space-xl) + 80px);
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
}

/* Histoire — Decorative pictos */
.histoire-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .histoire-deco {
    display: none;
  }
}

.tl-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 0;
}

.tl-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}

/* --- Entry base --- */
.tl-entry {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
}

/* Visible entry: instant container reveal, children animate individually */
.tl-entry.tl-visible {
  opacity: 1;
}

/* --- Staggered child animations (dots → photo → year → text) --- */

/* Photo */
.tl-entry.tl-visible .tl-photo {
  animation: tl-child-in 0.5s ease both;
  animation-delay: 0.12s;
}

/* Year text: color trick — element stays visible (for pseudo-element dots) but text is hidden */
.tl-entry.tl-visible .tl-year {
  animation: tl-year-in 0.45s ease both;
  animation-delay: 0.24s;
}

/* Heading */
.tl-entry.tl-visible .tl-heading {
  animation: tl-child-in 0.5s ease both;
  animation-delay: 0.36s;
}

/* Description text */
.tl-entry.tl-visible .tl-content>p {
  animation: tl-child-in 0.5s ease both;
  animation-delay: 0.42s;
}

/* Centered dot (::after on .tl-content) */
.tl-entry.tl-visible:nth-child(3n+1) .tl-content::after {
  animation: tl-dot-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Side dots (::before / ::after on .tl-year) — must preserve translateY(-50%) */
.tl-entry.tl-visible:nth-child(3n+2) .tl-year::before,
.tl-entry.tl-visible:nth-child(3n+0) .tl-year::after {
  animation: tl-dot-side-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* --- Instant mode: skip stagger for entries already visible on load --- */
.tl-entry.tl-instant,
.tl-entry.tl-instant .tl-photo,
.tl-entry.tl-instant .tl-heading,
.tl-entry.tl-instant .tl-content>p {
  animation: none !important;
  opacity: 1 !important;
}

.tl-entry.tl-instant .tl-year {
  animation: none !important;
  color: var(--color-terracotta) !important;
}

.tl-entry.tl-instant:nth-child(3n+1) .tl-content::after,
.tl-entry.tl-instant:nth-child(3n+2) .tl-year::before,
.tl-entry.tl-instant:nth-child(3n+0) .tl-year::after {
  animation: none !important;
  opacity: 1 !important;
}

/* --- Stagger keyframes --- */
@keyframes tl-child-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tl-year-in {
  from {
    color: transparent;
  }

  to {
    color: var(--color-terracotta);
  }
}

@keyframes tl-dot-in {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes tl-dot-side-in {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* --- Photo block --- */
.tl-photo {
  flex-shrink: 0;
}

.tl-photo img {
  max-width: clamp(150px, 20vw, 300px);
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.tl-photo--bw img {
  filter: grayscale(1);
}

/* --- Sticker / gommette effect --- */
.tl-sticker-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.tl-sticker {
  position: absolute !important;
  bottom: -10px;
  right: -10px;
  max-width: 100px !important;
  width: auto !important;
  padding: 8px 10px;
  background: #fff;
  border-radius: 6px;
  transform: rotate(4deg);
  box-shadow:
    -2px 3px 6px rgba(0, 0, 0, 0.15),
    4px 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

/* Peeling curl on the right edge */
.tl-sticker::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -3px;
  bottom: 10%;
  width: 8px;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.06),
      rgba(0, 0, 0, 0.02) 40%,
      transparent);
  border-radius: 0 4px 4px 0;
  transform: skewY(-2deg);
}

/* --- Content block --- */
.tl-content {
  max-width: 33%;
}

/* Centered entries: narrower text to avoid overlapping frise */
.tl-entry:nth-child(3n+1) .tl-content {
  max-width: 25%;
}

/* --- Year --- */
.tl-year {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(3.5rem, 9vw, 6rem);
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: inline-block;
  position: relative;
}

/* --- Node dots (terracotta circles — period markers on the frise) --- */
.tl-node-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid var(--color-terracotta);
  background: var(--color-terracotta);
  box-sizing: border-box;
  box-shadow: 0 0 0 4px var(--color-cream);
}

/* Centered: dot below content */
.tl-entry:nth-child(3n+1) .tl-content::after {
  content: '';
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--color-terracotta);
  box-sizing: border-box;
  margin: 1.25rem auto 0;
  box-shadow: 0 0 0 4px var(--color-cream);
}

/* Right block: dot to the LEFT of the year */
.tl-entry:nth-child(3n+2) .tl-year::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--color-terracotta);
  box-sizing: border-box;
  right: calc(100% + 2rem);
  top: calc(50% + 50px);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px var(--color-cream);
}

/* Left block: dot to the RIGHT of the year */
.tl-entry:nth-child(3n+0) .tl-year::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--color-terracotta);
  box-sizing: border-box;
  left: calc(100% + 2rem);
  top: calc(50% + 50px);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px var(--color-cream);
}

/* Extra offset for entries without photo — shorter entry needs more clearance */
.tl-entry--no-photo:nth-child(3n+2) .tl-year::before,
.tl-entry--no-photo:nth-child(3n+0) .tl-year::after {
  top: calc(50% + 180px);
}

/* --- Heading & text --- */
.tl-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.tl-entry p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-dark);
  opacity: 0.75;
}

.tl-highlight {
  font-weight: 700;
  font-style: italic;
  opacity: 1 !important;
  margin-top: 0.75rem;
}

.tl-small {
  font-size: 0.75rem !important;
  margin-top: 0.25rem;
}

/* --- Photo placeholders --- */
.tl-photo-placeholder {
  width: 220px;
  height: 170px;
  background: #d5d0c8;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tl-photo--portrait {
  width: 180px;
  height: 230px;
  border-radius: 6px;
}

/* ============================================
   TIMELINE — Alternating pattern (nth-child)
   1 = center, 2 = left block, 3 = right block
   ============================================ */

/* --- 1st of every 3: CENTERED --- */
.tl-entry:nth-child(3n+1) {
  align-items: center;
  text-align: center;
}

/* --- 2nd of every 3: block RIGHT, content aligned LEFT --- */
.tl-entry:nth-child(3n+2) {
  align-items: flex-end;
  text-align: left;
}

.tl-entry:nth-child(3n+2) .tl-photo {
  width: 100%;
  max-width: 33%;
  display: flex;
  justify-content: flex-start;
}

/* --- 3rd of every 3: block LEFT, content aligned RIGHT --- */
.tl-entry:nth-child(3n+0) {
  align-items: flex-start;
  text-align: right;
}

.tl-entry:nth-child(3n+0) .tl-photo {
  width: 100%;
  max-width: 33%;
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   TIMELINE — Intermediate squeeze (1160px → 900px)
   Uniform scale keeps all proportions + dot positions intact.
   ============================================ */
@media (max-width: 1160px) and (min-width: 901px) {
  .tl-container {
    zoom: 0.82;
  }
}

/* --- Timeline resize preloader --- */
.tl-resize-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tl-resize-loader::after {
  content: '';
  width: 28px;
  height: 28px;
  border: 3px solid rgba(192, 77, 58, 0.18);
  border-top-color: #C04D3A;
  border-radius: 50%;
  animation: tl-spin 0.7s linear infinite;
}

@keyframes tl-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   TIMELINE — Responsive
   ============================================ */
@media (max-width: 900px) {
  .tl-container {
    gap: 2.5rem;
  }

  .tl-entry,
  .tl-entry:nth-child(3n+1),
  .tl-entry:nth-child(3n+2),
  .tl-entry:nth-child(3n+0) {
    align-items: flex-start;
    text-align: left;
  }

  .tl-content {
    max-width: 100%;
  }

  .tl-entry:nth-child(3n+1) .tl-content::after,
  .tl-entry:nth-child(3n+2) .tl-year::before,
  .tl-entry:nth-child(3n+0) .tl-year::after {
    display: none;
  }

  .tl-photo-placeholder {
    width: 100%;
    max-width: 280px;
    height: 180px;
  }

  .tl-photo--portrait {
    width: 160px;
    height: 200px;
  }
}

/* ============================================
   TIMELINE — Horizontal carousel (≤ 900px)
   ============================================ */
@media (max-width: 900px) {
  .histoire-timeline {
    padding: 2rem 0;
    overflow-x: visible;
    overflow-y: visible;
  }

  .tl-container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tl-container::-webkit-scrollbar {
    display: none;
  }

  /* Hide the SVG timeline line */
  .tl-line-svg {
    display: none;
  }

  /* Hide node dots & pseudo-element dots */
  .tl-node-dot,
  .tl-entry:nth-child(3n+1) .tl-content::after,
  .tl-entry:nth-child(3n+2) .tl-year::before,
  .tl-entry:nth-child(3n+0) .tl-year::after {
    display: none;
  }

  /* All entries visible (no scroll-triggered animation in horizontal mode) */
  .tl-entry,
  .tl-entry:nth-child(3n+1),
  .tl-entry:nth-child(3n+2),
  .tl-entry:nth-child(3n+0) {
    opacity: 1;
    animation: none !important;
    flex: 0 0 85%;
    scroll-snap-align: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
  }

  /* Photo full width inside card */
  .tl-photo,
  .tl-entry:nth-child(3n+2) .tl-photo,
  .tl-entry:nth-child(3n+0) .tl-photo {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }

  .tl-photo img {
    max-width: 100%;
    border-radius: 10px;
  }

  /* Year */
  .tl-year {
    font-size: 3rem;
  }

  /* Heading */
  .tl-heading {
    font-size: 1rem;
  }

  /* Content full width, centered */
  .tl-content,
  .tl-entry:nth-child(3n+1) .tl-content {
    max-width: 100%;
  }

  .tl-sticker {
    max-width: 70px !important;
  }

  /* Timeline indicator */
  .tl-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 var(--container-pad);
    margin-bottom: 1rem;
  }

  .tl-indicator-counter {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--color-terracotta);
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .tl-indicator-bar {
    flex: 1;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: visible;
    position: relative;
  }

  .tl-indicator-progress {
    height: 100%;
    width: 0;
    background: var(--color-terracotta);
    border-radius: 3px;
    transition: width 0.15s ease-out;
    position: relative;
  }

  .tl-indicator-progress::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -18px;
    width: 12px;
    height: 12px;
    background: var(--color-terracotta);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  /* Reduce description text */
  .tl-entry p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* Tablet refinements — narrower cards, bigger text, capped images */
@media (min-width: 481px) and (max-width: 900px) {

  .tl-entry,
  .tl-entry:nth-child(3n+1),
  .tl-entry:nth-child(3n+2),
  .tl-entry:nth-child(3n+0) {
    flex: 0 0 50%;
  }

  .tl-photo img {
    max-width: 240px;
    margin: 0 auto;
  }

  .tl-year {
    font-size: 4rem;
  }

  .tl-heading {
    font-size: 1.2rem;
  }

  .tl-entry p {
    font-size: 1.05rem;
  }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: cookieSlideUp 0.4s ease-out;
}

.cookie-banner--hide {
  animation: cookieSlideDown 0.35s ease-in forwards;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cookieSlideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: .82rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: .55rem 1.2rem;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.cookie-btn--accept {
  background: var(--color-terracotta);
  color: #fff;
}

.cookie-btn--accept:hover {
  background: #a83e2d;
}

.cookie-btn--refuse {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn--refuse:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  white-space: nowrap;
}

.cookie-banner-link:hover {
  color: #fff;
}

/* ============================================
   AGE GATE
   ============================================ */
body.age-gate-active {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ageFadeIn 0.4s ease-out;
}

.age-gate--hide {
  animation: ageFadeOut 0.45s ease-in forwards;
}

@keyframes ageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ageFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.age-gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.age-gate-card {
  position: relative;
  z-index: 1;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 460px;
  width: 90%;
  text-align: center;
}

.age-gate-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
  opacity: .9;
}

.age-gate-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: .75rem;
}

.age-gate-text {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.age-gate-question {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.age-gate-btn {
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.age-gate-btn--yes {
  background: var(--color-terracotta);
  color: #fff;
}

.age-gate-btn--yes:hover {
  background: #a83e2d;
  transform: translateY(-1px);
}

.age-gate-btn--no {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.age-gate-btn--no:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.age-gate-legal {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* --- Form + Map grid --- */
.contact-section {
  padding-bottom: var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* --- Form --- */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(49, 64, 68, 0.06);
}

.contact-form-title {
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--color-dark);
  background: var(--color-cream);
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-dark);
  opacity: 0.35;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(192, 77, 58, 0.1);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23314044' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Error state */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d63031;
  box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1);
}

.form-group.has-error label {
  color: #d63031;
}

/* Submit */
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  align-self: flex-start;
  padding: 0.9rem 2rem;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 0.5rem;
}

.contact-submit:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 77, 58, 0.3);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-submit-arrow {
  transition: transform var(--transition-fast);
}

.contact-submit:hover .contact-submit-arrow {
  transform: translateX(3px);
}

/* Feedback messages */
.contact-feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: contactFeedbackIn 0.4s ease;
}

@keyframes contactFeedbackIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-feedback--success {
  background: rgba(39, 174, 96, 0.08);
  color: #1e8449;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.contact-feedback--error {
  background: rgba(214, 48, 49, 0.08);
  color: #c0392b;
  border: 1px solid rgba(214, 48, 49, 0.2);
}

.contact-feedback-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
}

.contact-feedback--success .contact-feedback-icon {
  background: #27ae60;
  color: #fff;
}

.contact-feedback--error .contact-feedback-icon {
  background: #d63031;
  color: #fff;
}

/* --- Map --- */
.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-map {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(49, 64, 68, 0.08);
}

.contact-map-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.contact-map-overlay svg {
  flex-shrink: 0;
  color: var(--color-terracotta);
  margin-top: 1px;
}

.contact-map-overlay-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-map-overlay-text strong {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-map-overlay-text span {
  font-size: 0.78rem;
  color: var(--color-dark);
  opacity: 0.7;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-map-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.contact-map-link {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-map-link:hover {
  color: var(--color-terracotta-dark);
}

/* --- Info cards section --- */
.contact-info-section {
  background: var(--color-white);
}

.contact-info-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--color-cream);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(49, 64, 68, 0.1);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-terracotta);
  color: var(--color-white);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.contact-card-title {
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.contact-card-body p {
  font-size: 0.85rem;
  color: var(--color-dark);
  opacity: 0.75;
  line-height: 1.5;
}

.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-line-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--color-terracotta);
  opacity: 1;
}

.contact-line-icon svg {
  width: 14px;
  height: 14px;
}

.contact-card-body .contact-card-name {
  font-weight: 700;
  opacity: 1;
  color: var(--color-terracotta);
}

.contact-card-body a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-card-body a:hover {
  color: var(--color-terracotta);
  opacity: 1;
}

/* --- Collectionneurs section --- */
.contact-collectionneurs-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.contact-collectionneurs-intro p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-dark);
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.contact-collectionneurs-intro p:last-child {
  margin-bottom: 0;
}

#contact-collectionneurs .contact-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

/* --- Contact responsive --- */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-map {
    height: 350px;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-map {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REJOIGNEZ-NOUS PAGE
   ============================================ */

.recruit-section {
  padding-bottom: var(--space-2xl);
}

.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* --- Intro column --- */
.recruit-intro {
  padding-right: 1rem;
}

.recruit-intro-title {
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.recruit-intro p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-dark);
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Highlights */
.recruit-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.recruit-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.recruit-highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-terracotta);
  color: var(--color-white);
  border-radius: 8px;
}

.recruit-highlight div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.recruit-highlight strong {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.recruit-highlight span:not(.recruit-highlight-icon) {
  font-size: 0.8rem;
  color: var(--color-dark);
  opacity: 0.6;
}

/* RH contact */
.recruit-contact-info {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(49, 64, 68, 0.06);
}

.recruit-contact-info p {
  margin-bottom: 0.25rem;
  opacity: 1;
}

.recruit-contact-info a {
  color: var(--color-terracotta);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.recruit-contact-info a:hover {
  color: var(--color-terracotta-dark);
}

/* --- File upload --- */
.form-help-text {
  font-size: 0.8rem;
  color: var(--color-dark);
  opacity: 0.5;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.file-upload-row {
  display: flex;
  gap: 0.75rem;
}

.file-upload-item {
  flex: 1;
  position: relative;
}

.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--color-cream);
  border: 2px dashed rgba(49, 64, 68, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload-label:hover,
.file-upload-item:hover .file-upload-label {
  border-color: var(--color-terracotta);
  background: rgba(192, 77, 58, 0.04);
}

.file-upload-label.has-file {
  border-color: #27ae60;
  border-style: solid;
  background: rgba(39, 174, 96, 0.06);
}

.file-upload-icon {
  flex-shrink: 0;
  color: var(--color-terracotta);
  display: flex;
  align-items: center;
}

.file-upload-label.has-file .file-upload-icon {
  color: #27ae60;
}

.file-upload-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  opacity: 0.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-upload-label.has-file .file-upload-text {
  opacity: 1;
  color: #1e8449;
}

/* --- Recruit responsive --- */
@media (max-width: 1024px) {
  .recruit-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .recruit-intro {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .file-upload-row {
    flex-direction: column;
  }
}

/* ============================================
   MENTIONS LÉGALES PAGE
   ============================================ */

.mentions-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.mentions-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-dark);
  opacity: 0.85;
  white-space: pre-line;
}

.mentions-section .admin-section-edit-btn {
  margin: 2rem auto 0;
  display: block;
}

/* ============================================
   VALEURS PAGE
   ============================================ */

/* --- Intro section --- */
.valeurs-intro {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.valeurs-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.valeurs-intro-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.valeurs-intro-logo {
  max-width: 240px;
  width: 100%;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

.valeurs-intro-text .subtitle {
  color: var(--color-terracotta);
  margin-bottom: 0.75rem;
}

.valeurs-intro-text .section-title {
  margin-bottom: 1.5rem;
}

.valeurs-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-dark);
  opacity: 0.75;
  margin-bottom: 1rem;
}

.valeurs-desc:last-child {
  margin-bottom: 0;
}

/* --- Stats carousel --- */
.valeurs-stats {
  position: relative;
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.valeurs-stats-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1rem var(--container-pad);
  max-width: var(--container-width);
  margin: 0 auto;
}

.valeurs-stat-item {
  background: var(--color-white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  aspect-ratio: 2.2 / 1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.valeurs-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.valeurs-stat-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 960px) {
  .valeurs-stats-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .valeurs-stats-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* --- RSE section --- */
.valeurs-rse {
  position: relative;
  background: var(--color-dark);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.valeurs-rse-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.valeurs-rse .subtitle {
  color: var(--color-white);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.valeurs-rse .section-title {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.valeurs-rse-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-white);
  opacity: 0.6;
}

/* --- Pillars grid --- */
.valeurs-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.valeurs-pillar {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.valeurs-pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.valeurs-pillar-icon {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valeurs-pillar-icon img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.valeurs-pillar:hover .valeurs-pillar-icon img {
  transform: scale(1.03);
}

/* --- Engagements slider card --- */
.valeurs-engagements {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.engage-card {
  position: relative;
  background-color: var(--color-green-pale);
  background-image: url('../assets/images/triptych-bg-green.png');
  background-position: top left;
  background-repeat: no-repeat;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
}

.engage-slide {
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 420px;
}

.engage-slide.active {
  display: grid;
  animation: engageFadeIn 0.5s ease;
}

@keyframes engageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.engage-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.engage-slide-visual img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.engage-slide-content {
  padding: 2.5rem 3rem 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.engage-slide-title {
  font-weight: 900;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.engage-slide-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-dark);
  opacity: 0.75;
  margin-bottom: 0.6rem;
}

.engage-slide-text:last-of-type {
  margin-bottom: 0;
}

.engage-slide-detail {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.04);
  border-left: 3px solid var(--color-terracotta);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.engage-slide-detail p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-dark);
  opacity: 0.65;
  margin: 0;
}

.engage-slide-detail p:first-child {
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

/* Slider nav */
.engage-nav {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.engage-dots {
  display: flex;
  gap: 0.4rem;
}

.engage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  background: transparent;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.3s, background 0.3s;
  padding: 0;
}

.engage-dot.active {
  opacity: 1;
  background: var(--color-dark);
}

.engage-arrows {
  display: flex;
  gap: 0.35rem;
}

.engage-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
  color: var(--color-dark);
  padding: 0;
}

.engage-arrow:hover {
  opacity: 1;
  background: var(--color-dark);
  color: var(--color-white);
}

.engage-arrow svg {
  stroke: currentColor;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .valeurs-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .engage-slide-content {
    padding: 2rem 2rem 2rem 1rem;
  }
}

@media (max-width: 768px) {
  .valeurs-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .valeurs-intro-logo {
    max-width: 160px;
  }

  .valeurs-rse-header {
    margin-bottom: 2.5rem;
  }

  .engage-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .engage-card {
    min-height: auto;
  }

  .engage-slide-visual {
    padding: 1.5rem 1.5rem 0;
  }

  .engage-slide-visual img {
    max-height: 240px;
  }

  .engage-slide-content {
    padding: 1.5rem;
  }

  .engage-nav {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    padding: 0 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .valeurs-pillars {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ============================================
   MOBILE — ≤ 480px
   Completes existing responsive rules.
   Fixes vw-based sizing & layout on small screens.
   ============================================ */
@media (max-width: 480px) {

  /* ── Base font-size bump — clamp() bottoms at 14px, too small on mobile ── */
  html {
    font-size: 20px;
  }

  /* ── Floating header — tighter on mobile ── */
  .site-header {
    top: 8px;
    left: 8px;
    right: 8px;
    height: 56px;
    border-radius: 12px;
  }

  .header-inner {
    padding: 0 0.75rem;
  }

  .logo-img {
    height: 70px;
  }

  /* ── Mobile drawer ── */
  .mobile-drawer-header {
    padding: 1rem 1.5rem;
    height: auto;
  }

  .mobile-drawer-header .logo-img {
    height: 70px;
  }

  .mobile-drawer-nav {
    padding: 0.5rem 0;
  }

  .mobile-nav-link {
    padding: 1.15rem 1.5rem;
    font-size: 1.15rem;
  }

  .mobile-sub-link {
    padding: 0.9rem 1.5rem 0.9rem 2.5rem;
    font-size: 1.05rem;
  }

  .mobile-chevron {
    font-size: 0.85rem;
  }

  /* ── Hero slider ── */
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
  }

  .hero-slide {
    position: absolute;
  }

  .hero-slide.active {
    position: relative;
  }

  .hero-slide-bg {
    position: absolute;
    inset: 0;
  }

  .hero-content {
    height: auto;
    padding: 6rem 1.25rem 4rem;
    align-items: center;
    text-align: center;
  }

  /* Hide video slides on mobile */
  .hero-slide--video {
    display: none !important;
  }

  .hero-logo-img {
    height: 100px;
  }

  .hero-badge {
    display: flex;
    justify-content: center;
  }

  .hero-badge-inner {
    padding: 0.8rem 1rem;
  }

  .hero-badge-number {
    font-size: 2rem;
  }

  .hero-badge-text {
    font-size: 0.8rem;
  }

  .hero-description {
    font-size: 1.1rem;
    max-width: 320px;
    text-align: center;
  }

  .hero-indicators {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .hero-indicator {
    width: 28px;
  }

  /* ── Section spacing ── */
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.85rem;
  }

  /* ── Gamme filter bar — horizontal scroll per group ── */
  .gamme-filter-bar {
    flex-wrap: wrap;
    gap: .75rem 0;
    margin-left: calc(var(--container-pad) * -1);
    margin-right: calc(var(--container-pad) * -1);
  }

  .gamme-filter-pills,
  .gamme-filter-icons {
    width: 100%;
    flex-wrap: nowrap;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .gamme-filter-pills::-webkit-scrollbar,
  .gamme-filter-icons::-webkit-scrollbar {
    display: none;
  }

  .gamme-filter-btn,
  .gamme-filter-icon {
    flex-shrink: 0;
    font-size: .75rem;
    padding: .5rem 1.1rem;
    white-space: nowrap;
  }

  .gamme-filter-sep {
    display: none;
  }

  /* ── Gamme grid — larger visuals on mobile ── */
  .gamme-item-image {
    width: 200px;
  }

  .gamme-item-logo {
    height: 70px;
  }

  .gamme-item-name {
    font-size: 1.2rem;
  }

  /* ── Triptych cards ── */
  .triptych-card {
    min-height: 360px;
    padding: 1.5rem;
  }

  .triptych-label {
    font-size: 0.8rem;
  }

  .triptych-title {
    font-size: 1.4rem;
  }

  .triptych-cta .cta-link {
    font-size: 1rem;
  }

  .triptych-image img,
  .triptych-image-placeholder img {
    max-height: 200px;
  }

  /* ── Instagram grid — already 2 cols ── */
  .ig-grid {
    gap: 3px;
    border-radius: 8px;
  }

  .ig-grid-item {
    border-radius: 6px;
  }

  /* ── Actualité header ── */
  .actualite-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .actualite-title {
    font-size: 1.5rem;
  }

  /* ── Footer ── */
  .site-footer {
    padding: 2.5rem 0 0;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .footer-info {
    text-align: center;
  }

  .footer-info h3 {
    font-size: 1rem;
  }

  .footer-info p {
    font-size: 0.9rem;
  }

  .footer-logo-img {
    height: 80px;
  }

  .footer-newsletter {
    width: 100%;
    text-align: center;
  }

  .footer-newsletter h3 {
    font-size: 1.15rem;
  }

  .newsletter-form {
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .sub-footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.7rem;
    padding: 1.25rem 0;
  }

  .sub-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  /* ── Page Hero ── */
  .page-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
  }

  .page-hero__content {
    padding: 0 1.25rem;
  }

  .page-hero__title {
    font-size: 1.8rem;
  }

  .page-hero__desc {
    font-size: 0.85rem;
  }

  .page-hero__surtitle {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .page-hero__scroll {
    width: 36px;
    height: 36px;
    bottom: 1.25rem;
  }

  .page-hero__scroll svg {
    width: 20px;
    height: 20px;
  }

  /* ── Gamme Hero ── */
  .gamme-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
  }

  .gamme-hero__content {
    padding: 0 1.25rem;
  }

  .gamme-hero__logo {
    max-width: 180px !important;
  }

  .gamme-hero__desc {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .gamme-hero__badge {
    width: 70px;
    right: -40px;
    top: 15px;
  }

  /* Jade hero decorations — scale down */
  .gamme-hero__nuage--gauche {
    width: 250px;
    left: -60px;
    top: 60px;
  }

  .gamme-hero__nuage--droite {
    width: 260px;
    left: auto;
    right: -80px;
    top: -20px;
  }

  .gamme-hero__bandeau {
    height: 40px;
    object-fit: cover;
  }

  /* ── Brand Hero ── */
  .hero--brand {
    height: 100vh;
    height: 100svh;
    min-height: 0;
  }

  .hero--brand::before {
    font-size: 28vw;
  }

  .brand-hero-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .brand-hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
  }

  .brand-hero-desc {
    font-size: 0.82rem;
    max-width: 300px;
    margin-bottom: 1.5rem;
  }

  .brand-hero-sub {
    font-size: 0.65rem;
  }

  .brand-hero-anchors {
    gap: 0.75rem;
  }

  .brand-anchor {
    font-size: 0.7rem;
  }

  /* Histoire hero */
  .hero--histoire {
    height: 55vh;
    min-height: 380px;
  }

  .hero--histoire .brand-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .hero--histoire .brand-hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  /* ── Jade Hero ── */
  .hero--jade {
    height: 55vh;
    min-height: 400px;
    padding-top: 1rem;
  }

  .jade-title {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .jade-badge {
    width: 45px;
    height: 45px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
  }

  .jade-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }

  .jade-desc {
    font-size: 0.82rem;
    max-width: 300px;
  }

  /* ── Gamme page grid — already 1fr ── */
  .gamme-full-title {
    font-size: 1.6rem;
  }

  .gamme-full-name {
    font-size: 1.1rem;
    min-height: auto;
  }

  .gamme-full-type {
    font-size: 0.7rem;
  }

  /* ── Gamme filter bar ── */
  .gamme-filter-bar {
    gap: 0.35rem;
  }

  .gamme-filter-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.6rem;
  }

  .gamme-filter-icon {
    padding: 0.35rem 0.75rem;
    font-size: 0.6rem;
  }

  .gamme-filter-sep {
    height: 18px;
  }

  /* ── Jade gamme decorations — smaller on mobile ── */
  .gamme-deco {
    display: none;
  }

  /* ── Product Detail ── */
  .pd {
    padding-top: 104px;
    /* Floating header clearance, tighter on mobile */
    padding-bottom: 1.5rem;
  }

  .pd-breadcrumb {
    font-size: 0.65rem;
    margin-bottom: 1.25rem;
  }

  .pd-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .pd-left {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .pd-type {
    font-size: 0.8rem;
  }

  .pd-name {
    font-size: 1.8rem;
  }

  .pd-desc {
    font-size: 0.8rem;
  }

  .pd-center {
    min-height: 320px;
  }

  .pd-bottle {
    max-height: 380px;
    max-width: 220px;
  }

  .pd-illus {
    width: 420px;
  }

  .pd--pack .pd-bottle {
    max-width: 300px;
    max-height: 400px;
  }

  .pd--pack .pd-illus {
    width: 400px;
  }

  .pd-right {
    margin-top: 0;
    margin-left: 0;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .pd-abv-num {
    font-size: 1.4rem;
  }

  .pd-abv-deg {
    font-size: 1rem;
  }

  .pd-fiche {
    font-size: 0.82rem;
    text-align: left;
    width: 100%;
  }

  .pd-separator {
    margin: 0.75rem 0;
  }

  .pd-unite-alcool {
    display: none;
  }

  .pd-formats-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .pd-format-type,
  .pd-format-value {
    font-size: 0.8rem;
  }

  .pd-format-icon {
    height: 30px;
  }

  .pd-format-icon[alt="Canette"] {
    height: 22px;
  }

  .pd-medals {
    justify-content: center;
  }

  .pd-medal-img {
    height: 48px;
  }

  .pd-back {
    margin-top: 2rem;
  }

  /* ── Product related slider ── */
  .product-related {
    padding: 2.5rem 0;
  }

  .product-related .gamme-full-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }


  .related-slider,
  .related-slider--no-scroll {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    overflow-y: visible;
    gap: 1rem;
    padding: 0 var(--container-pad);
    scroll-padding-inline-start: var(--container-pad);
  }

  .related-slider .gamme-full-item {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }

  .related-slider .gamme-full-image {
    height: 220px;
  }

  .related-slider .gamme-full-name {
    font-size: 1rem;
    min-height: auto;
  }

  /* ── FAQ ── */
  .faq-filters {
    gap: 0.5rem;
  }

  .faq-filter {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }

  .faq-question {
    padding: 1.2rem 0;
    font-size: 0.9rem;
  }

  .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
  }

  .faq-answer p,
  .faq-answer ul li {
    font-size: 0.85rem;
  }

  /* ── Histoire ── */
  .histoire-intro {
    padding-top: 3rem;
  }

  .histoire-surtitle {
    font-size: 0.75rem;
  }

  .histoire-title {
    font-size: 1.6rem;
  }

  .histoire-desc {
    font-size: 0.85rem;
  }

  .histoire-video-play {
    width: 56px;
    height: 56px;
  }

  .histoire-video-play svg {
    width: 22px;
    height: 22px;
  }

  /* ── Histoire intro — hide bg image on mobile ── */
  .histoire-intro {
    background-image: none;
  }



  /* ── Valeurs ── */
  .valeurs-intro {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .valeurs-intro-grid {
    gap: 1.5rem;
  }

  .valeurs-intro-logo {
    max-width: 120px;
  }

  .valeurs-desc {
    font-size: 0.85rem;
  }

  .valeurs-rse {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .valeurs-rse-header {
    margin-bottom: 2rem;
  }

  .valeurs-rse .section-title {
    font-size: 1.4rem;
  }

  .valeurs-rse-desc {
    font-size: 0.85rem;
  }

  /* RSE pillars — horizontal swipe */
  .valeurs-pillars {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 0 var(--container-pad) 1rem;
    max-width: none;
    margin: 0;
  }

  .valeurs-pillars::-webkit-scrollbar {
    display: none;
  }

  .valeurs-pillar {
    flex: 0 0 75%;
    scroll-snap-align: center;
    padding: 1.5rem 1rem;
  }

  /* Stats — stacked vertical, tight padding */
  .valeurs-stats-track {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem var(--container-pad);
  }

  .valeurs-stat-item {
    padding: 0.5rem;
  }

  .valeurs-stat-item img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* Engagements slider */
  .valeurs-engagements {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .engage-slide-visual img {
    max-height: 180px;
  }

  .engage-slide-title {
    font-size: 1.1rem;
  }

  .engage-slide-text {
    font-size: 0.82rem;
  }

  .engage-slide-content {
    padding: 1.25rem;
  }

  .engage-slide-detail {
    padding: 0.75rem 1rem;
  }

  .engage-slide-detail p {
    font-size: 0.72rem;
  }

  /* ── Savoir-faire ── */
  #sf-schema {
    display: none;
  }

  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 var(--container-pad);
  }

  .bento-item,
  .bento-item:nth-child(1),
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-item img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  /* ── Contact ── */
  .contact-form-wrap {
    padding: 1.5rem 1rem;
  }

  .contact-form-title {
    font-size: 1.1rem;
  }

  .contact-map {
    height: 240px;
  }

  .contact-map-overlay {
    padding: 0.5rem 0.75rem;
  }

  .contact-map-overlay-text strong {
    font-size: 0.7rem;
  }

  .contact-map-overlay-text span {
    font-size: 0.68rem;
  }

  /* ── Rejoignez-nous ── */
  .recruit-section {
    overflow-x: hidden;
  }

  .recruit-section .container {
    max-width: 100%;
    overflow: hidden;
    padding: 0 var(--container-pad);
    box-sizing: border-box;
  }

  .recruit-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .recruit-intro,
  .contact-form-wrap {
    max-width: 100%;
    box-sizing: border-box;
  }

  .recruit-intro-title {
    font-size: 1.2rem;
  }

  .recruit-intro p {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .recruit-contact-info a {
    word-break: break-all;
  }

  .recruit-highlight-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .recruit-contact-info {
    padding: 1rem 1.25rem;
  }

  /* ── Mentions légales ── */
  .mentions-body {
    font-size: 0.85rem;
  }

  /* ── Mega menu — hidden on mobile, drawer handles it ── */
  .mega-menu {
    display: none !important;
  }

  /* ── Search overlay ── */
  .search-overlay-panel {
    padding-top: calc(56px + 24px);
  }

  .search-overlay-inner {
    border-radius: 10px;
    max-height: 70vh;
  }

  .search-input {
    font-size: 0.9rem;
  }

  .search-item-title {
    font-size: 0.82rem;
  }

  /* ── Cookie banner ── */
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .cookie-banner-text {
    font-size: 0.75rem;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }

  /* Newsletter modal */
  .nl-modal {
    padding: 1.5rem;
  }

  /* ── Age gate ── */
  .age-gate-card {
    padding: 2rem 1.5rem;
  }

  .age-gate-title {
    font-size: 1.3rem;
  }

  .age-gate-text {
    font-size: 0.8rem;
  }

  .age-gate-question {
    font-size: 0.95rem;
  }

  /* ── CTA links ── */
  .cta-link {
    font-size: 0.82rem;
  }

  /* ── Spacing variables override ── */
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
  }

  /* ── Divider ── */
  .divider {
    margin: 0 var(--container-pad);
  }
}

/* ============================================
   MOBILE — Admin topbar ≤ 480px
   (Inline styles in header.php override base;
    this block covers the site-header offset.)
   ============================================ */
@media (max-width: 480px) {
  body.has-admin-topbar .site-header {
    top: calc(36px + 8px);
  }

  body.has-admin-topbar .mobile-drawer {
    top: 36px;
  }

  body.has-admin-topbar .search-overlay-panel {
    padding-top: calc(56px + 36px + 24px);
  }
}

/* ============================================
   BENTO GRID — Savoir-faire portfolio
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 0.5rem;
  padding: 0 var(--container-pad);
}

.bento-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-dark);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-item:hover img {
  transform: scale(1.06);
}

.bento-item:hover::after {
  opacity: 1;
}

.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 2;
  transform: translateY(0.5rem);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.bento-item:hover .bento-caption {
  transform: translateY(0);
  opacity: 1;
}

.bento-caption span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Span patterns — 1 large left, 3 small right top, 1 wide bottom right */
.bento-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.bento-item:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.bento-item:nth-child(3) {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.bento-item:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

/* Placeholder state */
.bento-item--placeholder {
  background: var(--color-cream);
  border: 2px dashed rgba(192, 77, 58, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-item--placeholder .bento-placeholder-inner {
  text-align: center;
  color: var(--color-terracotta);
  opacity: 0.4;
}

.bento-item--placeholder .bento-placeholder-inner svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  stroke: currentColor;
  fill: none;
}

.bento-item--placeholder .bento-placeholder-inner span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }

  .bento-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .bento-item:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .bento-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .bento-item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }
}

@media (max-width: 480px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .bento-item:nth-child(1),
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}