/* Harmonic Legend — noir graphite, chrome et vert acide. Angles droits, filets fins, grille technique.
   Titres en Inter Black très serré, étiquettes en Space Grotesk, texte courant en Inter. */

@font-face {
  font-family: "HL Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "HL Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #090B0A;
  --surface: #111512;
  --surface-2: #161C14;
  --text: #F2F5ED;
  --muted: #A7B1A2;
  --faint: #7F8B79;
  --line: #262D25;
  --line-strong: #3B4637;
  --accent: #C2FF45;
  --accent-hover: #D4FF7C;
  --ink: #101708;

  /* Noms partagés avec la page d'admin. */
  --black: var(--bg);
  --charcoal: var(--surface);
  --cream: var(--text);

  --display: "HL Inter", Inter, system-ui, sans-serif;
  --label: "HL Grotesk", "Space Grotesk", system-ui, sans-serif;
  --title: var(--label);
  --body: "HL Inter", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Sur les grands écrans (27 pouces et plus), la page s'élargit au lieu de rester une colonne étroite au centre. */
  --gutter: clamp(16px, 4vw, 96px);
  --max: 2400px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* Les pages attendent que app.js ait posé l'en-tête et le catalogue (classe .pret) :
   pas de section provisoire à l'écran. Si le script échoue, le contenu s'affiche au bout de 2 s. */
body[data-page] main { opacity: 0; animation: hl-affiche 0s linear 2s forwards; }
.pret body[data-page] main { opacity: 1; animation: none; transition: opacity .15s ease-out; }
@keyframes hl-affiche { to { opacity: 1; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
button, a, summary { touch-action: manipulation; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--accent); color: var(--ink); font-weight: 700; }
.skip:focus { top: 10px; }

/* ---------- Typo ---------- */

h1, h2, h3 { margin: 0; font-family: var(--label); font-weight: 700; letter-spacing: -.03em; }
p { margin: 0; }

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.055em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--label); font-size: .75rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.eyebrow.accent, .accent { color: var(--accent); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

.live-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px 40px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.05em; margin-top: 14px; }
.section-head > p { color: var(--muted); max-width: 380px; font-size: 1.02rem; }

@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--label); font-weight: 600; white-space: nowrap;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}

.link-arrow svg { width: 16px; height: 16px; }

@media (hover: hover) { .link-arrow:hover { border-color: var(--accent); color: var(--accent); } }

/* ---------- Boutons ---------- */

.btn {
  --bg-btn: var(--accent); --fg-btn: var(--ink);
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 54px; padding: 0 22px;
  background: var(--bg-btn); color: var(--fg-btn); border: 1px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: .98rem;
  transition: transform .16s var(--ease-out), background-color .2s, color .2s, border-color .2s;
  user-select: none; -webkit-user-select: none; white-space: nowrap;
}

.btn:active { transform: scale(.97); }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--text); border-color: var(--line-strong); }
.btn--dark { --bg-btn: var(--bg); --fg-btn: var(--text); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 16px; gap: 14px; font-size: .9rem; }

@media (hover: hover) {
  .btn:hover { --bg-btn: var(--accent-hover); }
  .btn--ghost:hover { --bg-btn: var(--surface-2); --fg-btn: var(--accent); border-color: var(--accent); }
  .btn--dark:hover { --bg-btn: #1E2719; }
}

.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; transition: color .2s; }
.text-link span { font-size: 1.3rem; }
@media (hover: hover) { .text-link:hover { color: var(--accent); } }

/* ---------- Bandeau d'annonce ---------- */

.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 34px; padding: 7px var(--gutter);
  background: var(--accent); color: var(--ink);
  font-family: var(--label); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-align: center;
}

.announce a { border-bottom: 1px solid currentColor; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(9, 11, 10, .9);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Logo à gauche, menu au centre de la page (pas seulement de l'espace libre), icônes à droite. */
.site-header .wrap { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { width: clamp(158px, 8vw, 196px); height: auto; }

.nav { display: flex; gap: clamp(20px, 2.4vw, 40px); }

.nav a {
  position: relative; padding: 8px 0; white-space: nowrap;
  font-size: .95rem; font-weight: 600; color: #C9D0C5;
  transition: color .2s;
}

.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }

@media (hover: hover) { .nav a:hover { color: var(--accent); } }

.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  transition: color .2s, transform .16s var(--ease-out);
}

.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 21px; height: 21px; }

.icon-btn[aria-current="page"] { color: var(--accent); }

@media (hover: hover) { .icon-btn:hover { color: var(--accent); } }

.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease-out);
}

.cart-count.is-visible { transform: scale(1); }
.cart-count.is-bump { animation: bump .45s var(--ease-out); }

@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.menu-btn { display: none; }

/* Le menu centré demande environ 1010 px (logo, cinq liens, icônes) : en dessous, menu mobile. */
@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .brand img { width: 136px; }
}

/* Menu mobile */

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease-out), visibility 0s linear .25s;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease-out); }

.mobile-menu a {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.05em;
  font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.05; padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(8px); opacity: 0;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out), color .2s;
}

.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu.is-open a:nth-of-type(2) { transition-delay: .03s; }
.mobile-menu.is-open a:nth-of-type(3) { transition-delay: .06s; }
.mobile-menu.is-open a:nth-of-type(4) { transition-delay: .09s; }
.mobile-menu.is-open a:nth-of-type(5) { transition-delay: .12s; }
.mobile-menu.is-open a:nth-of-type(6) { transition-delay: .15s; }

.mobile-menu .menu-close { position: absolute; top: 11px; right: var(--gutter); }
.mobile-menu-foot { margin-top: auto; padding-top: 24px; font-family: var(--label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }

.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(161, 191, 148, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(161, 191, 148, .07) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: end; gap: 40px;
  min-height: min(760px, calc(100svh - var(--header-h) - 34px));
  padding-top: clamp(48px, 7vw, 88px); padding-bottom: 96px;
}

/* L'image déborde du conteneur jusqu'aux bords de l'écran. */
.hero-art { position: absolute; inset: 0 calc((100% - 100vw) / 2); z-index: -2; overflow: hidden; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(9, 11, 10, .92) 18%, rgba(9, 11, 10, .55) 38%, rgba(9, 11, 10, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, transparent 24%, transparent 86%, rgba(9, 11, 10, .4));
}

.hero-copy { position: relative; max-width: 900px; }
.hero-copy .eyebrow { color: #C3CDBC; }
.hero h1 { font-size: clamp(4.2rem, 9vw, 10rem); margin: 26px 0 0; }
.hero h1 em { display: block; margin-top: .04em; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #C3CBBF; max-width: 470px; margin-top: 26px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

.hero-formats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 36px;
  font-family: var(--label); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

.hero-formats i { width: 4px; height: 4px; background: #728264; }

/* La dernière sortie, en vitrine. */
.hero-feature {
  position: relative;
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center;
  padding: 16px; margin-bottom: 8px;
  background: rgba(12, 16, 13, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(164, 193, 138, .28); border-left: 2px solid var(--accent);
}

.feature-cover .cover { --cover-pad: 7%; }
.feature-cover .cover-top, .feature-cover .cover-format, .feature-cover .cover-arrow { display: none; }
.feature-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.feature-index { font-family: var(--label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.feature-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-weight: 700; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.03em; }
.feature-title svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.feature-meta { font-size: .86rem; color: var(--muted); }

.feature-play {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: .86rem; font-weight: 600;
}

.feature-play svg { width: 30px; height: 30px; padding: 8px; background: var(--accent); color: var(--ink); }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--label); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
}

.hero-foot > span { display: inline-flex; align-items: center; gap: 10px; }
.hero-foot .live-dot { color: var(--accent); }

@media (min-width: 761px) and (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-feature { grid-template-columns: 84px 1fr; }
  .feature-title { font-size: 1.2rem; }
}

@media (max-width: 760px) {
  .hero-inner { display: block; min-height: 0; padding-top: 40px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 5.6rem); }
  .hero-art { position: relative; inset: auto; height: 340px; margin: 4px calc((100% - 100vw) / 2) 0; z-index: -2; }
  .hero-art img { object-position: 64% 50%; }
  .hero-art::after { background: linear-gradient(180deg, var(--bg) 0%, transparent 26%, transparent 64%, var(--bg) 100%); }
  .hero-feature { margin: -96px 0 0; grid-template-columns: 88px 1fr; }
  .hero-foot > span:last-child { display: none; }
}

/* ---------- Bandeau des styles ---------- */

.genre-strip { overflow: hidden; border-bottom: 1px solid var(--line); background: #0E120D; }

.genre-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }

.genre-track > div {
  display: flex; align-items: center; gap: 40px; padding: 0 20px;
  min-height: 70px; font-family: var(--label); font-size: .95rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: #BCC7B6; white-space: nowrap;
}

.genre-track b { font-weight: 400; color: var(--accent); font-size: 1.4rem; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Une section qui en suit une autre n'ajoute pas d'espace en haut : celle d'avant en a déjà en bas.
   Si celle d'avant est masquée (boutique encore vide, pas de bundle…), elle garde son espace. */
:is(.section, .section--tight):not([hidden]) + .section--follow { padding-top: 0; }

/* ---------- Jaquettes ---------- */

.cover {
  --c1: #090B0A; --c2: #111512; --c3: #3B4637; --c4: #C2FF45; --c5: #F2F5ED;
  --cover-pad: 7%;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1; background: var(--c1); color: var(--c5);
  container-type: inline-size;
}

.cover-art { position: absolute; inset: 0; z-index: -2; }
.cover-art svg, .cover-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }

.cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 5, .45) 0%, transparent 30%, transparent 45%, rgba(4, 8, 5, .82) 100%);
}

.cover-top {
  position: absolute; top: var(--cover-pad); left: var(--cover-pad); right: var(--cover-pad);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--label); font-size: 3.6cqi; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}

.cover-code { border: 1px solid color-mix(in srgb, var(--c5) 40%, transparent); padding: .35em .55em; }

.cover-name {
  position: absolute; left: var(--cover-pad); right: var(--cover-pad); bottom: calc(var(--cover-pad) + 7cqi);
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 19cqi; line-height: .86; letter-spacing: -.06em;
  overflow-wrap: anywhere;
}

.cover-name--sm { font-size: 13.5cqi; }
.cover-name--xs { font-size: 10.5cqi; }

.cover-format {
  position: absolute; left: var(--cover-pad); bottom: var(--cover-pad);
  font-family: var(--label); font-size: 3.4cqi; letter-spacing: .2em; text-transform: uppercase; opacity: .85;
}

.cover-arrow { position: absolute; right: var(--cover-pad); bottom: calc(var(--cover-pad) - 1cqi); font-family: var(--label); font-size: 6cqi; color: var(--c4); }

.cover--free { outline: 1px dashed color-mix(in srgb, var(--c4) 60%, transparent); outline-offset: -6px; }

/* Pochette envoyée depuis l'admin : déjà titrée, donc ni texte ni dégradé par-dessus. */
.cover--illustration::after { content: none; }

/* Petites jaquettes (panier, téléchargements) : juste l'image et le titre. */
.line .cover, .dl-item .cover { --cover-pad: 9%; }
.line .cover-top, .line .cover-format, .line .cover-arrow, .dl-item .cover-top, .dl-item .cover-format, .dl-item .cover-arrow { display: none; }
.line .cover-name, .dl-item .cover-name { bottom: var(--cover-pad); font-size: 17cqi; }

/* ---------- Cartes produit ---------- */

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 2vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Accueil : pas de carte seule sur sa ligne quand la grille passe à 3 colonnes. */
@media (min-width: 761px) and (max-width: 1100px) { .grid--home > :nth-child(4) { display: none; } }

.card { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.card-media { position: relative; display: block; }
.card-media > a { display: block; }

@media (hover: hover) {
  .card:hover .cover-art svg, .card:hover .cover-art img, .pdp-cover:hover .cover-art img { transform: scale(1.05); }
}

/* Bouton lecture posé sur la jaquette. */
.cover-play {
  position: absolute; z-index: 4; right: 12px; top: calc(12px + 8.5cqi);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--accent); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(6px) scale(.94);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), background-color .2s;
}

.card-media { container-type: inline-size; }
.cover-play svg { width: 20px; height: 20px; }
.card-media:focus-within .cover-play, .cover-play.is-playing { opacity: 1; transform: none; }

@media (hover: hover) {
  .card-media:hover .cover-play { opacity: 1; transform: none; }
  .cover-play:hover { background: var(--accent-hover); }
}

@media (hover: none) { .cover-play { opacity: 1; transform: none; width: 40px; height: 40px; } }

.ico-pause { display: none; }
.is-playing .ico-play { display: none; }
.is-playing .ico-pause { display: block; }

/* Une carte en lecture s'entoure d'un filet vert. */
.card.is-playing .card-media::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--accent); pointer-events: none; }

.badge {
  position: absolute; z-index: 5; top: 12px; left: 12px;
  padding: 6px 9px; background: var(--accent); color: var(--ink);
  font-family: var(--label); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.badge--promo { background: var(--text); }

.card-body { display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-family: var(--label); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.card-title { font-family: var(--label); font-weight: 700; font-size: 1.32rem; line-height: 1.15; letter-spacing: -.03em; transition: color .2s; }
.card-tag { color: var(--muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (hover: hover) { .card-title:hover { color: var(--accent); } }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }

.price { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--label); font-weight: 700; font-size: 1.12rem; }
.price s { color: var(--faint); font-weight: 500; font-size: .88em; }
.price .free { color: var(--accent); }

.add-btn {
  height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .86rem; font-weight: 700;
  border: 1px solid var(--line-strong);
  transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out);
}

.add-btn:active { transform: scale(.95); }
.add-btn svg { width: 15px; height: 15px; }
.add-btn.is-added { background: var(--accent); color: var(--ink); border-color: var(--accent); }

@media (hover: hover) { .add-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); } }

@media (max-width: 560px) {
  .card-tag { display: none; }
  .card-title { font-size: 1.12rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
}

/* ---------- Formats ---------- */

.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }

.format { display: flex; flex-direction: column; padding: clamp(22px, 2.5vw, 32px); min-width: 0; transition: background-color .25s; }
.format + .format { border-left: 1px solid var(--line); }
.format-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--label); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.format-top svg { width: 20px; height: 20px; color: var(--accent); }
.format h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 600; }
.format > p { color: var(--muted); font-size: .95rem; margin-top: 10px; max-width: 320px; }
.format-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #C4D5B5; }
.format > p { margin-bottom: 24px; }
.format-bottom > span { font-size: 1.1rem; color: var(--accent); }

@media (hover: hover) { .format:hover { background: var(--surface-2); } }

.step-grid, .waveform, .session-art { height: 92px; margin: 32px 0 28px; max-width: 320px; }
.step-grid { display: grid; grid-template-columns: repeat(16, 1fr); gap: 5px; align-content: center; }
.step-grid i { height: 24px; border: 1px solid #4D6432; background: #1D2E10; }
.step-grid i:nth-child(4n+1) { background: var(--accent); border-color: var(--accent); }
.step-grid i:nth-child(3n) { background: #73983E; }
.waveform { display: flex; gap: 3px; align-items: center; justify-content: space-between; }
.waveform i { width: 3px; height: var(--h); background: var(--accent); }
.waveform i:nth-child(3n) { opacity: .5; }
.session-art { display: flex; flex-direction: column; gap: 6px; justify-content: center; background: repeating-linear-gradient(90deg, transparent 0, transparent 24px, #384328 25px); }
.session-art > div { height: 14px; display: flex; gap: 5px; }
.session-art i { width: 34%; background: rgba(140, 185, 79, .55); border-left: 2px solid var(--accent); }
.session-art > div:nth-child(2) { margin-left: 15%; }
.session-art > div:nth-child(3) i { width: 18%; background: rgba(194, 255, 69, .4); }
.session-art > div:nth-child(4) { margin-left: 35%; }

@media (max-width: 860px) {
  .format-grid { grid-template-columns: 1fr; }
  .format + .format { border-left: 0; border-top: 1px solid var(--line); }
  .step-grid, .waveform, .session-art { height: 72px; margin: 24px 0; max-width: none; }
}

/* ---------- Bundle ---------- */

.bundle {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 64px);
  background: radial-gradient(70% 90% at 100% 0%, rgba(194, 255, 69, .1), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
}

.bundle h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 16px 0 18px; }
.bundle p { color: var(--muted); max-width: 460px; margin-bottom: 22px; }

.bundle-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.bundle-list li { display: flex; gap: 12px; align-items: flex-start; }
.bundle-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }

.bundle-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 24px; }
.bundle-price strong { font-family: var(--display); font-weight: 900; letter-spacing: -.05em; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; }
.bundle-price s { color: var(--faint); font-size: 1.3rem; }
.bundle-price small { flex-basis: 100%; color: var(--faint); font-size: .88rem; }
.bundle-price em { background: var(--accent); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: .8rem; padding: 4px 9px; letter-spacing: .06em; }

.bundle-fan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; transform: rotate(-3deg); }
.bundle-fan .cover { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95); }
.bundle-fan .cover:nth-child(2n) { transform: translateY(28px); }

@media (max-width: 900px) { .bundle { grid-template-columns: 1fr; } .bundle-fan { order: -1; max-width: 420px; width: 100%; margin: 0 auto 28px; } }

/* ---------- Réassurance ---------- */

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.perk { padding: clamp(20px, 3vw, 32px); }
.perk + .perk { border-left: 1px solid var(--line); }
.perk span { display: block; font-family: var(--label); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.perk h3 { font-size: 1.18rem; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: .94rem; }

@media (max-width: 900px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- L'esprit Harmonic Legend ---------- */

.spotlight { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: #10150E; }
.spotlight-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; padding-block: clamp(48px, 6vw, 72px); }

.spotlight-visual { position: relative; isolation: isolate; height: 440px; display: grid; place-items: center; background: radial-gradient(ellipse, rgba(169, 237, 59, .09), transparent 65%); }
.spotlight-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(155, 209, 82, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(155, 209, 82, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse, #000, transparent 75%);
  mask-image: radial-gradient(ellipse, #000, transparent 75%);
}

.orbital { position: absolute; width: 340px; height: 340px; border: 1px solid rgba(107, 130, 61, .5); border-radius: 50%; transform: rotate(-28deg) scaleY(.42); }
.orbital-two { width: 390px; height: 390px; border-color: rgba(177, 237, 83, .4); transform: rotate(43deg) scaleY(.5); animation: orbit 24s linear infinite; }
.orbital-three { width: 275px; height: 275px; border-color: #536A2B; transform: rotate(-70deg) scaleY(.65); }

@keyframes orbit { from { transform: rotate(43deg) scaleY(.5); } to { transform: rotate(403deg) scaleY(.5); } }

.frequency-mark { display: flex; gap: 6px; align-items: center; font-family: var(--display); font-size: 9rem; font-weight: 900; letter-spacing: -.12em; color: var(--accent); text-shadow: 0 0 45px rgba(173, 255, 55, .22); transform: skewY(-7deg); }
.frequency-mark span { align-self: flex-start; margin-top: 28px; font-size: 3.3rem; font-weight: 400; letter-spacing: 0; }

.spec { position: absolute; font-family: var(--label); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #849372; }
.spec-top { top: 20px; left: 12px; }
.spec-bottom { bottom: 20px; right: 12px; }

.spotlight-copy h2 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1.02; letter-spacing: -.05em; margin-top: 20px; }
.spotlight-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; margin-top: 18px; max-width: 480px; }
.spotlight-copy .text-link { margin-top: 26px; }

@media (max-width: 860px) {
  .spotlight-inner { grid-template-columns: 1fr; gap: 12px; }
  .spotlight-visual { height: 300px; }
  .orbital { width: 240px; height: 240px; }
  .orbital-two { width: 290px; height: 290px; }
  .orbital-three { width: 190px; height: 190px; }
  .frequency-mark { font-size: 6.8rem; }
  .frequency-mark span { font-size: 2.4rem; margin-top: 18px; }
}

/* ---------- Gratuit / newsletter ---------- */

.freebie {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: var(--surface);
}

.freebie h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.05em; margin: 14px 0; }
.freebie p { color: var(--muted); margin-bottom: 24px; max-width: 520px; }

.email-form { display: flex; gap: 10px; max-width: 560px; }

.email-form input, .input-pill, .drawer-form input[type="email"] {
  flex: 1; min-width: 0; width: 100%; height: 54px; padding: 0 18px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 0; font-size: 16px;
  transition: border-color .2s;
}

.email-form input::placeholder, .input-pill::placeholder, .drawer-form input::placeholder { color: var(--faint); }
.email-form input:focus, .input-pill:focus, .drawer-form input[type="email"]:focus { outline: none; border-color: var(--accent); }

.form-note { font-size: .8rem; color: var(--faint); margin-top: 12px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .freebie { grid-template-columns: 1fr; }
  .freebie .card-media { max-width: 260px; }
  .email-form { flex-direction: column; }
}

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10%; }
.faq h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -.05em; line-height: 1; margin-top: 16px; }
.faq-intro > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--label); font-weight: 600; font-size: 1.1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; font-size: 1.6rem; line-height: 1; color: var(--accent); font-weight: 300; transition: transform .25s var(--ease-out); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 24px 0; }

@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Appel final ---------- */

.closing { background: var(--accent); color: var(--ink); padding: clamp(32px, 5vw, 48px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.closing-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.closing-top .eyebrow { color: var(--ink); }
.closing-top > span:last-child { font-size: 2.2rem; line-height: 1; }
.closing h2 { font-family: var(--display); font-size: clamp(3.2rem, 10.6vw, 10rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.closing h2 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.03em; }
.closing-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 30px; margin-top: 32px; }
.closing-bottom p { font-size: 1.04rem; font-weight: 500; }

/* ---------- Pied de page ---------- */

.site-footer { padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-grid img { width: 170px; height: auto; margin-bottom: 18px; }
.footer-grid p { color: var(--muted); font-size: .94rem; max-width: 300px; }
.footer-grid h4 { font-family: var(--label); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-grid a { color: #C0CBBB; transition: color .2s; }

@media (hover: hover) { .footer-grid a:hover { color: var(--accent); } }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--label); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}

.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-logos span { padding: 3px 8px; border: 1px solid var(--line); font-size: .68rem; letter-spacing: .04em; text-transform: none; color: var(--muted); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom > span:nth-child(2) { display: none; }
}

/* ---------- Panier ---------- */

.scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(3, 7, 3, .7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}

.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }

.drawer {
  position: fixed; z-index: 80; top: 0; right: 0; bottom: 0;
  width: min(460px, 100vw);
  background: var(--surface); border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease-out), visibility 0s linear .4s;
}

.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease-out); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.drawer-head h2 span { color: var(--faint); font-weight: 500; }

.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px; }

.drawer-empty { text-align: center; padding: 56px 8px; color: var(--muted); }
.drawer-empty > span { display: block; font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.drawer-empty p { margin-bottom: 22px; }

.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-title { font-family: var(--label); font-weight: 700; line-height: 1.25; }
.line-sub { font-size: .84rem; color: var(--faint); }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-family: var(--label); font-weight: 700; }
.line-remove { font-family: var(--body); font-size: .8rem; font-weight: 500; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }

@media (hover: hover) { .line-remove:hover { color: var(--text); } }

.upsell { margin: 18px 0 10px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line-strong); border-left: 2px solid var(--accent); font-size: .92rem; }
.upsell strong { display: block; font-family: var(--label); margin-bottom: 4px; font-size: 1.02rem; }
.upsell p { margin-bottom: 12px; color: var(--muted); }

.drawer-foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-family: var(--label); font-weight: 700; }
.drawer-total strong { font-size: 1.6rem; }
.drawer-foot small { display: block; color: var(--faint); font-size: .82rem; margin-bottom: 14px; }

.drawer-form { display: grid; gap: 8px; }
.drawer-form label[for] { font-weight: 600; font-size: .92rem; }

/* ---------- Toast ---------- */

.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 14px 20px;
  background: var(--accent); color: var(--ink); font-weight: 600; font-size: .94rem; text-align: center;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7);
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}

.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Page boutique ---------- */

.page-hero { position: relative; isolation: isolate; padding: clamp(44px, 6vw, 84px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(3.2rem, 9vw, 7.4rem); margin-top: 18px; }
.page-hero p { color: var(--muted); max-width: 580px; margin-top: 18px; font-size: 1.04rem; }
.page-hero .micro { display: block; margin-top: 14px; font-family: var(--label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

.filters {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(9, 11, 10, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line); margin-bottom: 36px;
}

.filters .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 12px; }

.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none; height: 42px; padding: 0 16px;
  font-size: .9rem; font-weight: 500; color: #B9C3B3;
  border: 1px solid var(--line-strong);
  transition: background-color .2s, color .2s, border-color .2s;
}

.chip[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 700; }
.chip span { font-family: var(--label); font-size: .74rem; opacity: .65; margin-left: 8px; }

@media (hover: hover) { .chip:not([aria-pressed="true"]):hover { background: var(--surface-2); color: var(--text); } }

.tools { flex: none; display: flex; align-items: center; gap: 8px; }

.search {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line-strong); color: var(--muted);
}

.search svg { width: 16px; height: 16px; flex: none; }
.search input { width: 140px; background: none; border: 0; color: var(--text); font-size: 16px; }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--accent); }

.select select {
  height: 42px; padding: 0 34px 0 12px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C2FF45' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 0;
  font-size: 16px; font-weight: 500; appearance: none; -webkit-appearance: none;
}

@media (max-width: 900px) {
  .filters .wrap { flex-direction: column; align-items: stretch; }
  /* La recherche sur toute la largeur, les listes visibles (format, style, tri) se partagent la ligne suivante. */
  .tools { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .select { flex: 1 1 0; }
  .select select { width: 100%; }
}

@media (max-width: 680px) { .select { flex-basis: calc(50% - 4px); } }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 20px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.empty-state > span { display: block; font-size: 3.2rem; line-height: 1; color: var(--accent); }
.empty-state h3 { font-size: 1.6rem; color: var(--text); margin: 14px 0 8px; }
.empty-state p { margin-bottom: 22px; }

/* ---------- Fiche produit ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-family: var(--label); font-size: .8rem; letter-spacing: .06em; color: var(--faint); }
.crumbs a { color: var(--muted); }
@media (hover: hover) { .crumbs a:hover { color: var(--accent); } }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: 24px; padding-bottom: clamp(48px, 7vw, 96px); align-items: start; }

.pdp-gallery { display: grid; gap: 14px; }
.pdp-cover .cover-play { opacity: 1; transform: none; width: 60px; height: 60px; right: 18px; top: auto; bottom: 18px; }
.pdp-cover .cover-play svg { width: 24px; height: 24px; }
.pdp-cover .cover-arrow { display: none; }

.pdp-info h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: .88; letter-spacing: -.06em; margin: 16px 0 18px; overflow-wrap: anywhere; }
.pdp-tagline { font-size: 1.2rem; line-height: 1.5; margin-bottom: 22px; }

.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pdp-price strong { font-family: var(--label); font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; }
.pdp-price s { font-size: 1.15rem; color: var(--faint); }
.pdp-price em { background: var(--accent); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: .78rem; padding: 4px 9px; }

.pdp-desc p { color: var(--muted); margin-bottom: 12px; }

.pdp-buy { display: grid; gap: 10px; margin: 28px 0 18px; }
.pdp-assure { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); }
.pdp-assure span { display: inline-flex; align-items: center; gap: 7px; }
.pdp-assure svg { width: 16px; height: 16px; color: var(--accent); }

.pdp-block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pdp-block h3 { font-family: var(--label); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

.soft-list { display: flex; flex-wrap: wrap; gap: 8px; }
.soft-list span { padding: 7px 12px; font-size: .88rem; font-weight: 500; background: var(--surface); border: 1px solid var(--line-strong); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
.steps div { padding: 16px; background: var(--bg); font-size: .92rem; color: var(--muted); }
.steps b { display: block; color: var(--text); font-family: var(--label); margin-bottom: 4px; }
.steps b::before { counter-increment: step; content: "0" counter(step) "  "; color: var(--accent); }

.sticky-buy {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(17, 21, 18, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(110%); transition: transform .35s var(--ease-out);
}

.sticky-buy.is-visible { transform: none; }
.sticky-buy div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-buy strong { font-family: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy small { color: var(--faint); font-size: .8rem; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; }
  .steps { grid-template-columns: 1fr; }
}

/* Lecteur d'extraits */

.player { border: 1px solid var(--line); background: var(--surface); container-type: inline-size; }
.player-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--label); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.player-head small { color: var(--faint); font-size: inherit; }

.track {
  --p: 0;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 14px; align-items: center;
  padding: 12px 16px; transition: background-color .2s;
}

.track .wave { grid-column: 1 / -1; }

/* Lecteur étroit (téléphone) : seule la démo et l'extrait en cours montrent leur forme d'onde. */
@container (max-width: 559px) {
  .track:not(.track--main):not(.is-current) .wave { display: none; }
}

@container (min-width: 560px) {
  .track { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.3fr); }
  .track .wave { grid-column: auto; }
}

.track + .track { border-top: 1px solid var(--line); }
.track.is-current { background: var(--surface-2); }

.track-play { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text); transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out); }
.track-play svg { width: 18px; height: 18px; }
.track-play:active { transform: scale(.92); }
.track-play.is-playing, .track--main .track-play { background: var(--accent); color: var(--ink); border-color: var(--accent); }

@media (hover: hover) { .track-play:hover { border-color: var(--accent); color: var(--accent); } .track-play.is-playing:hover, .track--main .track-play:hover { color: var(--ink); } }

.track-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.track-text b { font-family: var(--label); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-text small { color: var(--faint); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* Forme d'onde : les barres déjà jouées se remplissent de vert (--p = avancement de 0 à 1, --i = place de la barre). */
.wave { display: flex; align-items: center; gap: 2px; height: 34px; cursor: pointer; }
.wave i {
  flex: 1; min-width: 1px; height: calc(var(--h) * 100%);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left / calc(clamp(0, (var(--p) - var(--i)) * var(--n), 1) * 100%) 100%, var(--line-strong);
}
.track.is-current .wave i { background-color: #6F7A69; }
.track--main .wave { height: 46px; }

.video-demo { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.video-demo video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Ghost production ---------- */

.ghost-hero h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); }
.ghost-hero p { max-width: 640px; margin-bottom: 30px; }
.ghost-hero em { display: inline; }

.ghost-steps .format h3 { margin-top: 34px; }
.ghost-steps .format > p { margin-bottom: 0; }

.ghost-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.ghost-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.ghost-intro h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.05em; margin: 16px 0 18px; }
.ghost-intro > p { color: var(--muted); margin-bottom: 26px; max-width: 420px; }

.ghost-form, .ghost-done { padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }

.form-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field > span, .form-field > legend { padding: 0; font-family: var(--label); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #C3CBBF; }
.form-field b { color: var(--accent); font-weight: 500; }
.form-field small { justify-self: end; color: var(--faint); font-size: .78rem; font-variant-numeric: tabular-nums; }

.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-width: 0; padding: 14px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 0;
  font-size: 16px; line-height: 1.5;
  transition: border-color .2s;
}

.form-field textarea { resize: vertical; min-height: 54px; }
.form-field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C2FF45' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--faint); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }

.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chips label { position: relative; cursor: pointer; }
.choice-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-chips span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.choice-chips span::before { content: "+"; color: var(--accent); }
.choice-chips input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 600; }
.choice-chips input:checked + span::before { content: "✓"; color: var(--ink); }
.choice-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.ghost-form .check-line { margin: 22px 0 18px; }
.ghost-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ghost-done { display: grid; justify-items: start; gap: 14px; }
.ghost-done .glyph { font-size: 3.4rem; line-height: 1; color: var(--accent); }
.ghost-done h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ghost-done p { color: var(--muted); max-width: 520px; }
.ghost-done b { color: var(--text); font-weight: 600; }
.ghost-done:focus { outline: none; }

@media (max-width: 900px) {
  .ghost-layout { grid-template-columns: 1fr; }
  .ghost-intro { position: static; }
}

@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Formulaires (panier, pack gratuit, téléchargements) ---------- */

.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; font-size: .84rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check-line input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.check-line a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.freebie .check-line { margin-bottom: 0; }

.dev-links { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--line-strong); font-size: .86rem; color: var(--muted); }
.dev-links b { display: block; margin-bottom: 6px; color: var(--text); }
.dev-links a { display: block; padding: 3px 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page merci et téléchargements ---------- */

.merci { padding-bottom: clamp(48px, 7vw, 96px); }
.dl-list { display: grid; gap: 12px; max-width: 760px; }
.dl-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); }
.dl-item b { display: block; font-family: var(--label); font-size: 1.1rem; line-height: 1.25; }
.dl-item small { color: var(--faint); }
.notice { max-width: 760px; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--accent); color: var(--muted); }
.notice a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.narrow-form { display: flex; gap: 10px; max-width: 580px; margin-top: 24px; }

@media (max-width: 560px) {
  .dl-item { grid-template-columns: 56px 1fr; }
  .dl-item .btn { grid-column: 1 / -1; }
  .narrow-form { flex-direction: column; }
}

.notice-page { min-height: 72vh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 64px var(--gutter); text-align: center; }
.notice-page h1 { font-size: clamp(3rem, 9vw, 6rem); }
.notice-page p { max-width: 460px; color: var(--muted); }
.notice-page .glyph { font-size: 4rem; line-height: 1; color: var(--accent); }

/* ---------- Pages de texte (légal, aide, contact) ---------- */

.prose { max-width: 820px; padding-bottom: clamp(48px, 7vw, 96px); }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.12rem; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.todo { padding: 1px 6px; background: rgba(255, 92, 92, .14); color: #FFB3B1; font-weight: 600; }
.draft-note { margin: 8px 0 28px; padding: 14px 18px; border: 1px dashed rgba(255, 120, 120, .5); color: var(--muted); font-size: .94rem; }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.guide { padding: 26px; background: var(--bg); }
.guide .eyebrow { color: var(--accent); }
.guide h2 { margin: 12px 0 14px; font-size: 1.4rem; }
.guide ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.guide li + li { margin-top: 8px; }
.guide b { color: var(--text); font-weight: 600; }

@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .genre-track, .orbital-two { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .mobile-menu a { transform: none; }
}
