/**
 * Yombal Marché — Expérience premium (accueil + globals)
 */

:root {
  --xd-ink: #050c08;
  --xd-ink2: #0a1610;
  --xd-ink3: #112218;
  --xd-cream: #f8f2e8;
  --xd-cream2: #efe6d6;
  --xd-line: rgba(255, 252, 247, 0.09);
  --xd-line-dark: rgba(26, 61, 43, 0.1);
  --xd-gold: #d4a84b;
  --xd-gold-glow: rgba(212, 168, 75, 0.45);
  --xd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --xd-pad: clamp(80px, 11vh, 148px);
  --xd-container: min(1320px, calc(100% - 48px));
}

/* ═══════════════════════════════════════
   ACCUEIL — reset conflits modern.css
═══════════════════════════════════════ */
.site-main--xd {
  background: var(--xd-cream);
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
.site-main--xd > .flash-stack {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 700;
  width: min(480px, 90vw);
}

/* ═══ HERO ═══ */
.xd-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--xd-ink);
  overflow: hidden;
  padding: calc(var(--nav-h) + 32px) 0 100px;
  opacity: var(--hero-fade, 1);
  transition: opacity 0.1s linear;
}
.xd-hero__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.xd-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.xd-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
}
.xd-hero__photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(248, 244, 235, 0.94) 0%,
      rgba(248, 244, 235, 0.82) 38%,
      rgba(26, 61, 43, 0.35) 72%,
      rgba(15, 51, 34, 0.5) 100%
    ),
    linear-gradient(180deg, rgba(26, 61, 43, 0.12) 0%, transparent 42%, rgba(15, 51, 34, 0.2) 100%);
}
.xd-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  z-index: 2;
}
/* Aurora */
.xd-hero__aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 3;
}
.xd-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.xd-orb--1 {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(42, 140, 90, 0.45), transparent 70%);
  animation: xdOrb1 14s ease-in-out infinite alternate;
}
.xd-orb--2 {
  width: 45vw;
  height: 45vw;
  max-width: 520px;
  max-height: 520px;
  top: 20%;
  right: -8%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.35), transparent 70%);
  animation: xdOrb2 18s ease-in-out infinite alternate;
}
.xd-orb--3 {
  width: 38vw;
  height: 38vw;
  max-width: 420px;
  max-height: 420px;
  bottom: -5%;
  left: 35%;
  background: radial-gradient(circle, rgba(200, 80, 58, 0.28), transparent 70%);
  animation: xdOrb3 16s ease-in-out infinite alternate;
}
@keyframes xdOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 12%) scale(1.15); }
}
@keyframes xdOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10%, 8%) scale(1.1); }
}
@keyframes xdOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6%, -10%) scale(1.12); }
}
.xd-hero__beam {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212, 168, 75, 0.04) 48%,
    rgba(255, 252, 247, 0.07) 50%,
    rgba(212, 168, 75, 0.04) 52%,
    transparent 60%
  );
  transform: rotate(-8deg);
  animation: xdBeamSweep 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes xdBeamSweep {
  0%, 100% { opacity: 0.4; transform: rotate(-8deg) translateX(-5%); }
  50% { opacity: 1; transform: rotate(-8deg) translateX(5%); }
}
.xd-hero__watermark {
  position: absolute;
  bottom: 8%;
  right: -4%;
  font-family: 'Fraunces', serif;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 252, 247, 0.04);
  text-stroke: 1px rgba(255, 252, 247, 0.04);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.xd-hero__cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
  will-change: transform;
}
.xd-hero__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 35%, rgba(42, 120, 78, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 35% at 78% 25%, rgba(212, 168, 75, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 65% 85%, rgba(200, 80, 58, 0.15), transparent 50%);
  animation: xdMeshDrift 18s ease-in-out infinite alternate;
}
@keyframes xdMeshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 3%) scale(1.06); }
}
.xd-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.xd-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(5, 12, 8, 0.7) 100%);
}
.xd-hero__body {
  position: relative;
  z-index: 5;
  width: var(--xd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.xd-hero__copy {
  will-change: transform;
}
.xd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--xd-gold);
  margin-bottom: 28px;
}
.xd-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xd-gold);
  box-shadow: 0 0 12px var(--xd-gold-glow);
  animation: xdPulse 2.4s ease infinite;
}
@keyframes xdPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.xd-hero__title {
  margin: 0 0 28px;
  font-family: 'Fraunces', serif;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.xd-line {
  display: block;
  font-size: clamp(3.2rem, 8.5vw, 7.2rem);
  font-weight: 700;
  color: #fffcf7;
  overflow: hidden;
}
.xd-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotateX(-40deg);
  transition: opacity 0.7s var(--xd-ease) var(--delay, 0s),
              transform 0.85s var(--xd-ease) var(--delay, 0s);
  transform-origin: 50% 100%;
}
.xd-char.is-in {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
.xd-line--stroke .xd-char {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 168, 75, 0.8);
  text-stroke: 1.5px rgba(212, 168, 75, 0.8);
}
.xd-line--shimmer .xd-char.is-in {
  animation: xdCharShimmer 4s ease-in-out infinite;
  animation-delay: calc(var(--delay, 0s) + 1.5s);
}
@keyframes xdCharShimmer {
  0%, 100% { -webkit-text-stroke-color: rgba(212, 168, 75, 0.75); }
  50% { -webkit-text-stroke-color: rgba(255, 220, 140, 1); }
}
.xd-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--xd-ease) var(--delay, 0s),
              transform 0.9s var(--xd-ease) var(--delay, 0s);
}
.xd-fade-in.is-in {
  opacity: 1;
  transform: translateY(0);
}
.xd-line--stroke { margin-top: -0.06em; }
.xd-hero__lead {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 252, 247, 0.58);
  max-width: 46ch;
  margin: 0 0 36px;
}
.xd-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.xd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
  cursor: pointer;
}
.xd-btn--light {
  background: #fffcf7;
  color: var(--xd-ink);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.xd-btn--light:hover {
  background: var(--xd-gold);
  box-shadow: 0 12px 40px var(--xd-gold-glow);
}
.xd-btn--ghost {
  background: rgba(255, 252, 247, 0.06);
  border-color: rgba(255, 252, 247, 0.2);
  color: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(12px);
}
.xd-btn--ghost:hover {
  border-color: var(--xd-gold);
  color: var(--xd-gold);
}
.xd-btn--dark {
  background: var(--xd-ink);
  color: #fffcf7;
}
.xd-btn--dark:hover { background: var(--green2); }
.xd-btn--outline {
  background: transparent;
  border-color: var(--xd-line-dark);
  color: var(--green);
}
.xd-btn--outline:hover {
  border-color: var(--green);
  background: rgba(26, 61, 43, 0.05);
}
.xd-btn--lg { padding: 20px 40px; font-size: 13px; }
.xd-stats {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--xd-line);
}
.xd-stat { margin: 0; }
.xd-stat dt {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fffcf7;
  line-height: 1;
  letter-spacing: -0.03em;
}
.xd-stat dd {
  margin: 8px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.4);
}

/* Cartes flottantes hero */
.xd-hero__visual {
  position: relative;
  height: clamp(380px, 52vh, 520px);
  perspective: 900px;
  transform-style: preserve-3d;
}
.xd-float-card {
  position: absolute;
  display: block;
  text-decoration: none;
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.05);
  border: 1px solid var(--xd-line);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  color: #fffcf7;
  transition: border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.xd-float-card:hover {
  border-color: rgba(212, 168, 75, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.xd-float-card--hero {
  top: 8%;
  left: 0;
  right: 12%;
  z-index: 3;
}
.xd-float-card--hero strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  margin: 8px 0 6px;
}
.xd-float-card--hero p { color: rgba(255,252,247,0.5); font-size: 0.88rem; }
.xd-float-card__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--xd-gold);
}
.xd-float-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--xd-gold);
}
.xd-float-card--stat {
  bottom: 18%;
  left: 8%;
  width: 42%;
  text-align: center;
  z-index: 2;
}
.xd-float-card--stat span:first-child { font-size: 2rem; display: block; margin-bottom: 6px; }
.xd-float-card--stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
}
.xd-float-card--stat p { font-size: 11px; color: rgba(255,252,247,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.xd-float-card--gold {
  top: 42%;
  right: 0;
  width: 46%;
  text-align: center;
  z-index: 4;
  border-color: rgba(212, 168, 75, 0.3);
  background: rgba(212, 168, 75, 0.08);
}
.xd-float-card--gold span:first-child { font-size: 2rem; display: block; }
.xd-float-card--gold strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
}
.xd-float-card--gold p { font-size: 11px; color: rgba(255,252,247,0.5); }

.xd-scroll-hint {
  position: absolute;
  bottom: 32px;
  right: clamp(24px, 5vw, 56px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: rgba(255, 252, 247, 0.45);
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.xd-scroll-hint:hover { color: var(--xd-gold); }
.xd-scroll-hint__wheel {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 252, 247, 0.25);
  border-radius: 12px;
  position: relative;
}
.xd-scroll-hint__wheel::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--xd-gold);
  border-radius: 2px;
  animation: xdWheel 2s var(--xd-ease) infinite;
}
@keyframes xdWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ═══ MARQUEE ═══ */
.xd-marquee {
  background: var(--xd-ink2);
  border-block: 1px solid var(--xd-line);
  padding: 22px 0;
  overflow: hidden;
}
.xd-marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: xdMarquee 28s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 252, 247, 0.55);
  white-space: nowrap;
}
.xd-marquee__sep { color: var(--xd-gold); font-style: normal; font-size: 0.7em; }
@keyframes xdMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ SECTIONS COMMUNES ═══ */
.xd-section-head {
  width: var(--xd-container);
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.xd-section-head--light .xd-section-title { color: var(--green); }
.xd-section-head--light .xd-section-sub { color: rgba(26, 61, 43, 0.6); }
.xd-section-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(26, 61, 43, 0.06);
  letter-spacing: -0.05em;
  flex-shrink: 0;
}
.xd-panel--dark .xd-section-num { color: rgba(255, 252, 247, 0.05); }
.xd-section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--green);
  margin: 8px 0 0;
}
.xd-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.xd-panel--dark .xd-section-title { color: #fffcf7; }
.xd-panel--dark .xd-section-title em { color: var(--xd-gold); }
.xd-section-sub {
  margin-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(26, 61, 43, 0.62);
  max-width: 48ch;
}
.xd-panel--dark .xd-section-sub { color: rgba(255, 252, 247, 0.5); }
.xd-panel {
  padding: var(--xd-pad) 0;
  background: var(--xd-cream);
}
.xd-panel--dark {
  padding: var(--xd-pad) 0;
  background: var(--xd-ink2);
}

/* Reveal */
.xd-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--xd-ease), transform 0.9s var(--xd-ease);
}
.xd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ BENTO ═══ */
.xd-univers {
  padding: var(--xd-pad) 0;
  background: var(--xd-cream);
}
.xd-bento {
  width: var(--xd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}
.xd-bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 160px;
  background: #fff;
  border: 1px solid var(--xd-line-dark);
  border-radius: 20px;
  text-decoration: none;
  color: var(--green);
  overflow: hidden;
  transition: transform 0.5s var(--xd-ease), box-shadow 0.5s, border-color 0.4s;
}
.xd-bento__cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.xd-bento__cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(26, 61, 43, 0.12);
  border-color: rgba(212, 168, 75, 0.35);
}
.xd-bento__cell:hover::before { opacity: 1; }
.xd-bento__cell--wide { grid-column: span 2; }
.xd-bento__cell--tall { grid-row: span 2; min-height: 100%; }
.xd-bento__cell--accent {
  background: linear-gradient(145deg, var(--green), var(--green2));
  border-color: transparent;
  color: #fffcf7;
}
.xd-bento__cell--accent p { color: rgba(255,252,247,0.65); }
.xd-bento__num {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--xd-gold);
  margin-bottom: 16px;
}
.xd-bento__icon { font-size: 1.8rem; margin-bottom: 12px; }
.xd-bento__cell strong {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.xd-bento__cell p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(26, 61, 43, 0.6);
  flex: 1;
}
.xd-bento__arrow {
  margin-top: 16px;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}
.xd-bento__cell:hover .xd-bento__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══ ÉCOSYSTÈME ACCUEIL ═══ */
.xd-ecosystem {
  padding: clamp(48px, 8vw, 80px) 0 clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, #fff 0%, var(--xd-cream) 100%);
  border-bottom: 1px solid rgba(26, 61, 43, 0.08);
}

.xd-ecosystem__head {
  width: var(--xd-container);
  margin: 0 auto 36px;
  text-align: center;
}

.xd-ecosystem__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--green);
  margin: 8px 0 0;
  line-height: 1.1;
}

.xd-ecosystem__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.xd-ecosystem__sub {
  margin: 12px auto 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(26, 61, 43, 0.65);
}

.xd-ecosystem__grid {
  width: var(--xd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.xd-ecosystem__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid rgba(26, 61, 43, 0.1);
  border-radius: 14px;
  text-decoration: none;
  color: var(--green);
  transition: transform 0.35s var(--xd-ease), box-shadow 0.35s, border-color 0.3s;
  min-height: 118px;
}

.xd-ecosystem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 61, 43, 0.1);
  border-color: rgba(212, 168, 75, 0.35);
}

.xd-ecosystem__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.xd-ecosystem__card strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.xd-ecosystem__card span:not(.xd-ecosystem__icon) {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(26, 61, 43, 0.62);
}

.xd-ecosystem__ext {
  font-style: normal;
  font-size: 11px;
  color: var(--terra);
  margin-top: auto;
}

@media (max-width: 900px) {
  .xd-ecosystem__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .xd-ecosystem__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══ RAYONS BOUTIQUE (accueil) ═══ */
.xd-categories {
  padding: var(--xd-pad) 0;
  background: var(--xd-cream);
}
.xd-cat-grid {
  width: var(--xd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.xd-cat-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 132px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--xd-line-dark);
  border-radius: 18px;
  text-decoration: none;
  color: var(--green);
  overflow: hidden;
  transition: transform 0.45s var(--xd-ease), box-shadow 0.45s, border-color 0.35s;
}
.xd-cat-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}
.xd-cat-cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(26, 61, 43, 0.11);
  border-color: rgba(212, 168, 75, 0.35);
}
.xd-cat-cell:hover::before { opacity: 1; }
.xd-cat-cell--featured {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--green), var(--green2));
  border-color: transparent;
  color: #fffcf7;
}
.xd-cat-cell--featured .xd-cat-cell__hint {
  color: rgba(255, 252, 247, 0.72);
}
.xd-cat-cell__icon {
  font-size: 1.65rem;
  line-height: 1;
}
.xd-cat-cell strong {
  font-family: 'Fraunces', serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.xd-cat-cell__hint {
  font-size: 0.82rem;
  color: rgba(26, 61, 43, 0.55);
  position: relative;
  z-index: 1;
}
.xd-cat-cell__arrow {
  margin-top: auto;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
  position: relative;
  z-index: 1;
}
.xd-cat-cell:hover .xd-cat-cell__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══ INCONTOURNABLES — grille accueil ═══ */
.xd-highlights {
  padding: var(--xd-pad) 0;
  background: linear-gradient(180deg, #fff 0%, var(--xd-cream) 100%);
}
.xd-highlights__inner {
  width: var(--xd-container);
  margin: 0 auto;
}
.xd-highlights__inner .xd-section-head {
  margin-bottom: 48px;
}
.xd-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.xd-highlights__card {
  flex: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.xd-highlights__card .xd-product__media {
  flex-shrink: 0;
}
.xd-highlights__card .xd-product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.xd-highlights__card .xd-product__body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.xd-highlights__weight {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 61, 43, 0.45);
}
.xd-highlights__card .xd-product__foot {
  margin-top: auto;
}
.xd-highlights__card.xd-reveal {
  transition-delay: var(--stagger, 0s);
}
.xd-highlights__card:nth-child(1) .xd-product__index { color: rgba(212, 168, 75, 0.22); }
.xd-highlights__card:hover {
  transform: translateY(-8px);
}

/* ═══ SHOWCASE PRODUITS ═══ */
.xd-showcase {
  padding: var(--xd-pad) 0;
  background: #fff;
  overflow: hidden;
}
.xd-showcase__track {
  display: flex;
  gap: 20px;
  padding: 0 max(24px, calc((100% - 1320px) / 2 + 24px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.xd-showcase__track::-webkit-scrollbar { display: none; }
.xd-product {
  flex: 0 0 clamp(280px, 28vw, 340px);
  scroll-snap-align: start;
  background: var(--xd-cream);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--xd-line-dark);
  transition: transform 0.5s var(--xd-ease), box-shadow 0.5s;
}
.xd-product:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 80px rgba(26, 61, 43, 0.14);
}
.xd-product__media {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--green-l), #fff);
  overflow: hidden;
}
.xd-product__media img,
.xd-product__media .product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--xd-ease);
}
.xd-product__media .product-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  background: linear-gradient(145deg, var(--green-l), #fff);
}
.xd-product:hover .xd-product__media img { transform: scale(1.06); }
.xd-product__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(5, 12, 8, 0.72);
  backdrop-filter: blur(8px);
  color: #fffcf7;
  font-size: 11px;
  font-weight: 600;
}
.xd-product__body {
  padding: 22px 24px 26px;
}
.xd-product__body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.xd-product__body h3 a {
  color: var(--green);
  text-decoration: none;
}
.xd-product__body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(26, 61, 43, 0.6);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xd-product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xd-product__price {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--terra);
}
.xd-product__add {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.xd-product__add:hover {
  background: var(--terra);
  transform: scale(1.08);
}

/* ═══ CARDS ═══ */
.xd-cards {
  width: var(--xd-container);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.xd-cards--3 { grid-template-columns: repeat(3, 1fr); }
.xd-cards--2 { grid-template-columns: repeat(2, 1fr); }
.xd-card {
  padding: 32px;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.04);
  border: 1px solid var(--xd-line);
  transition: transform 0.45s var(--xd-ease), border-color 0.4s;
}
.xd-panel:not(.xd-panel--dark) .xd-card {
  background: #fff;
  border-color: var(--xd-line-dark);
}
.xd-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 75, 0.35);
}
.xd-card__emoji { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.xd-card__kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xd-gold);
  margin-bottom: 8px;
}
.xd-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.xd-card h3 a { color: inherit; text-decoration: none; }
.xd-panel--dark .xd-card h3 a { color: #fffcf7; }
.xd-panel:not(.xd-panel--dark) .xd-card h3 a { color: var(--green); }
.xd-card__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 252, 247, 0.55);
  margin-bottom: 20px;
}
.xd-panel:not(.xd-panel--dark) .xd-card__text { color: rgba(26, 61, 43, 0.6); }
.xd-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--xd-line);
}
.xd-panel:not(.xd-panel--dark) .xd-card__foot { border-color: var(--xd-line-dark); }
.xd-card__foot span {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terra);
}
.xd-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xd-gold);
  text-decoration: none;
}
.xd-link--gold { color: var(--gold); }
.xd-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(212, 168, 75, 0.15);
  color: var(--xd-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.xd-card__quote {
  font-style: italic;
  color: rgba(26, 61, 43, 0.65);
  margin-bottom: 16px;
}

/* ═══ PRODUCTEURS ═══ */
.xd-producers {
  width: var(--xd-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.xd-producer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--xd-line-dark);
  border-radius: 16px;
  text-decoration: none;
  color: var(--green);
  transition: transform 0.4s var(--xd-ease), border-color 0.3s, background 0.3s;
}
.xd-producer:hover {
  transform: translateX(8px);
  border-color: rgba(212, 168, 75, 0.4);
  background: linear-gradient(90deg, rgba(212, 168, 75, 0.06), #fff);
}
.xd-producer__avatar {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--green-l);
  border-radius: 14px;
}
.xd-producer__region {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 61, 43, 0.45);
  margin-bottom: 4px;
}
.xd-producer strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
}
.xd-producer__flag {
  display: block;
  font-size: 0.88rem;
  color: rgba(26, 61, 43, 0.55);
  margin-top: 4px;
}
.xd-producer__go {
  font-size: 1.3rem;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}
.xd-producer:hover .xd-producer__go {
  opacity: 1;
  transform: translateX(4px);
}

/* ═══ MANIFESTO ═══ */
.xd-manifesto {
  padding: var(--xd-pad) 0;
}
.xd-manifesto__inner {
  width: var(--xd-container);
  margin: 0 auto;
  text-align: center;
}
.xd-manifesto__quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 252, 247, 0.88);
  max-width: 780px;
  margin: 20px auto 56px;
  border: none;
}
.xd-manifesto__services {
  max-width: 640px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.xd-service-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 252, 247, 0.75);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.xd-service-line:hover {
  background: rgba(255, 252, 247, 0.06);
  color: #fffcf7;
  transform: translateX(6px);
}
.xd-service-line__arrow {
  opacity: 0;
  color: var(--xd-gold);
  transition: opacity 0.3s;
}
.xd-service-line:hover .xd-service-line__arrow { opacity: 1; }
.xd-manifesto__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ═══ FINALE CTA ═══ */
.xd-finale {
  position: relative;
  padding: clamp(100px, 14vh, 180px) 24px;
  background: var(--xd-ink);
  overflow: hidden;
  text-align: center;
}
.xd-finale__glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(42, 120, 78, 0.25), transparent 60%);
  animation: xdMeshDrift 12s ease-in-out infinite alternate;
}
.xd-finale__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.xd-finale__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fffcf7;
  margin-bottom: 20px;
}
.xd-finale__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--xd-gold);
}
.xd-finale__inner > p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 252, 247, 0.45);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}
.xd-finale__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ═══════════════════════════════════════
   GLOBAL — nav, footer, pages intérieures
═══════════════════════════════════════ */
.is-home-immersive .header-shell {
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.55s var(--xd-ease), border-color 0.55s, backdrop-filter 0.55s;
}
.is-home-immersive .header-shell:not(.is-solid) .nav-links a,
.is-home-immersive .header-shell:not(.is-solid) .nav-dropdown-trigger {
  color: rgba(255, 252, 247, 0.8);
}
.is-home-immersive .header-shell:not(.is-solid) .nav-logo-img {
  filter: brightness(0) invert(1);
}
.is-home-immersive .header-shell:not(.is-solid) .btn-nav {
  background: rgba(255, 252, 247, 0.08);
  border: 1px solid rgba(255, 252, 247, 0.2);
  color: #fff;
  backdrop-filter: blur(12px);
}
.is-home-immersive .header-shell:not(.is-solid) .nav-toggle {
  background: rgba(255, 252, 247, 0.08);
  color: #fff;
}
.is-home-immersive .header-shell.is-solid {
  background: rgba(5, 12, 8, 0.94);
  border-bottom-color: var(--xd-line);
  backdrop-filter: blur(24px);
}
.is-home-immersive .header-shell.is-solid .nav-links a,
.is-home-immersive .header-shell.is-solid .nav-dropdown-trigger {
  color: rgba(255, 252, 247, 0.75);
}
.is-home-immersive .header-shell.is-solid .nav-logo-img { filter: brightness(0) invert(1); }
.is-home-immersive .header-shell.is-solid .btn-nav {
  background: var(--xd-gold);
  color: var(--xd-ink);
  border-color: transparent;
}
.is-home-immersive #cursor-dot { background: var(--xd-gold); mix-blend-mode: normal; }
.is-home-immersive #cursor-ring { border-color: rgba(212, 168, 75, 0.5); }

.page-hero {
  background: var(--xd-ink);
  color: #fffcf7;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 25% 40%, rgba(42, 120, 78, 0.2), transparent 55%),
    radial-gradient(ellipse 35% 30% at 85% 65%, rgba(212, 168, 75, 0.12), transparent 50%);
  pointer-events: none;
}
.page-hero .section-eyebrow { color: var(--xd-gold); position: relative; }
.page-hero .section-title {
  font-family: 'Fraunces', serif;
  color: #fffcf7;
  position: relative;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.035em;
}
.page-hero .section-title em { color: var(--xd-gold); font-style: italic; font-weight: 400; }
.page-hero .section-sub,
.page-hero-lead {
  color: rgba(255, 252, 247, 0.55);
  position: relative;
}

.site-footer {
  background: var(--xd-ink);
  border-top: 1px solid var(--xd-line);
  color: rgba(255, 252, 247, 0.6);
}
.site-footer h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--xd-gold);
}
.site-footer a { color: rgba(255, 252, 247, 0.65); }
.site-footer a:hover { color: var(--xd-gold); }
.site-footer .footer-logo-img {
  filter: none;
  opacity: 1;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.site-footer .footer-bottom { border-top-color: var(--xd-line); }

.scroll-progress {
  height: 2px;
  background: linear-gradient(90deg, var(--xd-gold), var(--terra));
}

/* ═══ PRELOADER ═══ */
.xd-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--xd-ink);
  transition: opacity 0.65s var(--xd-ease), visibility 0.65s;
}
.xd-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.xd-preloader__inner {
  text-align: center;
  width: min(280px, 80vw);
}
.xd-preloader__logo-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.xd-preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--xd-gold);
  border-right-color: rgba(212, 168, 75, 0.3);
  animation: xdSpin 1.2s linear infinite;
}
@keyframes xdSpin {
  to { transform: rotate(360deg); }
}
.xd-preloader__logo {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fffcf7;
}
.xd-preloader__brand {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.5);
  margin-bottom: 32px;
}
.xd-preloader__bar {
  height: 2px;
  background: rgba(255, 252, 247, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.xd-preloader__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--xd-gold), #fffcf7);
  border-radius: 2px;
  transition: width 0.08s linear;
}
.xd-preloader__pct {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--xd-gold);
}
body.is-preloading .header-shell,
body.is-preloading .site-main--xd {
  visibility: hidden;
}

/* ═══ SCROLL PIN PRODUITS ═══ */
.xd-pin-scroll {
  position: relative;
  background: #fff;
}
.xd-pin-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) 0 48px;
  overflow: hidden;
}
.xd-pin-scroll__head {
  width: var(--xd-container);
  margin: 0 auto 40px;
  flex-shrink: 0;
}
.xd-pin-scroll__viewport {
  overflow: hidden;
  width: 100%;
  padding-left: max(24px, calc((100% - 1320px) / 2 + 24px));
}
.xd-pin-scroll__track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.05s linear;
}
.xd-pin-scroll__progress {
  width: var(--xd-container);
  margin: 32px auto 0;
  height: 2px;
  background: rgba(26, 61, 43, 0.08);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.xd-pin-scroll__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--xd-gold));
  border-radius: 2px;
  transition: width 0.05s linear;
}
.xd-product--premium {
  position: relative;
  flex: 0 0 clamp(300px, 32vw, 380px);
  background: var(--xd-cream);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--xd-line-dark);
  transition: box-shadow 0.5s var(--xd-ease);
  transform-style: preserve-3d;
}
.xd-product--premium:hover {
  box-shadow: 0 40px 100px rgba(26, 61, 43, 0.18);
}
.xd-product__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}
.xd-product__index {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(26, 61, 43, 0.06);
  pointer-events: none;
}
.xd-product--premium .xd-product__media {
  aspect-ratio: 1.05;
}
.xd-product--premium .xd-product__add {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(26, 61, 43, 0.2);
}

/* ═══ BENTO STAGGER ═══ */
.xd-bento__cell.xd-stagger {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.7s var(--xd-ease) var(--stagger, 0s),
              transform 0.7s var(--xd-ease) var(--stagger, 0s);
}
.xd-bento.is-visible .xd-bento__cell.xd-stagger {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══ FINALE RINGS + PARTICULES ═══ */
.xd-finale__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.xd-finale__rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 75, 0.12);
}
.xd-finale__rings span:nth-child(1) {
  width: min(90vw, 700px);
  height: min(90vw, 700px);
  animation: xdRingPulse 6s ease-in-out infinite;
}
.xd-finale__rings span:nth-child(2) {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  animation: xdRingPulse 6s ease-in-out infinite 1s;
}
.xd-finale__rings span:nth-child(3) {
  width: min(50vw, 340px);
  height: min(50vw, 340px);
  animation: xdRingPulse 6s ease-in-out infinite 2s;
}
@keyframes xdRingPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.04); }
}
.xd-finale__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.xd-finale__particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--xd-gold);
  opacity: 0;
  animation: xdParticleFloat var(--d) ease-in-out infinite var(--delay);
}
@keyframes xdParticleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  30%, 70% { opacity: 0.7; transform: translateY(-30px) scale(1); }
}

/* ═══ MARQUEE PLUS GRAND ═══ */
.xd-marquee__track {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 400;
  gap: 48px;
}

/* ═══ FLOAT CARDS — profondeur 3D ═══ */
.xd-hero__visual {
  transform-style: preserve-3d;
}
.xd-float-card {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

/* ═══ MANIFESTE — quote géante ═══ */
.xd-manifesto__quote {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  background: linear-gradient(135deg, rgba(255,252,247,0.95), rgba(212,168,75,0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .xd-pin-scroll { height: auto !important; }
  .xd-pin-scroll__sticky {
    position: relative;
    height: auto;
    padding: var(--xd-pad) 0;
  }
  .xd-pin-scroll__viewport { padding-left: 24px; overflow-x: auto; }
  .xd-pin-scroll__track { transform: none !important; }
  .xd-pin-scroll__progress { display: none; }
}
@media (max-width: 1024px) {
  .xd-hero__body { grid-template-columns: 1fr; }
  .xd-hero__visual { height: 340px; margin-top: 20px; }
  .xd-bento { grid-template-columns: repeat(2, 1fr); }
  .xd-bento__cell--wide { grid-column: span 2; }
  .xd-bento__cell--tall { grid-row: span 1; }
  .xd-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .xd-cat-cell--featured { grid-column: span 2; }
  .xd-highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .xd-cards--3 { grid-template-columns: 1fr; }
  .xd-cards--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .xd-bento { grid-template-columns: 1fr; }
  .xd-bento__cell--wide { grid-column: span 1; }
  .xd-cat-grid { grid-template-columns: 1fr; }
  .xd-cat-cell--featured { grid-column: span 1; }
  .xd-highlights__grid { grid-template-columns: 1fr; gap: 18px; }
  .xd-section-head { flex-direction: column; align-items: flex-start; }
  .xd-section-num { font-size: 3.5rem; }
  .xd-float-card--hero { right: 0; }
  .xd-scroll-hint { display: none; }
  .xd-stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .xd-marquee__track,
  .xd-hero__mesh,
  .xd-hero__beam,
  .xd-orb,
  .xd-finale__glow,
  .xd-finale__rings span,
  .xd-scroll-hint__wheel::after,
  .xd-preloader__ring { animation: none; }
  .xd-char { opacity: 1; transform: none; }
  .xd-fade-in { opacity: 1; transform: none; }
  .xd-reveal { opacity: 1; transform: none; }
  .xd-bento__cell.xd-stagger { opacity: 1; transform: none; }
  #xd-preloader { display: none; }
  .page-enter { animation: none; opacity: 1; transform: none; }
  body.page-leave { animation: none; }
}

/* ═══════════════════════════════════════
   SITE GLOBAL — menu, transitions, pages
═══════════════════════════════════════ */

/* Header minimaliste — mobile : menu via cine-nav ; desktop : voir yombal-unified.css */
@media (max-width: 900px) {
  .site-premium .header-shell .nav-links {
    display: none !important;
  }
  .site-premium .nav-toggle {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 0 18px;
    height: 44px;
    border-radius: 100px;
    border: 1px solid rgba(26, 61, 43, 0.12);
    background: rgba(255, 252, 247, 0.6);
    backdrop-filter: blur(12px);
  }
}
.is-home-immersive .nav-toggle {
  border-color: rgba(255, 252, 247, 0.2);
  background: rgba(255, 252, 247, 0.08);
  color: #fff;
}
.nav-toggle__label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-premium.cine-nav-open .nav-toggle .nav-toggle__icon {
  transform: rotate(45deg) translateY(0);
}
.site-premium.cine-nav-open .nav-toggle .nav-toggle__icon::before {
  top: 0;
  transform: rotate(90deg);
}
.site-premium.cine-nav-open .nav-toggle .nav-toggle__icon::after {
  top: 0;
  transform: rotate(90deg);
  opacity: 0;
}
.site-premium.cine-nav-open .nav-toggle {
  border-color: rgba(212, 168, 75, 0.4);
}

/* Menu cinématique plein écran */
.cine-nav {
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none;
  visibility: hidden;
}
.cine-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}
.cine-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 8, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.55s var(--xd-ease);
}
.cine-nav.is-open .cine-nav__backdrop { opacity: 1; }
.cine-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  background: var(--xd-ink);
  border-left: 1px solid var(--xd-line);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 20px) clamp(28px, 5vw, 48px) 40px;
  transform: translateX(105%);
  transition: transform 0.65s var(--xd-ease);
  overflow-y: auto;
}
.cine-nav.is-open .cine-nav__panel { transform: translateX(0); }
.cine-nav__glow {
  position: absolute;
  top: -20%;
  right: -30%;
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.15), transparent 65%);
  pointer-events: none;
}
.cine-nav__close {
  position: absolute;
  top: calc(var(--nav-h) - 52px);
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--xd-line);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 252, 247, 0.7);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.cine-nav__close:hover {
  border-color: var(--xd-gold);
  color: var(--xd-gold);
}
.cine-nav__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--xd-gold);
  margin-bottom: 36px;
}
.cine-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.cine-nav__link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--xd-line);
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.5s var(--xd-ease), transform 0.5s var(--xd-ease);
  transition-delay: calc(var(--i, 0) * 0.04s);
}
.cine-nav__link.is-shown {
  opacity: 1;
  transform: translateX(0);
}
.cine-nav__link:hover .cine-nav__text {
  color: var(--xd-gold);
  transform: translateX(8px);
}
.cine-nav__link.is-active .cine-nav__text { color: var(--xd-gold); }
.cine-nav__num {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 252, 247, 0.25);
  min-width: 24px;
}
.cine-nav__text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  color: rgba(255, 252, 247, 0.88);
  transition: color 0.3s, transform 0.35s var(--xd-ease);
}
.cine-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--xd-gold);
  color: var(--xd-ink);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 8px;
}
.cine-nav__foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cine-nav__email {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: rgba(255, 252, 247, 0.45);
  text-decoration: none;
}
.cine-nav__email:hover { color: var(--xd-gold); }

@media (min-width: 901px) {
  .cine-nav__panel {
    width: min(580px, 42vw);
  }
}

/* Transitions de page */
.site-premium .page-enter {
  opacity: 0;
  transform: translateY(20px);
}
.site-premium .page-enter--active {
  animation: pageEnter 0.75s var(--xd-ease) forwards;
}
@keyframes pageEnter {
  to { opacity: 1; transform: translateY(0); }
}
body.site-premium.page-leave {
  animation: pageLeave 0.32s var(--xd-ease) forwards;
}
@keyframes pageLeave {
  to { opacity: 0; transform: translateY(-12px); }
}

/* Hero intérieur (saveurs, etc.) */
.inner-hero {
  position: relative;
  min-height: clamp(320px, 48vh, 480px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 48px) clamp(24px, 5vw, 80px) clamp(48px, 8vw, 80px);
  background: var(--xd-ink);
  overflow: hidden;
  color: #fffcf7;
}
.inner-hero__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.inner-hero__aurora {
  position: absolute;
  inset: 0;
}
.inner-hero__aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.inner-hero__aurora span:nth-child(1) {
  width: 50vw; height: 50vw; max-width: 500px; max-height: 500px;
  top: -20%; left: -10%;
  background: rgba(42, 120, 78, 0.35);
  animation: xdOrb1 16s ease-in-out infinite alternate;
}
.inner-hero__aurora span:nth-child(2) {
  width: 40vw; height: 40vw; max-width: 400px; max-height: 400px;
  top: 10%; right: -5%;
  background: rgba(212, 168, 75, 0.25);
  animation: xdOrb2 14s ease-in-out infinite alternate;
}
.inner-hero__aurora span:nth-child(3) {
  width: 35vw; height: 35vw; max-width: 350px; max-height: 350px;
  bottom: -10%; left: 40%;
  background: rgba(200, 80, 58, 0.2);
  animation: xdOrb3 18s ease-in-out infinite alternate;
}
.inner-hero__watermark {
  position: absolute;
  bottom: -5%;
  right: -2%;
  font-family: 'Fraunces', serif;
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 252, 247, 0.04);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.inner-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.inner-hero__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}
.inner-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--xd-gold);
}
.inner-hero__lead {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 252, 247, 0.58);
  max-width: 52ch;
}

/* Boutique hero premium */
.site-premium .boutique-hero--xd {
  min-height: clamp(360px, 50vh, 520px);
  background: var(--xd-ink);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.site-premium .boutique-hero--xd .boutique-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--xd-ink);
}
.site-premium .boutique-hero--xd .boutique-hero__bg::after { display: none; }
.site-premium .boutique-hero--xd .boutique-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--xd-container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) 24px;
}
.site-premium .boutique-hero--xd .boutique-hero__title,
.site-premium .boutique-hero--xd .inner-hero__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: #fffcf7;
  letter-spacing: -0.04em;
}
.site-premium .boutique-hero--xd .boutique-hero__title em { color: var(--xd-gold); font-style: italic; }
.site-premium .boutique-hero--xd .boutique-hero__lead {
  color: rgba(255, 252, 247, 0.58);
  font-size: 1.1rem;
  max-width: 52ch;
}
.site-premium .boutique-hero--xd .boutique-hero__stats {
  color: rgba(255, 252, 247, 0.5);
  border-top-color: var(--xd-line);
  margin-top: 28px;
  padding-top: 24px;
}
.site-premium .boutique-hero--xd .boutique-hero__stats strong { color: var(--xd-gold); }

/* Cartes boutique — reflet + profondeur */
.site-premium .boutique-card--shine {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--xd-ease), box-shadow 0.45s;
  transform-style: preserve-3d;
}
.site-premium .boutique-card--shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.14),
    transparent 55%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.site-premium .boutique-card--shine:hover::after { opacity: 1; }
.site-premium .boutique-card--shine:hover {
  box-shadow: 0 28px 72px rgba(26, 61, 43, 0.16);
}

/* Saveurs — carte plus immersive */
.site-premium .saveurs-page .saveurs-map-shell {
  border-radius: 24px;
  border: 1px solid var(--xd-line-dark);
  box-shadow: 0 32px 80px rgba(26, 61, 43, 0.1);
  overflow: hidden;
}
.site-premium .saveurs-page .saveur-pin-btn.is-active {
  box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Page heroes génériques — fond sombre cohérent */
.site-premium .page-hero {
  background: var(--xd-ink);
  max-width: none;
  margin: 0;
  padding: calc(var(--nav-h) + 56px) clamp(24px, 5vw, 80px) 64px;
}

/* Header sombre sur pages intérieures sombres */
.site-premium:not(.is-home-immersive) .header-shell {
  background: rgba(248, 242, 232, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(26, 61, 43, 0.08);
}

@media (min-width: 901px) {
  .site-premium .nav-toggle__icon { display: none; }
  .site-premium .nav-toggle__label {
    display: inline !important;
    width: auto;
    height: auto;
    background: none;
    position: static;
  }
  .site-premium .nav-toggle__label::before,
  .site-premium .nav-toggle__label::after { display: none; }
}

@media (max-width: 900px) {
  .cine-nav__panel { width: 100%; border-left: none; }

  /* Barre mobile site-premium : toujours visible */
  body.site-premium::before {
    background: rgba(255, 252, 248, 0.97);
    border-bottom: 1px solid rgba(26, 61, 43, 0.12);
    z-index: 900;
  }
  body.site-premium.is-home-immersive::before {
    background: rgba(5, 12, 8, 0.92);
    border-bottom-color: var(--xd-line);
    backdrop-filter: blur(16px);
  }

  .site-premium .nav-logo {
    position: fixed !important;
    top: 0;
    left: 16px;
    z-index: 902 !important;
    height: var(--nav-h);
    display: flex !important;
    align-items: center;
  }
  .site-premium .nav-logo-img {
    filter: none !important;
    opacity: 1 !important;
  }
  .site-premium.is-home-immersive .nav-logo-img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.95 !important;
  }

  .site-premium .nav-toggle {
    display: inline-flex !important;
    position: fixed !important;
    top: calc((var(--nav-h) - 44px) / 2) !important;
    right: 16px !important;
    left: auto !important;
    z-index: 902 !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 12px !important;
    color: var(--green) !important;
    background: rgba(26, 61, 43, 0.08) !important;
    border: 1px solid rgba(26, 61, 43, 0.12) !important;
  }
  .site-premium.is-home-immersive .nav-toggle {
    color: #fffcf7 !important;
    background: rgba(255, 252, 247, 0.12) !important;
    border-color: rgba(255, 252, 247, 0.25) !important;
  }
  .site-premium .nav-toggle__icon {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
  }
  .site-premium .nav-toggle__icon::before,
  .site-premium .nav-toggle__icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .site-premium .nav-toggle__icon::before { top: -6px; }
  .site-premium .nav-toggle__icon::after { top: 6px; }
  .site-premium .nav-toggle__label {
    display: none !important;
  }

  .site-premium .cine-nav {
    z-index: 950;
  }
  .site-premium .header-shell {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h) !important;
    z-index: 901;
    pointer-events: none;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
  }
  .site-premium .header-shell .nav-logo,
  .site-premium .header-shell .nav-toggle {
    pointer-events: auto;
  }
}
