/* =========================================================
   Kordix Soda — boutique fictive · thème clair
   ========================================================= */

@property --accent { syntax: '<color>'; inherits: true; initial-value: #FFC132; }
@property --accent-soft { syntax: '<color>'; inherits: true; initial-value: #FFF0C7; }
@property --accent-top { syntax: '<color>'; inherits: true; initial-value: #FF7A45; }

:root {
  --cream: #FFF8EF;
  --paper: #FFFFFF;
  --ink: #1F1A4D;
  --ink-2: #5A5584;
  --line: rgba(31, 26, 77, .12);
  --orange: #FF6A2B;
  --orange-2: #FF8A50;
  --accent: #FFC132;
  --accent-soft: #FFF0C7;
  --accent-top: #FF7A45;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 18px;
  --f-display: 'Anybody', system-ui, sans-serif;
  --f-body: 'Outfit', system-ui, sans-serif;
  --shadow: 0 24px 50px -24px rgba(31, 26, 77, .35);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  transition: --accent .7s ease, --accent-soft .7s ease, --accent-top .7s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------- Typo ---------- */

.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 78%;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
  font-size: clamp(44px, 7vw, 108px);
  margin: 0;
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.kicker::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--ink);
}

.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 54ch; }

.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 99px;
  background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: 13px; letter-spacing: .08em;
}

/* ---------- Boutons ---------- */

.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 99px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 rgba(31, 26, 77, .9);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(31, 26, 77, .9); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(31, 26, 77, .9); }
.btn--orange { --bg: var(--orange); --fg: #fff; }
.btn--orange:hover { --bg: var(--orange-2); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--block { width: 100%; }

.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper);
  transition: transform .25s var(--ease), background .2s;
}
.icon-btn:hover { background: var(--accent-soft); transform: rotate(90deg); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.link-btn { background: none; border: 0; padding: 6px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Bandeau + navigation ---------- */

.topbar {
  background: var(--accent);
  border-bottom: 2px solid var(--ink);
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden;
}
.marquee__track, .tape__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: slide 28s linear infinite;
}
.marquee__track { padding: 8px 0; }
.marquee__track i, .tape__track i { font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent;
  transition: border-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--ink);
}
.logo__mark::after {
  content: ''; position: absolute; left: 6px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #fff;
}
.logo__word {
  display: flex; flex-direction: column;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 24px; line-height: .9; letter-spacing: .02em;
}
.logo__word small { font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  padding: 8px 16px; border-radius: 99px; text-decoration: none; font-weight: 600;
  transition: background .2s;
}
.nav__links a:hover { background: var(--accent-soft); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 16px; border-radius: 99px;
  border: 2px solid var(--ink); background: var(--paper); font-weight: 700;
  transition: transform .25s var(--ease), background .2s;
}
.cart-btn:hover { background: var(--accent-soft); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cart-count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px;
  display: grid; place-items: center;
  background: var(--orange); color: #fff; font-size: 14px;
}
.cart-btn.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-4deg); } 60% { transform: scale(.96); } }

/* ---------- Hero ---------- */

/* La canette 3D (canvas fixe, z-index 20) passe devant .hero__center mais derrière
   les infos, le sélecteur et le sticker (z-index 25). */
.hero {
  position: relative;
  min-height: max(620px, calc(100svh - 104px));
  padding: 26px var(--gutter) 30px;
  overflow: hidden;
}
.hero__center { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero__blob {
  position: absolute; left: 50%; top: 47%;
  width: min(62vmin, 640px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 18px color-mix(in srgb, var(--accent-soft) 45%, transparent);
}

.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: -60px; border-radius: 50%;
  border: 3px solid var(--accent-top);
  animation: rise var(--d, 9s) linear var(--delay, 0s) infinite;
  opacity: .8;
}
.bubble.is-fill { background: var(--accent); border-color: transparent; }
.bubble.is-dash { border-radius: 99px; height: 8px !important; border: 0; background: var(--accent-top); rotate: -35deg; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .85; }
  50% { transform: translate(var(--sway, 20px), -55vh); }
  100% { transform: translate(0, -115vh); opacity: 0; }
}

.hero__meta { position: relative; z-index: 25; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero__name { font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; line-height: 1; }
.hero__fruits { color: var(--ink-2); font-weight: 600; }
.hero__meta.is-swap > * { animation: swapIn .6s var(--ease) both; }
.hero__meta.is-swap > :nth-child(2) { animation-delay: .06s; }
.hero__meta.is-swap > :nth-child(3) { animation-delay: .12s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); } }

.hero__title {
  position: absolute; left: 0; right: 0; top: 46%;
  margin: 0; translate: 0 -50%;
  text-align: center; pointer-events: none;
}
.hero__word {
  display: inline-flex;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(88px, 17.5vw, 330px); line-height: .82; letter-spacing: -.02em;
  color: var(--ink);
  text-shadow: .045em .045em 0 var(--accent);
  transition: text-shadow .7s;
}
.hero__word span {
  display: inline-block;
  animation: stretchIn 1.1s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms + .1s);
}
@keyframes stretchIn {
  from { font-stretch: 50%; opacity: 0; transform: translateY(30%); }
}

.hero__stage {
  position: absolute; left: 50%; top: 47%;
  height: min(72vh, 640px); aspect-ratio: .62;
  translate: -50% -50%;
  display: grid; place-items: center;
}

.stage__fallback { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(31, 26, 77, .25)); }
.has-3d .stage__fallback { visibility: hidden; }

.sticker {
  position: absolute; z-index: 25;
  right: max(var(--gutter), calc(50% - min(40vmin, 420px)));
  top: 15%;
  width: clamp(96px, 10vw, 150px);
  animation: spinSlow 16s linear infinite;
}
.sticker__bg { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.sticker text { font-family: var(--f-body); font-weight: 800; font-size: 15.5px; letter-spacing: 1.6px; fill: var(--ink); }
.sticker__star { fill: var(--orange); }
@keyframes spinSlow { to { rotate: 360deg; } }

.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; z-index: 25;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
}
.hero__lead { margin: 0; max-width: 34ch; font-weight: 500; color: var(--ink-2); }
.hero__ctas { justify-self: end; }

.switch {
  display: flex; gap: 10px; padding: 8px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 99px;
  box-shadow: var(--shadow);
}
.switch button {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--paper); background: var(--c);
  box-shadow: 0 0 0 2px transparent;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.switch button:hover { transform: translateY(-3px) scale(1.08); }
.switch button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.12); }
.switch button::after {
  content: attr(data-name);
  position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 4px;
  padding: 4px 10px; border-radius: 8px; background: var(--ink); color: var(--cream);
  font-size: 12px; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s;
}
.switch button:hover::after, .switch button:focus-visible::after { opacity: 1; translate: -50% 0; }

/* ---------- Bandes croisées ---------- */

.tapes { position: relative; height: 150px; margin: 10px 0 0; z-index: 1; }
.tape {
  position: absolute; left: -5%; right: -5%; top: 50%;
  border-block: 2px solid var(--ink);
  font-family: var(--f-display); font-weight: 900; font-stretch: 95%;
  font-size: clamp(20px, 2.4vw, 32px); text-transform: uppercase;
  overflow: hidden;
}
.tape .tape__track { padding: 12px 0; gap: 26px; }
.tape--a { background: var(--accent); rotate: -3deg; translate: 0 -62%; }
.tape--b { background: var(--paper); rotate: 2deg; translate: 0 -20%; }
.tape--b .tape__track { animation-direction: reverse; animation-duration: 36s; }
.tape--b i { color: var(--orange); font-size: .6em; }

/* ---------- Le goût ---------- */

.taste {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(80px, 9vw, 140px) var(--gutter);
}
.taste .display { font-size: clamp(42px, 5.6vw, 92px); }
.taste .lead { margin: 26px 0 36px; }
.hl {
  display: inline-block; padding: 0 .16em; border-radius: .18em;
  border: .05em solid var(--ink);
  line-height: .92;
}
.hl--a { background: var(--accent); rotate: -2deg; }
.hl--b { background: #fff; rotate: 2deg; color: var(--orange); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.features li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start;
  padding: 18px; border-radius: var(--r-md);
  background: var(--paper); border: 2px solid var(--line);
}
.features b { font-size: 18px; }
.features li > span:last-child { grid-column: 2; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.feat__ico {
  grid-row: span 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--c); border: 2px solid var(--ink);
}
.feat__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.taste__stage { position: relative; display: grid; place-items: center; min-height: min(78vh, 640px); }
.disc {
  position: absolute; width: min(100%, 500px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--ink);
}
.disc__ring {
  position: absolute; inset: -22px; border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--ink) 40%, transparent);
  animation: spinSlow 40s linear infinite;
}
.disc__dot { position: absolute; border-radius: 50%; border: 2px solid var(--ink); }
.disc__dot.d1 { width: 46px; height: 46px; background: var(--orange); left: 6%; top: 10%; }
.disc__dot.d2 { width: 26px; height: 26px; background: var(--accent); right: 4%; top: 28%; }
.disc__dot.d3 { width: 64px; height: 64px; background: var(--paper); right: 12%; bottom: 2%; }
.disc__dot.d3::after { content: ''; position: absolute; left: 12px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft); }
.taste__anchor { position: relative; height: min(66vh, 560px); aspect-ratio: .62; display: grid; place-items: center; }

/* ---------- En-têtes de section ---------- */

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .kicker { justify-content: center; }

/* ---------- Boutique ---------- */

.shop { position: relative; z-index: 21; padding: clamp(60px, 8vw, 120px) var(--gutter); background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px; border-radius: 99px; border: 2px solid var(--ink);
  background: var(--paper); font-weight: 700;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--cream); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg); border: 2px solid var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .35s, scale .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 0 var(--ink); }
.card.is-hidden { display: none; }

.card__media {
  position: relative; height: 340px; padding: 0; border: 0; background: none;
  display: grid; place-items: end center; overflow: hidden;
}
.card__num {
  position: absolute; left: 18px; top: 8px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 120%; font-size: 92px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--ink); opacity: .22;
}
.card__circle {
  position: absolute; left: 50%; top: 46%; width: 210px; aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%; background: var(--c); opacity: .35;
  transition: scale .5s var(--ease);
}
.card:hover .card__circle { scale: 1.12; }
.card__can {
  position: relative; z-index: 2; height: 262px; width: auto; margin-bottom: 34px;
  filter: drop-shadow(0 16px 14px rgba(31, 26, 77, .22));
  transition: transform .5s var(--ease);
}
.card:hover .card__can { transform: translateY(-14px) rotate(-7deg); }
.plinth {
  position: absolute; left: 50%; bottom: 14px; z-index: 1; translate: -50% 0;
  width: 58%; height: 52px;
  background: linear-gradient(90deg, #ece6df, #fff 40%, #f3eee8);
  border-radius: 0 0 50% 50% / 0 0 22px 22px;
  border: 2px solid var(--ink); border-top: 0;
}
.plinth::before {
  content: ''; position: absolute; left: -2px; right: -2px; top: -18px; height: 36px;
  border-radius: 50%; background: #fff; border: 2px solid var(--ink);
}
.card__new {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  padding: 6px 12px; border-radius: 99px; rotate: 6deg;
  background: var(--orange); color: #fff; border: 2px solid var(--ink);
  font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}

.card__body {
  padding: 18px 20px 20px; background: var(--paper); border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
}
.card__body h3 {
  margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 85%;
  font-size: 30px; text-transform: uppercase; line-height: 1;
}
.card__body p { margin: 0; grid-column: 1; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.price { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-weight: 800; font-size: 20px; }
.price small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-2); }
.card__actions { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 14px; }
.card__actions .btn { flex: 1; padding: 12px 18px; font-size: 15px; }
.card__actions .btn--ghost {
  --bg: var(--paper); --fg: var(--ink);
  border: 2px solid var(--ink); box-shadow: none; flex: 0 0 auto;
}
.btn.is-added { --bg: #23A26D; }

/* ---------- Pack découverte (podiums) ---------- */

.podium { position: relative; z-index: 21; background: var(--accent-soft); padding: 40px 0; }
.wave { position: absolute; left: 0; width: 100%; height: 60px; }
.wave path { fill: var(--accent-soft); }
.wave--top { bottom: 100%; margin-bottom: -1px; }
.wave--bottom { top: 100%; margin-top: -1px; }
.wave--bottom path { fill: var(--accent-soft); }
.shop + .podium .wave--top { background: var(--paper); }
.podium__inner {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 6vw, 90px) var(--gutter);
}
.podium .lead { margin: 22px 0 26px; }
.podium__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 26px; }
.podium__price b { font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: clamp(42px, 5vw, 52px); line-height: 1; white-space: nowrap; }
.podium__price s { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.podium__price span { white-space: nowrap; padding: 4px 12px; border-radius: 99px; border: 2px solid var(--ink); font-weight: 700; font-size: 14px; }

.podium__scene { position: relative; aspect-ratio: 1.15; }
.block {
  position: absolute; bottom: 6%;
  background: linear-gradient(90deg, #f1ebe4, #fff 35%, #f7f2ec);
  border: 2px solid var(--ink); border-radius: 0 0 14px 14px;
}
.block::before {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: 100%; height: 30px;
  background: #fff; border: 2px solid var(--ink); border-bottom: 0; border-radius: 14px 14px 0 0;
}
.block.b1 { left: 2%; width: 31%; height: 26%; }
.block.b2 { left: 34.5%; width: 31%; height: 42%; z-index: 1; }
.block.b3 { left: 67%; width: 31%; height: 32%; }
.scene__can {
  position: absolute; z-index: 2; width: 18%; height: auto; transform-origin: 50% 100%;
  filter: drop-shadow(0 14px 12px rgba(31, 26, 77, .22));
  transition: transform .5s var(--ease);
}
.scene__can:hover { transform: translateY(-10px) rotate(-5deg); }

/* ---------- Packs ---------- */

.packs { padding: clamp(110px, 10vw, 160px) var(--gutter) clamp(60px, 8vw, 120px); }
.packs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--paper); border: 2px solid var(--ink);
}
.pack h3 { margin: 10px 0 0; font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: 34px; text-transform: uppercase; line-height: 1; }
.pack p { margin: 0; color: var(--ink-2); }
.pack__price { margin: 16px 0 20px; }
.pack__price b { font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: 44px; line-height: 1; }
.pack__price em { font-style: normal; font-size: 18px; font-family: var(--f-body); font-weight: 600; color: var(--ink-2); }
.pack__price small { display: block; color: var(--ink-2); font-weight: 500; }
.pack .btn { margin-top: auto; }
.pack--hot { background: var(--accent-soft); box-shadow: 0 10px 0 var(--ink); translate: 0 -10px; }
.pack__badge {
  position: absolute; top: -16px; right: 20px; rotate: 4deg;
  padding: 6px 14px; border-radius: 99px; border: 2px solid var(--ink);
  background: var(--orange); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
}
.pack__cans { display: flex; height: 120px; align-items: flex-end; }
.pack__cans img { height: 112px; width: auto; margin-right: -26px; filter: drop-shadow(4px 8px 6px rgba(31, 26, 77, .2)); }
.pack__cans img:nth-child(even) { height: 100px; }

/* ---------- FAQ ---------- */

.faq { padding: clamp(60px, 8vw, 120px) var(--gutter); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; background: var(--paper); }
.faq .section-head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--cream);
  transition: background .25s;
}
.faq details[open] { background: var(--accent-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  font-size: 22px; line-height: 1; transition: rotate .3s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Club ---------- */

.club { padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(60px, 8vw, 110px); background: var(--paper); }
.club__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl);
  background: var(--accent); border: 2px solid var(--ink);
  box-shadow: 0 10px 0 var(--ink);
}
.club__card p { margin: 16px 0 0; font-weight: 500; font-size: 18px; max-width: 40ch; }
.club__form { display: flex; flex-wrap: wrap; gap: 10px; }
.club__form input {
  flex: 1 1 220px; min-width: 0; padding: 16px 22px; border-radius: 99px;
  border: 2px solid var(--ink); background: var(--paper); font: inherit; color: var(--ink);
}
.club__form input:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.club__form input[aria-invalid="true"] { border-color: #D7263D; }
.club__note { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 14px !important; opacity: .8; }

/* ---------- Footer ---------- */

.footer { position: relative; padding: 70px var(--gutter) 0; overflow: hidden; background: var(--cream); border-top: 2px solid var(--ink); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--ink-2); max-width: 34ch; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer h3 { margin: 0 0 6px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.footer nav a { text-decoration: none; font-weight: 600; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin: 46px 0 0; padding-top: 22px; border-top: 2px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer__legal a { font-weight: 700; color: var(--ink); }
.footer__word {
  font-family: var(--f-display); font-weight: 900; font-stretch: 150%;
  font-size: 16.6vw; line-height: .78; text-align: center; letter-spacing: -.02em;
  color: var(--accent-soft); -webkit-text-stroke: 2px var(--ink);
  margin: 26px calc(var(--gutter) * -1) -3vw;
  user-select: none;
}

/* ---------- Panier (drawer) ---------- */

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(31, 26, 77, .35); backdrop-filter: blur(3px); }

.drawer {
  margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(440px, 100%); max-width: 100%;
  padding: 0; border: 0; border-left: 2px solid var(--ink);
  background: var(--cream);
  display: none; flex-direction: column;
}
.drawer[open] { display: flex; animation: drawerIn .45s var(--ease); }
.drawer.is-closing { animation: drawerOut .3s ease-in forwards; }
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerOut { to { transform: translateX(100%); } }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 14px; }
.drawer__head h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: 34px; text-transform: uppercase; }

.ship { margin: 0 24px 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); border: 2px solid var(--line); }
.ship p { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.ship__bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ship__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--accent)); transition: width .5s var(--ease); }

.lines { list-style: none; margin: 0; padding: 6px 24px; overflow-y: auto; flex: 1; display: grid; align-content: start; gap: 10px; }
.line {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px 10px 8px; border-radius: var(--r-md); background: var(--paper); border: 2px solid var(--line);
  animation: swapIn .4s var(--ease) both;
}
.line__thumb { height: 70px; display: grid; place-items: center; border-radius: 12px; background: var(--bg, var(--accent-soft)); }
.line__thumb img { height: 60px; width: auto; }
.line__thumb.is-pack { font-family: var(--f-display); font-weight: 900; font-size: 22px; }
.line b { display: block; line-height: 1.2; }
.line small { color: var(--ink-2); }
.line__right { display: grid; justify-items: end; gap: 6px; }
.line__price { font-weight: 800; }

.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; font-weight: 700; border-radius: 50%; }
.qty button:hover { background: var(--accent-soft); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }

.drawer__empty { flex: 1; display: none; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 24px; }
.drawer__empty p { margin: 0; font-size: 18px; }
.drawer.is-empty .drawer__empty { display: grid; }
.drawer.is-empty .lines, .drawer.is-empty .drawer__foot { display: none; }

.drawer__foot { padding: 16px 24px 24px; border-top: 2px solid var(--line); background: var(--cream); }
.drawer__foot dl { margin: 0 0 16px; display: grid; gap: 6px; }
.drawer__foot dl div { display: flex; justify-content: space-between; }
.drawer__foot dt { color: var(--ink-2); font-weight: 500; }
.drawer__foot dd { margin: 0; font-weight: 700; }
.drawer__foot .total { margin-top: 6px; padding-top: 10px; border-top: 2px dashed var(--line); font-size: 20px; }
.drawer__foot .total dt { color: var(--ink); font-weight: 800; }

/* ---------- Modales ---------- */

.modal {
  width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 2px solid var(--ink); border-radius: var(--r-xl);
  background: var(--cream); box-shadow: 0 14px 0 var(--ink);
  overflow: auto;
}
.modal[open] { animation: popIn .45s var(--ease); }
.modal.is-closing { animation: popOut .25s ease-in forwards; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes popOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__close { position: absolute; right: 18px; top: 18px; z-index: 2; }

.product[open] { display: grid; grid-template-columns: 1fr 1.1fr; }
.product__media { display: grid; place-items: center; padding: 40px 20px; background: var(--bg, var(--accent-soft)); border-right: 2px solid var(--ink); min-height: 420px; }
.product__media img { height: min(420px, 52vh); width: auto; filter: drop-shadow(0 26px 20px rgba(31, 26, 77, .25)); animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px) rotate(-3deg); } }
.product__info { padding: 36px 34px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.product__info .display { font-size: clamp(40px, 5vw, 64px); }
.product__info p { margin: 0; }
.product__fruits { font-weight: 700; color: var(--ink-2); }
.product__nutri { font-size: 14px; color: var(--ink-2); }
.notes { width: 100%; display: grid; gap: 8px; margin: 8px 0; }
.note { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.note__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.note__bar i { height: 10px; border-radius: 99px; border: 1.5px solid var(--ink); }
.note__bar i.on { background: var(--c, var(--accent)); }
.product__buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.product__buy .qty button { width: 44px; height: 48px; }
.product__buy .qty output { min-width: 32px; font-size: 18px; }

.done { width: min(520px, calc(100vw - 32px)); padding: 44px 34px 34px; text-align: center; }
.done[open] { display: grid; justify-items: center; gap: 16px; }
.done .display { font-size: clamp(38px, 6vw, 56px); }
.done p { margin: 0; color: var(--ink-2); }
.done__burst {
  width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--ink);
  background: conic-gradient(var(--orange) 0 25%, var(--accent) 0 50%, #8FD8FF 0 75%, #FF8CC0 0);
  animation: spinSlow 6s linear infinite;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  translate: -50% 140%;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 99px;
  background: var(--ink); color: var(--cream); font-weight: 600;
  box-shadow: var(--shadow);
  transition: translate .45s var(--ease);
}
.toast.is-on { translate: -50% 0; }
.toast img { height: 40px; width: auto; }
.toast__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); }

/* ---------- Canvas 3D ---------- */

#can3d {
  position: fixed; inset: 0; z-index: 20;
  width: 100vw; height: 100vh;
  pointer-events: none;
  opacity: 0; transition: opacity .8s;
}
.has-3d #can3d { opacity: 1; }

/* ---------- Apparitions au scroll ---------- */

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.pack--hot[data-reveal].is-in { transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .taste { grid-template-columns: 1fr; }
  .taste__stage { order: -1; min-height: 420px; }
  .taste__anchor { height: 380px; }
  .disc { width: min(86vw, 380px); }
  .podium__inner { grid-template-columns: 1fr; }
  .packs__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pack--hot { translate: none; }
  .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .club__card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .cart-btn__label { display: none; }
  .hero { min-height: 0; display: flex; flex-direction: column; padding-top: 18px; padding-bottom: 26px; }
  .hero__center { position: relative; inset: auto; height: clamp(320px, 54svh, 480px); margin: 0 calc(var(--gutter) * -1); }
  .hero__title, .hero__stage, .hero__blob { top: 50%; }
  .hero__word { font-size: 21vw; font-stretch: 100%; }
  .hero__stage { height: 82%; }
  .hero__blob { width: min(80vw, 420px); }
  .sticker { top: 92px; right: 14px; width: 84px; }
  .hero__foot { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .hero__lead { order: 2; font-size: 15px; }
  .switch { order: 1; gap: 6px; }
  .switch button { width: 30px; height: 30px; }
  .hero__ctas { order: 3; justify-self: center; }
  .tapes { height: 120px; }
  .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .product[open] { grid-template-columns: 1fr; }
  .product__media { min-height: 0; padding: 30px 20px 20px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .product__media img { height: 260px; }
  .product__info { padding: 24px 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .bubble { display: none; }
}
