/* =============================================================================
   NHẠC CỦA BẠN — Design system v4 « Studio nocturne »
   Direction (recherche Refero, choisie par l'utilisateur le 2026-06-11) :
   - Primaire : Suno « dark studio, neon pulses » — canvas noir #101012,
     surfaces #17171a, type blanc cassé géant tracking serré, halos grain
     ambre/magenta, cartes-médias flottantes légèrement inclinées,
     UN SEUL CTA dégradé rose→or par écran.
   - Emprunts : Splice (motif waveform décoratif), SoundCloud (tuiles
     pochettes carrées, artwork-first).
   - Rôles verrouillés : dégradé = action primaire uniquement ; jaune #f5d907 =
     icônes/accents ; vert #02d95c = états succès/live uniquement ; serif
     italique (Playfair) = UN mot d'accent display par page maximum.
   - Profondeur : tons de surface + filets blancs translucides ; une seule
     ombre profonde pour les cartes flottantes. Pas de sections claires.
   - Rayons : utilitaires 6px / cartes & champs 12px / boutons pilule.
   Typo : Be Vietnam Pro (tout) + Playfair Display italic (accent rare).
   ============================================================================= */

:root {
  /* surfaces nocturnes */
  --bg: #101012;
  --bg-deep: #0a0a0c;
  --surface: #17171a;
  --surface-2: #1d1d21;
  --overlay: rgba(255, 255, 255, 0.05);
  /* encres */
  --text: #f7f4ef;
  --text-dim: #a3a3a3;
  --text-faint: #6f6f6e;
  --text-peak: #ffffff;
  /* signaux */
  --pink: #fd429c;
  --gold: #f5d907;
  --green: #02d95c;
  --grad: linear-gradient(90deg, #fd429c, #f5d907);
  --grad-soft: linear-gradient(90deg, rgba(253, 66, 156, .35), rgba(245, 217, 7, .35));
  /* filets */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  /* géométrie */
  --r-s: 6px;
  --r-m: 12px;
  --r-pill: 999px;
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  --maxw: 1120px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
/* grain studio — visible sur fond sombre via blend overlay */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--pink); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.dim { color: var(--text-dim); }

/* ---------- Halos néon (décor de fond) ---------- */
.halo { position: relative; overflow: hidden; }
.halo::before {
  content: ""; position: absolute; inset: -20% -10%; pointer-events: none; filter: blur(40px);
  background:
    radial-gradient(42% 38% at 22% 18%, rgba(253, 66, 156, .17), transparent 70%),
    radial-gradient(50% 42% at 78% 8%, rgba(245, 160, 7, .13), transparent 70%),
    radial-gradient(60% 50% at 55% 95%, rgba(196, 48, 43, .14), transparent 70%);
}
.halo > * { position: relative; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--text-peak); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 9.5vw, 6rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); letter-spacing: -0.015em; }
/* UN mot d'accent par page : italique serif dégradé */
h1 em, h2 em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; /* l'italique déborde sinon */
}
.lead { font-size: clamp(1rem, 2.4vw, 1.16rem); color: var(--text-dim); text-wrap: pretty; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow b { color: var(--gold); font-weight: 600; }

/* ---------- Boutons — un seul dégradé par écran ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  text-align: center; white-space: nowrap;
  transition: transform .15s ease, filter .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
/* CTA primaire : le seul élément vif de l'écran */
.btn-grad {
  background: var(--grad); color: #190a12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 8px 32px -10px rgba(253, 66, 156, .55);
}
.btn-grad:hover { transform: translateY(-1px); filter: brightness(1.06); }
/* secondaire fort : pilule blanche */
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
/* secondaire discret : fantôme */
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(16, 16, 18, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--text-peak); }
.brand .dot {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #190a12; font-size: 14px; font-weight: 700;
}
.hdr-cta { display: flex; align-items: center; gap: 14px; }
.hdr-link { font-size: 0.9rem; font-weight: 500; color: var(--text-dim); }
.hdr-link:hover { color: var(--text); }

/* ---------- Sections ---------- */
section { padding: 88px 0; position: relative; }
.sec-tint { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Waveform décorative (emprunt Splice) ---------- */
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 34px; }
.wave i { width: 4px; border-radius: 4px; background: var(--grad-soft); height: 22%; }
.wave i:nth-child(odd) { background: rgba(253, 66, 156, .4); }
.wave i:nth-child(3n) { background: rgba(245, 217, 7, .38); }
.wave i:nth-child(1) { height: 28%; } .wave i:nth-child(2) { height: 55%; } .wave i:nth-child(3) { height: 90%; }
.wave i:nth-child(4) { height: 40%; } .wave i:nth-child(5) { height: 70%; } .wave i:nth-child(6) { height: 100%; }
.wave i:nth-child(7) { height: 52%; } .wave i:nth-child(8) { height: 80%; } .wave i:nth-child(9) { height: 34%; }
.wave i:nth-child(10) { height: 62%; } .wave i:nth-child(11) { height: 88%; } .wave i:nth-child(12) { height: 45%; }
.wave i:nth-child(13) { height: 24%; } .wave i:nth-child(14) { height: 58%; } .wave i:nth-child(15) { height: 36%; }

/* ---------- Cartes ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
/* carte flottante (héro / objets) */
.float-card { box-shadow: var(--shadow-card); }
.tilt-l { transform: rotate(-2.2deg); }
.tilt-r { transform: rotate(1.8deg); }

/* ---------- Tuiles chansons (artwork-first, emprunt SoundCloud) ---------- */
.song { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .25s; }
.song:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 16px 44px -16px rgba(253, 66, 156, .25); }
.song .cover { position: relative; aspect-ratio: 1; overflow: hidden; }
.song .cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Player ---------- */
.player {
  background: rgba(16, 16, 18, .72); border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(10px);
}
.song .player { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; backdrop-filter: none; }
.player .play {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #190a12; border: 0; cursor: pointer; font-size: 16px;
  display: grid; place-items: center; transition: transform .15s;
}
.player .play:hover { transform: scale(1.07); }
.player .meta { text-align: left; flex: 1; min-width: 0; }
.player .meta b { display: block; color: var(--text-peak); font-size: 0.93rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .meta small { color: var(--text-dim); font-size: .78rem; }
.player .bar { height: 3px; background: rgba(255, 255, 255, .12); border-radius: 4px; margin-top: 7px; overflow: hidden; }
.player .bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--gold); border-radius: 2px; height: 30%; }
.player.playing .eq i { animation: eq .9s ease-in-out infinite; }
.player.playing .eq i:nth-child(2) { animation-delay: .15s; } .player.playing .eq i:nth-child(3) { animation-delay: .3s; } .player.playing .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: 1fr; }

/* ---------- Étapes (process) ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px 22px 22px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: .18em; margin-bottom: 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: .95rem; }

/* ---------- Occasions : pilules fantômes ---------- */
.occ { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.occ-item {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 18px;
  background: rgba(255, 255, 255, .03); font-weight: 500; font-size: 0.9rem; color: var(--text-dim);
  transition: border-color .2s, color .2s;
}
.occ-item:hover { border-color: var(--line-strong); color: var(--text); }
.occ-item svg { width: 17px; height: 17px; color: var(--gold); stroke-width: 1.7; flex: none; }

/* ---------- Témoignages ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
.quote p { font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.quote .who { margin-top: 16px; font-size: 0.84rem; color: var(--text-dim); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.quote .who .ava {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--gold); font-size: .9rem; font-weight: 700;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: .85rem; margin-bottom: 10px; }

/* ---------- Pricing : la carte flottante de la page ---------- */
.price-card {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 36px 28px 30px; text-align: center; max-width: 440px; margin: 0 auto; position: relative;
  box-shadow: var(--shadow-card);
}
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.price-amt { font-size: 4.4rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text-peak); }
.price-amt small { font-size: 1.5rem; color: var(--text-dim); font-weight: 500; }
.price-was { color: var(--text-faint); text-decoration: line-through; font-size: 1.02rem; }
.price-list { text-align: left; margin: 24px 0; display: grid; gap: 11px; list-style: none; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.price-list .ck { color: var(--gold); font-weight: 700; flex: none; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 1rem; color: var(--text-peak); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.ft { background: var(--bg-deep); color: var(--text-dim); padding: 54px 0 32px; font-size: 0.9rem; border-top: 1px solid var(--line); }
.ft a { color: var(--text); }
.ft a:hover { color: var(--gold); }
.ft .cols { display: grid; gap: 26px; grid-template-columns: 1fr; }
.ft h4 { font-size: 0.74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.ft .legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.78rem; line-height: 1.7; color: var(--text-faint); }

/* ---------- Formulaires ---------- */
label.fld { display: block; font-weight: 600; font-size: 0.92rem; margin: 18px 0 6px; color: var(--text); }
input.in, textarea.in, select.in {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px;
  font-family: var(--font); font-size: 1rem; background: rgba(255, 255, 255, .04); color: var(--text-peak);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input.in::placeholder, textarea.in::placeholder { color: var(--text-faint); }
input.in:focus, textarea.in:focus, select.in:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(253, 66, 156, .18); background: rgba(255, 255, 255, .06); }
textarea.in { min-height: 150px; resize: vertical; line-height: 1.7; }
.hint { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }
.err { color: var(--pink); font-size: 0.85rem; margin-top: 8px; min-height: 1em; }

/* ---------- Barre CTA mobile ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(10, 10, 12, .9); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  transform: translateY(110%); transition: transform .3s ease;
}
.stickybar.show { transform: none; }
.stickybar .p { color: var(--text); line-height: 1.25; }
.stickybar .p b { font-size: 1.2rem; color: var(--text-peak); display: block; letter-spacing: -0.02em; }
.stickybar .p small { font-size: .72rem; color: var(--text-dim); }
.stickybar .btn { flex: 1; padding: 13px 18px; font-size: .95rem; }
@media (min-width: 760px) { .stickybar { display: none; } }

/* ---------- Révélation au scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilitaires ---------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  color: var(--text); font-weight: 500; font-size: 0.78rem; padding: 7px 14px;
  border-radius: var(--r-pill); letter-spacing: .02em;
}
.tag .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.badge-guarantee { display: inline-flex; gap: 8px; align-items: center; background: rgba(2, 217, 92, .08); border: 1px solid rgba(2, 217, 92, .25); color: var(--green); padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.84rem; }

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  section { padding: 120px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ft .cols { grid-template-columns: 2fr 1fr 1fr; }
}
