/* ZIC Landing home — keyframes + utilitaires du template v2 + responsive */

:root {
  --zh-purple: #6d28d9;
  --zh-purple-b: #7c3aed;
  --zh-orange: #f97316;
  --zh-green: #16a34a;
  --zh-dark: #0f0722;
  --zh-text: #1a0a3d;
  --zh-muted: #6b54a8;
  --zh-bg1: #ede9fe;
  --zh-bg2: #e4dcfc;
  --zh-bg3: #f0ebff;
  --zh-card: #1c1635;
  --zh-hero: linear-gradient(
    150deg,
    #1a0840 0%,
    #2e1065 25%,
    #4c1d95 55%,
    #6d28d9 80%,
    #5b21b6 100%
  );
}

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

html.zh-home {
  scroll-behavior: smooth;
}

body.zh-home-body {
  font-family: "DM Sans", sans-serif;
  color: var(--zh-text);
  background: var(--zh-bg1);
  overflow-x: hidden;
}

.zh-home-body.zh-no-scroll {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: #c4b0f5;
  border-radius: 3px;
}

@keyframes zh-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes zh-float2 {
  0%,
  100% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(6px);
  }
}
@keyframes zh-float3 {
  0%,
  100% {
    transform: translateY(4px);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes zh-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes zh-fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zh-slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zh-scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zh-progress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@keyframes zh-chevronBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}
@keyframes zh-glowPulse {
  0%,
  100% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(249, 115, 22, 0.55),
      0 0 0 0 rgba(249, 115, 22, 0);
  }
  50% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 6px rgba(249, 115, 22, 0.18),
      0 0 28px 6px rgba(249, 115, 22, 0.45);
  }
}
@keyframes zh-shimmer {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(330%);
  }
}
@keyframes zh-wiggle {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  20% {
    transform: translateX(-3px) rotate(-3deg);
  }
  40% {
    transform: translateX(3px) rotate(3deg);
  }
  60% {
    transform: translateX(-2px) rotate(-2deg);
  }
  80% {
    transform: translateX(2px) rotate(2deg);
  }
}
@keyframes zh-caretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes zh-iconMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes zh-meshPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.06) translate(2%, -1%);
  }
}

@keyframes zh-meshDrift {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.05);
  }
}

@keyframes zh-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero : calque lumineux animé (desktop + tablette ; respecte reduced-motion). */
.zh-hero--mesh::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 200deg at 50% 50%,
    rgba(167, 139, 245, 0.22) 0deg,
    rgba(249, 115, 22, 0.12) 120deg,
    rgba(34, 197, 94, 0.1) 240deg,
    rgba(167, 139, 245, 0.18) 360deg
  );
  animation: zh-meshDrift 48s linear infinite;
  pointer-events: none;
  opacity: 0.45;
}
.zh-hero--mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 55% at 50% 0%,
      rgba(255, 255, 255, 0.09) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 80%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 50%
    );
  animation: zh-meshPulse 14s ease-in-out infinite;
  pointer-events: none;
}

/* Scroll reveal (sections sous le hero). */
.zh-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.zh-reveal.zh-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.zh-reveal--visible .zh-how-grid > div,
.zh-reveal--visible .zh-why-grid > div,
.zh-reveal--visible .zh-drops-grid > .zh-drop-card-ui,
.zh-reveal--visible .zh-artists-row > .zh-artist-card {
  animation: zh-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zh-reveal--visible .zh-how-grid > div:nth-child(1) {
  animation-delay: 0s;
}
.zh-reveal--visible .zh-how-grid > div:nth-child(2) {
  animation-delay: 0.06s;
}
.zh-reveal--visible .zh-how-grid > div:nth-child(3) {
  animation-delay: 0.12s;
}
.zh-reveal--visible .zh-how-grid > div:nth-child(4) {
  animation-delay: 0.18s;
}
.zh-reveal--visible .zh-why-grid > div:nth-child(1) {
  animation-delay: 0s;
}
.zh-reveal--visible .zh-why-grid > div:nth-child(2) {
  animation-delay: 0.08s;
}
.zh-reveal--visible .zh-why-grid > div:nth-child(3) {
  animation-delay: 0.16s;
}
.zh-reveal--visible .zh-drops-grid > .zh-drop-card-ui:nth-child(1) {
  animation-delay: 0s;
}
.zh-reveal--visible .zh-drops-grid > .zh-drop-card-ui:nth-child(2) {
  animation-delay: 0.07s;
}
.zh-reveal--visible .zh-drops-grid > .zh-drop-card-ui:nth-child(3) {
  animation-delay: 0.14s;
}
.zh-reveal--visible .zh-drops-grid > .zh-drop-card-ui:nth-child(4) {
  animation-delay: 0.21s;
}
.zh-reveal--visible .zh-artists-row > .zh-artist-card:nth-child(1) {
  animation-delay: 0s;
}
.zh-reveal--visible .zh-artists-row > .zh-artist-card:nth-child(2) {
  animation-delay: 0.05s;
}
.zh-reveal--visible .zh-artists-row > .zh-artist-card:nth-child(3) {
  animation-delay: 0.1s;
}
.zh-reveal--visible .zh-artists-row > .zh-artist-card:nth-child(4) {
  animation-delay: 0.15s;
}
.zh-reveal--visible .zh-artists-row > .zh-artist-card:nth-child(5) {
  animation-delay: 0.2s;
}

/* CTA footer : bouton primaire même style que lien .pill */
button.pill {
  font: inherit;
  line-height: inherit;
}
.zh-cta-signup-btn {
  cursor: pointer;
}
.zh-cta-learn-link:hover {
  color: rgba(255, 255, 255, 0.92) !important;
}

.handle-attractor {
  animation: zh-glowPulse 2.4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.handle-attractor.is-active {
  animation: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(34, 197, 94, 0.5);
}
.handle-attractor::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(249, 115, 22, 0.18) 45%,
    rgba(249, 115, 22, 0.32) 50%,
    rgba(249, 115, 22, 0.18) 55%,
    transparent 100%
  );
  pointer-events: none;
  animation: zh-shimmer 2.8s ease-in-out infinite;
  mix-blend-mode: screen;
}
.handle-attractor.is-active::after {
  display: none;
}

/* Section profil (fond clair) : même pulse que le hero ; shimmer sans mix-blend screen. */
.handle-attractor--light::after {
  mix-blend-mode: normal;
  opacity: 0.85;
}
.handle-attractor--light.is-active {
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.12), 0 0 0 3px rgba(34, 197, 94, 0.5);
}

.zh-profile-claim-field {
  position: relative;
  padding-top: 32px;
}
/* Variante connectée : pas de try-hint absolu, donc pas d’espace réservé. */
.zh-profile-claim-field--logged {
  padding-top: 0;
}
.zh-try-hint--profile {
  position: absolute;
  top: 0;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #f97316;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.zh-try-hint--profile .zh-wiggle {
  display: inline-block;
}

/* ============================================================================
   ClaimCTA (home v4, lot 3a) — macro home/_claim_macros.html.
   Le formulaire « tonnom.zic.fi | Go → » est rendu 5 fois (hero, profil,
   pilier Centraliser, agrégateur, CTA final) : plus AUCUN style inline de
   couleur dans le template, tout est ici. landing-home.js ne touche qu'aux
   classes (.is-active, .zh-hero-submit--reserved), à `disabled` et aux
   `display` du typewriter / des hints.
   - variante --dark  : boîte blanche .97 sur fond violet, hints clairs ;
   - variante --light : fond blanc + bordure violette .25, hints sombres ;
   - couleur --red / --purple : bouton via --zh-claim-bg (défaut violet) ;
   - --compact : max-width 400px (lot 3b).
   ============================================================================ */
.zh-claim-cta {
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* Parents centrés (pilier, CTA final) : la ligne d’indices reste alignée à gauche. */
.zh-claim-cta .zh-handle-hints {
  text-align: left;
}
.zh-claim-cta--dark {
  position: relative;
  gap: 14px;
}
.zh-claim-cta--light {
  gap: 6px;
}
.zh-claim-cta--red {
  --zh-claim-bg: #e11d48;
}
.zh-claim-cta--purple {
  --zh-claim-bg: #6d28d9;
}
/* Accroche « 👇 essaie » : en absolu au-dessus du form (offsets historiques
   du hero) pour la variante sombre ; la variante claire garde
   .zh-try-hint--profile calée sur .zh-profile-claim-field. */
.zh-claim-cta--dark .zh-try-hint {
  position: absolute;
  left: -14px;
  top: -38px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #fdba74;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.zh-claim-cta-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 14px;
  padding: 5px;
  width: 100%;
  max-width: 480px;
  cursor: text;
}
.zh-claim-cta--dark .zh-claim-cta-form {
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.zh-claim-cta--light .zh-claim-cta-form {
  background: #fff;
  border: 1.5px solid rgba(109, 40, 217, 0.25);
}
.zh-claim-cta--compact .zh-claim-cta-form {
  max-width: 400px;
}
.zh-claim-cta-label {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  cursor: text;
  position: relative;
}
.zh-claim-cta--light .zh-claim-cta-label {
  justify-content: flex-start;
  padding: 0 12px;
}
.zh-claim-cta .zh-typewriter-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #6b54a8;
  opacity: 0.7;
}
.zh-claim-cta-suffix {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #6b54a8;
  padding-left: 1px;
  white-space: nowrap;
  user-select: none;
}
.zh-claim-cta-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a0a3d;
  padding: 10px 0;
}
.zh-claim-cta--dark .zh-claim-cta-input {
  text-align: right;
}
.zh-claim-cta--light .zh-claim-cta-input {
  text-align: left;
}
.zh-claim-cta-ghostfocus {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: text;
  background: transparent;
  border: none;
  width: 100%;
  height: 100%;
}
/* Bouton « Go → » : rouge / violet via --zh-claim-bg, gris via :disabled
   (règle plus bas, !important), vert via --reserved. */
.zh-hero-submit {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  transition: background 0.25s, transform 0.15s;
  background: var(--zh-claim-bg, #6d28d9);
}
.zh-hero-submit--reserved {
  background: #22c55e !important;
}
.zh-hero-submit:disabled:not(.zh-hero-submit--reserved) {
  opacity: 0.42;
  cursor: not-allowed;
  background: #d4d4d8 !important;
  color: rgba(255, 255, 255, 0.92);
  transform: none;
}

/* Chrono « Prêt en quelques secondes » (v4 l.1006, lot 7 v4b) — macro
   chrono() de home/_chrono_macro.html : cadran SVG (2 cercles en
   stroke-dasharray), libellé 00:SS,CS et aiguille pilotés par landing-home.js
   ([data-zh-chrono]). Tons : --dark (encre #1F1340, aiguille violette) sur
   les formulaires blancs, --light (encre blanche) sur les pilules colorées.
   Tout passe par currentColor : aucune couleur dans le markup. */
.zh-chrono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.zh-chrono svg {
  display: block;
}
.zh-chrono--dark {
  color: #1f1340;
  background: rgba(31, 19, 64, 0.05);
  border: 1px solid rgba(31, 19, 64, 0.12);
}
.zh-chrono--light {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.zh-chrono-ticks {
  opacity: 0.38;
}
.zh-chrono-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.zh-chrono--dark .zh-chrono-hand {
  color: #7b3ff2;
}
.zh-chrono--light .zh-chrono-hand {
  color: #fff;
}
/* Slot du chrono dans le formulaire claim, après « Go → » (v4 l.1190 / 2730). */
.zh-claim-cta-chrono {
  display: flex;
  align-items: center;
  padding: 0 4px;
  flex-shrink: 0;
}
/* Chrono dans la pilule primaire du hero (v4 l.1226 : gap 10, paddingRight 8) :
   marges négatives sur le chrono plutôt qu'un padding sur la pilule (le
   padding mobile de .pill est en !important ; la règle rouge de la pilule,
   plus bas après .pill-v:hover, reste l'unique occurrence de son sélecteur —
   verrou test_css_pager_and_mobile_hero). 8 + 2 = 10 ; 24 - 16 = 8 ; -6px
   vertical = pilule 48 px (au lieu de 60). ≤768 : marges horizontales
   0 / -4 dans le bloc mobile (lot 8). */
body.zh-home-page .zh-hero-ctas .pill-v .zh-chrono {
  margin: -6px -16px -6px 2px;
}

/* Hints sous le champ — variante sombre (hero / agrégateur / CTA final) */
.zh-claim-cta--dark .zh-hint-part {
  color: rgba(255, 255, 255, 0.55);
}
.zh-claim-cta--dark .zh-hint-part[data-hint="hint-checking"] {
  color: rgba(255, 255, 255, 0.65);
}
.zh-claim-cta--dark .zh-hint-part[data-hint="hint-taken"],
.zh-claim-cta--dark .zh-hint-part[data-hint="hint-api-reserved"] {
  color: #fca5a5;
}
.zh-claim-cta--dark .zh-hint-ok-txt,
.zh-claim-cta--dark .zh-hint-reserved-txt {
  color: #86efac;
}
.zh-claim-cta--dark .zh-handle-preview-strong {
  color: #fff;
}
/* Hints sous le champ — variante claire (section profil / pilier) */
.zh-handle-hints--profile .zh-hint-part[data-hint="hint-empty"],
.zh-handle-hints--profile .zh-hint-part[data-hint="hint-short"],
.zh-handle-hints--profile .zh-hint-part[data-hint="hint-checking"],
.zh-handle-hints--profile .zh-hint-part[data-hint="hint-network"] {
  color: rgba(74, 47, 120, 0.72);
}
.zh-handle-hints--profile .zh-hint-part[data-hint="hint-taken"],
.zh-handle-hints--profile .zh-hint-part[data-hint="hint-api-reserved"] {
  color: #b91c1c;
}
.zh-claim-cta--light .zh-handle-preview-strong,
.zh-claim-cta--light .zh-hint-reserved-txt {
  color: #15803d;
}
.zh-claim-cta--light .zh-hint-reserved-check {
  stroke: #16a34a;
}

/* Variante connectée « {sub}.zic.fi | Visiter → » (aucun formulaire) */
.zh-claim-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.zh-claim-box--dark {
  gap: 14px;
}
.zh-claim-box--light {
  gap: 6px;
}
.zh-claim-box-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 14px;
  padding: 5px;
  width: 100%;
  max-width: 480px;
}
.zh-claim-box--dark .zh-claim-box-row {
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.zh-claim-box--light .zh-claim-box-row {
  background: #fff;
  border: 1.5px solid rgba(109, 40, 217, 0.25);
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.1);
}
.zh-claim-box--compact .zh-claim-box-row {
  max-width: 400px;
}
.zh-claim-box-label {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 10px 14px;
}
.zh-claim-box-sub {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #6b54a8;
  word-break: break-word;
  line-height: 1.3;
}
.zh-claim-box-suffix {
  font-weight: 600;
  color: #5b21b6;
}
.zh-hero-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  background: #6d28d9;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.15s;
}
.zh-hero-visit-btn:hover {
  filter: brightness(1.06);
}
.zh-hero-visit-btn:active {
  transform: scale(0.98);
}
.zh-claim-hint {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
}
.zh-claim-box--dark .zh-claim-hint {
  color: rgba(255, 255, 255, 0.55);
  min-height: 18px;
  padding-left: 6px;
}
.zh-claim-box--light .zh-claim-hint {
  color: #6b54a8;
  opacity: 0.9;
}
/* CTA final de la home (_cta_footer.html, branche home — lot 3b) : le
   formulaire claim_cta compact centré au-dessus du lien « Voir les tarifs »
   (v4 CreatorCTA : colonne centrée, gap 10). Le wrapper de la macro
   (width:100%) est borné à la largeur compacte et centré par la colonne ; le
   formulaire le remplit et la rangée de hints reste calée à gauche comme dans
   les 4 autres instances. */
.zh-cta-claim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.zh-cta-claim .zh-claim-cta,
.zh-cta-claim .zh-claim-box {
  max-width: 400px;
}
.zh-claim-cta--footer .zh-claim-cta-form,
.zh-claim-box--footer .zh-claim-box-row {
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.pill:hover {
  transform: translateY(-2px);
}
.pill-v {
  background: #6d28d9;
  color: #fff;
  box-shadow: 0 6px 24px rgba(109, 40, 217, 0.35);
}
.pill-v:hover {
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.45);
}
/* Hero : pilule primaire rouge à TOUTES les largeurs (v4 desktop l.100,
   v4 mobile l.109, lot 8) ; .pill-v reste violet ailleurs (agrégateur, live,
   artistes, drops). Préfixe body.zh-home-page (Discover et le stub profil
   chargent aussi ce fichier) ; (0,3,1) bat .pill-v sans !important. Le
   :hover assorti est obligatoire : sans lui .pill-v:hover (0,2,0) perdrait
   contre la règle rouge et l'ombre ne bougerait plus au survol. */
body.zh-home-page .zh-hero-ctas .pill-v {
  background: #e11d48;
  box-shadow: 0 6px 24px rgba(225, 29, 72, 0.35);
}
body.zh-home-page .zh-hero-ctas .pill-v:hover {
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.45);
}
.pill-g {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}
.pill-g:hover {
  background: rgba(255, 255, 255, 0.32);
}
.pill-w {
  background: #fff;
  color: #6d28d9;
}
.pill-w:hover {
  background: #f5f0ff;
}
.pill-d {
  background: rgba(109, 40, 217, 0.1);
  color: #6d28d9;
  border: 1px solid rgba(109, 40, 217, 0.2);
}
.pill-d:hover {
  background: rgba(109, 40, 217, 0.16);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 100px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.chip-l {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.chip-d {
  background: rgba(109, 40, 217, 0.1);
  color: #6d28d9;
  border: 1px solid rgba(109, 40, 217, 0.2);
}
/* Chip avec pastille icône (v4 l.2214) : la pastille 22 px colle au bord gauche. */
.chip--ic {
  gap: 8px;
  padding-left: 6px;
}
/* Pastille ronde + icône (chip héro 20 px, chips modules 22 px, chip Paiements
   22 px, marquee du profil 52 px) : macro icon_badge (home/_sections_macros.html).
   Couleur via --zh-ic (inline) : fond ici, ombre colorée dans le marquee. */
.zh-chip-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--zh-ic, #6d28d9);
  color: #fff;
}
.zh-chip-ic svg {
  display: block;
}

.zh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.zh-nav.zh-nav--scrolled {
  background: rgba(20, 8, 64, 0.92);
}

/* Page publique créateur : nav allégée (seul Pricing), fond un peu plus net. */
.zh-nav.zh-nav--public-profile {
  background: rgba(12, 6, 32, 0.42);
}
.zh-nav.zh-nav--public-profile.zh-nav--scrolled {
  background: rgba(18, 8, 52, 0.94);
}

.zh-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Logo à gauche, actions (langue, recherche, compte, burger) collées à droite.
   Indispensable quand .zh-nav-links est masqué (mobile) : sans margin-left:auto,
   tout le bloc se regroupe à gauche après le logo. */
.zh-logo-link {
  flex-shrink: 0;
}
.zh-nav-actions {
  margin-left: auto;
}
.zh-nav-links {
  flex: 1;
  /* Indispensable : sans ça min-width:auto empêche le bloc de rétrécir, overflow-x ne scroll pas
     et les liens se font écraser par le logo (overflow du body caché). */
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 4px 2px;
}
.zh-nav-links::-webkit-scrollbar {
  display: none;
}
.zh-nav-links a {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.zh-nav-links a:hover {
  color: #fff;
}
.zh-nav-links a.zh-nav-link--current {
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.92);
}

.zh-lang-details summary::-webkit-details-marker {
  display: none;
}
.zh-lang-details summary {
  list-style: none;
}

/* Langue header mobile/tablette — alignée profil public (zh-pph-lang). */
.zh-nav-lang {
  display: none;
  position: relative;
  flex-shrink: 0;
}
.zh-nav-lang-btn {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  user-select: none;
}
.zh-nav-lang-btn::-webkit-details-marker {
  display: none;
}
.zh-nav-lang[open] .zh-nav-lang-btn {
  background: rgba(255, 255, 255, 0.1);
}
.zh-nav-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 148px;
  background: rgba(20, 9, 36, 0.96);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  padding: 6px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zh-nav-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fafafb;
}
.zh-nav-lang-option:hover,
.zh-nav-lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}
.zh-nav-lang-option.is-active {
  background: rgba(168, 85, 247, 0.18);
  color: #a855f7;
  font-weight: 700;
}

.zh-hero-grid {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.zh-hero-pane {
  display: none;
}
.zh-hero-pane.is-active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: zh-slideIn 0.5s ease both;
}

.zh-drop-stack {
  position: relative;
  width: 300px;
  height: 320px;
}
.zh-drop-card-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.zh-drop-card-wrap:nth-child(1) {
  transform: translate(-50%, -50%) translateX(-85px) translateY(20px) rotate(-7deg);
  animation: zh-float 4s ease-in-out infinite;
  z-index: 1;
}
.zh-drop-card-wrap:nth-child(2) {
  transform: translate(-50%, -50%) translateY(-10px);
  animation: zh-float2 4s ease-in-out infinite 0.7s;
  z-index: 3;
}
.zh-drop-card-wrap:nth-child(3) {
  transform: translate(-50%, -50%) translateX(90px) translateY(25px) rotate(6deg);
  animation: zh-float3 4s ease-in-out infinite 1.4s;
  z-index: 1;
}

/* Hero slide drops — carrousel live (aligné page /drop/) */
.zh-hero-drop-visual {
  position: relative;
  width: min(100%, 300px);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 8px;
}
.zh-hero-drop-carousel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.zh-hero-drop-carousel-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: stretch;
}
.zh-hero-drop-carousel-track > .zh-hero-drop-card {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 100%;
  opacity: 0;
  transform: translate3d(20px, 0, 0) scale(0.96);
  pointer-events: none;
  visibility: hidden;
  transition: none;
}
.zh-hero-drop-carousel-track > .zh-hero-drop-card.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
  visibility: visible;
  z-index: 3;
  transition: opacity 320ms ease-out 80ms,
    transform 500ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0s;
}
.zh-hero-drop-carousel-track > .zh-hero-drop-card.is-leaving {
  opacity: 0;
  transform: translate3d(-20px, 0, 0) scale(0.96);
  pointer-events: none;
  visibility: visible;
  z-index: 2;
  transition: opacity 220ms ease-in 0s,
    transform 500ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 240ms;
}
.zh-hero-drop-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  color: #1a0a3d;
}
.zh-hero-drop-card-head {
  position: relative;
  padding: 14px 14px 12px;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 45%, #f97316 100%);
  color: #fff;
}
.zh-hero-drop-card-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.zh-hero-drop-card-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: zh-pulse 2s infinite;
}
.zh-hero-drop-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.28);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
}
.zh-hero-drop-card-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.zh-hero-drop-card-photo,
.zh-hero-drop-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.zh-hero-drop-card-photo {
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.zh-hero-drop-card-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.28);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.zh-hero-drop-card-titles {
  min-width: 0;
  flex: 1;
}
.zh-hero-drop-card-artist {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zh-hero-drop-card-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zh-hero-drop-card-body {
  padding: 12px 14px 14px;
}
.zh-hero-drop-card-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #6b54a8;
  margin-bottom: 8px;
}
.zh-hero-drop-card-xp {
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 10px;
  white-space: nowrap;
}
.zh-hero-drop-missions--clipped {
  max-height: 108px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%);
}
.zh-hero-drop-mission {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px solid rgba(109, 40, 217, 0.08);
  font-size: 12px;
}
.zh-hero-drop-mission-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f0ebff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.zh-hero-drop-mission-title {
  font-family: "DM Sans", sans-serif;
  color: #1a0a3d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.zh-hero-drop-mission-xp {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #6d28d9;
}
.zh-hero-drop-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(109, 40, 217, 0.12),
    rgba(249, 115, 22, 0.12)
  );
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #6d28d9;
  text-align: center;
}
a.zh-hero-drop-cta--live {
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
a.zh-hero-drop-cta--live:hover,
a.zh-hero-drop-cta--live:focus-visible {
  background: linear-gradient(
    90deg,
    rgba(109, 40, 217, 0.22),
    rgba(249, 115, 22, 0.22)
  );
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.18);
}
.zh-hero-drop-carousel-progress {
  position: relative;
  margin: 12px auto 0;
  width: 72%;
  height: 3px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.zh-hero-drop-carousel-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.55));
  transition: width 120ms linear;
}
.zh-hero-drop-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.zh-hero-drop-carousel-dot {
  width: 20px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 240ms ease, width 240ms ease;
}
.zh-hero-drop-carousel-dot.is-active {
  width: 28px;
  background: #fff;
}
.zh-hero-drop-carousel-dot:hover,
.zh-hero-drop-carousel-dot:focus-visible {
  background: rgba(255, 255, 255, 0.55);
}

/* Hero slide boutique — derniers produits */
.zh-hero-products-live {
  width: min(100%, 300px);
}
.zh-hero-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease, transform 0.15s ease, border-color 0.18s ease;
}
.zh-hero-product-row:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
.zh-hero-product-row:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}
.zh-hero-product-thumb-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.zh-hero-product-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.zh-hero-product-thumb-fallback {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.zh-hero-product-copy {
  flex: 1;
  min-width: 0;
}
.zh-hero-product-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.zh-hero-product-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.zh-hero-product-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 15px;
}
.zh-hero-product-buy {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  background: #6d28d9;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  transition: background 0.2s;
}
.zh-hero-product-row:hover .zh-hero-product-buy {
  background: #5b21b6;
}

.zh-dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  animation: zh-progress 5s linear;
}

/* Pager à icônes du hero (lot 2b, v4) : 6 icônes visibles par page dans une
   piste translatée par landing-home.js (renderPager / pagerStep mesuré), et
   deux boutons de page « 3 points » pulsés. Le clip = 6 × (32 + 6) − 6 + 12 px
   de padding ; les tailles ≤768 / ≤400 ci-dessous gardent la même formule. */
.zh-hero-pager {
  display: flex;
  align-items: center;
  gap: 2px;
}
.zh-hero-pager-clip {
  width: calc(6 * 38px - 6px + 12px);
  overflow: hidden;
  padding: 6px;
}
.zh-hero-pager-track {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.zh-hero-pager-btn {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.zh-hero-pager-btn.is-active {
  border-color: #fff;
  background: var(--zh-av, #8b5cf6);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 8px 22px -8px var(--zh-av, #8b5cf6);
}
.zh-hero-pager-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* Barre de progression : en bas de l'icône active (l'animation zh-progress
   0 → 100 % de largeur vient de .zh-dot-progress). */
.zh-hero-pager-btn .zh-dot-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
}
.zh-hero-pager-page {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 26px;
  height: 32px;
  padding: 0 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
/* Caché mais toujours dans le flux (26 px d'entretoise, pas de saut de mise
   en page) ; non focusable via aria-hidden + tabindex=-1 côté JS/template. */
.zh-hero-pager-page.is-hidden {
  visibility: hidden;
  pointer-events: none;
}
.zh-hero-pager-page span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: zh-pulse 1.4s ease-in-out infinite;
}
.zh-hero-pager-page span:nth-child(2) {
  animation-delay: 0.18s;
}
.zh-hero-pager-page span:nth-child(3) {
  animation-delay: 0.36s;
}

.zh-chevron-anim {
  animation: zh-chevronBounce 1.8s ease-in-out infinite;
}

.zh-wiggle {
  animation: zh-wiggle 1.4s ease-in-out infinite;
}

.zh-caret {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--zh-purple);
  margin-left: 1px;
  animation: zh-caretBlink 1s step-end infinite;
  transform: translateY(2px);
}

.zh-profile-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
/* Marquee d'icônes du bloc profil (v4 ProfileLink l.1365) : piste = 2 × 10
   pastilles 52 px, boucle translateX(-50%) 28 s, fondu 12 % / 88 % par
   mask-image. margin-right (et non gap) : chaque pastille occupe 66 px, la
   moitié de la piste tombe exactement sur la 11e → boucle sans saut. */
.zh-profile-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  /* La piste (width: max-content, 1 320 px) ne doit JAMAIS contribuer à la
     largeur min-content de la colonne (grille du profil → page 1 337 px sur
     mobile) : piste en absolu (hors flux, aucune taille intrinsèque) + hauteur
     fixe 64 px (52 + 2 × 6) ; contain: inline-size en ceinture. Ne pas
     surcharger max-width en % (pourcentage cyclique = clamp ignoré). */
  contain: inline-size;
  height: 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.zh-profile-marquee-track {
  position: absolute;
  top: 6px;
  left: 0;
  display: flex;
  width: max-content;
  animation: zh-iconMarquee 28s linear infinite;
  will-change: transform;
}
.zh-profile-marquee .zh-chip-ic {
  margin-right: 14px;
  box-shadow: 0 10px 24px -12px var(--zh-ic, #6d28d9);
}

.zh-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.zh-drops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.zh-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zh-artists-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.zh-drop-card-ui {
  transition: transform 0.2s, box-shadow 0.2s;
  background: #f0ebff;
  border: 1px solid #d8d0f8;
  border-radius: 20px;
  overflow: hidden;
}
.zh-drop-card-ui[data-href] {
  cursor: pointer;
}
.zh-drop-card-ui:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(109, 40, 217, 0.14);
}
.zh-drop-card-head {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zh-drop-card-ui--live .zh-drop-card-head {
  color: #fff;
}
.zh-drop-card-live {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.zh-drop-card-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: zh-pulse 2s infinite;
}
.zh-drop-card-avatar {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}
.zh-drop-card-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 7px;
  padding: 2px 8px;
  border: 1px solid transparent;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 10px;
}
.zh-drop-card-body {
  padding: 14px 14px 18px;
}
.zh-drop-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a0a3d;
  margin-bottom: 2px;
  line-height: 1.25;
}
.zh-drop-card-artist {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #6b54a8;
  margin-bottom: 4px;
}
.zh-drop-card-obj {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #6b54a8;
  margin-bottom: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zh-drop-card-stats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.zh-drop-card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #e4dcfc;
  border-radius: 7px;
  padding: 4px 9px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: #6b54a8;
}
.zh-drop-card-stat--xp {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #f97316;
}
.zh-drop-card-stat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f97316;
}
.zh-drop-card-stat--time {
  background: #fef3c7;
  color: #92400e;
}
.zh-drop-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px;
  border-radius: 11px;
  background: #6d28d9;
  border: none;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.zh-drop-card-cta:hover {
  background: #5b21b6;
}
.zh-drop-card-ui[data-href]:focus-visible {
  outline: 2px solid #6d28d9;
  outline-offset: 3px;
}

.zh-artist-card {
  transition: transform 0.2s, box-shadow 0.2s;
  background: #1c1635;
  border-radius: 22px;
  overflow: hidden;
  width: 175px;
  flex-shrink: 0;
}
.zh-hero-profile-link {
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, border-color 0.18s ease;
}
.zh-hero-profile-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
.zh-hero-profile-link:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}
.zh-hero-creator-link {
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, border-color 0.18s ease;
}
.zh-hero-creator-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
.zh-hero-creator-link:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}
.zh-artist-card--linked {
  cursor: pointer;
}
.zh-artist-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.zh-artist-card--linked:focus-visible {
  outline: 2px solid #6d28d9;
  outline-offset: 3px;
}
.zh-artist-card-head {
  position: relative;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zh-artist-card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 3px 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
}
.zh-artist-card-status--online {
  color: #22c55e;
}
.zh-artist-card-status--offline {
  color: #9ca3af;
}
.zh-artist-card-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.zh-artist-card-status--online .zh-artist-card-status-dot {
  animation: zh-pulse 2s infinite;
}
.zh-artist-card-initial {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #fff;
}
.zh-artist-card-photo {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.28);
}
.zh-artist-card-body {
  padding: 12px 14px 16px;
}
.zh-artist-card-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zh-artist-card-role {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}
.zh-artist-card-cta {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: #6d28d9;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-sizing: border-box;
  border: none;
}
.zh-artist-card-cta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 110px;
}
.zh-artist-card-cta:hover {
  background: #5b21b6;
}

/* Mobile coming soon */
.zh-mobile-soon {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #1a0840 0%, #2e1065 50%, #4c1d95 100%);
  text-align: center;
}
.zh-mobile-soon-inner {
  max-width: 22rem;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}
.zh-mobile-soon h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}
.zh-mobile-soon p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

/* Le gate "mobile-soon" a ete retire (cf. plan landing mobile responsive).
   Les classes .zh-mobile-soon* sont conservees au cas ou un feature flag
   ramenerait l'overlay, mais on n'applique plus aucune regle qui bloque le
   scroll mobile. */

@media (max-width: 1024px) {
  .zh-profile-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .zh-how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zh-drops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zh-nav-inner {
    padding: 0 16px;
    gap: 12px;
    max-width: none;
    width: 100%;
  }
  .zh-nav-links {
    gap: 12px;
    justify-content: flex-start;
  }
  .zh-nav-links a {
    font-size: 12px;
  }
}

/* Hero en deux colonnes jusqu'à ~tablette portrait ; empilage en dessous. */
@media (max-width: 900px) {
  .zh-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .zh-logo-link img {
    height: 36px !important;
    width: auto !important;
  }
  .zh-lang-label {
    display: none;
  }
  .zh-lang-details summary {
    gap: 6px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  /* Réserve basse pour l’indicateur « scroll » (absolute, bottom 120 px au-dessus
     du « + » du footer fixe, lot 7) quand le hero est en une colonne : évite
     qu’il recouvre le carousel ou le mock visuel. */
  .zh-hero {
    padding-bottom: 176px !important;
  }
  .zh-hero-drop-visual {
    width: min(100%, 280px);
    min-height: 280px;
  }
  .zh-hero-drop-card-name {
    font-size: 1rem;
  }
  .zh-hero-products-live {
    width: min(100%, 280px);
  }
  .zh-hero-product-row {
    padding: 11px 12px;
    gap: 10px;
  }

  /* Preuve sociale + navigation carousel : centrées (mobile / tablette). */
  .zh-hero-proof {
    justify-content: center !important;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
  .zh-hero-proof > div:last-child {
    align-items: center !important;
  }
  .zh-hero-proof > div:last-child > span {
    text-align: center;
    max-width: 320px;
  }
  .zh-hero-carousel-nav {
    justify-content: center !important;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

@media (max-width: 640px) {
  .zh-how-grid,
  .zh-drops-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .zh-main-shell {
    display: block;
  }
}

/* ============================================================================
   Nav drawer mobile (burger + aside coulissant)
   ----------------------------------------------------------------------------
   Le markup vit dans templates/home/_nav.html : <button .zh-nav__burger> dans
   .zh-nav-actions, et un <aside #zh-mobile-drawer> + <div .zh-nav__backdrop>
   places en frere du <nav>. JS dans nav-drawer.js : toggle .is-open + ARIA.
   ============================================================================ */

.zh-nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.zh-nav__burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.zh-nav__burger.is-open .zh-nav__burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.zh-nav__burger.is-open .zh-nav__burger-line:nth-child(2) {
  opacity: 0;
}
.zh-nav__burger.is-open .zh-nav__burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.zh-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(8, 4, 24, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.zh-nav__backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.zh-nav__drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(86vw, 360px);
  z-index: 140;
  background: linear-gradient(180deg, #1a0840 0%, #2e1065 60%, #4c1d95 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.zh-nav__drawer.is-open {
  transform: translateX(0);
}

.zh-nav__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.zh-nav__drawer-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.zh-nav__drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.zh-nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.zh-nav__drawer-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: background 0.15s ease;
}
.zh-nav__drawer-link:hover,
.zh-nav__drawer-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}
.zh-nav__drawer-link.is-current {
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.zh-nav__drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.zh-nav__drawer-primary,
.zh-nav__drawer-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.zh-nav__drawer-primary {
  background: #f97316;
  color: #fff;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}
.zh-nav__drawer-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .zh-nav-actions > details.zh-lang-details {
    display: none;
  }
  .zh-nav-lang {
    display: block;
  }
}

@media (max-width: 768px) {
  .zh-nav-links {
    display: none;
  }
  .zh-nav__burger {
    display: inline-flex;
  }
  .zh-nav__drawer,
  .zh-nav__backdrop {
    display: flex;
  }
}

@media (min-width: 769px) {
  /* Sur desktop, le drawer et son backdrop ne sont JAMAIS visibles meme si
     une classe is-open trainait : on force le hidden. */
  .zh-nav__drawer,
  .zh-nav__backdrop {
    display: none !important;
  }
}

/* ============================================================================
   Home — Mobile (<=768px)
   ----------------------------------------------------------------------------
   Beaucoup de paddings et grilles sont definis en `style=""` inline dans les
   templates : on doit donc utiliser !important pour les overrider proprement.
   On NE TOUCHE PAS aux regles existantes ; on AJOUTE seulement.
   ============================================================================ */

@media (max-width: 768px) {
  /* Hero : empilement vertical, padding lateral plus serre, hauteur min plus
     courte que 100vh (sinon iOS Safari ajoute la barre d'adresse). */
  .zh-hero {
    min-height: auto !important;
  }
  /* minmax(0, 1fr) et non 1fr (= minmax(auto, 1fr)) : la rangee CTA en
     nowrap (ci-dessous) a un min-content = somme des deux libelles ; avec
     `auto` la colonne s'elargirait au-dela du viewport et le hero (overflow
     hidden) rognerait le paragraphe, la 2e pilule et le bouton Suivant. */
  .zh-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  /* La colonne .zh-hero-visual-col contient _hero_visuals.html : trop chargee
     pour mobile (orbites + cards superposees). On la masque ; on perd un
     visuel mais on gagne un hero lisible et performant. Ciblee par classe
     (et non par position) : rien d'insere dans la grille ne peut la casser. */
  .zh-hero-visual-col {
    display: none !important;
  }

  /* Lot 7 (v4b) : v4 Mobile ne rend pas « La suite vous attend » ; le « + » du
     footer fixe (haut à ≈ 99 px) occuperait exactement sa place. */
  .zh-hero [data-action="scroll-below"] {
    display: none !important;
  }

  /* Slide bodies : reduire la taille du heading et lisser le placement. */
  .zh-slide-body h1 {
    font-size: clamp(28px, 7vw, 40px) !important;
    letter-spacing: -1px !important;
  }
  .zh-slide-body p {
    font-size: 15px !important;
  }

  /* Polish generique mobile (lot 5, v4 mobile) : pilules 14 px / 12×18,
     titres de section h2 en clamp, ancres des sections a 62 px sous la nav
     fixe. Prefixe body.zh-home-page (landing-home.css est aussi charge par
     Discover et le stub profil). Specificite (0,3,1) = celle des regles hero
     `body.zh-home-page .zh-hero-ctas .pill` ci-dessous : elles viennent APRES
     dans le fichier et gagnent donc (13 px / 12×10, puis 12 px <=400) — ne
     pas deplacer ce bloc sous les regles hero. */
  body.zh-home-page .zh-page .pill {
    padding: 12px 18px !important;
    font-size: 14px !important;
  }
  body.zh-home-page .zh-page > section h2 {
    font-size: clamp(24px, 7vw, 32px) !important;
    letter-spacing: -1px !important;
  }
  body.zh-home-page .zh-page > section[id] {
    scroll-margin-top: 62px;
  }

  /* ClaimCTA mobile (v4, D2) : le formulaire reste sur UNE ligne
     (champ + « Go → ») et prend toute la largeur. Plus d'override de couleur
     ici : le « Go → » du hero est rendu 'red' par la macro, comme les 4
     autres instances (lot 8, v4 l.1179). */
  .zh-claim-cta-form,
  .zh-claim-box-row,
  .zh-cta-claim .zh-claim-cta,
  .zh-cta-claim .zh-claim-box {
    max-width: 100% !important;
  }
  /* Cible tactile : 44px minimum, sans casser la ligne unique. */
  .zh-claim-cta-form .zh-hero-submit {
    min-height: 44px;
  }
  .zh-try-hint {
    position: static !important;
    margin-bottom: 6px !important;
  }
  .zh-profile-claim-field {
    padding-top: 0 !important;
  }

  /* CTA du hero (slides 1+) : 2 pilules sur UNE ligne, libellé sur 2 lignes
     si besoin, chrono visible dans la pilule primaire (v4 mobile l.107-112 et
     l.1311, lot 8). Le rouge vient de la règle de base (niveau racine, après
     .pill-v:hover) : rien à redéclarer ici. Préfixe body.zh-home-page : bat
     la règle générique `body.zh-home-page .zh-page .pill` du lot 5 (même
     spécificité (0,3,1) ; celle-ci vient APRÈS dans le fichier, donc gagne).
     align-items en !important : l'inline `align-items:center` de la rangée
     est verrouillé ; le proto n'en a pas (stretch) — les deux pilules
     prennent la hauteur de la plus haute (en général la primaire, chrono
     36 px ; la secondaire si son libellé seul passe sur 2 lignes). */
  body.zh-home-page .zh-hero-ctas {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  body.zh-home-page .zh-hero-ctas .pill {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 11px 10px !important;
    font-size: 13px !important;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  /* Libellé de la primaire : prend la place restante et se coupe en 2 lignes
     équilibrées ; le chrono (flex-shrink 0 via .zh-chrono) reste à droite,
     gap 8 de .pill (proto : gap 8 !important). */
  body.zh-home-page .zh-hero-ctas .zh-pill-txt {
    flex: 1 1 auto;
    min-width: 0;
    text-wrap: balance;
  }
  /* Chrono 36 px visible ≤768 (v4 mobile l.1311) : -4px à droite = padding
     effectif 6 (proto padding-right 6, sans règle .pill-v — verrou) ; 0 à
     gauche = gap 8 ; -6px vertical = pilule 46 px (11 + 24 + 11), même
     parti pris que les 48 px desktop. */
  body.zh-home-page .zh-hero-ctas .pill-v .zh-chrono {
    margin: -6px -4px -6px 0;
  }

  /* Boutons prev/next du carousel hero : icone seule, ronds 34 px (le libelle
     reste dans le DOM + aria-label ; font-size:0 le masque). */
  [data-action="hero-prev"],
  [data-action="hero-next"] {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50%;
    justify-content: center;
    font-size: 0 !important;
    flex: 0 0 auto;
  }
  [data-action="hero-prev"] svg,
  [data-action="hero-next"] svg {
    width: 15px;
    height: 15px;
    margin: 0;
  }
  /* prev | pager | next sur une ligne (la regle @900 centre + wrap : celle-ci,
     plus bas dans le fichier et en !important, gagne). */
  .zh-hero-carousel-nav {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  /* Pager : icones 28 px / gap 4 px → clip 6 × 32 − 4 + 12 = 200 px. */
  .zh-hero-pager-btn {
    width: 28px;
    height: 28px;
  }
  .zh-hero-pager-track {
    gap: 4px;
  }
  .zh-hero-pager-clip {
    width: calc(6 * 32px - 4px + 12px);
  }

  /* Sections : padding horizontal serre + vertical reduit. Les `<section>`
     avec style inline `padding:88px 36px` ou `padding:96px 36px` sont les plus
     courants. On cible les parents directs de .zh-page > section. */
  .zh-page > section,
  .zh-page > div {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .zh-page > section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  /* Le hero a besoin d’un padding dédié (nav + zone scroll) : .zh-page > section
     gagne sur .zh-hero sans cette ligne plus spécifique. 152 px en haut (v4
     mobile, lot 4) : la nav + le FAB chat ancré en haut à droite sous elle
     (body.zh-home-page .zic-chat-fab-wrap, top 98 px + 46 px) — le texte du
     hero démarre dessous. */
  .zh-page > section.zh-hero {
    padding: calc(152px + env(safe-area-inset-top, 0px)) 16px
      calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .zh-page > footer {
    padding: 24px 16px !important;
  }
  .zh-page > footer > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  /* How grid : 1 colonne. */
  .zh-how-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Why grid : 1 colonne. */
  .zh-why-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Profile : deja 1 colonne sous 1024px, on serre juste le gap. */
  .zh-profile-grid {
    gap: 32px !important;
  }

  /* Drops grid -> carousel scroll-snap horizontal mobile. On passe de grid
     a flex pour controler la largeur des cards et le snap. */
  .zh-drops-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px !important;
    padding: 4px 16px 12px;
    margin: 0 -16px !important;
    scroll-padding-left: 16px;
  }
  .zh-drops-grid::-webkit-scrollbar { display: none; }
  .zh-drops-grid > .zh-drop-card-ui {
    flex: 0 0 78%;
    max-width: 280px;
    scroll-snap-align: start;
  }
  /* Le hover translate-y est genant sur tactile (sticky). */
  .zh-drop-card-ui:hover {
    transform: none !important;
  }

  /* Artists row -> deja flex, on ajoute le scroll-snap mobile. */
  .zh-artists-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 4px 16px 12px;
    margin: 0 -16px 24px !important;
    scroll-padding-left: 16px;
  }
  .zh-artists-row::-webkit-scrollbar { display: none; }
  .zh-artists-row > .zh-artist-card {
    flex: 0 0 60%;
    max-width: 200px;
    scroll-snap-align: start;
  }
  .zh-artist-card:hover {
    transform: none !important;
  }

  /* CTA footer + footer : empilement vertical des actions. */
  .zh-page > section > div[style*="display:flex"][style*="space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Lang label deja masque sous 900px ; pas besoin d'override ici. Le
     burger gere maintenant la nav. Empecher le scroll horizontal des liens
     desktop si jamais ils restent affiches dans un edge case. */
  .zh-nav-inner {
    height: 60px !important;
    padding: 0 12px !important;
  }
  .zh-nav-actions {
    gap: 6px !important;
  }
  .zh-nav-lang-btn {
    padding: 7px 10px;
    font-size: 12px;
  }
}

/* ============================================================================
   Home — Phone S/M (<=480px) : reglages plus serres pour iPhone SE et co.
   ============================================================================ */

@media (max-width: 480px) {
  /* padding-top volontairement absent : la valeur mobile du hero (152 px +
     safe-area, @768) vaut aussi ici — cette regle (meme specificite, plus bas)
     l'ecraserait. Seul le padding-bottom est resserre. */
  .zh-page > section.zh-hero {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .zh-slide-body h1 {
    font-size: clamp(26px, 7vw, 34px) !important;
  }
  /* Drops cards encore un peu plus petites pour percevoir la suivante. */
  .zh-drops-grid > .zh-drop-card-ui {
    flex-basis: 82%;
  }
  .zh-artists-row > .zh-artist-card {
    flex-basis: 64%;
  }
  /* Reduire la taille du logo nav + boutons compactes. */
  .zh-nav-inner {
    gap: 6px !important;
  }
  .zh-nav-actions {
    gap: 6px !important;
  }
}

/* ============================================================================
   Footer fixe + launcher « + » (home v4b, lot 7) — remplace la barre sticky
   mobile. Markup : home/_site_footer.html (inclus par home.html HORS de
   .zh-page). JS : landing-home.js, bloc « Launcher ».

   Contexte d'empilement : .zh-ft est `position: fixed; z-index: 90` → tout ce
   qu'il contient est résolu DEDANS : voile .zh-fl-backdrop (fixed, z 85) <
   .zh-fl (relative, z 95 : FAB + dock) → le dock est toujours au-dessus du
   voile ; le voile assombrit le reste du footer et la page. Vu de la racine,
   tout le footer vaut 90 : sous .zh-nav (100), le FAB chat (100), le menu
   langue (120), le drawer (130/140) et tous les overlays modules (≥ 1000) —
   comme v4 (voile 85 dans un footer 90, nav 100). INTERDIT : transform,
   filter, backdrop-filter, will-change sur .zh-ft, .zh-ft-in, .zh-fl (ils
   deviendraient le containing block du voile fixed) ; backdrop-filter
   seulement sur le voile et le dock (frères), transform de hover seulement
   sur le FAB.
   ============================================================================ */
/* Réserve basse (le footer fixe recouvre le bas du document) + fond sombre :
   le footer (41-67 px selon viewport) est plus bas que la réserve → sans
   fond, une bande claire apparaîtrait entre la section CTA sombre et lui. */
body.zh-home-page .zh-page {
  padding-bottom: 64px;
  /* Fond sombre limité à la réserve basse (dégradé plat calé en bas) : le
     wrapper reste transparent ailleurs — les bannières de retour Stripe/MoMo
     (.zh-pricing-alert, sous la nav) sont dessinées pour le fond clair du body. */
  background: linear-gradient(#0f0722, #0f0722) no-repeat bottom / 100% 64px;
}
/* Chevron « La suite vous attend » : bottom 32 → 120 px (le « + » culmine à
   ≈ 107-115 px du bas du viewport ; svg 28 px + rebond 7 px). Le `bottom`
   inline a été retiré de _hero.html ; ≤768 la règle `display:none` du bloc
   mobile gagne. */
.zh-hero [data-action="scroll-below"] {
  bottom: 120px;
}
/* Viewports courts (1366×768, 1280×720) : le héro dépasse 100vh, le chevron
   (calé sur le bas du héro) passerait sous le « + » fixe — on le retire, le
   « + » occupe déjà cette place. */
@media (max-height: 800px) {
  .zh-hero [data-action="scroll-below"] {
    display: none !important; /* le div porte display:flex en inline */
  }
}
.zh-ft {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #0f0722;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 11px 30px;
  box-shadow: 0 -8px 28px -14px rgba(0, 0, 0, 0.5);
  overflow: visible;
}
.zh-ft-in {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.zh-ft-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
.zh-ft-logo {
  display: flex;
  align-items: center;
  height: 44px;
  flex-shrink: 0;
}
.zh-ft-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.zh-ft-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.zh-ft .zh-ft-link {
  font-family: "DM Sans", sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.zh-ft .zh-ft-link:hover {
  color: rgba(255, 255, 255, 0.75);
}
/* Liens légaux : libellé long (desktop) / court « CGU » (mobile, v4 Mobile l.2018-2019). */
.zh-ft-link-s {
  display: none;
}
.zh-ft-soc {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.zh-ft-soc-a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.zh-ft-soc-a:hover {
  background: var(--zic-soc-c, #6d28d9);
  color: #fff;
}
.zh-ft-soc-a svg {
  width: 17px;
  height: 17px;
  display: block;
}
.zh-ft-copy {
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Launcher « + » (v4 ZicLauncher l.1868-1931) ─────────────────────────── */
.zh-fl-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(11, 4, 25, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.zh-ft.is-open .zh-fl-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s;
}
.zh-fl {
  position: relative;
  z-index: 95;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
}
.zh-fl-fab {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  margin-top: -56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ec4899, #7b3ff2);
  box-shadow: 0 10px 26px rgba(123, 63, 242, 0.5);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s, background 0.25s, box-shadow 0.25s;
}
.zh-fl-fab:hover {
  transform: scale(1.07);
}
.zh-fl-fab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.zh-ft.is-open .zh-fl-fab {
  background: linear-gradient(135deg, #5b21b6, #7b3ff2);
  box-shadow: 0 12px 30px rgba(123, 63, 242, 0.66);
}
.zh-fl-plus {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0.6, 0.3, 1.25);
}
.zh-ft.is-open .zh-fl-plus {
  transform: rotate(135deg);
}
/* Dock : posé sur le FAB (bottom 92 = FAB 92 − margin −56 + hauteur .zh-fl 36),
   caché par visibility (non focalisable, pas de jonglage tabindex). */
.zh-fl-dock {
  position: absolute;
  bottom: 92px;
  left: 50%;
  z-index: 1;
  width: min(880px, calc(100vw - 28px));
  padding: 13px 44px;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: rgba(20, 9, 36, 0.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px) scale(0.94);
  transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.4, 0.6, 0.3, 1.25), visibility 0s linear 0.34s;
}
.zh-ft.is-open .zh-fl-dock {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: 0s, 0s, 0s;
}
.zh-fl-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
}
.zh-fl-rail::-webkit-scrollbar {
  display: none;
}
.zh-fl-rail > li {
  flex: 0 0 auto;
}
.zh-fl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 9, 36, 0.92);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zh-fl-arrow--prev {
  left: 8px;
}
.zh-fl-arrow--next {
  right: 8px;
}
.zh-fl-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 82px;
  padding: 8px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0.6, 0.3, 1.25), opacity 0.24s ease, background 0.15s;
}
/* Stagger v4 (i × 26 ms à l'ouverture seulement ; 3 valeurs = transform,
   opacity, background — le hover ne doit pas hériter du délai). */
.zh-ft.is-open .zh-fl-tile {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--zh-i, 0) * 26ms), calc(var(--zh-i, 0) * 26ms), 0s;
}
.zh-fl-tile:hover,
.zh-fl-tile:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}
.zh-fl-tile:focus-visible .zh-fl-ico {
  box-shadow: 0 0 0 2px #fff;
}
.zh-fl-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Couleur pleine par défaut ; le dégradé v4 (couleur → couleur à 67 %) et
     l'ombre colorée (33 %) vivent sous @supports : une déclaration contenant
     var() est acceptée au parse puis invalide à la valeur calculée → initial,
     PAS de repli en cascade quand la fonction de mélange est inconnue. */
  background: var(--zh-ic, #7b3ff2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .zh-fl-ico {
    background: linear-gradient(135deg, var(--zh-ic, #7b3ff2), color-mix(in srgb, var(--zh-ic, #7b3ff2) 67%, transparent));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--zh-ic, #7b3ff2) 33%, transparent);
  }
}
.zh-fl-ico svg {
  display: block;
}
.zh-fl-lbl {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
/* FAB chat masqué pendant que le dock est ouvert : à z 100 il passerait DEVANT
   le dock (footer z 90) et sa pastille chevauche le bord droit du dock à
   1280-1366 px ; le dock a sa propre tuile Chat. */
body.zh-home-page.zh-fl-open .zic-chat-fab-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
/* Le wrap est déjà en pointer-events:none et ses boutons remettent `auto`
   (landing-chat-fab.css) : sans cette règle descendante ils resteraient
   cliquables et tabulables une fois transparents (même motif que
   body.zh-chat-overlay-open dans landing-chat-fab.css). */
body.zh-home-page.zh-fl-open .zic-chat-fab-wrap * {
  pointer-events: none;
}

/* Pager hero sur tres petits ecrans : 26 px + boutons de page 22 px
   (360 px : 188 + 44 + 4 + 68 + 12 = 316 ≤ 328) ; en dessous de 360 px la
   ligne prev | pager | next peut passer a la ligne. */
@media (max-width: 400px) {
  /* Les libelles les plus longs (« Ouvrir mon espace label → », « Become a
     MultiAffiliate → ») passeraient sur 2 lignes a 13 px sur 360-400 px
     (white-space normal depuis le lot 8) ; 12 px en garde davantage sur une
     ligne. */
  body.zh-home-page .zh-hero-ctas .pill {
    font-size: 12px !important;
  }
  .zh-hero-pager-btn {
    width: 26px;
    height: 26px;
  }
  .zh-hero-pager-clip {
    width: calc(6 * 30px - 4px + 12px);
  }
  .zh-hero-pager-page {
    width: 22px;
  }
}
@media (max-width: 359px) {
  .zh-hero-carousel-nav {
    flex-wrap: wrap !important;
  }
}

/* ── Footer fixe + launcher : tablette / laptop étroit (hors v4 : la rangée
   ne tient pas), mobile (v4 Mobile l.162-166 / 1937-2034) ─────────────────── */
@media (max-width: 1120px) {
  .zh-ft-copy {
    display: none;
  }
}
@media (max-width: 900px) {
  .zh-ft-logo img {
    height: 36px;
  }
  .zh-ft-nav {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px 12px;
  }
  .zh-ft .zh-ft-link {
    font-size: 12px;
  }
  .zh-ft-soc {
    gap: 6px;
  }
  .zh-ft-soc-a {
    width: 24px;
    height: 24px;
  }
  .zh-ft-soc-a svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 768px) {
  body.zh-home-page .zh-page {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    background-size: 100% calc(66px + env(safe-area-inset-bottom, 0px));
  }
  /* v4 Mobile (l.162-166, 2002-2034) : UNE ligne — logo 22 px · Politique · CGU
     | « + » 80 px | 6 réseaux 18 px — footer ≈ 43 px. Paliers plus bas (430 /
     387 / 351 px) : le contenu se compacte pour rester sur une ligne. */
  .zh-ft {
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
  }
  .zh-ft-in {
    gap: 10px;
  }
  .zh-ft-side {
    gap: 12px;
    justify-content: flex-start;
  }
  .zh-ft-side--r {
    justify-content: flex-end;
  }
  .zh-ft-logo,
  .zh-ft-logo img {
    height: 22px;
  }
  .zh-ft-nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .zh-ft-link--nav,
  .zh-ft-copy,
  .zh-ft-soc-a--nourl,
  .zh-ft-link-l {
    display: none !important;
  }
  .zh-ft-link-s {
    display: inline;
  }
  /* Ordre v4 mobile : « Politique » puis « CGU ». */
  .zh-ft-link--policy {
    order: -1;
  }
  .zh-ft .zh-ft-link {
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.5);
  }
  .zh-ft-soc {
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .zh-ft-soc-a {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.5);
  }
  .zh-ft-soc-a svg {
    width: 9px;
    height: 9px;
  }
  .zh-fl-fab {
    width: 80px;
    height: 80px;
    font-size: 46px;
  }
  .zh-fl-dock {
    bottom: 82px;
    width: calc(100vw - 20px);
  }
}
/* ≤430 px : les colonnes latérales (1fr) font ≈ 130 px → logo 20 px, 11 px, gaps 6. */
@media (max-width: 430px) {
  .zh-ft-in {
    gap: 6px;
  }
  .zh-ft-side,
  .zh-ft-nav {
    gap: 6px;
  }
  .zh-ft-logo,
  .zh-ft-logo img {
    height: 20px;
  }
  .zh-ft .zh-ft-link {
    font-size: 11px;
  }
  .zh-ft-soc {
    gap: 3px;
  }
  .zh-ft-soc-a {
    width: 16px;
    height: 16px;
  }
  .zh-ft-soc-a svg {
    width: 8px;
    height: 8px;
  }
}
/* ≤387 px (375 / 360) : logo 18 px, 10.5 px, marges 8. */
@media (max-width: 387px) {
  .zh-ft {
    padding-left: 8px;
    padding-right: 8px;
  }
  .zh-ft-side,
  .zh-ft-nav {
    gap: 5px;
  }
  .zh-ft-logo,
  .zh-ft-logo img {
    height: 18px;
  }
  .zh-ft .zh-ft-link {
    font-size: 10.5px;
  }
}
/* ≤351 px (320 px) : dernier recours, les réseaux passent sur 2 rangées de 3. */
@media (max-width: 351px) {
  .zh-ft-soc {
    flex-wrap: wrap;
    max-width: 54px;
  }
}
/* FAB chat desktop : v4 ChatFab bottom B + 52 = 78 px (au-dessus du footer
   67 px). Spécificité (0,1,2) > `.zic-chat-fab-wrap` (0,1,0) de
   landing-chat-fab.css:37 — pourtant chargé APRÈS (base.html:148 vs head_extra
   base.html:92) : la spécificité l'emporte sur l'ordre → gagne sur desktop.
   ≤768 cette règle n'existe pas (min-width) : la règle home mobile
   home mobile du FAB (`top: calc(98px…); bottom: auto`, landing-chat-fab.css,
   même spécificité, source plus tardive) reste seule
   maîtresse — landing-chat-fab.css n'est PAS touché ni bumpé. */
@media (min-width: 769px) {
  body.zh-home-page .zic-chat-fab-wrap {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .zh-hero--mesh::before,
  .zh-hero--mesh::after {
    animation: none !important;
    opacity: 0.22;
  }
  .zh-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .zh-reveal--visible .zh-how-grid > div,
  .zh-reveal--visible .zh-why-grid > div,
  .zh-reveal--visible .zh-drops-grid > .zh-drop-card-ui,
  .zh-reveal--visible .zh-artists-row > .zh-artist-card {
    animation: none !important;
  }
  .zh-hero-pager-track {
    transition: none;
  }
  .zh-hero-pager-page span {
    animation: none;
  }
  .zh-profile-marquee-track {
    animation: none;
  }
  .zh-fl-backdrop,
  .zh-fl-dock,
  .zh-fl-tile,
  .zh-fl-fab,
  .zh-fl-plus {
    transition: none !important;
    transition-delay: 0s !important;
  }
  .zh-fl-rail {
    scroll-behavior: auto;
  }
}
