/* Inspiré de la structure apple.com/befr — panneaux empilés, typo centrée, CTA doubles */

:root {
  --cream: #ebe4d6;
  --cream-light: #f2ece2;
  --cream-alt: #e4dbd0;
  --cream-dark: #dbd2c4;
  --gold: #9a7b3c;
  --gold-light: #c9a85a;
  --gold-soft: #d4b876;
  --amber: #c47a28;
  --amber-glow: rgba(196, 122, 40, 0.22);
  --gold-hover: #7d6230;
  --charcoal: #1d1d1f;
  --grey: #6e6e73;
  --grey-light: #86868b;
  --link: #9a7b3c;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --nav-h: 44px;
  --nav-total: 78px;
  --shadow-bottle:
    0 40px 70px rgba(35, 28, 18, 0.22),
    0 16px 32px rgba(184, 149, 74, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--charcoal);
  background: var(--cream-light);
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.nav__mark {
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Nav : wordmark centré + liens —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--nav-total);
  padding: 0.65rem max(22px, env(safe-area-inset-right)) 0.55rem max(22px, env(safe-area-inset-left));
  background: rgba(242, 236, 226, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav__wordmark {
  display: block;
  text-align: center;
  z-index: 2;
  transition: opacity 0.3s;
}

.nav__wordmark:hover {
  opacity: 0.82;
}

.nav__wordmark-text {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  line-height: 1;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 0.35rem;
}

.nav__wordmark-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2.5rem;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav__links {
  position: static;
  transform: none;
  display: flex;
  gap: clamp(1.25rem, 3vw, 2rem);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav__links a {
  color: var(--charcoal);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__menu {
  display: none;
  position: absolute;
  top: 1.1rem;
  right: max(22px, env(safe-area-inset-right));
  z-index: 3;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 17px;
  height: 17px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav__menu span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease);
}

.nav__menu[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav__menu[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* —— Hero —— */
.panel__tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.panel--hero .panel__title {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}

/* —— Product shot —— */
.product-shot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.product-shot__glow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 0;
  width: 70%;
  height: 28%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184, 149, 74, 0.28) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.product-shot__glow--strong {
  width: 80%;
  height: 34%;
  background: radial-gradient(ellipse, rgba(212, 175, 90, 0.35) 0%, transparent 72%);
}

.product-shot__floor {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: 48%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(30, 24, 16, 0.14);
  filter: blur(12px);
}

.product-shot__img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(92vw, 680px);
  max-height: min(58vh, 620px);
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 16px;
}

.product-shot__img.is-cutout {
  mix-blend-mode: normal;
  filter: drop-shadow(var(--shadow-bottle));
}

.product-shot--hero .product-shot__img {
  max-height: min(62vh, 680px);
}

/* —— Fond 3D animé (WebGL + repli CSS) —— */
main {
  position: relative;
  z-index: 1;
}

.scroll-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--cream-light);
}

.ambient__canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.scroll-ambient.is-webgl .ambient__orb,
.scroll-ambient.is-webgl .ambient__shimmer {
  opacity: 0;
  pointer-events: none;
}

.scroll-ambient.is-css-fallback .ambient__orb,
.scroll-ambient.is-css-fallback .ambient__shimmer {
  opacity: 1;
}

.ambient__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 40%, rgba(30, 24, 16, 0.12) 100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform, opacity;
}

.ambient__orb--1 {
  top: -8%;
  left: -6%;
  width: min(58vw, 520px);
  height: min(58vw, 520px);
  background: radial-gradient(circle, rgba(212, 184, 118, 0.55) 0%, transparent 68%);
  animation: orb-drift-1 22s ease-in-out infinite alternate;
}

.ambient__orb--2 {
  top: 28%;
  right: -12%;
  width: min(50vw, 460px);
  height: min(50vw, 460px);
  background: radial-gradient(circle, rgba(196, 122, 40, 0.38) 0%, transparent 70%);
  animation: orb-drift-2 26s ease-in-out infinite alternate;
}

.ambient__orb--3 {
  bottom: 8%;
  left: 18%;
  width: min(44vw, 400px);
  height: min(44vw, 400px);
  background: radial-gradient(circle, rgba(228, 200, 150, 0.42) 0%, transparent 72%);
  animation: orb-drift-3 20s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate(6vw, 8vh) scale(1.12); opacity: 0.95; }
}

@keyframes orb-drift-2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-8vw, 5vh) scale(1.08); opacity: 0.85; }
}

@keyframes orb-drift-3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate(5vw, -6vh) scale(1.15); opacity: 0.8; }
}

.ambient__shimmer {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 248, 235, 0.14) 42%,
    rgba(212, 175, 90, 0.1) 48%,
    transparent 58%
  );
  animation: shimmer-sweep 14s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  0%, 100% { transform: translateX(-18%) rotate(0deg); opacity: 0.35; }
  50% { transform: translateX(18%) rotate(2deg); opacity: 0.7; }
}

.ambient__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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.scroll-ambient.is-css-fallback,
body:not(.scroll-story) .scroll-ambient {
  transition: background 1.4s var(--ease);
}

body[data-active-theme="hero"] .scroll-ambient.is-css-fallback {
  background: radial-gradient(ellipse 100% 80% at 50% -10%, #f8f2e8 0%, var(--cream) 45%, #e8dfd0 100%);
}

body[data-active-theme="alt"] .scroll-ambient.is-css-fallback {
  background: radial-gradient(ellipse 90% 70% at 75% 15%, rgba(212, 184, 130, 0.35) 0%, var(--cream-alt) 50%, var(--cream-light) 100%);
}

body[data-active-theme="light"] .scroll-ambient.is-css-fallback {
  background: linear-gradient(175deg, #f5efe6 0%, var(--cream) 55%, #e6ddd0 100%);
}

body[data-active-theme="dark"] .scroll-ambient.is-css-fallback {
  background: linear-gradient(180deg, #3a322c 0%, #2a2520 35%, #4a4038 70%, var(--cream-dark) 100%);
}

body[data-active-theme="gallery"] .scroll-ambient.is-css-fallback {
  background: linear-gradient(180deg, var(--cream-light) 0%, #e0d6c8 100%);
}

body[data-active-theme="contact"] .scroll-ambient.is-css-fallback {
  background: linear-gradient(180deg, var(--cream-dark) 0%, #d4cabb 100%);
}

@media (prefers-reduced-motion: reduce) {
  .ambient__orb,
  .ambient__shimmer {
    animation: none;
  }
}

/* —— Scroll : barre, thèmes nav —— */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: 2px;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(184, 149, 74, 0.45);
}

.nav.is-scrolled {
  background: rgba(235, 228, 214, 0.92);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav__links a.is-active {
  opacity: 1;
  color: var(--gold);
}

/* —— Panneau Apple + scroll —— */
.panel {
  --scroll-p: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--nav-total);
  background: transparent;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  opacity: calc(1 - var(--scroll-p) * 0.35);
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.panel.sweep-once::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 252, 245, 0.22) 48%,
    transparent 58%
  );
  transform: translateX(-120%);
  animation: panel-sweep 1.4s var(--ease) forwards;
  pointer-events: none;
}

@keyframes panel-sweep {
  to {
    transform: translateX(120%);
  }
}

.panel.in-view .panel__media {
  opacity: 1;
  transform: scale(calc(0.88 + 0.12 * var(--scroll-p)))
    translateY(calc((1 - var(--scroll-p)) * 36px));
  filter: blur(calc((1 - var(--scroll-p)) * 6px));
}

.panel.in-view .panel__copy > * {
  opacity: var(--scroll-p);
  transform: translateY(calc((1 - var(--scroll-p)) * 40px));
}

.panel.in-view .panel__copy .cta-row {
  opacity: calc(var(--scroll-p) * 1.2);
  transform: translateY(calc((1 - var(--scroll-p)) * 24px));
  transition-delay: 0.08s;
}

.panel__media,
.panel__copy > *,
.panel__copy .cta-row {
  transition:
    opacity 0.5s var(--ease),
    transform 0.65s var(--ease),
    filter 0.65s var(--ease);
}

.panel--wide.in-view .panel__media--wide img {
  transform: scale(calc(1.06 + 0.04 * var(--scroll-p)));
}

.panel__media--wide img {
  transition: transform 0.8s var(--ease);
}

.product-shot {
  will-change: transform;
}

.panel.in-view .product-shot__img {
  transform: translateY(calc((1 - var(--scroll-p)) * -28px)) scale(calc(0.94 + 0.06 * var(--scroll-p)));
}

.panel.in-view .product-shot__glow {
  opacity: calc(0.35 + 0.65 * var(--scroll-p));
  transform: translateX(-50%) scale(calc(0.85 + 0.15 * var(--scroll-p)));
}

.panel.in-view .product-shot__floor {
  opacity: var(--scroll-p);
  transform: translateX(-50%) scaleX(calc(0.6 + 0.4 * var(--scroll-p)));
}

.product-shot__glow,
.product-shot__floor {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.scroll-split {
  display: inline-block;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.panel.in-view .scroll-split:nth-child(1) { transition-delay: 0.05s; }
.panel.in-view .scroll-split:nth-child(2) { transition-delay: 0.12s; }
.panel.in-view .scroll-split:nth-child(3) { transition-delay: 0.18s; }

.gallery {
  --scroll-p: 0;
}

.gallery.in-view .gallery__head {
  opacity: var(--scroll-p);
  transform: translateY(calc((1 - var(--scroll-p)) * 32px));
}

.gallery.in-view .gallery__item {
  opacity: calc(0.5 + 0.5 * var(--scroll-p));
}

.gallery__head,
.gallery__item {
  transition: opacity 0.55s var(--ease), transform 0.45s var(--ease);
}

.panel--hero {
  background: transparent;
}

.panel--alt {
  background: rgba(228, 219, 208, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel__media {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 4vw, 2rem) 0;
  min-height: 52vh;
  opacity: 0.4;
}

.panel__media--hero {
  min-height: 58vh;
  padding-top: clamp(3rem, 8vh, 5rem);
}

.panel__media--wide {
  position: relative;
  flex: 1;
  min-height: 70vh;
  padding: 0;
  align-items: stretch;
}

.panel__media--wide img {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 0;
}

.panel--wide {
  position: relative;
  padding-top: 0;
}

.panel--wide .panel__media--wide {
  min-height: 85vh;
}

.panel__copy {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100%;
  max-width: 980px;
  padding: clamp(1.5rem, 4vh, 2.5rem) 1.5rem clamp(3.5rem, 8vh, 5.5rem);
  text-align: center;
}

.panel__copy > *,
.panel__copy .cta-row {
  opacity: 0;
}

.panel__copy--on-media {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-bottom: clamp(3rem, 10vh, 5rem);
  background: linear-gradient(transparent 0%, rgba(30, 26, 22, 0.55) 100%);
  color: #f5f0e8;
}

.panel__copy--on-media .panel__title,
.panel__copy--on-media .panel__headline {
  color: #f5f0e8;
}

.panel__copy--on-media .panel__headline {
  opacity: 0.92;
}

.panel__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 0.35em;
  color: var(--charcoal);
}

.panel__headline {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.panel__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--grey-light);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* CTA type Apple : lien + bouton pill */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1rem;
}

.link-more {
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--link);
  transition: opacity 0.3s;
}

.link-more:hover {
  text-decoration: underline;
}

.link-more--light {
  color: #f5f0e8;
}

.link-more--light:hover {
  color: #fff;
}

.btn-pill {
  display: inline-block;
  padding: 0.55rem 1.35rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--gold);
  border-radius: 980px;
  transition: background 0.3s var(--ease);
}

.btn-pill:hover {
  background: var(--gold-hover);
}

/* Galerie horizontale (style bandeau Apple) */
.gallery {
  padding: clamp(4rem, 10vh, 6rem) 0 clamp(3rem, 8vh, 5rem);
  background: rgba(242, 236, 226, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(154, 123, 60, 0.08);
}

.gallery__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.gallery__item {
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-alt);
  box-shadow: 0 16px 48px rgba(40, 30, 18, 0.12);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(40, 30, 18, 0.16);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0 0;
}

.gallery__item figcaption {
  padding: 0.65rem 1rem 0.85rem;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-light);
  text-align: center;
}

/* Contact */
.panel--contact {
  min-height: 70vh;
  min-height: 70dvh;
  padding-bottom: 3rem;
  background: rgba(219, 210, 196, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel--contact .panel__copy {
  padding-top: clamp(4rem, 12vh, 6rem);
}

.contact__email {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  color: var(--link);
  letter-spacing: -0.01em;
}

.contact__email:hover {
  text-decoration: underline;
}

.contact__social {
  display: block;
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--link);
  letter-spacing: -0.01em;
}

.contact__social:hover {
  text-decoration: underline;
}

.contact__domain {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--grey-light);
  letter-spacing: 0.04em;
}

/* Footer Apple-like */
.footer {
  padding: 1.125rem max(22px, env(safe-area-inset-right)) calc(1.5rem + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  background: var(--cream-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  line-height: 1.33337;
  color: var(--grey);
  text-align: center;
}

.footer__legal {
  margin-bottom: 0.75rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer__links a {
  color: var(--grey);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--charcoal);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .panel.in-view .panel__media,
  .panel.in-view .panel__copy > *,
  .panel.in-view .product-shot__img,
  .gallery.in-view .gallery__item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .panel.sweep-once::after {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* —— Responsive —— */
@media (max-width: 734px) {
  .ambient__vignette {
    opacity: 0.35;
  }

  .scroll-ambient.is-css-fallback .ambient__orb--1,
  .scroll-ambient.is-css-fallback .ambient__orb--2 {
    width: 70vw;
    height: 70vw;
    filter: blur(56px);
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .nav {
    --nav-total: 52px;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-total);
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(242, 236, 226, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu {
    display: flex;
  }

  .product-shot__img {
    max-height: 48vh;
  }

  .panel__media {
    min-height: 44vh;
  }

  .cta-row {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (min-width: 1068px) {
  .panel__headline {
    font-size: 2.5rem;
  }

  .panel__title {
    font-size: 4.5rem;
  }
}

/* ═══════════════════════════════════════
   KAIYNA — couche luxe & interactions
   ═══════════════════════════════════════ */

body.has-cursor-fx {
  cursor: none;
}

body.has-cursor-fx a,
body.has-cursor-fx button {
  cursor: none;
}

.cursor-glow,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

body.has-cursor-fx .cursor-glow,
body.has-cursor-fx .cursor-ring {
  opacity: 1;
}

.cursor-glow {
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 90, 0.18) 0%, rgba(196, 122, 40, 0.06) 40%, transparent 70%);
  filter: blur(8px);
  mix-blend-mode: multiply;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 1px solid rgba(154, 123, 60, 0.45);
  box-shadow: 0 0 20px rgba(212, 175, 90, 0.25);
  transition: transform 0.08s linear, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
}

/* Hero */
.panel--hero .panel__headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.panel__title--gold:not(.panel__title--shimmer) {
  background: linear-gradient(135deg, #5c4a28 0%, var(--gold) 35%, var(--gold-light) 55%, #7a5e2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(154, 123, 60, 0.15));
}


.hero-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 90, 0.2);
  pointer-events: none;
  z-index: 0;
}

.hero-ring--1 {
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  margin: calc(min(72vw, 520px) / -2) 0 0 calc(min(72vw, 520px) / -2);
  animation: ring-pulse 6s ease-in-out infinite;
}

.hero-ring--2 {
  width: min(88vw, 640px);
  height: min(88vw, 640px);
  margin: calc(min(88vw, 640px) / -2) 0 0 calc(min(88vw, 640px) / -2);
  border-color: rgba(212, 175, 90, 0.1);
  animation: ring-pulse 8s ease-in-out infinite reverse;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.5; }
  50% { transform: scale(1.04); opacity: 1; }
}

.product-shot--hero {
  animation: hero-float 5s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: perspective(900px) translateY(0); }
  50% { transform: perspective(900px) translateY(-14px); }
}

body.has-cursor-fx .product-shot--hero {
  animation: none;
}

.notes-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding: 0;
}

.notes-strip li {
  padding: 0.35rem 0.9rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(154, 123, 60, 0.25);
  border-radius: 980px;
  background: rgba(255, 252, 245, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.scroll-cue {
  margin-top: 2rem;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-light);
  opacity: 0.6;
}

.scroll-cue span {
  display: inline-block;
  animation: cue-bounce 2s ease-in-out infinite;
}

.scroll-cue span::after {
  content: " ↓";
}

@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Cartes verre */
.panel__copy--glass {
  margin-inline: auto;
  max-width: 720px;
  border-radius: 28px;
  background: rgba(255, 252, 245, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 24px 64px rgba(40, 30, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.panel--hero .panel__copy--glass {
  background: rgba(255, 252, 245, 0.38);
}

.panel__copy--contact {
  max-width: 520px;
  padding: clamp(2.5rem, 6vh, 3.5rem) 2rem;
}

/* Panneaux numérotés */
.panel--numbered::before {
  content: attr(data-index);
  position: absolute;
  top: calc(var(--nav-total) + 1.5rem);
  left: clamp(1rem, 4vw, 2.5rem);
  z-index: 4;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 500;
  line-height: 1;
  color: rgba(154, 123, 60, 0.08);
  pointer-events: none;
  user-select: none;
}

/* Boutons */
.btn-pill--shine {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(154, 123, 60, 0.28);
}

.btn-pill--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-pill--shine:hover::after {
  transform: translateX(120%);
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(154, 123, 60, 0.35);
}

.btn-pill {
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.link-more {
  position: relative;
}

.link-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.link-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link-more:hover {
  text-decoration: none;
}

/* Nav luxe */
.nav {
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: rgba(154, 123, 60, 0.12);
}

.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}

.nav__links a.is-active::after,
.nav__links a:hover::after {
  transform: translateX(-50%) scale(1);
}

/* Galerie */
.gallery__item {
  transform: perspective(800px) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.4s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(212, 175, 90, 0.4), transparent 50%, rgba(196, 122, 40, 0.2)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.gallery__item {
  position: relative;
}

.gallery__item:hover::before {
  opacity: 1;
}

.gallery__item:hover {
  transform: perspective(800px) rotateY(var(--tilt-y, 0deg)) translateY(-8px) scale(1.02);
  box-shadow: 0 28px 64px rgba(40, 30, 18, 0.2);
}

.gallery__head .panel__tag {
  margin-bottom: 0.5rem;
}

/* Product tilt */
[data-tilt] {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}

/* Lifestyle */
.panel--wide .panel__media--wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 16, 12, 0.55) 100%);
  pointer-events: none;
}

.panel__media--wide {
  position: relative;
}

.panel__copy--on-media {
  background: linear-gradient(transparent 0%, rgba(20, 16, 12, 0.65) 100%);
}

/* Footer */
.footer {
  background: rgba(219, 210, 196, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Progress bar glow */
.scroll-progress__bar {
  box-shadow: 0 0 16px rgba(212, 175, 90, 0.55), 0 0 4px rgba(196, 122, 40, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  body.has-cursor-fx {
    cursor: auto;
  }

  body.has-cursor-fx a,
  body.has-cursor-fx button {
    cursor: pointer;
  }

  .cursor-glow,
  .cursor-ring,
  .scroll-cue,
  .hero-ring {
    display: none;
  }

  .product-shot--hero {
    animation: none;
  }

  [data-tilt] {
    transform: none !important;
  }
}

@media (max-width: 734px) {
  .panel--numbered::before {
    font-size: 3.5rem;
    top: calc(var(--nav-total) + 0.5rem);
    left: 1rem;
  }

  .panel__copy--glass {
    margin-inline: 1rem;
    border-radius: 22px;
  }

  .notes-strip li {
    font-size: 9px;
    padding: 0.3rem 0.65rem;
  }
}

/* ═══════════════════════════════════════
   KAIYNA — couche MAX (v2)
   ═══════════════════════════════════════ */

.scene-pulse {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 90, 0.18) 0%, transparent 55%);
  opacity: 0;
}

.scene-pulse.is-active {
  animation: scene-flash 0.9s var(--ease) forwards;
}

@keyframes scene-flash {
  0% { opacity: 0; transform: scale(0.98); }
  25% { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.02); }
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
}

.trail-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 90, 0.7) 0%, transparent 70%);
  transform: scale(1);
  transition: opacity 0.4s, transform 0.4s;
}

.trail-dot.is-fade {
  opacity: 0;
  transform: scale(0.2);
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: rgba(196, 122, 40, 0.65);
  box-shadow: 0 0 32px rgba(212, 175, 90, 0.45);
}

.cursor-glow {
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  background: radial-gradient(circle, rgba(212, 175, 90, 0.22) 0%, rgba(196, 122, 40, 0.08) 35%, transparent 68%);
}

/* Titre lettres */
.panel__title--shimmer {
  background-image: linear-gradient(
    105deg,
    #5c4a28 0%,
    #9a7b3c 20%,
    #e8c86a 40%,
    #c9a85a 55%,
    #9a7b3c 75%,
    #5c4a28 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shimmer 6s linear infinite;
  filter: drop-shadow(0 2px 16px rgba(154, 123, 60, 0.2));
}

.panel__title--shimmer .title-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px) rotateX(50deg);
  animation: char-rise 0.85s var(--ease) forwards;
}

@keyframes char-rise {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes gold-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Hero extra */
.hero-ring--3 {
  width: min(104vw, 760px);
  height: min(104vw, 760px);
  margin: calc(min(104vw, 760px) / -2) 0 0 calc(min(104vw, 760px) / -2);
  border: 1px dashed rgba(212, 175, 90, 0.12);
  animation: ring-spin 24s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.hero-aura {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(80vw, 580px);
  height: min(80vw, 580px);
  margin: calc(min(80vw, 580px) / -2) 0 0 calc(min(80vw, 580px) / -2);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(212, 175, 90, 0.15), transparent, rgba(196, 122, 40, 0.1), transparent);
  animation: aura-spin 12s linear infinite;
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

@keyframes aura-spin {
  to { transform: rotate(360deg); }
}

.hero-mist {
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(ellipse at 50% 80%, rgba(255, 248, 235, 0.35) 0%, transparent 55%);
  animation: mist-drift 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes mist-drift {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  100% { transform: translateY(-20px) scale(1.05); opacity: 0.85; }
}

.hero-spray {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

.spray-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 240, 210, 0.85);
  box-shadow: 0 0 8px rgba(212, 175, 90, 0.6);
  animation: spray-float 1.2s var(--ease) forwards;
}

@keyframes spray-float {
  0% { opacity: 0.9; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2); }
}

.product-shot__frame {
  position: absolute;
  inset: -12px -20px;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(212, 175, 90, 0.5), transparent 40%, rgba(196, 122, 40, 0.35), transparent 70%, rgba(212, 175, 90, 0.4));
  background-size: 300% 300%;
  animation: frame-flow 8s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0.7;
}

.product-shot--hero .product-shot__frame {
  inset: -16px -28px;
  opacity: 0.85;
}

@keyframes frame-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.product-shot--framed.in-view .product-shot__frame,
.panel--hero.in-view .product-shot__frame {
  opacity: 1;
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 1.1rem 0;
  background: rgba(255, 252, 245, 0.35);
  border-block: 1px solid rgba(154, 123, 60, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-run 28s linear infinite;
}

.marquee__track span {
  flex-shrink: 0;
  padding-right: 3rem;
  font-family: var(--serif);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(154, 123, 60, 0.55);
  white-space: nowrap;
}

@keyframes marquee-run {
  to { transform: translateX(-33.333%); }
}

/* Divider */
.section-divider {
  position: relative;
  z-index: 2;
  height: 1px;
  max-width: 200px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 20px rgba(212, 175, 90, 0.35);
}

/* Glass cards v2 */
.panel__copy--glass {
  position: relative;
  overflow: hidden;
}

.panel__copy--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(212, 175, 90, 0.35), rgba(255, 255, 255, 0.4));
  background-size: 200% 200%;
  animation: glass-border 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes glass-border {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.panel__copy--glass::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58%);
  animation: glass-sheen 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glass-sheen {
  0%, 100% { transform: translateX(-30%) rotate(0deg); }
  50% { transform: translateX(30%) rotate(0deg); }
}

/* Nav wordmark shine */
.nav__wordmark-text {
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--gold) 50%, var(--charcoal) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nav-shine 8s linear infinite;
}

@keyframes nav-shine {
  to { background-position: 200% center; }
}

/* Gallery v2 */
.gallery__item {
  transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.gallery__item img {
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item figcaption {
  background: rgba(255, 252, 245, 0.6);
  letter-spacing: 0.12em;
}

/* Contact luxe */
.contact__email {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.panel__copy--contact {
  box-shadow:
    0 32px 80px rgba(40, 30, 18, 0.12),
    0 0 60px rgba(212, 175, 90, 0.08);
}

/* Notes hover */
.notes-strip li {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}

.notes-strip li:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(154, 123, 60, 0.18);
  background: rgba(255, 252, 245, 0.75);
}

/* Panel numbered glow */
.panel--numbered.in-view::before {
  color: rgba(154, 123, 60, 0.14);
  text-shadow: 0 0 60px rgba(212, 175, 90, 0.15);
}

/* Lifestyle ken burns */
.panel--wide.in-view .panel__media--wide img {
  animation: ken-burns 18s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  0% { transform: scale(1.06); object-position: center 35%; }
  100% { transform: scale(1.12); object-position: center 42%; }
}

.panel--wide.in-view .panel__media--wide img {
  transform: none;
}

/* Product glow pulse */
.product-shot__glow--strong {
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .hero-ring--3,
  .hero-aura,
  .hero-mist,
  .product-shot__frame,
  .panel__title--shimmer,
  .nav__wordmark-text,
  .panel--wide.in-view .panel__media--wide img,
  .product-shot__glow--strong {
    animation: none;
  }

  .trail-dot,
  .spray-particle,
  .scene-pulse {
    display: none;
  }
}
