:root {
  --cream: #fbf3e4;
  --paper: #fffdf8;
  --sand: #f2e6d0;
  --ink: #0d2a1f;
  --muted: #5b6a62;
  --leaf: #048c53;
  --forest: #013d22;
  --night: #01291a;
  --sun: #f28510;
  --sun-deep: #d96a00;
  --line: rgba(1, 61, 34, .14);
  --line-light: rgba(251, 243, 228, .18);
  --gut: clamp(18px, 4vw, 56px);
  --shell: min(1320px, calc(100% - var(--gut) * 2));
  --font: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 22px;
  --curve: clamp(28px, 5vw, 64px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 800; font-stretch: 75%; line-height: .9; letter-spacing: -.012em; text-wrap: balance; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.wa { fill: currentColor; stroke: none; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--forest); color: var(--cream); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 150px); scroll-margin-top: var(--header-h); }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sun-deep); }
.eyebrow::before { content: ""; flex: none; width: 20px; height: 10px; border-radius: 20px 20px 0 0; background: var(--sun); }
.eyebrow-light { color: #ffb85c; }

.btn { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 1.5px solid transparent; background: none; border-radius: 999px; font-weight: 600; line-height: 1; white-space: nowrap; transition: transform .4s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .4s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-solid { background: var(--forest); color: var(--cream); box-shadow: 0 10px 24px rgba(1, 61, 34, .22); }
.btn-line { border-color: rgba(1, 61, 34, .35); color: var(--forest); }
.btn-xl { min-height: 68px; padding: 0 34px; font-size: 1.15rem; }
.btn-xl svg { width: 24px; height: 24px; }
.btn-block { width: 100%; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; }
.header::before { content: ""; position: absolute; inset: -120px 0 0; background: rgba(251, 243, 228, .88); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .3s; }
.header.is-stuck::before { opacity: 1; }
.lite .header::before { background: rgba(251, 243, 228, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-in { position: relative; width: var(--shell); height: var(--header-h); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: auto; height: 40px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 16px; border-radius: 999px; font-weight: 500; transition: background .25s; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px; border: 0; border-radius: 999px; background: var(--forest); color: var(--cream); font-weight: 600; transition: background .25s, transform .4s var(--ease); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bump { animation: bump .5s var(--ease); }
.burger { display: none; position: relative; width: 46px; height: 46px; border: 1.5px solid rgba(1, 61, 34, .3); border-radius: 50%; background: none; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 26px; }
.nav-open .burger i:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .burger i:last-child { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(12px, 3.5vh, 44px)); overflow: clip; background: radial-gradient(110% 60% at 50% 100%, #ffe3b3 0%, rgba(255, 227, 179, 0) 62%), var(--cream); }
.hero h1 { margin-top: clamp(10px, 1.6vh, 18px); font-size: clamp(3.5rem, min(11.2vw, 18.5svh), 10.4rem); line-height: .84; letter-spacing: -.02em; color: var(--forest); }
.hero h1 em { font-style: normal; color: var(--sun-deep); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em .03em .13em; margin: -.05em -.03em -.13em; }
.w > span { display: inline-block; transform: translateY(112%); animation: word-rise 1.1s var(--ease) forwards; animation-delay: calc(var(--n) * 85ms + 120ms); }
.br-d { display: none; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-top: clamp(16px, 2.6vh, 30px); animation: fade-up 1s var(--ease) .55s both; }
.hero-lead { max-width: 47ch; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-lead strong { font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.stage {
  --r: clamp(420px, 62vw, 980px);
  --d: clamp(116px, 15vw, 204px);
  --rim: calc(var(--d) * .62 + 14px);
  --angle: 0deg;
  --step: 18.947deg;
  position: relative;
  flex: none;
  height: calc(var(--rim) + var(--d) * .6 + 204px);
  margin-top: auto;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  animation: stage-rise 1.5s var(--ease) .15s both;
}
.stage.is-drag { cursor: grabbing; }
.sun { position: absolute; left: 50%; top: var(--rim); width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 50% 0%, #ffab3d 0%, var(--sun) 22%, #e9760b 55%); box-shadow: 0 0 0 10px rgba(242, 133, 16, .16), 0 0 120px 40px rgba(255, 171, 61, .35); }
.sun-weave { position: absolute; inset: 0; border-radius: 50%; rotate: var(--angle); will-change: transform; background: repeating-radial-gradient(circle at 50% 50%, rgba(140, 54, 6, 0) 0 19px, rgba(140, 54, 6, .16) 19px 21px), repeating-conic-gradient(rgba(255, 240, 214, .13) 0 .5deg, rgba(255, 240, 214, 0) .5deg 1.25deg); }
.lite .sun-weave { rotate: none; background: repeating-radial-gradient(circle at 50% 50%, rgba(140, 54, 6, 0) 0 19px, rgba(140, 54, 6, .16) 19px 21px); will-change: auto; }
.sun-weave::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 3px dashed rgba(255, 246, 228, .6); }
.wheel { position: absolute; left: 50%; top: calc(var(--rim) + var(--r)); width: 0; height: 0; rotate: var(--angle); will-change: transform; }
.plate { position: absolute; left: calc(var(--d) / -2); top: calc(var(--d) / -2); width: var(--d); height: var(--d); padding: 0; border: 0; border-radius: 50%; background: none; transform: rotate(calc(var(--i) * var(--step))) translateY(calc(var(--r) * -1)); cursor: inherit; -webkit-tap-highlight-color: transparent; }
.plate img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid var(--paper); background: var(--sand); box-shadow: 0 16px 32px rgba(92, 38, 4, .3); transition: scale .7s var(--ease), box-shadow .7s var(--ease); pointer-events: none; }
.plate.is-active img { scale: 1.2; box-shadow: 0 24px 46px rgba(92, 38, 4, .38); }
.plate.is-active { cursor: pointer; }
.cap { position: absolute; left: 50%; top: calc(var(--rim) + var(--d) * .6 + 18px); translate: -50% 0; width: min(520px, calc(100% - 132px)); text-align: center; color: var(--ink); pointer-events: none; }
.cap > * { animation: fade-up .6s var(--ease) both; }
.cap > :nth-child(2) { animation-delay: 50ms; }
.cap > :nth-child(3) { animation-delay: 100ms; }
.cap > :nth-child(4) { animation-delay: 150ms; }
.cap-gamme { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.cap-title { margin-top: 6px; font-size: clamp(1.9rem, 4.2vw, 3.3rem); font-weight: 800; font-stretch: 75%; line-height: .95; letter-spacing: -.012em; }
.cap-meta { margin-top: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cap-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .95rem; font-weight: 600; pointer-events: auto; cursor: pointer; transition: transform .4s var(--ease), background .25s; }
.cap-link svg { width: 18px; height: 18px; }
.wheel-nav { position: absolute; top: calc(var(--rim) + var(--d) * .6 + 46px); display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 250, 240, .92); color: var(--ink); box-shadow: 0 8px 20px rgba(92, 38, 4, .2); transition: transform .4s var(--ease), background .25s; }
.wheel-nav svg { width: 20px; height: 20px; }
.wheel-prev { left: calc(50% - min(47vw, 360px)); }
.wheel-next { right: calc(50% - min(47vw, 360px)); }

/* Bande */
.band { position: relative; z-index: 1; padding-block: clamp(14px, 2.2vw, 26px); overflow: hidden; background: var(--forest); color: var(--cream); }
.band-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.band-group { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); }
.band span { font-size: clamp(1.8rem, 4.6vw, 4rem); font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.band span:nth-of-type(even) { color: var(--forest); -webkit-text-stroke: 3px var(--cream); paint-order: stroke fill; }
.band i { flex: none; width: clamp(22px, 3.4vw, 46px); height: clamp(11px, 1.7vw, 23px); border-radius: 60px 60px 0 0; background: var(--sun); }

/* Têtes de section */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); align-items: end; gap: 20px 48px; margin-bottom: clamp(30px, 5vw, 64px); }
.head h2 { margin-top: 16px; font-size: clamp(2.8rem, 7.6vw, 6.8rem); line-height: .88; letter-spacing: -.015em; color: var(--forest); }
.head-note { padding-bottom: .5em; color: var(--muted); }

/* Gammes */
.gammes { border-top: 1px solid var(--line); }
.gamme { --g: var(--leaf); position: relative; isolation: isolate; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto auto; align-items: center; gap: clamp(12px, 2.6vw, 40px); width: 100%; padding: clamp(16px, 2.1vw, 28px) clamp(6px, 1.6vw, 26px); border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: var(--forest); overflow: hidden; transition: color .35s; }
.gamme::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--g); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.gamme-n { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gamme-n::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g); transition: background .35s; }
.gamme-name { display: block; font-size: clamp(2.2rem, 6.6vw, 5.6rem); font-weight: 800; font-stretch: 75%; line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.gamme-line { display: block; margin-top: 6px; font-size: clamp(.92rem, 1.2vw, 1.05rem); font-weight: 500; opacity: .72; }
.gamme-thumbs { display: flex; padding-left: 16px; }
.gamme-thumbs img { width: clamp(44px, 5vw, 72px); height: clamp(44px, 5vw, 72px); margin-left: -16px; border: 3px solid var(--paper); border-radius: 50%; object-fit: cover; background: var(--sand); transition: margin .55s var(--ease), rotate .55s var(--ease); }
.gamme-count { display: flex; align-items: center; gap: 12px; font-weight: 600; white-space: nowrap; }
.gamme-count svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .gamme:hover { color: var(--paper); }
  .gamme:hover::before { transform: scaleY(1); }
  .gamme:hover .gamme-n::before { background: var(--paper); }
  .gamme:hover .gamme-thumbs img { margin-left: 6px; }
  .gamme:hover .gamme-thumbs img:nth-child(odd) { rotate: -6deg; }
  .gamme:hover .gamme-thumbs img:nth-child(even) { rotate: 6deg; }
  .gamme:hover .gamme-count svg { transform: translateX(6px); }
}
.gamme:focus-visible { outline-offset: -3px; }
.gamme:active::before { transform: scaleY(1); }
.gamme:active { color: var(--paper); }

/* Catalogue */
.catalogue { position: relative; border-radius: var(--curve) var(--curve) 0 0; background: var(--paper); padding-bottom: calc(clamp(72px, 11vw, 150px) + var(--curve)); }
.tools { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-inline: calc(var(--gut) * -1); padding: 12px var(--gut); background: var(--paper); }
.chips { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { --g: var(--forest); flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: none; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.chip small { font-size: .78rem; font-weight: 600; opacity: .55; font-variant-numeric: tabular-nums; }
.chip.is-on { border-color: var(--g); background: var(--g); color: var(--paper); }
.chip.is-on small { opacity: .8; }
.chip-gamme svg { width: 16px; height: 16px; }
.search { flex: none; display: flex; align-items: center; gap: 10px; width: min(300px, 100%); height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, box-shadow .25s; }
.search:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(4, 140, 83, .14); }
.search svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; }
.search input::placeholder { color: var(--muted); }
.result-line { margin: 18px 0 20px; font-size: .92rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px) clamp(12px, 2vw, 28px); }
.card { --g: var(--leaf); position: relative; display: flex; flex-direction: column; min-width: 0; }
.grid.intro .card { animation: fade-up .9s var(--ease) both paused; animation-delay: calc(var(--i) * 45ms); }
.grid.intro.in .card { animation-play-state: running; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(1, 61, 34, .08); }
.tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 14px 2px 0; }
.card-gamme { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.card-gamme::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.card h3 { margin-top: 8px; font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: .98; letter-spacing: -.02em; color: var(--forest); }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-unit { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.card-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; pointer-events: none; }
.card-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.card-price.is-ask { font-size: .92rem; font-weight: 500; color: var(--muted); }
.add { pointer-events: auto; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--forest); border-radius: 50%; background: none; color: var(--forest); font-weight: 700; font-variant-numeric: tabular-nums; transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease); }
.add svg { width: 20px; height: 20px; }
.add:active { transform: scale(.94); }
.add.has-qty { border-color: var(--sun); background: var(--sun); color: var(--ink); }
@media (hover: hover) {
  .card:hover .card-media img { transform: scale(1.06); }
}
.empty { display: grid; justify-items: center; gap: 18px; padding: 60px 0 20px; text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--forest); }

/* La maison */
.maison { position: relative; z-index: 1; margin-top: calc(var(--curve) * -1); padding-bottom: calc(clamp(72px, 11vw, 150px) + var(--curve)); border-radius: var(--curve) var(--curve) 0 0; overflow: hidden; background: var(--forest); color: var(--cream); }
.maison-sun { position: absolute; right: -22vw; top: -22vw; width: 64vw; height: 64vw; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(251, 243, 228, 0) 0 22px, rgba(251, 243, 228, .07) 22px 24px); -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); mask-image: radial-gradient(circle, #000 40%, transparent 70%); }
.maison .shell { position: relative; }
.maison-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.maison-copy h2 { margin: 16px 0 clamp(20px, 3vw, 34px); font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: .88; letter-spacing: -.015em; }
.maison-copy p { max-width: 54ch; color: rgba(251, 243, 228, .82); font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.maison-copy p + p { margin-top: 1em; }
.etiquette { justify-self: center; width: min(100%, 420px); border-radius: 14px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); rotate: -3deg; transition: rotate .7s var(--ease), opacity .9s var(--ease), translate .9s var(--ease); }
.etq-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-top: 8px solid #0c5c3a; }
.etq-head span { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.etq-head img { width: auto; height: 52px; }
.etq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.etq-list div { padding: 16px 24px; background: var(--paper); }
.etq-list div:nth-child(-n+2) { grid-column: 1 / -1; }
.etq-list dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.etq-list dd { margin-top: 4px; font-size: 1.5rem; font-weight: 800; font-stretch: 75%; line-height: 1.05; letter-spacing: -.01em; color: var(--forest); font-variant-numeric: tabular-nums; }
.etq-list div:nth-child(n+3) dd { font-size: 2.6rem; line-height: 1; }
.etq-band { padding: 10px 24px; background: #0c5c3a; color: #fff; font-size: .74rem; font-weight: 700; font-stretch: 75%; letter-spacing: .04em; }
.steps { margin-top: clamp(64px, 9vw, 130px); }
.steps-title { font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -.02em; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(22px, 3vw, 40px); }
.steps-list li { padding-top: 22px; border-top: 1px solid var(--line-light); }
.steps-list b { display: block; font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 800; font-stretch: 75%; line-height: .9; letter-spacing: -.02em; color: var(--sun); font-variant-numeric: tabular-nums; }
.steps-list h4 { margin: 14px 0 8px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.015em; }
.steps-list p { color: rgba(251, 243, 228, .78); }
.steps-list li:nth-child(2) { --rd: 90ms; }
.steps-list li:nth-child(3) { --rd: 180ms; }

/* Contact */
.contact { position: relative; z-index: 2; margin-top: calc(var(--curve) * -1); padding-top: clamp(72px, 11vw, 150px); border-radius: var(--curve) var(--curve) 0 0; overflow: hidden; background: var(--cream); scroll-margin-top: var(--header-h); }
.contact h2 { margin: 18px 0 clamp(28px, 4vw, 52px); font-size: clamp(3rem, 9.4vw, 9rem); line-height: .86; letter-spacing: -.02em; color: var(--forest); }
.contact h2 em { font-style: normal; color: var(--sun-deep); }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px clamp(28px, 5vw, 72px); }
.contact-list { display: flex; flex-wrap: wrap; gap: 18px clamp(24px, 4vw, 56px); }
.contact-list span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { font-size: 1.1rem; font-weight: 600; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.contact-sun { width: min(84vw, 820px); aspect-ratio: 2 / 1; margin: clamp(48px, 8vw, 110px) auto 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: repeating-radial-gradient(circle at 50% 100%, rgba(140, 54, 6, 0) 0 19px, rgba(140, 54, 6, .16) 19px 21px), radial-gradient(circle at 50% 0%, #ffab3d 0%, var(--sun) 40%, #e9760b 100%); box-shadow: 0 0 120px 30px rgba(255, 171, 61, .35); }

/* Pied */
.footer { position: relative; z-index: 3; padding: clamp(48px, 7vw, 88px) 0 calc(96px + env(safe-area-inset-bottom)); background: var(--forest); color: rgba(251, 243, 228, .78); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr); gap: 36px clamp(28px, 5vw, 80px); }
.footer-brand img { width: min(300px, 70%); }
.footer h3 { margin-bottom: 14px; font-size: .74rem; font-weight: 700; font-stretch: 100%; letter-spacing: .18em; text-transform: uppercase; color: #ffb85c; }
.footer nav a, .footer-grid div > a, .footer-grid div > span { display: block; padding: 5px 0; }
.footer a { transition: color .25s; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(36px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .9rem; font-variant-numeric: tabular-nums; }

/* Dock, toast */
.dock { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; translate: -50% 0; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 9px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; white-space: nowrap; box-shadow: 0 18px 44px rgba(1, 41, 26, .4); animation: dock-in .6s var(--ease); transition: background .25s, opacity .3s, translate .5s var(--ease); }
html:has(dialog[open]) .dock, html:not(.past-hero) .dock { opacity: 0; pointer-events: none; translate: -50% 24px; }
.dock b { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-variant-numeric: tabular-nums; }
.dock svg { width: 20px; height: 20px; }
.toast { position: fixed; inset: auto auto calc(88px + env(safe-area-inset-bottom)) 50%; z-index: 90; margin: 0; border: 0; overflow: visible; translate: -50% 16px; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .95rem; font-weight: 600; box-shadow: 0 14px 36px rgba(1, 41, 26, .25), 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transition: opacity .3s, translate .5s var(--ease); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* Dialogues */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(1, 41, 26, .6); opacity: 0; transition: opacity .35s, overlay .35s allow-discrete, display .35s allow-discrete; }
dialog[open]::backdrop { opacity: 1; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }
.close { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); transition: transform .4s var(--ease), background .25s; }
.close svg { width: 20px; height: 20px; }
.stepper { display: inline-flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font-size: 1.3rem; line-height: 1; transition: background .2s; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.fiche { width: min(1060px, calc(100% - 32px)); max-width: none; max-height: min(740px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 40px 100px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .3s, transform .5s var(--ease), overlay .5s allow-discrete, display .5s allow-discrete; }
.fiche[open] { opacity: 1; transform: none; }
@starting-style { .fiche[open] { opacity: 0; transform: translateY(28px) scale(.98); } }
.fiche-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); height: min(740px, calc(100dvh - 32px)); }
.fiche-media { position: relative; overflow: hidden; background: var(--sand); }
.fiche-blur { position: absolute; inset: -12%; background-position: center; background-size: cover; filter: blur(30px) saturate(1.25); opacity: .6; }
.fiche-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(18px, 3vw, 36px); object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .22)); }
.fiche-body { --g: var(--leaf); display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3.4vw, 46px); overflow-y: auto; overscroll-behavior: contain; }
.fiche-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fiche-gamme { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--g); color: var(--paper); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fiche-body h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .9; letter-spacing: -.015em; color: var(--forest); }
.fiche-name { font-weight: 500; color: var(--muted); }
.fiche-price { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 75%; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.fiche-price small { font-size: 1rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.fiche-desc { max-width: 46ch; font-size: 1.08rem; }
.fiche-facts { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--cream); }
.fiche-facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fiche-facts dd { font-weight: 500; }
.fiche-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.fiche-buy .btn { flex: 1; min-width: 210px; }
.fiche-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fiche-links a, .fiche-links button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; font-size: .95rem; font-weight: 600; color: var(--forest); }
.fiche-links svg { width: 18px; height: 18px; }
.fiche-more { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.fiche-more h3 { font-size: .74rem; font-stretch: 100%; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
.more-row { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.more-row::-webkit-scrollbar { display: none; }
.more { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 600; transition: border-color .25s, background .25s; }
.more img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.cart { width: min(480px, 100%); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); box-shadow: -30px 0 80px rgba(0, 0, 0, .3); transform: translateX(100%); transition: transform .5s var(--ease), overlay .5s allow-discrete, display .5s allow-discrete; }
.cart[open] { transform: none; }
@starting-style { .cart[open] { transform: translateX(100%); } }
.cart-in { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 24px 18px; }
.cart-head h2 { margin-top: 12px; font-size: 2.8rem; letter-spacing: -.03em; color: var(--forest); }
.cart-lines { flex: 1; padding: 0 24px; overflow-y: auto; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--sand); }
.line strong { display: block; font-size: 1.15rem; font-weight: 800; font-stretch: 75%; line-height: 1.1; color: var(--forest); }
.line small { display: block; margin-top: 2px; font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 12px; text-align: center; color: var(--muted); }
.cart-empty i { width: 120px; height: 60px; border-radius: 120px 120px 0 0; background: var(--sun); opacity: .9; }
.cart-empty strong { font-size: 1.5rem; font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--forest); }
.cart-foot { display: grid; gap: 12px; padding: 18px 24px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-weight: 600; }
.cart-total strong { font-size: 1.9rem; font-weight: 800; font-stretch: 75%; letter-spacing: -.015em; color: var(--forest); font-variant-numeric: tabular-nums; }
.cart-note { font-size: .88rem; color: var(--muted); }
.cart-note:empty { display: none; }
#cart-send[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.cart-clear { justify-self: center; padding: 6px 10px; border: 0; background: none; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn-solid:hover { background: var(--leaf); }
  .btn-line:hover { border-color: var(--forest); background: var(--forest); color: var(--cream); }
  .nav a:hover { background: rgba(1, 61, 34, .08); }
  .cart-btn:hover { background: var(--leaf); transform: translateY(-1px); }
  .cap-link:hover { transform: translateY(-2px); background: var(--forest); }
  .wheel-nav:hover { transform: scale(1.08); background: var(--paper); }
  .chip:hover { border-color: var(--forest); }
  .add:hover { background: var(--forest); color: var(--cream); transform: scale(1.06); }
  .etiquette:hover { rotate: 0deg; }
  .contact-list a:hover { background-size: 100% 2px; }
  .footer a:hover { color: var(--paper); }
  .dock:hover { background: var(--forest); }
  .close:hover { transform: rotate(90deg); background: var(--sand); }
  .stepper button:hover { background: var(--sand); }
  .fiche-links :is(a, button):hover { color: var(--leaf); }
  .more:hover { border-color: var(--forest); background: var(--cream); }
  .cart-clear:hover { color: var(--ink); }
}

/* Apparitions */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease), translate .9s var(--ease), rotate .7s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@keyframes word-rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } }
@keyframes stage-rise { from { opacity: 0; transform: translateY(46%); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes bump { 40% { transform: scale(1.28); } }
@keyframes dock-in { from { opacity: 0; translate: -50% 30px; } }

::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* Paliers */
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .br-d { display: inline; }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); align-items: end; column-gap: 48px; }
  .hero-top .eyebrow { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(5.4rem, min(calc(17vw - 84px), 21svh), 10rem); }
  .hero-row { flex-direction: column; align-items: flex-start; margin: 0 0 .9em; }
}
@media (max-width: 899px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; justify-content: center; gap: 0; padding: 24px var(--gut) 15vh; background: var(--forest); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav a { padding: 6px 0; border-radius: 0; font-size: clamp(2.8rem, 13vw, 4.6rem); font-weight: 800; font-stretch: 75%; line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; color: var(--cream); translate: 0 24px; opacity: 0; transition: translate .6s var(--ease), opacity .4s; }
  .nav a:hover { background: none; color: var(--sun); }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .nav a { translate: 0 0; opacity: 1; }
  .nav-open .nav a:nth-child(2) { transition-delay: 50ms; }
  .nav-open .nav a:nth-child(3) { transition-delay: 100ms; }
  .nav-open .nav a:nth-child(4) { transition-delay: 150ms; }
  .nav-open .header::before { opacity: 1; background: var(--cream); }
  .nav-open body { overflow: hidden; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .head-note { max-width: 44ch; padding-bottom: 0; }
  .maison-grid { grid-template-columns: minmax(0, 1fr); }
  .etiquette { justify-self: center; rotate: -2deg; }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .cart-btn { padding: 0 6px 0 12px; gap: 8px; }
  .cart-btn span { display: none; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero h1 { font-size: 15vw; }
  .hero-cta { width: 100%; flex-wrap: nowrap; }
  .hero-cta .btn-solid { flex: 1; }
  .hero-cta .btn-line { flex: none; width: 54px; padding: 0; }
  .hero-cta .btn-line svg { width: 24px; height: 24px; }
  .hero-cta .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .stage { height: calc(var(--rim) + var(--d) * .6 + 190px); }
  .wheel-nav { width: 44px; height: 44px; top: calc(var(--rim) + var(--d) * .6 + 40px); }
  .wheel-prev { left: 12px; }
  .wheel-next { right: 12px; }
  .cap { width: calc(100% - 124px); }
  .gamme { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name thumbs" "count count"; gap: 10px 12px; padding-inline: 2px; }
  .gamme-n { display: none; }
  .gamme-main { grid-area: name; }
  .gamme-thumbs { grid-area: thumbs; }
  .gamme-thumbs img:nth-child(n+4) { display: none; }
  .gamme-count { grid-area: count; justify-content: space-between; font-size: .92rem; }
  .tools { display: contents; }
  .chips { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(var(--gut) * -1); padding: 10px var(--gut); background: var(--paper); }
  .search { width: 100%; margin-top: 6px; }
  .add { width: 44px; height: 44px; }
  .contact-actions .btn { width: 100%; }
  .fiche { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; transform: translateY(100%); }
  .fiche-in { display: block; height: auto; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; }
  .fiche-media { aspect-ratio: 4 / 3; }
  .fiche-body { overflow: visible; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .fiche-buy .btn { min-width: 0; }
  @starting-style { .fiche[open] { opacity: 1; transform: translateY(100%); } }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 699px) and (max-height: 780px) {
  .lead-long { display: none; }
}
@media (max-width: 340px) {
  .hero h1 { font-size: 14vw; }
}
@media (max-width: 420px) {
  .line { grid-template-columns: 56px minmax(0, 1fr); }
  .line img { width: 56px; height: 56px; }
  .line .stepper { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .band-track { animation: none; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
