:root {
  --choco: #2A1712;
  --choco-2: #3A2119;
  --gold: #C9A46A;
  --cream: #F5EBDD;
  --rose: #E9B8B0;
  --muted: rgba(245, 235, 221, .66);
  --muted-d: rgba(42, 23, 18, .64);
  --line: rgba(201, 164, 106, .25);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Gilda Display', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--choco); color: var(--cream); font-family: var(--body); font-weight: 300; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gold {
  background: linear-gradient(100deg, #8C6A35 0%, #E9CF97 22%, #B8904F 38%, #FFF1C9 50%, #B8904F 62%, #E9CF97 78%, #8C6A35 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.8vw, 92px); line-height: 1; letter-spacing: -.01em; margin-top: 14px; }
.title em { font-style: italic; color: var(--gold); }
.lead { margin-top: 16px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 2px; background: var(--gold); color: var(--choco); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: background .4s; }
.btn:hover { background: var(--cream); }
.btn-small { padding: 11px 18px; font-size: 11px; }
.btn-ghost { background: none; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--choco); }

.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); background: rgba(42, 23, 18, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo { font-family: var(--display); font-size: 24px; letter-spacing: .04em; }
.logo em { font-style: italic; color: var(--gold); }
.nav { display: flex; gap: 32px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: var(--gold); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gutter) 90px; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #3A2119); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.1); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 23, 18, .92) 0%, rgba(42, 23, 18, .4) 60%, transparent); }
.hero-text { position: relative; z-index: 1; max-width: 680px; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(110px, 17vw, 270px); line-height: .9; margin: 14px 0 6px -.04em; }
.hero-lead { max-width: 44ch; margin: 16px 0 34px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.drips { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 160px; z-index: 2; }

/* Intro */
.intro { position: relative; padding: clamp(190px, 18vw, 250px) var(--gutter) clamp(90px, 11vw, 150px); text-align: center; background: var(--cream); color: var(--choco); }
.intro .intro-sign, .intro .facts b { color: #A57C3E; }
.intro .facts span { color: var(--muted-d); }
.intro .facts { border-color: rgba(42, 23, 18, .15); }
.intro-text { max-width: 24ch; margin: 0 auto; font-family: var(--display); font-size: clamp(30px, 4vw, 60px); line-height: 1.15; }
.intro-sign { margin-top: 20px; color: var(--gold); letter-spacing: .1em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 56px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(50px, 6vw, 86px); color: var(--gold); line-height: 1; }
.facts span { font-size: 14px; color: var(--muted); }

/* Coffret */
.box-sec { padding: clamp(100px, 12vw, 160px) var(--gutter); background: var(--cream); color: var(--choco); }
.box-sec .lead { color: var(--muted-d); }
.box-head { text-align: center; margin-bottom: 50px; }
.box-head .lead { margin-inline: auto; }
.box-sec .title em, .show-head .title em { color: #A57C3E; }
.box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; max-width: 1180px; margin: 0 auto; }
.sizes { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.size { padding: 10px 18px; border: 1px solid rgba(42, 23, 18, .2); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: all .3s; }
.size.is-on { background: var(--choco); color: var(--cream); border-color: var(--choco); }
.box { position: relative; margin: 0 auto; width: min(100%, 440px); aspect-ratio: 1; padding: 22px; background: linear-gradient(135deg, #3E241B, #24130E); box-shadow: 0 40px 60px -30px rgba(42, 23, 18, .7), inset 0 0 0 6px #4A2B20; }
.cells { display: grid; gap: 10px; height: 100%; }
.cell { position: relative; border-radius: 6px; background: radial-gradient(circle at 50% 40%, #F0E3D0, #D9C6AB); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .25); display: grid; place-items: center; }
.cell svg { width: 78%; height: 78%; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
.ribbon-v, .ribbon-h { position: absolute; background: linear-gradient(90deg, #A57C3E, #E9CF97, #A57C3E); pointer-events: none; opacity: .9; }
.ribbon-v { top: -6px; bottom: -6px; left: 50%; width: 14px; margin-left: -7px; }
.ribbon-h { left: -6px; right: -6px; top: 50%; height: 14px; margin-top: -7px; background: linear-gradient(180deg, #A57C3E, #E9CF97, #A57C3E); }
.box.has-items .ribbon-v, .box.has-items .ribbon-h { opacity: 0; transition: opacity .4s; }
.box-total { display: flex; justify-content: space-between; align-items: baseline; width: min(100%, 440px); margin: 18px auto 0; }
.box-count { font-size: 14px; letter-spacing: .1em; color: var(--muted-d); }
.box-price { font-family: var(--display); font-weight: 400; font-size: 40px; }
.flavours { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flav { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; text-align: left; padding: 14px; background: #fff; border: 1px solid transparent; transition: border-color .3s, transform .3s; }
.flav:hover { border-color: var(--gold); transform: translateY(-2px); }
.flav svg { width: 54px; height: 54px; }
.flav b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.1; }
.flav small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted-d); }
.box-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.box-actions .btn-ghost { color: var(--choco); box-shadow: inset 0 0 0 1px var(--choco); }
.box-msg { flex-basis: 100%; text-align: center; font-family: var(--display); font-size: 22px; color: #A57C3E; min-height: 1.3em; }

/* Vitrine */
.showcase { padding: clamp(100px, 12vw, 160px) var(--gutter); }
.show-head { margin-bottom: 44px; }
.show-head .title em { color: var(--gold); }
.show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pastry { cursor: none; }
.pastry-img { overflow: hidden; aspect-ratio: 4 / 5; }
.pastry-img img { width: 100%; height: 100%; object-fit: cover; }
.pastry-info { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.pastry h3 { font-family: var(--display); font-weight: 400; font-size: 26px; }
.pastry b { font-weight: 400; color: var(--gold); }
.pastry p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.lens { position: fixed; left: 0; top: 0; z-index: 60; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; pointer-events: none; background-repeat: no-repeat;
  box-shadow: 0 0 0 3px var(--gold), 0 20px 40px rgba(0, 0, 0, .5), inset 0 0 30px rgba(0, 0, 0, .25); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--ease); }
.lens.is-on { opacity: 1; transform: scale(1); }

/* Maison */
.house { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 0 var(--gutter) clamp(100px, 12vw, 160px); }
.house-img { overflow: hidden; aspect-ratio: 4 / 3; }
.house-img img { width: 100%; height: 120%; object-fit: cover; }
.house-info p { margin-top: 18px; line-height: 1.7; color: var(--muted); }

.pbc-loyalty { --pbc-bg: var(--choco-2); --pbc-fg: var(--cream); --pbc-muted: var(--muted); --pbc-line: var(--line); --pbc-title-font: var(--display); --pbc-body-font: var(--body); --pbc-accent: var(--gold); --pbc-accent-fg: var(--choco); }
.pbc-loyalty .pbc-title { font-weight: 400; }

.footer { padding: 70px var(--gutter) 24px; overflow: hidden; }
.footer-word { font-family: var(--display); font-size: 30vw; line-height: .8; text-align: center; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .nav { display: none; }
  .box-grid, .house { grid-template-columns: 1fr; }
  .show-grid { grid-template-columns: 1fr 1fr; }
  .pastry:nth-child(3) { display: none; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .flavours { grid-template-columns: 1fr; }
}
@media (pointer: coarse) { .lens { display: none; } .pastry { cursor: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
