/* ================================================================
   BISSAP — Scroll-Driven Experience
   Design: Apple-style light · DM Serif Display + Outfit
   ================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Apple-style light palette — mode clair permanent */
  --page-bg: #ffffff;
  --page-bg-rich: #ffffff;
  --accent: #c30c1a;
  --accent-bright: #c30c1a;
  --accent-glow: rgba(195, 12, 26, 0.18);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-soft: rgba(0, 0, 0, 0.07);
  --focus-ring: rgba(195, 12, 26, 0.38);
  --panel-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  --glass-surface: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.08);
  --hero-panel: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(244, 250, 247, 0.68)
  );
  --overlay-surface: rgba(255, 255, 255, 0.6);
  --font-display: "DM Serif Display", serif;
  --font-body: "Outfit", sans-serif;
}

html {
  scroll-behavior: auto; /* Lenis gère le smooth scroll */
}

body {
  background: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a,
button,
[tabindex]:not([tabindex="-1"]) {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline-color: var(--focus-ring);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2400;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Block scroll pendant le chargement */
body:not(.loaded) {
  overflow: hidden;
}

/* ================================================================
   LOADER
   ================================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: linear-gradient(
    180deg,
    var(--page-bg) 0%,
    var(--page-bg-rich) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.35em;
  color: var(--accent);
  user-select: none;
}

.loader-track {
  width: min(280px, 60vw);
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

#loader-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width 0.08s linear;
}

#loader-percent {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 4vw;
  pointer-events: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  pointer-events: auto;
  width: min(680px, 90vw);
  margin: 0 auto;
  padding: 0.5rem 1.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-surface);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  color: var(--text-primary);
  text-decoration: none;
  margin-right: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  border-color: currentColor;
}

/* theme-toggle removed — light mode permanent */

.nav-cta {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border-strong);
  transition:
    border-color 0.2s,
    transform 0.2s ease,
    background 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--accent);
  background: rgba(201, 23, 85, 0.12);
  transform: translateY(-1px);
}

/* ================================================================
   HAMBURGER + MENU MOBILE
   ================================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
  transform-origin: center;
}

body.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
body.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 5.5rem 6vw 2.5rem;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.nav-open .nav-mobile-menu {
  display: block;
}

.nav-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-menu li {
  border-bottom: 1px solid var(--border-soft);
}

.nav-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a:focus-visible {
  color: var(--accent);
}

/* ================================================================
   HERO STANDALONE — Apple style: open layout, light background
   ================================================================ */
.hero-standalone {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: #f8f8fa;
  background-image: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

/* Hero split layout — title left, copy right */
.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 7rem 8vw 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 3.5rem;
}

.hero-section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 10.5rem);
  line-height: 0.92;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
  text-align: left;
}

.hero-heading .word {
  display: block;
  overflow: hidden;
}

.hero-heading .word em {
  font-style: italic;
  color: var(--accent);
}

.hero-logo {
  display: block;
  width: auto;
  height: clamp(140px, 20vw, 280px);
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero-tagline {
  margin-top: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 38ch;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-start;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
}

.hero-button--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(201, 23, 85, 0.26);
}

.hero-button--primary:hover,
.hero-button--primary:focus-visible {
  background: var(--accent-bright);
}

.hero-button--ghost {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.hero-button--ghost:hover,
.hero-button--ghost:focus-visible {
  border-color: var(--accent);
  background: rgba(201, 23, 85, 0.12);
}

/* Hero product image — inside hero-right, below buttons */
.hero-product {
  width: 100%;
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-product img {
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(
    ellipse at 40% center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 85%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 40% center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 85%
  );
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.scroll-indicator svg {
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ================================================================
   SECTION VIDEO — pleine largeur
   ================================================================ */
/* ================================================================
   SECTION MAP
   ================================================================ */
.section-map {
  position: relative;
  z-index: 5;
  background: #ffffff;
  padding: 6rem 5vw;
}

.map-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.map-info .section-heading {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.map-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.map-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.6;
  color: #444;
}

.map-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  color: var(--accent);
}

.map-details a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s;
}

.map-details a:hover {
  border-color: #000;
}

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .section-map {
    padding: 4rem 5vw;
  }
  .map-inner {
    grid-template-columns: 1fr;
  }
  .map-embed {
    aspect-ratio: 16 / 9;
  }
}

/* ================================================================
   SECTION VIDEO
   ================================================================ */
.section-video {
  position: relative;
  z-index: 5;
  width: 100%;
  background: #000;
  line-height: 0;
}

.section-video__player {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
}

/* ================================================================
   SECTION HISTOIRE — éditorial
   ================================================================ */
.section-histoire {
  position: relative;
  z-index: 5;
  background: #f7f4f0;
  padding: 8rem 8vw;
}

.histoire-inner {
  max-width: 860px;
  margin: 0 auto;
}

.histoire-header {
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 4rem;
}

.histoire-header .section-heading {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.1;
}

.histoire-intro {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 55ch;
}

.histoire-chapters {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.histoire-chapter {
  padding-left: 2rem;
  border-left: 2px solid var(--border-soft);
  transition: border-color 0.3s ease;
}

.histoire-chapter:hover {
  border-left-color: var(--accent);
}

.chapter-label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.histoire-chapter p {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 68ch;
}

.histoire-quote {
  margin: 0.5rem 0;
  padding: 3.5rem 3rem;
  background: var(--page-bg);
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.histoire-quote p {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.histoire-quote cite {
  display: block;
  font-style: normal;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  line-height: 1.6;
}

.histoire-chapter__accent {
  margin-top: 1.25rem !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important;
  color: var(--accent) !important;
  font-style: italic;
}

@media (max-width: 768px) {
  .section-histoire {
    padding: 4rem 5vw;
  }

  .histoire-header {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
  }

  .histoire-chapter {
    padding-left: 1.25rem;
  }

  .histoire-quote {
    padding: 2.5rem 1.75rem;
  }
}

/* ================================================================
   SECTION COLLECTION (static showcase between hero & scroll)
   ================================================================ */
.section-collection {
  position: relative;
  z-index: 5;
  padding: 8rem 5vw;
  background: var(--page-bg);
}

.collection-container {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 2rem;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  box-shadow: var(--panel-shadow);
}

.collection-text {
  flex: 1;
  min-width: 0;
}

.collection-text .section-heading {
  font-size: clamp(2.5rem, 4.5vw, 5rem);
}

.collection-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.collection-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.06));
}

@media (max-width: 768px) {
  .collection-container {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
  .section-collection {
    padding: 4rem 4vw;
  }
  .collection-image img {
    max-width: 80%;
  }
}

/* ================================================================
   SECTION PARFUMS — alternating image/text rows
   ================================================================ */
.section-parfums {
  position: relative;
  z-index: 5;
  background: var(--page-bg);
}

.parfum-row {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: 5rem 10vw;
  border-bottom: 1px solid var(--border-soft);
}

.parfum-row--reverse {
  flex-direction: row-reverse;
  background: #fafafa;
}

.parfum-row:not(.parfum-row--reverse) .parfum-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.parfum-image {
  flex: 0 0 28%;
  max-width: 28%;
  border-radius: 1.25rem;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.13),
    0 40px 72px rgba(140, 12, 48, 0.11);
}

.parfum-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parfum-row:hover .parfum-image img {
  transform: scale(1.03);
}

.parfum-text {
  flex: 1;
  min-width: 0;
}

.parfum-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem;
}

.parfum-desc {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 48ch;
}

@media (max-width: 768px) {
  .parfum-row,
  .parfum-row--reverse {
    flex-direction: column;
    padding: 4rem 6vw;
  }

  .parfum-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 70%;
    margin: 0 auto;
  }

  .parfum-image img {
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }

  .parfum-desc {
    max-width: none;
  }

  .parfum-row:not(.parfum-row--reverse) .parfum-text {
    display: block;
    align-items: unset;
    text-align: left;
  }
}

/* ================================================================
   CANVAS
   ================================================================ */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 10;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
  pointer-events: none;
}

canvas#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================================================================
   DARK OVERLAY
   ================================================================ */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: var(--overlay-surface);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee-wrap {
  position: fixed;
  bottom: 6vh;
  left: 0;
  right: 0;
  z-index: 18;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(8rem, 13vw, 16rem);
  line-height: 1;
  white-space: nowrap;
  color: rgba(201, 23, 85, 0.22);
  letter-spacing: 0.04em;
  will-change: transform;
  display: block;
}

/* ================================================================
   SCROLL CONTAINER
   ================================================================ */
#scroll-container {
  position: relative;
  height: 900vh;
  pointer-events: none;
}

/* ================================================================
   SCROLL SECTIONS (tous position:fixed — toggles JS)
   ================================================================ */
.scroll-section {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  visibility: hidden;
  pointer-events: none;
}

.scroll-section.is-active {
  visibility: visible;
  pointer-events: auto;
}

/* Zones de texte latérales — le produit occupe le centre */
.align-left {
  padding-left: 5vw;
  padding-right: 55vw;
}
.align-right {
  padding-left: 55vw;
  padding-right: 5vw;
}

.align-left .section-inner,
.align-right .section-inner {
  max-width: 42vw;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  background: #ffffff;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: var(--panel-shadow);
  position: relative;
  overflow: hidden;
}

/* Labels numérotés */
.section-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

/* Titres de section */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

/* Corps de texte */
.section-body {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 40ch;
}

/* ================================================================
   SECTION STATS (centrée, dark overlay derrière)
   ================================================================ */
.section-stats {
  justify-content: center;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  width: min(85%, 1100px);
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  background: #ffffff;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: var(--panel-shadow);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.5vw, 9rem);
  line-height: 1;
  color: var(--text-primary);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 5rem);
  color: var(--accent);
  line-height: 1;
  vertical-align: top;
  margin-left: 0.05em;
}

.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ================================================================
   SECTION CTA
   ================================================================ */
.section-cta {
  background: #ffffff;
  pointer-events: none;
}

.section-cta.is-active {
  pointer-events: auto;
}

.section-cta .section-inner {
  max-width: 42vw;
  z-index: 2;
}

.cta-button {
  display: inline-block;
  margin-top: 2.75rem;
  padding: 1rem 2.8rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.22s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--accent-bright);
  outline: none;
}

/* ================================================================
   SECTION MEDIA (images produit en overlay)
   ================================================================ */
.section-media {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38vw;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.section-media--right {
  right: 4vw;
}
.section-media--left {
  left: 4vw;
}

.section-media img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  will-change: transform;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 85%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 85%
  );
}

/* Fondu spécifique pour l'image de la section commande */
#section-cta .section-media img {
  mask-image: radial-gradient(
    ellipse at 40% center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 0) 90%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 40% center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 0) 90%
  );
}

/* ================================================================
   GRILLE SAVEURS (section 2)
   ================================================================ */
.section-saveurs-grid {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5vw;
  gap: 2.5rem;
}

.section-saveurs-grid .section-heading {
  font-size: clamp(2.5rem, 4vw, 5rem);
  margin-bottom: 0;
}

.saveurs-header {
  padding: 1.75rem 2rem;
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  background: #ffffff;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: var(--panel-shadow);
}

.saveurs-bottles {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  /* breakout pleine largeur */
  width: calc(100% + 10vw);
  margin-left: -5vw;
  margin-right: -5vw;
  gap: 1vw;
  padding: 2.5rem 5vw 2rem;
  border: none;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.bottle-card {
  flex: 0 0 auto;
  width: clamp(5.5rem, 10.5vw, 13rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.bottle-card img {
  display: block;
  width: 100%;
  height: clamp(12vh, 22vh, 26vh);
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottle-card:hover img {
  transform: translateY(-10px) scale(1.08);
}

.section-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.section-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.section-contact a:hover,
.section-contact a:focus-visible {
  border-color: var(--accent);
  background: rgba(201, 23, 85, 0.1);
}

.bottle-card span {
  font-size: clamp(0.48rem, 0.65vw, 0.62rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: center;
}

/* ================================================================
   BADGE LOCALISATION + ACCENT
   ================================================================ */
.section-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 1px 8px rgba(12, 0, 7, 0.9);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0e0609;
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 6vw 1.5rem;
  font-family: var(--font-body, "Outfit", sans-serif);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr;
  gap: 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Marque */
.footer-logo {
  font-family: var(--font-display, "DM Serif Display", serif);
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.footer-logo em {
  color: var(--accent);
  font-style: italic;
}
.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* Titres de colonnes */
.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 600;
}

/* Listes nav / contact / légal */
.footer-nav ul,
.footer-contact ul,
.footer-legal-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #fff;
}

/* Contact */
.footer-contact {
  font-style: normal;
}
.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.1rem;
  opacity: 0.7;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #fff;
}

/* Infos légales */
.footer-legal-col li {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}
.footer-legal-col a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-col a:hover {
  color: #fff;
}

/* Barre bas */

.site-copyright {
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  background: #0e0609;
  letter-spacing: 0.02em;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.text-accent {
  color: var(--accent);
}

/* ================================================================
   MOBILE
   ================================================================ */
@media (max-width: 768px) {
  .hero-standalone {
    padding: 0;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 5.5rem 6vw 0;
    gap: 2rem;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    flex: unset;
    width: 100%;
    align-items: center;
  }

  .hero-right {
    padding-top: 0;
  }

  .hero-heading {
    font-size: clamp(3.5rem, 16vw, 6rem);
    align-items: center;
  }

  .hero-logo {
    object-position: center;
    margin: 0 auto;
  }

  .hero-section-label {
    text-align: center;
  }

  .hero-tagline {
    text-align: center;
  }

  .hero-product {
    width: 80%;
    max-width: 340px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

  .hero-media-band {
    left: 5vw;
    right: 5vw;
    bottom: 1.2rem;
    height: 11rem;
    border-radius: 1.35rem;
  }

  .hero-media-overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .align-left,
  .align-right {
    padding: 0 6vw;
    align-items: flex-end;
    padding-bottom: 12vh;
  }

  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 100%;
    padding: 1.5rem;
  }

  .section-heading {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 90%;
  }

  .section-cta .section-inner {
    max-width: 100%;
  }

  .marquee-text {
    font-size: 18vw;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .site-header {
    padding: 1rem 4vw;
  }

  .site-header nav {
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
  }

  .nav-logo {
    display: block;
  }

  .section-contact {
    flex-direction: column;
  }

  .section-contact a {
    width: 100%;
    justify-content: center;
  }

  .section-media {
    display: flex;
    position: absolute;
    top: 8vh;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 80vw;
    max-height: 44vh;
    align-items: center;
    justify-content: center;
  }

  .section-media--right,
  .section-media--left {
    left: 50%;
    right: auto;
  }

  .section-media img {
    max-height: 42vh;
    max-width: 80vw;
  }

  .section-saveurs-grid {
    padding: 0 5vw;
    gap: 1.5rem;
  }

  .saveurs-bottles {
    flex-wrap: wrap;
    gap: 4vw;
    justify-content: center;
  }

  .bottle-card {
    width: calc(25% - 3vw);
  }

  .bottle-card img {
    height: 14vh;
    width: 100%;
    object-position: center bottom;
  }

  .bottle-card span {
    font-size: 0.65rem;
  }

  .section-location {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .canvas-wrap,
  .section-media img,
  .bottle-card img,
  .scroll-indicator svg,
  .hero-video {
    animation: none !important;
    transform: none !important;
  }
}

/* ================================================================
   PERFORMANCE & INTERACTION OPTIMIZATIONS
   ================================================================ */

/* Cursor intent — tous les éléments interactifs */
.cta-button,
.hero-button,
.map-details a,
.histoire-chapter a,
.footer-nav a,
.footer-contact a,
.footer-legal-col a,
.nav-link,
button {
  cursor: pointer;
}

/* CTA button — lift + shadow sur hover (transform only, GPU) */
.cta-button {
  transition:
    background 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 23, 85, 0.28);
  outline: none;
}

/* Hero buttons — keep existing transform, add box-shadow boost */
.hero-button--primary:hover,
.hero-button--primary:focus-visible {
  box-shadow: 0 22px 48px rgba(201, 23, 85, 0.34);
}

/* Map details links — underline slide */
.map-details a {
  position: relative;
  border-bottom: none;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0);
  text-decoration-line: underline;
  transition:
    text-decoration-color 0.2s ease,
    color 0.2s ease;
}

.map-details a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Histoire chapters — accent border animation already in CSS; ensure smooth */
.histoire-chapter {
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.histoire-chapter:hover {
  transform: translateX(4px);
}

/* Parfum image — already has transition; keep GPU compositing */
.parfum-image img {
  will-change: transform;
}

/* Footer links — consistent hover */
.footer-nav a,
.footer-contact a,
.footer-legal-col a {
  position: relative;
  display: inline-block;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal-col a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* Collection container — subtle lift on hover */
.collection-container {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.collection-container:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
