:root {
  --cream: #F6ECDC;
  --paper: #F4ECDF;
  --plum: #2A0E1D;
  --ink: var(--plum);
  --nav: var(--cream);
  --bgc: #BA4241;
  --accent: #D45A55;
  --display: Anton, Impact, 'Arial Narrow', sans-serif;
  --narrow: Oswald, 'Arial Narrow', sans-serif;
  --logo: Archivo, 'Arial Black', sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bgc);
  -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.5;
}
body.is-loading { overflow: hidden; }
h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: inherit; }

#bg { position: fixed; inset: 0; background: var(--bgc); z-index: -1; }
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; display: block; }
main { position: relative; }
.sec { position: relative; }
/* la canette (z 1) passe devant les grands mots (z 0) et derrière le texte (z 2) :
   les sections ne doivent PAS créer de contexte d'empilement */
.sec > :where(:not(.hero-word):not(.slot)) { position: relative; z-index: 2; }
.marquee { position: relative; z-index: 0; }
.gamme-panel, .g-pick { z-index: 2; }
.foot { position: relative; z-index: 3; }

.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.btn {
  display: inline-flex; align-items: center; gap: .5em; border: 0; cursor: pointer;
  font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); }
.btn:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.btn-cream { background: var(--cream); color: var(--plum); }
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px currentColor; }

/* ------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: var(--nav);
  display: flex; align-items: center; gap: 32px; padding: 18px var(--gut);
  transition: color .4s;
}
.nav-logo { font: italic 900 34px/1 var(--logo); text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links a { text-decoration: none; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: currentColor; transition: right .3s; }
.nav-links a:hover::after { right: 0; }
/* bouton son : égaliseur qui danse quand la musique joue, barré quand elle est coupée */
.snd { flex: none; width: 42px; height: 42px; margin-right: -18px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 3px; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.snd:hover { transform: scale(1.08); }
.snd:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.snd i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; transition: height .3s; }
.snd.is-on i { animation: eq .9s ease-in-out infinite alternate; }
.snd.is-on i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.snd.is-on i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
.snd.is-on i:nth-child(4) { animation-duration: .8s; animation-delay: -.2s; }
.snd:not(.is-on)::after { content: ''; position: absolute; width: 26px; height: 2px; background: currentColor; rotate: -45deg; border-radius: 2px; }
@keyframes eq { from { height: 4px; } to { height: 16px; } }
.btn-nav { background: var(--nav); color: var(--bgc); padding: 12px 20px; transition: background .4s, color .4s, transform .25s cubic-bezier(.3,1.6,.5,1); }

/* ------------------------------------------------------------ gate */
#gate {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: #BA4241; color: var(--cream); text-align: center; padding: 24px;
  transition: opacity .7s ease, visibility .7s;
}
#gate.is-gone { opacity: 0; visibility: hidden; }
.gate-in { max-width: 520px; }
.gate-logo { font: italic 900 clamp(min(84px, 23vw), 16vw, 150px)/.9 var(--logo); margin: 18px 0 6px; letter-spacing: -.03em; }
.gate-sub { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 36px; }
.gate-q { font: 400 22px/1.35 var(--sans); margin: 0 0 26px; }
.gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#gate-yes:disabled { opacity: .75; cursor: progress; transform: none; }
#gate-yes .gate-ok, #gate.is-ready #gate-yes .gate-load { display: none; }
#gate.is-ready #gate-yes .gate-ok { display: inline; }
.gate-nope { margin: 22px 0 0; font-style: italic; }
.gate-nope:empty { display: none; }
.gate-legal { margin-top: 40px; font-size: 12px; opacity: 1; }
.gate-can { width: 40px; height: 78px; margin: 0 auto; border-radius: 9px 9px 7px 7px; background: linear-gradient(90deg, #f1d8cf, #fff 30%, #e7c2b8 60%, #c98f84); position: relative; overflow: hidden; box-shadow: inset 0 6px 0 #ddd; animation: tilt 2.4s ease-in-out infinite; }
.gate-can i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 8%); background: var(--plum); transition: height .3s; }
@keyframes tilt { 50% { transform: rotate(-8deg); } }

/* ------------------------------------------------------------ hero */
.hero { min-height: 100vh; min-height: 100svh; color: var(--cream); display: grid; grid-template-rows: 1fr auto; padding: 96px var(--gut) 40px; overflow: clip; }
.hero-word {
  position: absolute; z-index: 0; left: 50%; top: 37%; translate: -50% -50%; margin: 0;
  font: italic 900 min(20vw, 38vh)/.8 var(--logo); letter-spacing: -.055em; white-space: nowrap;
  color: var(--cream); pointer-events: none; user-select: none;
}
.slot-hero { position: absolute; left: 50%; top: 47%; translate: -50% -50%; width: 40vw; height: 82vh; height: 82svh; }
.hero-foot { grid-row: 2; display: flex; justify-content: space-between; align-items: end; gap: 40px; position: relative; z-index: 2; }
.hero-l h1 { font: 400 clamp(40px, 5.2vw, 84px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hero-r { max-width: 360px; }
.hero-r p { margin: 0 0 20px; font-size: 17px; }
.sticker { position: absolute; z-index: 2; right: calc(var(--gut) + 6vw); top: 21vh; width: 150px; height: 150px; display: grid; place-items: center; color: var(--cream); }
.sticker svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.sticker text { font: 500 14.5px var(--mono); letter-spacing: .14em; fill: currentColor; }
.sticker b { font: 400 44px/1 var(--display); background: var(--plum); color: var(--cream); width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; rotate: -12deg; }
.sticker small { font: 600 14px var(--sans); margin-left: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ marquee */
.marquee { background: var(--plum); color: var(--cream); overflow: hidden; rotate: -2deg; margin: -10px -20px; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 26s linear infinite; }
.marquee span { font: 400 clamp(28px, 4vw, 52px)/1 var(--display); text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections à deux colonnes */
.sec { padding: 120px var(--gut); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; min-height: calc(100vh - 240px); }
.slot { min-height: 70vh; }
.slot-hero, .slot-gamme { min-height: 0; }
.col.txt { max-width: 560px; }
.two-rev .col.txt { justify-self: end; }
.sec h2 { font: 400 clamp(44px, 5.6vw, 92px)/.92 var(--display); text-transform: uppercase; margin-bottom: 28px; }
.lead { font-size: 19px; margin: 0 0 36px; }

.pourquoi { color: var(--plum); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.facts li { border-top: 2px solid currentColor; padding-top: 14px; }
.facts b { display: block; font: 400 44px/1 var(--display); margin-bottom: 8px; }
.facts span { font-size: 15px; }

.savoir { color: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(246,236,220,.3); }
.steps b { font: 400 30px/1 var(--display); color: #E3927B; }
.steps h3 { font: 600 19px/1.2 var(--sans); margin-bottom: 4px; }
.steps p { margin: 0; font-size: 15px; opacity: .85; }

.marque { color: var(--plum); }
.stats { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats b { display: block; font: 400 46px/1 var(--display); }
.stats span { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }

/* ------------------------------------------------------------ la gamme */
.gamme { height: 700vh; position: relative; color: var(--gink, var(--cream)); transition: color .5s; }
.gamme-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.slot-gamme { position: absolute; left: 6vw; top: 12vh; width: 42vw; height: 72vh; }
.gamme-panel { position: absolute; right: var(--gut); top: 50%; translate: 0 -54%; width: min(520px, 42vw); }
.g-name { font: 500 clamp(64px, 8vw, 132px)/.9 var(--narrow); transform: scaleY(1.12); transform-origin: bottom left; text-transform: uppercase; margin: 0 0 14px; }
.g-accroche { font: italic 900 clamp(22px, 2.2vw, 30px)/1.15 var(--logo); margin: 0 0 16px; }
.g-texte { margin: 0 0 22px; font-size: 16px; }
.g-notes { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.g-notes li { border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.g-jauges { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 18px; align-items: center; }
.g-jauges dt { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.g-jauges dd { margin: 0; display: flex; gap: 6px; }
.g-jauges i { width: 22px; height: 8px; border-radius: 4px; background: currentColor; opacity: .25; transition: opacity .4s; }
.g-jauges i.on { opacity: 1; }
.g-meta { margin: 0; font-size: 15px; }
.gamme-panel > * { transition: opacity .35s ease, translate .45s cubic-bezier(.2,.8,.2,1); }
.gamme-panel.is-swap > * { opacity: 0; translate: 0 18px; }
.gamme-panel.is-swap > :nth-child(2) { translate: 0 30px; }

.g-pick { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 8px; padding: 0 var(--gut); }
.g-pick button {
  display: flex; align-items: center; gap: 8px; cursor: pointer; font: 600 14px var(--sans);
  color: inherit; background: rgba(42,14,29,.14); border: 1.5px solid currentColor;
  border-radius: 999px; padding: 8px 14px 8px 8px; transition: background .25s, border-color .25s;
}
.g-pick button i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--cream); }
.g-pick button[aria-current="true"] { background: var(--gink, var(--cream)); color: var(--bgc); border-color: transparent; }

/* ------------------------------------------------------------ toute la bande */
.bande { color: var(--plum); padding-top: 140px; }
.bande-head { text-align: center; max-width: 640px; margin: 0 auto; }
.bande-head p:last-child { margin: 0; }
.stage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1vw; max-width: 1280px; margin: 30px auto 0; }
.cell { height: min(56vh, 30vw); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: pointer; text-align: center; padding-bottom: 4px; }
.cell b { font: 400 22px/1 var(--display); text-transform: uppercase; }
.cell span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cell-can { flex: 1; width: 100%; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 70px auto 0; }
.pack { border: 2px solid var(--plum); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: rgba(255,255,255,.35); }
.pack h3 { font: 400 40px/1 var(--display); text-transform: uppercase; }
.pack p { margin: 0; }
.pack .price { font: 400 34px/1 var(--display); margin: 14px 0 12px; }
.pack-hot { background: var(--plum); color: var(--cream); rotate: -1.5deg; }
.where { text-align: center; margin: 40px 0 0; font-style: italic; }

/* ------------------------------------------------------------ pied */
.foot { background: var(--plum); color: var(--cream); padding: 60px var(--gut) 40px; overflow: clip; }
.foot-logo { font: italic 900 min(30vw, 420px)/.8 var(--logo); letter-spacing: -.05em; margin: 0 0 40px; color: #D45A55; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-grid p { margin: 0; }
.news label { display: block; font: 400 26px/1.1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.news div { display: flex; gap: 8px; max-width: 460px; }
.news input { flex: 1; min-width: 0; font: 16px var(--sans); padding: 14px 20px; border-radius: 999px; border: 1.5px solid rgba(246,236,220,.5); background: transparent; color: var(--cream); }
.news input::placeholder { color: rgba(246,236,220,.55); }
.news-ok { margin-top: 10px !important; }
.legal { margin: 0; padding-top: 18px; border-top: 1px solid rgba(246,236,220,.25); font-size: 14px; }
.legal.small { border: 0; padding-top: 6px; font-size: 12px; opacity: .6; }

/* ------------------------------------------------------------ accessibilité */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 60; top: 10px; left: 10px; padding: 12px 18px; border-radius: 999px; background: var(--plum); color: var(--cream); font: 600 15px/1 var(--sans); text-decoration: none; translate: 0 -200%; }
.skip:focus-visible { translate: none; outline: 3px solid var(--cream); outline-offset: 2px; }
#gate:focus, #contenu:focus { outline: none; }
a:focus-visible, .cell:focus-visible, .g-pick button:focus-visible, .news input:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
/* bouton « animations en pause » : deux barres (pause), un triangle quand c'est en pause */
.mot { flex: none; width: 42px; height: 42px; margin-right: -18px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 4px; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.mot:hover { transform: scale(1.08); }
.mot:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.mot::before, .mot::after { content: ''; width: 4px; height: 14px; border-radius: 1px; background: currentColor; }
.mot[aria-pressed="true"]::after { display: none; }
.mot[aria-pressed="true"]::before { width: 0; height: 0; border-radius: 0; background: none; margin-left: 3px;
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.is-still .sticker svg, .is-still .marquee-track, .is-still .snd.is-on i { animation-play-state: paused; }
/* sans JavaScript : la porte s'efface, la gamme se lit en liste */
.g-static { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; padding: 120px var(--gut); }
.g-static h2 { grid-column: 1 / -1; font: 400 clamp(44px, 5.6vw, 92px)/.92 var(--display); text-transform: uppercase; }
.g-static h3 { font: 500 44px/.95 var(--narrow); text-transform: uppercase; margin-bottom: 10px; }

/* ------------------------------------------------------------ mobile */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { padding: 14px 16px; gap: 12px; }
  .nav-links { display: none; }
  .mot { margin-left: auto; margin-right: -4px; width: 38px; height: 38px; }
  .snd { margin-right: -4px; width: 38px; height: 38px; }
  .nav-logo { font-size: 30px; }
  .hero { padding: 80px 16px 28px; }
  .hero-word { top: 34%; font-size: 23vw; }
  .slot-hero { top: 38%; width: 80vw; height: 46svh; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-l h1 { font-size: 44px; }
  .hero-r p { font-size: 15px; margin-bottom: 14px; }
  .sticker { width: 104px; height: 104px; right: 10px; top: 13vh; }
  .sticker text { font-size: 15px; }
  .sticker b { width: 60px; height: 60px; font-size: 30px; }
  .sec { padding: 72px 16px; }
  .two { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .two .slot { order: -1; min-height: 50svh; }
  .two-rev .col.txt { justify-self: start; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .facts b { font-size: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .slot-gamme { left: 0; right: 0; top: 64px; width: auto; height: 30svh; }
  .gamme-panel { left: 16px; right: 16px; width: auto; top: auto; bottom: 74px; translate: none; }
  .g-name { font-size: 48px; margin-bottom: 6px; }
  .g-accroche { font-size: 20px; margin-bottom: 10px; }
  .g-texte { font-size: 14px; line-height: 1.4; margin-bottom: 12px; }
  .g-notes { margin-bottom: 12px; }
  .g-notes li { font-size: 13px; padding: 4px 10px; }
  .g-jauges { margin-bottom: 10px; }
  .g-meta { font-size: 14px; }
  .g-pick { justify-content: flex-start; overflow-x: auto; bottom: 16px; padding: 0 16px; scrollbar-width: none; }
  .g-pick button { flex: none; }
  .stage { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cell { height: 34svh; }
  .cell b { font-size: 17px; }
  .cell span { font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
  .packs { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-height: 700px) and (max-width: 860px) { .g-jauges { display: none; } }
/* petit téléphone : canette un peu plus petite pour laisser toute la fiche lisible (texte compris) */
@media (max-height: 719px) and (max-width: 600px) { .slot-gamme { height: 24svh; } }
/* écran bas (zoom 200 % sur un portable) : canette plus petite pour que la fiche entière tienne */
@media (max-height: 520px) and (max-width: 860px) { .slot-gamme { top: 58px; height: 22svh; } .gamme-panel { bottom: 64px; } .g-name { font-size: 40px; } }
/* 320 px : la barre du haut tient sur une ligne */
@media (max-width: 380px) {
  .nav { gap: 8px; }
  .nav-logo { font-size: 26px; }
  .mot, .snd { width: 34px; height: 34px; }
  .btn-nav { padding: 10px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticker svg, .marquee-track, .gate-can, .snd.is-on i { animation: none; }
  .snd.is-on i { height: 12px; }
}
