/* ==========================================================================
   GLOO° — Boutique de gourdes
   Style : éditorial luxe, monochrome encre + un seul accent argile
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #000d10;
  --white: #ffffff;
  --ash: #8e8e95;
  --pebble: #d5d3d4;
  --hull: #0f0f1c;
  --deck: #151623;
  --clay: #bc7155;
  --mist: #f3f3f1;
  --sky: linear-gradient(180deg, #c3d6e2 0%, #d9e5ec 34%, #ebece6 72%, #f5efe4 100%);

  /* Typo */
  --font: 'HelveticaNowDisplay', 'Neue Haas Grotesk Display', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --fs-hero: clamp(120px, 21vw, 360px);
  --fs-xl: clamp(72px, 10.5vw, 160px);
  --fs-display: clamp(44px, 4.6vw, 68px);
  --fs-lg: clamp(36px, 3.8vw, 56px);
  --fs-h: clamp(28px, 2.6vw, 37px);

  /* Espacements */
  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 11vw, 160px);

  /* Mouvement */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.61;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--white); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  display: inline-block;
  font-size: 17px; font-weight: 700; line-height: 1;
  color: var(--ash);
  margin-bottom: 31px;
}
.eyebrow--light { color: rgba(255, 255, 255, .55); }

.h-display, .h-lg, .h-xl, h2 { font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.h-display { font-size: var(--fs-display); }
.h-lg { font-size: var(--fs-lg); }
.h-xl { font-size: var(--fs-xl); letter-spacing: -.035em; line-height: .9; }

/* ---------- Révélations (actives seulement avec JS) ---------- */
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: block; }
.js .split .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.js .split.is-in .line > span { transform: none; }
.js .split .line:nth-child(2) > span { transition-delay: .09s; }
.js .split .line:nth-child(3) > span { transition-delay: .18s; }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Texte qui roule au survol ---------- */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.15; }
.roll > span { position: relative; display: inline-block; transition: transform .6s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover > .roll > span, button:hover > .roll > span, .btn:hover .roll > span,
.card__media:hover .roll > span { transform: translateY(-100%); }

.link { position: relative; display: inline-block; }
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Boutons pilule ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px 16px;
  border-radius: 1000px; border: 1px solid transparent;
  font-size: 17px; font-weight: 700; line-height: 1.15; white-space: nowrap;
  transition: color .6s var(--ease), border-color .6s var(--ease), transform .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 160%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark::before { background: var(--white); }
.btn--dark:hover { color: var(--ink); }
.btn--ghost { color: var(--white); border-color: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--white); }
.btn--sm { padding: 11px 18px 12px; font-size: 15px; }
.btn--block { width: 100%; }

.cart-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 1000px; background: var(--white); color: var(--ink);
  font-size: 13px; line-height: 1;
  transition: background .6s var(--ease), color .6s var(--ease);
}
.btn--dark:hover .cart-count { background: var(--ink); color: var(--white); }
.cart-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.6); } 100% { transform: scale(1); } }

.icon-btn {
  position: relative; width: 52px; height: 52px; flex: none;
  border-radius: 100%; background: var(--ink);
  transition: transform .5s var(--ease), background .5s;
}
.icon-btn span {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin-left: -9px;
  background: var(--white); border-radius: 2px;
  transition: transform .6s var(--ease), background .5s;
}
.icon-btn span:first-child { transform: translateY(-4px); }
.icon-btn span:last-child { transform: translateY(3px); }
.icon-btn:hover { transform: scale(1.08) rotate(90deg); }
.icon-btn:hover span:first-child { transform: translateY(-4px) scaleX(.6); }
.icon-btn--close span:first-child, .menu-open .js-menu span:first-child { transform: rotate(45deg); }
.icon-btn--close span:last-child, .menu-open .js-menu span:last-child { transform: rotate(-45deg); }
.menu-open .js-menu { background: var(--white); }
.menu-open .js-menu span { background: var(--ink); }

/* ---------- Curseur personnalisé ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js body, .js a, .js button, .js [data-cursor], .js .swatch { cursor: none; }
  .js input { cursor: text; }
  .js .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 200;
    pointer-events: none; mix-blend-mode: difference;
  }
  .cursor__dot {
    position: absolute; left: 0; top: 0; width: 12px; height: 12px;
    border-radius: 50%; background: var(--white);
    transform: translate(-50%, -50%);
    display: grid; place-items: center;
    transition: width .5s var(--ease), height .5s var(--ease), background .4s;
  }
  .cursor.is-hover .cursor__dot { width: 56px; height: 56px; }
  .cursor.is-down .cursor__dot { width: 8px; height: 8px; }
  .cursor.has-label { mix-blend-mode: normal; }
  .cursor.has-label .cursor__dot { width: 96px; height: 96px; background: var(--ink); }
  .cursor__label {
    color: var(--white); font-size: 14px; font-weight: 700; white-space: nowrap;
    opacity: 0; transform: scale(.5); transition: opacity .3s, transform .5s var(--ease);
  }
  .cursor.has-label .cursor__label { opacity: 1; transform: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink); color: var(--white);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: var(--pad);
  transition: transform 1.1s var(--ease-io);
}
.loader.is-done { transform: translateY(-100%); }
.loader__brand { display: block; }
.loader__num { font-size: var(--fs-xl); font-weight: 700; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.no-js .loader, html:not(.js) .loader { display: none; }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; mix-blend-mode: difference; }
.progress span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* ---------- Pop-up d'inscription ---------- */
.popup { position: fixed; inset: 0; z-index: 130; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.popup.is-open { visibility: visible; pointer-events: auto; }
.popup__overlay {
  position: absolute; inset: 0; background: rgba(0, 13, 16, .42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .7s var(--ease);
}
.popup.is-open .popup__overlay { opacity: 1; }
.popup__card {
  position: relative; width: min(880px, 100%); min-height: 480px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--white); border-radius: 0; overflow: hidden;
  opacity: 0; transform: translateY(48px) scale(.97); clip-path: inset(12% 0 0 0);
  transition: opacity .6s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease);
}
.popup.is-open .popup__card { opacity: 1; transform: none; clip-path: inset(0); }

/* Panneau visuel : ciel du site + gourde flottante + pastille de l'offre */
.popup__visual { position: relative; overflow: hidden; background: var(--sky); }
.popup__logo { position: absolute; left: 26px; top: 24px; height: 30px; width: auto; color: var(--ink); }
.popup__bottle {
  position: absolute; left: 50%; bottom: -6%; height: 92%;
  transform: translate(-50%, 30%) rotate(-28deg); opacity: 0;
  transition: transform 1.4s var(--ease) .15s, opacity .8s .15s;
}
.popup__bottle [data-bottle] { height: 100%; animation: bob 6s ease-in-out infinite; }
.popup__bottle .bottle { height: 100%; width: auto; }
.popup.is-open .popup__bottle { transform: translate(-50%, 0) rotate(-12deg); opacity: 1; }
.popup__badge {
  position: absolute; right: 22px; top: 36%; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--white); color: var(--ink); font-size: 27px; font-weight: 700; letter-spacing: -.03em; line-height: 1;
  transform: scale(0) rotate(-30deg); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .55s;
}
.popup.is-open .popup__badge { transform: rotate(10deg); }

/* Contenu */
.popup__body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 59px 52px 44px; }
.popup__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; }
.popup__title { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 16px; }
.popup__text { color: var(--ash); max-width: 380px; margin-bottom: 31px; }
.popup__body .eyebrow { margin-bottom: 21px; }
.popup__form {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; border-radius: 1000px;
  border: 1px solid var(--pebble); transition: border-color .4s var(--ease);
}
.popup__form:focus-within { border-color: var(--ink); }
.popup__form input { flex: 1; min-width: 0; outline: none; font-size: 17px; }
.popup__form input::placeholder { color: var(--ash); }
.popup__form.is-error { animation: shake .5s; border-color: var(--clay); }
.popup__skip { align-self: flex-start; margin-top: 16px; font-size: 15px; color: var(--ash); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.popup__skip:hover { color: var(--ink); }
.popup__legal { margin-top: 22px; font-size: 13px; line-height: 1.45; color: var(--ash); }
/* Entrée en cascade du contenu */
.popup__content > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.popup.is-open .popup__content > * { opacity: 1; transform: none; }
.popup.is-open .popup__content > :nth-child(2) { transition-delay: .25s; }
.popup.is-open .popup__content > :nth-child(3) { transition-delay: .32s; }
.popup.is-open .popup__content > :nth-child(4) { transition-delay: .39s; }
.popup.is-open .popup__content > :nth-child(5) { transition-delay: .46s; }
.popup.is-open .popup__content > :nth-child(6) { transition-delay: .5s; }
.popup.is-open .popup__content > :first-child { transition-delay: .18s; }
.popup__content { display: flex; flex-direction: column; }
/* État "merci" */
.popup__done { display: none; flex-direction: column; align-items: flex-start; }
.popup.is-done .popup__content { display: none; }
.popup.is-done .popup__done { display: flex; animation: ciIn .8s var(--ease) both; }
.popup__check { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 23px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 22px; }
html.popup-open body { overflow: hidden; }

@media (max-width: 680px) {
  .popup { place-items: end center; padding: 0; }
  .popup__card { grid-template-columns: minmax(0, 1fr); min-height: 0; width: 100%; transform: translateY(100%); clip-path: none; }
  .popup__visual { height: 170px; }
  .popup__bottle { height: 210%; bottom: auto; top: 18%; left: 30%; }
  .popup__badge { width: 84px; height: 84px; font-size: 21px; top: 52px; right: 92px; }
  .popup__body { padding: 31px 23px 26px; }
  .popup__close { top: -152px; right: 14px; }
  .popup__text { margin-bottom: 23px; }
}

/* ---------- Page « Merci » (après paiement Stripe) ---------- */
body.thanks { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--sky); }
.thanks__card {
  width: min(560px, 100%); padding: 53px 48px 44px; background: var(--white);
  display: flex; flex-direction: column; align-items: flex-start;
  animation: ciIn 1s var(--ease) both;
}
.thanks__logo { height: 34px; width: auto; margin-bottom: 44px; }
.thanks__check { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 23px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 22px; }
.thanks .eyebrow { margin-bottom: 16px; }
.thanks__title { font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin-bottom: 16px; }
.thanks__text { color: var(--ash); margin-bottom: 31px; }
.thanks__slogan { margin-top: 44px; font-weight: 700; color: var(--ash); }
@media (max-width: 600px) { .thanks__card { padding: 34px 23px 31px; } }

/* ---------- Pages légales (mentions légales, CGV, confidentialité) ---------- */
.legal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.legal__logo img { display: block; height: 30px; width: auto; }
.legal__hero { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(44px, 5vw, 70px); border-bottom: 1px solid var(--pebble); }
.legal__title { font-size: clamp(56px, 9vw, 140px); font-weight: 700; line-height: .92; letter-spacing: -.04em; margin-bottom: 23px; animation: ciIn 1s var(--ease) both; }
.legal__date { font-size: 16px; color: var(--ash); margin-bottom: 34px; }
.legal__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.legal__tabs a { padding: 10px 18px 11px; border: 1px solid var(--pebble); border-radius: 1000px; font-size: 15px; font-weight: 700; line-height: 1.15; transition: border-color .4s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.legal__tabs a:hover { border-color: var(--ink); }
.legal__tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.legal__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); padding-top: clamp(56px, 6vw, 90px); padding-bottom: var(--section); }
.legal__toc { position: sticky; top: 32px; align-self: start; font-size: 15px; line-height: 1.4; }
.legal__toc > span { display: block; font-weight: 700; margin-bottom: 16px; }
.legal__toc ol { display: grid; gap: 9px; }
.legal__toc a { display: flex; gap: 10px; color: var(--ash); transition: color .3s var(--ease); }
.legal__toc a i { font-style: normal; font-size: 13px; min-width: 18px; padding-top: 1px; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ink); }

.legal__content { max-width: 760px; }
.legal__content section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--pebble); scroll-margin-top: 32px; }
.legal__content section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal__content h2 { display: flex; align-items: baseline; gap: 14px; font-size: var(--fs-h); margin-bottom: 20px; }
.legal__content h2 span { font-size: 15px; letter-spacing: 0; color: var(--ash); }
.legal__content h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 28px 0 8px; }
.legal__content p + p, .legal__content p + ul, .legal__content ul + p { margin-top: 14px; }
.legal__content ul { display: grid; gap: 6px; margin-top: 10px; }
.legal__content ul li { position: relative; padding-left: 22px; }
.legal__content ul li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.legal__content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal__content a:hover { text-decoration-thickness: 2px; }
.legal__note { font-size: 16px; color: var(--ash); }

.legal__dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 24px; margin-top: 16px; }
.legal__dl dt { color: var(--ash); }
.legal__box { margin-top: 20px; padding: 26px 28px; background: var(--mist); font-size: 16px; }
.legal__box p + p { margin-top: 12px; }
.legal__box--form { background: none; border: 1px dashed var(--ash); }
.legal__table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.legal__table th { text-align: left; font-weight: 700; padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); }
.legal__table td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--pebble); }
.legal__table + p, .legal__box + p { margin-top: 20px; }

/* Zones à compléter avant la mise en ligne */
.todo { padding: 1px 6px; background: #f6e8e1; color: var(--clay); font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.legal__foot { background: var(--ink); color: var(--ash); font-size: 15px; }
.legal__foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 30px; padding-bottom: 30px; }
.legal__foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.legal__foot a:hover { color: var(--white); }

@media (max-width: 900px) {
  .legal__body { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; padding-bottom: 34px; border-bottom: 1px solid var(--pebble); }
}
@media (max-width: 600px) {
  .legal__bar .btn { padding: 10px 15px 11px; font-size: 14px; }
  .legal__dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal__dl dd { margin-bottom: 12px; }
  .legal__box { padding: 20px; }
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; }
  .legal__table thead { display: none; }
  .legal__table tr { padding: 12px 0; border-bottom: 1px solid var(--pebble); }
  .legal__table td { padding: 2px 0; border: 0; }
  .legal__table td:first-child { font-weight: 700; }
}

/* Lien CGV sous le bouton Commander */
.cart__terms { margin-top: 12px; font-size: 13px; text-align: center; color: var(--ash); }
.cart__terms a, .popup__legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  padding: 15px 22px 16px; border-radius: 28px;
  background: var(--ink); color: var(--white); font-size: 17px; font-weight: 700; line-height: 1.3;
  transform: translate(-50%, 160%); transition: transform .8s var(--ease);
  pointer-events: none; width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
.btn:disabled { opacity: .65; cursor: progress; }
.toast.is-on { transform: translate(-50%, 0); }

.fly { position: fixed; z-index: 150; width: 22px; height: 22px; border-radius: 50%; pointer-events: none; border: 2px solid var(--white); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: var(--pad); right: var(--pad); z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 26px; border-radius: 1000px;
  transition: transform .8s var(--ease), background .6s var(--ease), color .4s;
}
.nav--solid { background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav--hidden { transform: translateY(-150%); }
.nav__logo { display: block; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); }
.nav--solid .nav__logo { opacity: 1; transform: none; }
.nav__links { display: flex; gap: 34px; font-size: 20px; line-height: 1; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.menu-open .nav { background: transparent; backdrop-filter: none; color: var(--white); transform: none; }
.menu-open .nav__links, .menu-open .nav .js-cart-open { opacity: 0; pointer-events: none; }
.menu-open .nav__logo { opacity: 1; transform: none; }

/* ---------- Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 52px;
  padding: 120px var(--pad) var(--pad);
  clip-path: circle(0% at calc(100% - var(--pad) - 34px) 50px);
  transition: clip-path 1.1s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--pad) - 34px) 50px); visibility: visible; }
.menu__links a {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: clamp(52px, 8.5vw, 131px); font-weight: 700; letter-spacing: -.035em; line-height: .95;
  overflow: hidden; transition: color .5s;
}
.menu__links a span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.menu__links a em { font-style: normal; font-size: 17px; letter-spacing: 0; color: var(--ash); margin-top: .5em; opacity: 0; transition: opacity .6s .4s; }
.menu-open .menu__links a span { transform: none; }
.menu-open .menu__links a em { opacity: 1; }
.menu-open .menu__links a:nth-child(1) span { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(2) span { transition-delay: .36s; }
.menu-open .menu__links a:nth-child(3) span { transition-delay: .42s; }
.menu-open .menu__links a:nth-child(4) span { transition-delay: .48s; }
.menu-open .menu__links a:nth-child(5) span { transition-delay: .54s; }
.menu__links:hover a { color: #3a4447; }
.menu__links a:hover { color: var(--white); }
.menu__links a:hover span { transform: translateX(20px); transition-delay: 0s; }
.menu__foot { display: flex; justify-content: space-between; gap: 20px; color: var(--ash); font-size: 17px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }

/* ---------- Panier ---------- */
.cart { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.cart__overlay { position: absolute; inset: 0; background: rgba(0, 13, 16, .45); opacity: 0; transition: opacity .7s var(--ease); }
.cart__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(480px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  padding: 31px; transform: translateX(100%); transition: transform .9s var(--ease);
}
.cart-open .cart { pointer-events: auto; }
.cart-open .cart__overlay { opacity: 1; }
.cart-open .cart__panel { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; }
.cart__head h3 { font-size: var(--fs-h); letter-spacing: -.02em; line-height: 1; }
.cart__head sup { font-size: 13px; vertical-align: top; margin-left: 4px; }
.cart__head .cart-count { background: var(--ink); color: var(--white); }
.cart__ship { margin: 23px 0 8px; font-size: 15px; color: var(--ash); }
.cart__shipbar { height: 3px; background: var(--mist); margin-top: 10px; overflow: hidden; }
.cart__shipbar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.cart__items { flex: 1; overflow-y: auto; margin: 0 -31px; padding: 0 31px; }
.ci {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  padding: 21px 0; border-bottom: 1px solid var(--pebble);
  animation: ciIn .7s var(--ease) both;
}
@keyframes ciIn { from { opacity: 0; transform: translateX(30px); } }
.ci__img { height: 84px; display: flex; justify-content: center; align-items: flex-end; background: var(--mist); padding: 8px 0; }
.ci__img .bottle { height: 100%; width: auto; }
.ci__info strong { display: block; font-size: 18px; line-height: 1.2; }
.ci__info > span { color: var(--ash); font-size: 15px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--pebble); border-radius: 1000px; padding: 2px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; transition: background .3s, color .3s; }
.qty button:hover { background: var(--ink); color: var(--white); }
.qty span { min-width: 20px; text-align: center; font-size: 15px; font-weight: 700; }
.ci__price { text-align: right; font-weight: 700; }
.ci__rm { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--ash); transition: color .3s; }
.ci__rm:hover { color: var(--ink); }
.cart__empty { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--ash); text-align: center; }
.cart__empty svg { width: 30px; height: 72px; fill: var(--pebble); }
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items, .cart.is-empty .cart__foot { display: none; }
.cart__foot { border-top: 1px solid var(--ink); padding-top: 22px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 23px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Gourdes SVG ---------- */
.bottle { overflow: visible; }
.bottle .b-body { fill: var(--c); transition: fill .8s var(--ease); }
.bottle .b-capc { fill: var(--c); transition: fill .8s var(--ease); }
.bottle .b-label { fill: var(--lbl); transition: fill .8s; }
.bottle .b-cord { stroke: var(--rope); transition: stroke .8s var(--ease); }
.bottle .b-knot { fill: var(--rope); transition: fill .8s var(--ease); }
/* Le cordon se balance doucement depuis le mousqueton */
.bottle .b-rope { transform-box: fill-box; transform-origin: 25% 0; animation: ropeSway 3.4s ease-in-out infinite; }
@keyframes ropeSway { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-5deg); } }
.card__media:hover .b-rope { animation-duration: 1.1s; }
/* Gâchette : bien visible (bouton acier + halo qui pulse), on appuie,
   puis le clapet bascule vers la droite (charnière en bas à droite, côté gâchette) */
.bottle .b-btn { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease); }
.bottle .b-pulse { transform-box: fill-box; transform-origin: center; animation: btnPulse 2.2s ease-out infinite; }
@keyframes btnPulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.bottle .b-lid { transform-box: fill-box; transform-origin: 100% 100%; transition: transform .9s var(--ease) .05s; }
.card__media:hover .b-btn, .hero__bottle:hover .b-btn, .anatomy__svg.lid-open .b-btn { transform: translateX(-3px) scale(.88); }
.card__media:hover .b-lid, .hero__bottle:hover .b-lid, .anatomy__svg.lid-open .b-lid { transform: rotate(42deg); transition-delay: .2s; }
.card__media:hover .b-pulse, .hero__bottle:hover .b-pulse, .anatomy__svg.lid-open .b-pulse,
.ci__img .b-pulse, .keychain .b-pulse { animation: none; opacity: 0; }
.ci__img .b-rope, .keychain .b-rope { animation: none; }

/* ---------- Swatches ---------- */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  position: relative; width: 26px; height: 26px; border-radius: 100%;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 13, 16, .14);
  transition: transform .5s var(--ease);
}
.swatch::after {
  content: ''; position: absolute; inset: -5px; border-radius: 100%;
  border: 1.5px solid var(--ink); opacity: 0; transform: scale(.6);
  transition: opacity .4s, transform .5s var(--ease);
}
.swatch:hover { transform: scale(1.18); }
.swatch.is-active::after { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 700px; overflow: hidden; background: var(--sky); }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  animation: drift linear infinite;
}
.c1 { width: 60vw; height: 22vw; top: 8%; left: -20%; animation-duration: 70s; }
.c2 { width: 40vw; height: 14vw; top: 46%; left: 60%; animation-duration: 55s; animation-delay: -20s; opacity: .7; }
.c3 { width: 70vw; height: 20vw; top: 70%; left: 10%; animation-duration: 90s; animation-delay: -40s; opacity: .8; }
.c4 { width: 30vw; height: 10vw; top: 26%; left: 40%; animation-duration: 45s; animation-delay: -10s; opacity: .55; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(60vw); } }

.hero__head { position: absolute; z-index: 3; right: var(--pad); top: clamp(120px, 17vh, 180px); width: min(430px, 31vw); will-change: transform; }
.hero__title { font-size: var(--fs-display); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.hero__lead { color: rgba(0, 13, 16, .62); margin: 23px 0 31px; max-width: 400px; }
.js .hero__lead, .js .hero__head .btn { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero__lead, .is-loaded .hero__head .btn { opacity: 1; transform: none; }
.is-loaded .hero__lead { transition-delay: .45s; }
.is-loaded .hero__head .btn { transition-delay: .55s; }

.hero__bottle { position: absolute; z-index: 2; left: 53%; top: 9vh; height: 84vh; will-change: transform; }
.hero__drop, .hero__float { height: 100%; }
.hero__float .bottle { height: 100%; width: auto; }
.js .hero__drop { opacity: 0; transform: translateY(-50vh) rotate(-40deg); }
.is-loaded .hero__drop { animation: drop 1.8s var(--ease) .2s forwards; }
@keyframes drop { to { opacity: 1; transform: none; } }
.hero__float { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(1.5deg); } }

.hero__picker { position: absolute; z-index: 3; right: var(--pad); bottom: var(--pad); text-align: right; }
.hero__pname { font-size: 17px; margin-bottom: 13px; }
.hero__prow { display: flex; align-items: center; gap: 22px; }
.js .hero__picker { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .8s, transform 1.2s var(--ease) .8s; }
.is-loaded .hero__picker { opacity: 1; transform: none; }

.hero__wordmark {
  position: absolute; z-index: 1; left: var(--pad); bottom: var(--pad);
  width: min(34vw, 620px); will-change: transform;
}
.wm { width: 100%; height: auto; }

/* ---------- Logo ---------- */
.logo { display: block; fill: currentColor; }
.logo--inline { display: inline-block; height: .86em; width: auto; vertical-align: -.1em; margin: 0 .04em; }
.nav__logo .logo { height: 30px; width: auto; }
.loader__brand .logo { height: 34px; width: auto; }
.footer__copy { display: inline-flex; align-items: center; gap: 8px; }
.footer__copy .logo--inline { height: 18px; vertical-align: 0; margin: 0; }

/* Lettres animées (G, l, o, o, .) — un chemin par lettre */
[data-logo-anim] .lg { transition: transform 1.4s var(--ease), fill .5s; transform-box: fill-box; transform-origin: 50% 100%; }
.js [data-logo-anim] .lg { transform: translateY(200px); }
.is-loaded .wm .lg, .footer__wm.is-in .lg { transform: none; }
.is-loaded .wm .lg2, .footer__wm.is-in .lg2 { transition-delay: .07s; }
.is-loaded .wm .lg3, .footer__wm.is-in .lg3 { transition-delay: .14s; }
.is-loaded .wm .lg4, .footer__wm.is-in .lg4 { transition-delay: .21s; }
.is-loaded .wm .lg5, .footer__wm.is-in .lg5 { transition-delay: .32s; }
/* Survol (bas de page) : chaque lettre rebondit.
   Le survol est capté par des zones fixes invisibles (.hit), pour que la lettre ne "fuie" pas sous la souris. */
.footer__wm .lg { pointer-events: none; }
.footer__wm .hit { fill: transparent; }
.footer__wm.is-in .hit1:hover ~ .lg1, .footer__wm.is-in .hit2:hover ~ .lg2, .footer__wm.is-in .hit3:hover ~ .lg3,
.footer__wm.is-in .hit4:hover ~ .lg4, .footer__wm.is-in .hit5:hover ~ .lg5 {
  transform: translateY(-14px) rotate(-5deg); fill: var(--clay);
  transition: transform .5s var(--ease), fill .5s; transition-delay: 0s;
}

/* Indicateur "Défiler" masqué : logo, gourde, texte et bouton gardent chacun leur zone, bien aérée */
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(0,13,16,.5); }
.hero__scroll i { position: relative; width: 1px; height: 40px; background: rgba(0, 13, 16, .15); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--ink); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; padding: 34px 0; border-bottom: 1px solid var(--pebble); background: var(--white); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: .35em; padding-right: .35em;
  font-size: var(--fs-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap;
}
.marquee__item svg { width: .28em; height: .68em; fill: var(--ink); flex: none; }
/* Texte contouré : intérieur blanc plein. Le remplissage est peint PAR-DESSUS le contour,
   ce qui masque les traits de construction internes de la police (chevauchements de tracés). */
.marquee__item--o { color: var(--white); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }

/* ==========================================================================
   MANIFESTE
   ========================================================================== */
.manifesto { padding: var(--section) 0; }
.manifesto__text { font-size: var(--fs-lg); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; max-width: 1150px; }
/* Les mots s'allument en entrant, puis s'envolent en douceur en sortant */
.manifesto__text .w {
  display: inline-block; opacity: .13;
  transition: opacity .7s var(--ease), transform 1s var(--ease), filter 1s var(--ease), width .8s var(--ease);
}
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w.gone { opacity: 0; transform: translateY(-.35em); filter: blur(6px); }
.nowrap { white-space: nowrap; }
/* Mots cliquables (stickers, porte-clés) : pilule bleu clair + flèche */
.manifesto__text .mlink {
  position: relative; padding: .02em .32em .06em .38em; margin: 0 .04em;
  border-radius: 1000px; background: #a8c3d5; color: var(--ink);
  transition: opacity .7s var(--ease), transform 1s var(--ease), filter 1s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.mlink i { display: inline-block; margin-left: .12em; font-style: normal; font-size: .7em; vertical-align: .18em; transition: transform .6s var(--ease); }
.manifesto__text .mlink:hover, .manifesto__text .mlink:focus-visible { background: var(--ink); color: var(--white); outline: none; }
.mlink:hover i, .mlink:focus-visible i { transform: translate(.08em, -.08em) rotate(45deg); }

/* Produit mis en avant à l'arrivée depuis un lien */
.card.is-flash .card__media::before { opacity: 1; }
.card.is-flash .card__media { animation: cardFlash 1.8s var(--ease); }
@keyframes cardFlash { 0%, 60% { box-shadow: inset 0 0 0 3px var(--ink); } 100% { box-shadow: inset 0 0 0 0 var(--ink); } }
.card--acc { scroll-margin-top: 110px; }

.chip--logo .logo {
  position: absolute; left: 50%; top: 50%; width: 68%; height: auto; fill: var(--white);
  transform: translate(-50%, -50%) rotate(-8deg); transition: transform 1s var(--ease);
}
.chip--logo:hover .logo { transform: translate(-50%, -50%) rotate(6deg) scale(1.12); }
.chip {
  position: relative; display: inline-block; vertical-align: middle;
  width: 1.9em; height: .82em; margin: -.1em .05em 0; border-radius: 1000px; overflow: hidden;
  transition: width .8s var(--ease);
}
.chip--sky { background: var(--sky); }
.chip--ink { background: var(--ink); }
.chip > [data-bottle] {
  position: absolute; left: 50%; top: 50%; height: 1.5em;
  transform: translate(-50%, -50%) rotate(-72deg);
  transition: transform 1s var(--ease);
}
.chip > [data-bottle] .bottle { height: 100%; width: auto; }
.chip:hover { width: 2.4em; }
.chip:hover > [data-bottle] { transform: translate(-50%, -50%) rotate(-100deg) scale(1.1); }

/* ==========================================================================
   COLLECTION — défilement horizontal
   ========================================================================== */
.collection { position: relative; background: var(--white); }
.collection__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.collection__track { display: flex; gap: 16px; padding: 60px var(--pad) 0; will-change: transform; width: max-content; }
.collection__intro { flex: 0 0 min(500px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 68px; }
.collection__intro p { color: var(--ash); margin-top: 31px; max-width: 380px; }

.card { flex: 0 0 clamp(320px, 32vw, 480px); display: flex; flex-direction: column; }
.card__media {
  position: relative; height: min(60vh, 560px); overflow: hidden;
  background: var(--mist); outline: none;
}
.card__media::before {
  content: ''; position: absolute; inset: 0; background: var(--sky);
  opacity: 0; transition: opacity .9s var(--ease);
}
.card__media:hover::before, .card__media:focus-visible::before { opacity: 1; }
.card__num {
  position: absolute; right: 12px; bottom: -.12em;
  font-size: clamp(110px, 11vw, 170px); font-weight: 700; letter-spacing: -.05em; line-height: 1;
  color: var(--white); transition: transform 1s var(--ease);
}
.card__media:hover .card__num { transform: translateY(-30px); }
.card__vol { position: absolute; left: 22px; top: 22px; font-size: 17px; font-weight: 700; }
.card__stage { position: absolute; inset: 7% 0 13%; }
.card__par { height: 100%; display: flex; justify-content: center; align-items: flex-end; will-change: transform; }
.card__lift { height: 100%; display: flex; align-items: flex-end; transition: transform 1s var(--ease); }
.card__lift .bottle { width: auto; }
.card__media:hover .card__lift { transform: translateY(-18px) rotate(-7deg) scale(1.04); }
.card__add {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  transform: translateY(calc(100% + 30px)); transition: transform .8s var(--ease), color .6s var(--ease);
}
.card__media:hover .card__add, .card__media:focus-visible .card__add { transform: none; }
.card__info { border-top: 1px solid var(--pebble); margin-top: 16px; padding-top: 16px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; }
.card__row h3 { font-size: var(--fs-h); letter-spacing: -.02em; line-height: 1; }
.card__price { font-size: 23px; font-weight: 700; }
.card__meta { color: var(--ash); margin: 8px 0 16px; }

.collection__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 32px;
  display: flex; align-items: center; gap: 31px; font-size: 15px; font-weight: 700;
}
.collection__count { font-variant-numeric: tabular-nums; }
.collection__bar { flex: 1; height: 1px; background: var(--pebble); }
.collection__bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.collection__hint { color: var(--ash); }

/* ==========================================================================
   ACCESSOIRES (le bloc argile = unique accent chaud de la page)
   ========================================================================== */
.accessories { padding: var(--section) 0; }
.acc__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.clay {
  position: relative; overflow: hidden; border-radius: 0;
  padding: 44px 40px; background: var(--clay); color: var(--white);
}
.js .clay { clip-path: inset(14% 8% 14% 8%); transition: clip-path 1.6s var(--ease); }
.js .clay.is-in { clip-path: inset(0 0 0 0); }
.clay .split .line > span { transition-delay: .4s; }
.clay .split .line:nth-child(2) > span { transition-delay: .5s; }
.acc__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.acc__intro h2 { font-size: clamp(36px, 3.3vw, 52px); margin-bottom: 23px; }
.acc__intro p { max-width: 360px; color: rgba(255, 255, 255, .85); }
.acc__intro .btn { align-self: flex-start; }

.js .card--acc { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .card--acc.is-in { opacity: 1; transform: none; }
.js .card--acc:nth-child(3) { transition-delay: .12s; }
.acc-art { position: absolute; inset: 8% 6% 16%; }

/* Stickers : apparition en cascade puis éventail au survol */
.stickers { width: 100%; height: 100%; overflow: visible; }
.stk-txt { font-family: var(--font); font-weight: 700; fill: var(--ink); letter-spacing: -.02em; }
.stk { transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease), opacity .6s; }
.js .card--acc .stk { opacity: 0; transform: scale(.5) rotate(-25deg); }
.js .card--acc.is-in .stk { opacity: 1; transform: none; }
.card--acc.is-in .stk2 { transition-delay: .3s; }
.card--acc.is-in .stk3 { transition-delay: .4s; }
.card--acc.is-in .stk4 { transition-delay: .5s; }
.card--acc.is-in .stk1 { transition-delay: .6s; }
.card--acc.is-in .card__media:hover .stk { transition-delay: 0s; }
.card--acc.is-in .card__media:hover .stk1 { transform: translate(-16px, -24px) rotate(-6deg) scale(1.06); }
.card--acc.is-in .card__media:hover .stk2 { transform: translate(24px, 16px) rotate(16deg); }
.card--acc.is-in .card__media:hover .stk3 { transform: translate(-22px, 20px) rotate(-14deg); }
.card--acc.is-in .card__media:hover .stk4 { transform: translate(20px, -22px) rotate(10deg); }

/* Porte-clés : balancement permanent, grand balancement au survol */
.keychain {
  position: absolute; left: 50%; top: 0; height: 100%;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 40px; animation: swing 4.5s ease-in-out infinite;
}
@keyframes swing { 0%, 100% { transform: translateX(-50%) rotate(5deg); } 50% { transform: translateX(-50%) rotate(-5deg); } }
@keyframes swingBig {
  0% { transform: translateX(-50%) rotate(0); } 20% { transform: translateX(-50%) rotate(18deg); }
  40% { transform: translateX(-50%) rotate(-13deg); } 60% { transform: translateX(-50%) rotate(8deg); }
  80% { transform: translateX(-50%) rotate(-4deg); } 100% { transform: translateX(-50%) rotate(0); }
}
.card__media:hover .keychain { animation: swingBig 1.6s var(--ease) both; }
.keychain__ring { width: 96px; height: 120px; flex: none; }
/* La mini gourde est accrochée par le trou de sa poignée */
.keychain__charm { height: 64%; margin-top: -48px; transform: translateX(-7px); }
.keychain__charm .bottle { height: 100%; width: auto; }

/* Vignettes des accessoires dans le panier */
.ci__img--acc { position: relative; overflow: hidden; }
.ci__img--acc .stickers { width: 100%; height: 100%; }
.ci__img--acc .stk { opacity: 1 !important; transform: none !important; }
.ci__img--acc .keychain { top: 4px; height: calc(100% - 4px); animation: none; transform: translateX(-50%); }
.ci__img--acc .keychain__ring { width: 22px; height: 28px; }
.ci__img--acc .keychain__charm { margin-top: -15px; height: 66%; transform: translateX(-2px); }

.card__dot { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 13, 16, .15); vertical-align: -1px; }

/* ==========================================================================
   ANATOMIE — vue éclatée
   ========================================================================== */
.anatomy { position: relative; height: 420vh; background: var(--deck); color: var(--white); }
.anatomy__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  max-width: 1320px; margin: 0 auto; padding: 0 var(--pad);
}
.anatomy__text h2 { margin-bottom: 52px; }
.steps li {
  display: grid; grid-template-columns: 52px 1fr; padding: 21px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  opacity: .32; transition: opacity .6s var(--ease);
}
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.steps li > span { font-size: 15px; font-weight: 700; color: var(--ash); padding-top: 5px; }
.steps h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.01em; }
.steps__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.steps__body p { overflow: hidden; color: rgba(255, 255, 255, .6); max-width: 420px; }
.steps li.is-active { opacity: 1; }
.steps li.is-active .steps__body { grid-template-rows: 1fr; }
.steps li.is-active .steps__body p { padding-top: 8px; }
.anatomy__stage { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.anatomy__svg { height: min(86vh, 760px); width: auto; will-change: transform; }
.anatomy__svg .part { transition: opacity .7s var(--ease); }
.anatomy__svg.has-focus .part:not(.is-focus):not(.p-vac) { opacity: .28; }
.anatomy__svg .p-vac { opacity: 0; }
.an-vac { fill: rgba(255, 255, 255, .7); font-family: var(--font); font-size: 12px; font-weight: 700; }
.anatomy__step {
  position: absolute; right: 0; bottom: 6vh;
  font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.05em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .2);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   ATOUTS
   ========================================================================== */
.features { padding: var(--section) 0; }
.features__inner { position: relative; display: flex; justify-content: space-between; gap: 60px; }
.features__badge { position: sticky; top: 30vh; align-self: flex-start; width: 200px; height: 200px; flex: none; margin-top: 40px; }
.badge { width: 100%; height: 100%; will-change: transform; }
.badge text { font-size: 15.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
.badge__icon { position: absolute; left: 50%; top: 50%; width: 26px; height: 62px; transform: translate(-50%, -50%); fill: var(--ink); }
.features__col { max-width: 780px; flex: 1; }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 59px; margin-top: 68px; }
.feature { position: relative; padding-top: 23px; }
.feature::before, .feature::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; transform-origin: left; }
.feature::before { background: var(--pebble); }
.feature::after { background: var(--ink); transform: scaleX(0); transition: transform .9s var(--ease); }
.js .feature::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .feature.is-in::before { transform: scaleX(1); }
.feature:hover::after { transform: scaleX(1); }
.feature__big { display: block; font-size: var(--fs-display); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; font-variant-numeric: tabular-nums; transition: transform .8s var(--ease); }
.feature:hover .feature__big { transform: translateX(12px); }
.feature h3 { font-size: 23px; line-height: 1; letter-spacing: -.01em; margin-bottom: 13px; }
.feature p { color: var(--ash); }
.js .feature { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .feature.is-in { opacity: 1; transform: none; }
.features__grid .feature:nth-child(2) { transition-delay: .1s; }
.features__grid .feature:nth-child(3) { transition-delay: .2s; }
.features__grid .feature:nth-child(4) { transition-delay: .3s; }

/* ==========================================================================
   ENGAGEMENT (sombre)
   ========================================================================== */
.impact { position: relative; overflow: hidden; padding: var(--section) 0; background: var(--hull); color: var(--white); }
.impact__bg {
  position: absolute; top: 50%; left: 0; white-space: nowrap; pointer-events: none;
  font-size: clamp(140px, 22vw, 340px); font-weight: 700; letter-spacing: -.05em; line-height: 1;
  /* Intérieur rempli de la couleur du fond, contour peint dessous (paint-order) :
     les chevauchements des lettres ne laissent plus de traits à l'intérieur.
     #22222e = blanc à 8 % sur le fond --hull, en opaque pour éviter les doubles traits. */
  color: var(--hull); -webkit-text-stroke: 2px #22222e; paint-order: stroke fill;
  transform: translate3d(0, -50%, 0); will-change: transform;
}
.impact__bg span { display: inline-block; }   /* copies répétées par JS pour la boucle */
.impact__col { position: relative; margin-left: auto; max-width: 600px; }
.impact__lead { color: rgba(255, 255, 255, .7); margin: 31px 0 52px; }
.impact__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 31px; margin-bottom: 68px; }
.impact__stats strong { display: block; font-size: clamp(36px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1; margin-bottom: 11px; font-variant-numeric: tabular-nums; }
.impact__stats span { color: var(--ash); font-size: 17px; line-height: 1.4; display: block; }
.impact__list li {
  display: flex; justify-content: space-between; padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: 20px;
  transition: padding .6s var(--ease), color .4s;
}
.impact__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.impact__list li span:last-child { color: var(--ash); }
.impact__list li:hover { padding-left: 16px; padding-right: 16px; }
.impact__list li:nth-child(2) { transition-delay: .05s; }
.impact__list li:nth-child(3) { transition-delay: .1s; }
.impact__list li:nth-child(4) { transition-delay: .15s; }
.impact__list li:nth-child(5) { transition-delay: .2s; }
.impact__list li.is-in { transition: opacity 1s var(--ease), transform 1.2s var(--ease), padding .6s var(--ease); }

/* ==========================================================================
   AVIS
   ========================================================================== */
.reviews { padding: var(--section) 0; }
.reviews__top { display: flex; justify-content: space-between; align-items: baseline; }
.reviews__rating { font-size: 17px; font-weight: 700; letter-spacing: .1em; }
.reviews__rating em { font-style: normal; letter-spacing: 0; color: var(--ash); margin-left: 8px; }
.reviews__stage { display: grid; margin: 31px 0 52px; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.quote p { font-size: var(--fs-lg); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; max-width: 1100px; }
.quote cite { display: block; margin-top: 31px; font-style: normal; color: var(--ash); }
.reviews__nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; }
.reviews__nav button { color: var(--ash); transition: color .3s; }
.reviews__nav button.is-active, .reviews__nav button:hover { color: var(--ink); }
.reviews__bar { flex: 1; height: 1px; background: var(--pebble); overflow: hidden; }
.reviews__bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.reviews__bar span.run { animation: qbar 6s linear forwards; }
.reviews:hover .reviews__bar span.run { animation-play-state: paused; }
@keyframes qbar { to { transform: scaleX(1); } }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding: calc(var(--section) * 1.2) 0; background: var(--sky); text-align: center; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__inner > p { color: rgba(0, 13, 16, .62); margin: 31px 0; max-width: 460px; }
.cta__inner > p.cta__legal { margin: 16px 0 0; font-size: 14px; }
.cta__legal a { text-decoration: underline; text-underline-offset: 2px; }
.cta__form {
  display: flex; align-items: center; gap: 8px; width: min(520px, 100%);
  padding: 6px 6px 6px 26px; border-radius: 1000px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(0, 13, 16, .12);
  transition: border-color .4s, background .4s;
}
.cta__form:focus-within { border-color: var(--ink); background: var(--white); }
.cta__form input { flex: 1; min-width: 0; outline: none; font-size: 18px; }
.cta__form input::placeholder { color: var(--ash); }
.cta__form.is-error { animation: shake .5s; border-color: var(--clay); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.cta__float { position: absolute; z-index: 1; will-change: transform; }
.cta__float [data-bottle] { height: 100%; }
.cta__float .bottle { height: 100%; width: auto; }
.f1 { left: 7%; top: 16%; height: 300px; }
.f2 { right: 10%; top: 12%; height: 190px; }
.f3 { right: 18%; bottom: -60px; height: 330px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: var(--white); padding-top: 119px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__about p { color: var(--ash); max-width: 340px; margin-bottom: 31px; }
.footer h4 { font-size: 17px; color: rgba(255, 255, 255, .4); margin-bottom: 16px; }
.footer__cols > div:not(.footer__about) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__cols .link { font-size: 20px; color: var(--ash); transition: color .4s; }
.footer__cols .link:hover { color: var(--white); }
/* Le cadre garde de la place au-dessus pour le rebond ; il cache les lettres sous le bord bas avant leur apparition */
.footer__wm { padding: 70px var(--pad) 0; margin: 0 auto 52px; max-width: 1180px; overflow: hidden; }
.footer__wm .logo { width: 100%; height: auto; overflow: visible; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 34px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: var(--ash); }
.footer__legal span:last-child { display: flex; gap: 22px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav { padding-left: 20px; }
  .nav__links { display: none; }
  .nav__logo { opacity: 1; transform: none; }
  .icon-btn { width: 46px; height: 46px; }

  .hero { min-height: 640px; }
  .hero__head { left: var(--pad); right: var(--pad); width: auto; top: 104px; }
  .hero__lead { display: none; }
  .hero__head .btn { display: none; }
  .hero__bottle { left: 50%; top: 26vh; height: 52vh; }
  .hero__picker { left: var(--pad); right: var(--pad); bottom: auto; top: calc(26vh + 52vh + 10px); text-align: left; display: none; }
  .hero__wordmark { bottom: 22px; width: calc(100% - var(--pad) * 2); }
  .nav__logo .logo { height: 26px; }
  .hero__scroll { display: none; }

  .collection { height: auto !important; }
  .collection__sticky { position: relative; height: auto; padding: var(--section) 0 60px; }
  .collection__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 20px; transform: none !important; scrollbar-width: none; flex-wrap: nowrap; }
  .collection__track::-webkit-scrollbar { display: none; }
  .collection__intro { flex-basis: 82vw; padding-right: 20px; }
  .card { flex-basis: 78vw; scroll-snap-align: center; }
  .card__media { height: 62vh; max-height: 520px; }
  .card__add { transform: none; }
  .collection__foot { position: static; padding: 0 var(--pad); margin-top: 20px; }
  .collection__hint { display: none; }

  .acc__grid { grid-template-columns: 1fr; }
  .clay { padding: 34px 23px; }
  .card--acc .card__media { height: 62vh; max-height: 520px; }
  .card--acc .card__add { transform: none; }

  .anatomy { height: 380vh; }
  .anatomy__sticky { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 0; padding-top: 90px; }
  .anatomy__text h2 { display: none; }
  .anatomy__text .eyebrow { margin-bottom: 13px; }
  .steps li { display: none; padding: 13px 0; }
  .steps li.is-active { display: grid; border-bottom: 1px solid rgba(255,255,255,.14); }
  .anatomy__stage { min-width: 0; }
  .anatomy__svg { width: 100%; height: auto; max-height: 58vh; }
  .anatomy__step { font-size: 80px; bottom: 3vh; }

  .features__badge { display: none; }
  .features__grid { grid-template-columns: 1fr; row-gap: 40px; margin-top: 52px; }

  .impact__stats { grid-template-columns: 1fr; }

  .f1 { left: -30px; top: 6%; height: 180px; }
  .f2 { right: -10px; top: 4%; height: 120px; }
  .f3 { right: 6%; bottom: -80px; height: 200px; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; }
  .menu__foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reviews__bar { display: none; }   /* barre de progression inutile sans animation */
}
