/* ── Tokens ─────────────────────────────────── */
:root {
  --bg:           #F6F1EB;
  --bg-2:         #EDE4D6;
  --bg-3:         #E3D5C0;
  --light:        #FFFFFF;
  --white:        #FFFFFF;
  --ink:          #1A1108;
  --ink-2:        rgba(26, 17, 8, 0.62);
  --ink-3:        rgba(26, 17, 8, 0.22);
  --accent:       #A8651A;
  --line:         rgba(0, 0, 0, 0.09);
  --line-lt:      rgba(0, 0, 0, 0.09);
  --r:            8px;
  --max:          1120px;
  --pad:          clamp(20px, 5vw, 48px);
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ── Focus-visible (WCAG AA) ────────────────── */
/* Supprime l'outline natif uniquement pour la souris */
:focus:not(:focus-visible) { outline: none; }
/* Ring visible au clavier/tab */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Boutons CTAs sombres : ring blanc pour le contraste */
.btn:focus-visible,
.flavor-row-cta:focus-visible,
.cart-checkout:focus-visible,
.music-pause-btn:focus-visible {
  outline-color: #ffffff;
  outline-offset: 3px;
}

/* ── Layout ─────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 580px; }

/* ── Eyebrow ────────────────────────────────── */
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow--dark { color: rgba(8, 8, 8, 0.4); }

/* ── NAV ────────────────────────────────────── */
.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  transition: color 0.18s;
  padding: 12px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover { color: var(--ink); }

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  transition: background 0.28s;
}

nav.scrolled {
  background: rgba(245, 244, 241, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-clock {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  margin-right: auto;
  margin-left: 20px;
}

@media (max-width: 480px) {
  .nav-clock { display: none; }
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 12px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.nav-cta:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}
.nav-cta.has-items {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.nav-cta.has-items:hover {
  opacity: 0.84;
  background: var(--ink);
}

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 56px;
  padding-bottom: clamp(80px, 12vh, 140px);
  position: relative;
  row-gap: 16px;
  overflow: hidden;
}

/* ── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.15s; }
.reveal[data-delay="2"] { transition-delay: 0.30s; }
.reveal[data-delay="3"] { transition-delay: 0.45s; }
.reveal[data-delay="4"] { transition-delay: 0.60s; }

/* ── HERO ENTRY ANIMATIONS ──────────────────── */
.hero-brand {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-brand.in { opacity: 1; }

.hero-title {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.hero-title.in { clip-path: inset(0 0% 0 0); }

.hero-foot {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-foot.in { opacity: 1; transform: none; }


/* Warm glow — lumière de comptoir */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 80%, rgba(168, 101, 26, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 20%, rgba(200, 155, 80, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 10% 50%, rgba(168, 101, 26, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  filter: url(#grain-filter);
  mix-blend-mode: multiply;
}

/* "Grem" — brand label, aligned with content */
.hero-brand {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-inline: var(--pad);
  position: relative;
}

/* "Cookie." — fills the viewport width, JS-sized */
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.84;
  color: var(--ink);
  white-space: nowrap;
  padding-inline: var(--pad);
  font-size: 20vw;
  position: relative;
  text-shadow: none;
}

.hero-foot {
  position: relative;
  padding-inline: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hero-actions.in {
  opacity: 1;
  transform: none;
}

.hero-sub {
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 38ch;
}
.hero-zone-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
  transition: color 0.15s;
}
.hero-zone-btn:hover { color: var(--accent); }

/* ── FLOATING CTA ───────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.floating-cta-btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(17, 17, 17, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 13px 28px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100vw - 48px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  transition: opacity 0.18s, transform 0.14s, background 0.2s;
}

.floating-cta-btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.floating-cta-btn:active { transform: scale(0.975); }

.floating-cta-btn.has-items {
  background: var(--ink);
  border-color: transparent;
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.14s, background 0.18s;
  letter-spacing: 0.02em;
}
.btn:active { transform: scale(0.975); }

.btn--white { background: var(--ink); color: var(--white); }
.btn--white:hover { opacity: 0.84; }
.btn--white.has-items {
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: max-width 0.4s cubic-bezier(0.32,0,0.15,1), opacity 0.2s;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.btn--ghost:hover { color: var(--ink); border-color: rgba(0, 0, 0, 0.25); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { opacity: 0.82; }

/* ── SPECS ──────────────────────────────────── */
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec {
  padding: 40px var(--pad);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec:last-child { border-right: none; }

.spec-n {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.spec-l {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── SAVEURS — Billboard ─────────────────────── */
.saveurs {
  background: #120C04;
  overflow: hidden;
}

.billboard {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.billboard-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(56px, 8vh, 100px) clamp(32px, 5vw, 72px) clamp(48px, 6vh, 72px);
}

.billboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.billboard-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,233,220,0.35);
}
.billboard-counter {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(240,233,220,0.35);
}

.billboard-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Colonne photo */
.billboard-photo {
  position: relative;
  overflow: hidden;
}
.billboard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.billboard-track.is-exiting {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.billboard-track.is-entering {
  opacity: 0;
  transform: translateY(-16px);
}

.billboard-name {
  font-weight: 700;
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #F0E9DC;
  white-space: nowrap;
}

.billboard-desc {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: rgba(240, 233, 220, 0.55);
  line-height: 1.75;
  max-width: 44ch;
}

.billboard-foot {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: clamp(32px, 5vh, 56px);
}

.billboard-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #F0E9DC;
  letter-spacing: -0.02em;
}

.billboard-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.billboard-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: #120C04;
  background: #F0E9DC;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.billboard-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.billboard-cta.in-cart {
  background: rgba(240,233,220,0.15);
  color: #F0E9DC;
}

/* Navigation */
.billboard-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.billboard-arrow {
  color: rgba(240, 233, 220, 0.5);
  background: none;
  border: 1px solid rgba(240, 233, 220, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.billboard-arrow:hover {
  color: #F0E9DC;
  border-color: rgba(240,233,220,0.4);
  background: rgba(240,233,220,0.06);
}
.billboard-arrow:hover {
  color: #F0E9DC;
  border-color: rgba(240, 233, 220, 0.6);
  background: rgba(240, 233, 220, 0.08);
}

.billboard-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.billboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 233, 220, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.billboard-dot.active {
  background: #F0E9DC;
  transform: scale(1.3);
}

/* Numéro éditorial — colonne gauche */
.flavor-ghost {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  user-select: none;
  padding-top: 0.2em;
  align-self: flex-start;
}

.flavor-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flavor-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #F0E9DC;
  position: relative;
  z-index: 2;
}

.flavor-desc {
  font-size: 0.75rem;
  color: rgba(240, 233, 220, 0.5);
  line-height: 1.65;
  flex: 1;
  position: relative;
  z-index: 2;
}

.vitrine-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(240, 233, 220, 0.12);
  position: relative;
  z-index: 2;
}

.vitrine-price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F0E9DC;
  letter-spacing: -0.01em;
}

.flavor-cta {
  position: relative;
  z-index: 4;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(240, 233, 220, 0.7);
  white-space: nowrap;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}
.flavor-cta:hover { color: #F0E9DC; }
.flavor-cta.in-cart {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.flavor-cta.in-cart:hover {
  opacity: 0.8;
}

/* ── COMMANDER ──────────────────────────────── */
.commander {
  background: var(--light);
  padding: clamp(100px, 16vw, 180px) 0 clamp(120px, 18vw, 200px);
}

.commander-head { margin-bottom: 56px; }
.commander-head .eyebrow--dark { margin-bottom: 14px; }

.commander-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.commander-sub {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── ORDER FORM ─────────────────────────────── */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row { display: grid; gap: 16px; }
.row--2 { grid-template-columns: 1fr 1fr; }
.row--3 { grid-template-columns: 1fr 1fr 1fr; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.07);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 96px; }

.form-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--ink-2);
}

/* ── SUCCESS ────────────────────────────────── */
.order-ok { padding: 48px 0; }

.order-ok-title {
  font-size: 1.625rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 8px;
}

.order-ok-sub {
  font-size: 0.9375rem;
  color: rgba(8, 8, 8, 0.42);
  line-height: 1.6;
}

/* ── FOOTER ─────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-copy { font-size: 0.8125rem; color: var(--ink-2); }

.footer-ig {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s;
}
.footer-ig:hover { color: var(--ink); }

.footer-admin {
  font-size: 0.8125rem;
  color: var(--ink-3);
  transition: color 0.18s;
}
.footer-admin:hover { color: var(--ink-2); }


/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  z-index: 300;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 20px;
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.modal-total {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.modal-close {
  background: none; border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--ink-2); cursor: pointer;
  flex-shrink: 0; margin-top: 2px;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--line); }

.modal-summary {
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}
.modal-item-name { flex: 1; color: var(--ink); }
.modal-item-price { color: var(--ink-2); min-width: 48px; text-align: right; font-size: 0.8125rem; }

.modal-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border-radius: 99px;
  padding: 4px 6px;
}
.modal-item-qty span {
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 16px;
  text-align: center;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--line); }

.modal-form {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-fields { display: flex; flex-direction: column; gap: 12px; }

.modal-pay-btn {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.modal-pay-btn:hover { opacity: 0.82; }

.modal-p2p {
  padding: 4px 28px 24px;
  border-top: 1px solid var(--line);
}
.modal-p2p-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.modal-p2p-badge {
  position: absolute;
  top: -10px; right: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
}
.modal-p2p-info { flex: 1; }
.modal-p2p-label {
  font-size: 0.75rem;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.modal-p2p-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.modal-p2p-discount {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a7a3a;
  background: #e8f5ed;
  padding: 2px 7px;
  border-radius: 99px;
}

.modal-ok {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 28px;
  text-align: center;
  gap: 12px;
}
.modal-ok-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.modal-ok-title { font-size: 1.5rem; font-weight: 300; letter-spacing: -0.03em; color: var(--ink); }
.modal-ok-sub { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; max-width: 28ch; }

/* ── INTRO ───────────────────────────────────── */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #120C04;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.intro-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 75%, rgba(168, 101, 26, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 25% 25%, rgba(200, 140, 60, 0.07) 0%, transparent 55%);
  pointer-events: none;
}
.intro-screen.out { opacity: 0; pointer-events: none; }

.intro-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-city {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 235, 0.28);
  opacity: 0;
  margin-bottom: 24px;
  transition: opacity 0.6s ease;
}
.intro-city.in { opacity: 1; }

.intro-logo {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #F0E9DC;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.intro-logo.in { opacity: 1; transform: none; }

.intro-enter {
  margin-top: 52px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 235, 0.45);
  background: none;
  border: 1px solid rgba(246, 241, 235, 0.14);
  border-radius: 999px;
  padding: 12px 32px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.2s, border-color 0.2s;
}
.intro-enter.in { opacity: 1; transform: none; }
.intro-enter:hover {
  color: rgba(246, 241, 235, 0.85);
  border-color: rgba(246, 241, 235, 0.3);
}

/* ── NAV SOUND DOT ──────────────────────────── */
.nav-sound {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-sound-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  transition: background 0.4s;
}
.nav-sound.playing .nav-sound-dot {
  background: var(--accent);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.78); }
}

/* ── SCROLL SNAP ─────────────────────────────── */
html { scroll-snap-type: y proximity; }
.hero, .saveurs, .about, .playlist, .commander { scroll-snap-align: start; }

/* ── FLAVOR OVERLAY ──────────────────────────── */
.flavor-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.flavor-overlay.open { opacity: 1; pointer-events: all; }

.flavor-overlay-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  font-size: 1rem;
  color: var(--ink-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.flavor-overlay-close:hover { background: var(--bg-2); }

.flavor-overlay-content {
  max-width: 600px;
  width: 100%;
  transform: translateY(24px);
  transition: transform 0.42s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.flavor-overlay.open .flavor-overlay-content { transform: none; }

.flavor-overlay-num {
  display: block;
  font-size: clamp(7rem, 22vw, 18rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--ink);
  opacity: 0.05;
  margin-bottom: -0.15em;
  user-select: none;
  pointer-events: none;
}
.flavor-overlay-name {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.flavor-overlay-desc {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 40px;
}
.flavor-overlay-add {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, background 0.2s, color 0.2s;
}
.flavor-overlay-add:hover { opacity: 0.84; }
.flavor-overlay-add:active { transform: scale(0.97); }
.flavor-overlay-add.in-cart {
  background: var(--bg-2);
  color: var(--ink);
  opacity: 1;
}

/* ── FORM VALIDATION ─────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.field.error input,
.field.error textarea {
  border-color: #d94f4f;
  box-shadow: 0 0 0 3px rgba(217, 79, 79, 0.12);
  animation: shake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ── CART ANIMATIONS ─────────────────────────── */
@keyframes cart-pulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.91); }
  65%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes cta-bump {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

.flavor-cta.adding        { animation: cart-pulse 0.32s cubic-bezier(0.32, 0, 0.15, 1); }
.btn--white.bump          { animation: cta-bump  0.38s cubic-bezier(0.32, 0, 0.15, 1); }
.floating-cta-btn.bump    { animation: cta-bump  0.38s cubic-bezier(0.32, 0, 0.15, 1); }
.nav-cta.bump             { animation: cta-bump  0.38s cubic-bezier(0.32, 0, 0.15, 1); }

/* Curseur pointer sur le body des saveurs */
.flavor-body { cursor: pointer; }

/* ── À PROPOS ───────────────────────────────── */
.about {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.about-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
  position: sticky;
  top: 96px;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.about-text {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 52ch;
}

.about-quote {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.4;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-title { position: static; }
}

/* ── SAVEURS — Puffy-style flavor list ──────── */
.saveurs-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
}

.saveurs-head {
  margin-bottom: clamp(48px, 8vw, 80px);
}

.saveurs-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #F0E9DC;
  margin-bottom: 12px;
}

.saveurs-sub {
  font-size: 0.875rem;
  color: rgba(240, 233, 220, 0.45);
  letter-spacing: 0.04em;
}

.flavor-list {
  list-style: none;
  border-top: 1px solid rgba(240, 233, 220, 0.1);
}

.flavor-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0;
  border-bottom: 1px solid rgba(240, 233, 220, 0.1);
  cursor: pointer;
}

.flavor-row-img {
  width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.flavor-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.flavor-row:hover .flavor-row-img img {
  transform: scale(1.04);
}

.flavor-row-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.flavor-row-num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(240, 233, 220, 0.28);
  margin-bottom: 14px;
}

.flavor-row-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #F0E9DC;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}

.flavor-row:hover .flavor-row-name { opacity: 0.82; }

.flavor-row-desc {
  font-size: 0.9375rem;
  color: rgba(240, 233, 220, 0.48);
  line-height: 1.75;
  max-width: 44ch;
}

.flavor-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(24px, 4vw, 40px);
}

.flavor-row-price {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #F0E9DC;
  letter-spacing: -0.01em;
}

.flavor-row-cta {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 13px 24px;
  min-height: 44px;
  background: rgba(240, 233, 220, 0.08);
  color: rgba(240, 233, 220, 0.8);
  border: 1px solid rgba(240, 233, 220, 0.18);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.flavor-row-cta:hover {
  background: rgba(240, 233, 220, 0.16);
  border-color: rgba(240, 233, 220, 0.4);
  color: #F0E9DC;
  transform: translateY(-1px);
}

.flavor-row-cta.in-cart {
  background: #F0E9DC;
  color: #120C04;
  border-color: #F0E9DC;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 768px) {

  /* Saveurs aside */
  .saveurs-layout { grid-template-columns: 1fr; gap: 32px; }
  .saveurs-aside  { position: static; }

  /* Flavor rows — stack vertically */
  .flavor-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .flavor-row-img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .flavor-row-info { min-height: auto; }

  /* Specs — 3 colonnes compactes */
  .specs { grid-template-columns: repeat(3, 1fr); }
  .spec-n { font-size: clamp(1.25rem, 5vw, 1.75rem); }

  /* Form */
  .row--2 { grid-template-columns: 1fr; }
  .row--3 { grid-template-columns: 1fr; }
  .form-bottom { flex-direction: column; align-items: flex-start; }

  /* Floating CTA */
  .floating-cta { bottom: 20px; }
  .floating-cta-btn { font-size: 0.8125rem; padding: 12px 24px; }

  /* Modal — bottom sheet */
  .modal {
    border-radius: 20px 20px 0 0;
    top: auto; bottom: 0;
    left: 0; right: 0;
    width: 100%;
    max-height: 92svh;
    transform: translateY(12px) scale(0.99);
  }
  .modal.open { transform: translateY(0) scale(1); }
  .modal-p2p { padding: 4px 20px 20px; }
  .modal-hd, .modal-summary, .modal-form { padding-inline: 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Nav */
  .nav-cta { padding: 5px 12px; font-size: 0.75rem; }

  /* Specs — empilés si très petit écran */
  .specs { grid-template-columns: 1fr; }
  .spec  { border-right: none; border-bottom: 1px solid var(--line); }
  .spec:last-child { border-bottom: none; }

  /* Flavor row — smaller name */
  .flavor-row-name { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .flavor-row-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── BARRE DE PROGRESSION ────────────────────── */

/* ── HERO PARALLAX WRAPPER ───────────────────── */
.hero-inner {
  display: contents;
}

@supports (animation-timeline: scroll()) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    padding-bottom: clamp(80px, 12vh, 140px);
    row-gap: 16px;
    will-change: transform;
    animation: hero-drift linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 80vh;
  }
  /* Ajuster le hero pour que hero-inner prenne tout l'espace */
  .hero {
    padding-bottom: 0;
    row-gap: 0;
  }
  @keyframes hero-drift {
    from { transform: translateY(0); }
    to   { transform: translateY(80px); }
  }
}

/* ── SAVEURS LAYOUT STICKY ───────────────────── */
.saveurs-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.saveurs-aside {
  position: sticky;
  top: 100px;
}
.saveurs-head { margin-bottom: 0; }

/* ── REVEALS AMÉLIORÉS ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Flavors : entrée depuis le bas avec stagger plus marqué */
.flavor.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.flavor.reveal.in-view {
  opacity: 1;
  transform: none;
}
.flavor.reveal:nth-child(1) { transition-delay: 0s; }
.flavor.reveal:nth-child(2) { transition-delay: 0.07s; }
.flavor.reveal:nth-child(3) { transition-delay: 0.14s; }
.flavor.reveal:nth-child(4) { transition-delay: 0.21s; }
.flavor.reveal:nth-child(5) { transition-delay: 0.28s; }


/* ── HOVER SAVEURS — ligne accent ────────────── */
.flavor-name {
  position: relative;
}
.flavor-name::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}
.flavor:hover .flavor-name::after { width: 100%; }
.flavor:hover .flavor-ghost { color: var(--accent); transition: color 0.25s; }

/* ── BOUTONS — relief au hover ───────────────── */
.btn--white:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.18);
}
.btn--white:active { transform: translateY(0); box-shadow: none; }

.btn--ghost:hover {
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0); }

/* ── SCROLL REVEAL — entrée diagonale pour flavors */
.flavor.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.flavor.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── À PROPOS ───────────────────────────────── */
.about {
  padding-block: clamp(72px, 12vw, 120px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about .eyebrow {
  margin-bottom: 20px;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 28px;
}

.about-body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.about-body:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  align-self: center;
}

.about-stat {
  background: var(--bg);
  padding: 24px 20px;
}

.about-stat dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.about-stat dd {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}

@media (max-width: 680px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
}

/* ── LECTEUR MUSIQUE ────────────────────────── */

/* ── TOAST LIVRAISON ────────────────────────── */
.delivery-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 201;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.delivery-toast:not([hidden]) { pointer-events: auto; }
.delivery-toast--visible { opacity: 1; transform: translateY(0); }
.delivery-toast--out     { opacity: 0; transform: translateY(8px); }
.delivery-toast-icon { flex-shrink: 0; color: var(--accent); }
.delivery-toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-size: 0.6875rem;
  line-height: 1;
  padding: 12px 8px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.delivery-toast-close:hover { color: var(--white); }
.delivery-toast-verify {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.delivery-toast-verify:hover { opacity: 0.75; }

@media (max-width: 600px) {
  .delivery-toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: space-between;
    font-size: 0.8125rem;
  }
}

/* ── MODAL VÉRIFICATION LIVRAISON ───────────── */
.dm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 17, 8, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 400;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dm-overlay--visible { opacity: 1; }

.dm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 401;
  width: min(480px, calc(100vw - 32px));
  background: var(--bg);
  border-radius: 20px;
  padding: 44px 40px 40px;
  transform: translate(-50%, calc(-50% + 16px));
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.dm-modal--visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.dm-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 0.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.dm-close:hover { color: var(--ink); }

.dm-pane { display: flex; flex-direction: column; }

.dm-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.dm-title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.dm-sub {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 28px;
}

.dm-field {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.dm-input {
  flex: 1;
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s;
}
.dm-input::placeholder { color: var(--ink-2); }
.dm-input:focus { border-color: var(--accent); }
.dm-btn {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.18s;
}
.dm-btn:hover { opacity: 0.82; }

.dm-hint {
  font-size: 0.6875rem;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* Loading */
.dm-pane#dm-pane-loading {
  align-items: center;
  justify-content: center;
  min-height: 160px;
  gap: 18px;
}
.dm-spinner {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dm-spinner span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dm-pulse 0.9s ease-in-out infinite;
}
.dm-spinner span:nth-child(2) { animation-delay: 0.18s; }
.dm-spinner span:nth-child(3) { animation-delay: 0.36s; }
@keyframes dm-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50%       { opacity: 1;    transform: scale(1);   }
}
.dm-loading-text {
  font-size: 0.8125rem;
  color: var(--ink-2);
}

/* Résultats */
.dm-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.dm-badge--ok  { background: #E8F5E9; color: #2E7D32; }
.dm-badge--no  { background: #FBE9E7; color: #BF360C; }

.dm-result-addr {
  font-size: 0.75rem;
  color: var(--ink-2);
  margin-bottom: 12px;
  margin-top: -6px;
}
.dm-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  margin-bottom: 12px;
  transition: opacity 0.18s;
}
.dm-action:hover { opacity: 0.82; }
.dm-action--ghost {
  background: none;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.dm-action--ghost:hover { background: var(--bg-2); opacity: 1; }

.dm-retry {
  background: none;
  border: none;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color 0.15s;
  align-self: flex-start;
}
.dm-retry:hover { color: var(--ink); }

@media (max-width: 540px) {
  .dm-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    transform: translateY(20px);
    padding: 36px 24px 40px;
  }
  .dm-modal--visible { transform: translateY(0); }
  .dm-field { flex-direction: column; }
  .dm-btn { width: 100%; padding: 14px; }
}

/* ── PLAYLIST ────────────────────────────────── */
.playlist {
  background: #120C04;
  color: #F0E9DC;
  padding: 120px 48px;
}
.playlist-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.playlist-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,233,220,0.45);
  margin-bottom: 20px;
}
.playlist-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.playlist-sub {
  font-size: 0.9375rem;
  color: rgba(240,233,220,0.55);
  line-height: 1.7;
  max-width: 36ch;
  margin-bottom: 32px;
}
.playlist-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(168,101,26,0.3);
  padding-bottom: 2px;
  transition: border-color 0.18s;
}
.playlist-link:hover { border-color: var(--accent); }

/* Card */
.playlist-card {
  background: rgba(240,233,220,0.05);
  border: 1px solid rgba(240,233,220,0.08);
  border-radius: 20px;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.playlist-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.playlist-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,233,220,0.4);
}
/* Animated bars */
.playlist-card-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.playlist-card-bars span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: bar-dance 1.1s ease-in-out infinite;
}
.playlist-card-bars span:nth-child(1) { height: 7px;  animation-delay: 0s;    }
.playlist-card-bars span:nth-child(2) { height: 14px; animation-delay: 0.18s; }
.playlist-card-bars span:nth-child(3) { height: 9px;  animation-delay: 0.36s; }
.playlist-card-bars span:nth-child(4) { height: 12px; animation-delay: 0.12s; }

@keyframes bar-dance {
  0%, 100% { transform: scaleY(0.35); }
  50%       { transform: scaleY(1);   }
}

.playlist-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #F0E9DC;
}
.playlist-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.playlist-card-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(240,233,220,0.55);
  background: rgba(240,233,220,0.07);
  border: 1px solid rgba(240,233,220,0.1);
  border-radius: 100px;
  padding: 4px 12px;
}
.playlist-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  padding: 12px 22px;
  align-self: flex-start;
  transition: opacity 0.18s;
}
.playlist-card-cta:hover { opacity: 0.88; }

@media (max-width: 860px) {
  .playlist {
    padding: 80px 32px;
  }
  .playlist-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .playlist-sub { max-width: none; }
}
@media (max-width: 480px) {
  .playlist { padding: 64px 20px; }
}
