/* 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-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;
}
.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;
}

.pill-v:disabled,
.pill-v.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.18);
}
.pill-v:disabled:hover,
.pill-v.is-disabled:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.18);
}

.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;
}

/* Hints sous le champ claim (section profil, fond clair) */
.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-hero-visit-btn:hover,
.zh-profile-visit-btn:hover {
  filter: brightness(1.06);
}

.zh-hero-visit-btn:active,
.zh-profile-visit-btn:active {
  transform: scale(0.98);
}

.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);
}
.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);
}

.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;
}

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

.zh-pulse-dot {
  animation: zh-pulse 2s 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-stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.zh-profile-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.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-stats-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: 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) quand le hero est en
     une colonne : évite qu’il recouvre le carousel ou le mock visuel. */
  .zh-hero {
    padding-bottom: 88px !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 landing-home.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;
  }
  .zh-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* Le 2eme enfant de .zh-hero-grid contient _hero_visuals.html : trop charge
     pour mobile (orbites + cards superposees). On le masque ; on perd un
     visuel mais on gagne un hero lisible et performant. */
  .zh-hero-grid > div:nth-child(2) {
    display: none !important;
  }

  /* L’indicateur scroll est en absolute : le garder dans la zone de padding bas,
     au-dessus du contenu (chips + carousel). */
  .zh-hero [data-action="scroll-below"] {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !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;
  }

  /* Form attractor mobile : passer le bouton sous le champ (vertical) pour
     gagner en lisibilite + CTA pleine largeur. */
  .zh-handle-attractor {
    flex-direction: column !important;
    padding: 8px !important;
    gap: 8px !important;
  }
  .zh-hero-submit {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
  }
  .zh-try-hint {
    position: static !important;
    margin-bottom: 6px !important;
  }
  .zh-profile-claim-field {
    padding-top: 0 !important;
  }

  /* Boutons prev/next du carousel hero plus compacts. */
  [data-action="hero-prev"],
  [data-action="hero-next"] {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  /* 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. */
  .zh-page > section.zh-hero {
    padding: calc(72px + env(safe-area-inset-top)) 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;
  }

  /* Stats grid : 2 colonnes au lieu de 4 sur petit ecran. */
  .zh-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .zh-stats-grid > div > div:nth-child(2) {
    font-size: 24px !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) {
  .zh-page > section.zh-hero {
    padding-top: calc(64px + env(safe-area-inset-top)) !important;
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .zh-slide-body h1 {
    font-size: clamp(26px, 7vw, 34px) !important;
  }
  /* Stats : 2 cols mais avec moins d'espace. */
  .zh-stats-grid {
    gap: 12px !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;
  }
}

/* ============================================================================
   Sticky bottom CTA (home uniquement) : barre fixe en bas qui apparait apres
   le hero. Markup ajoute a la fin de _cta_footer.html. JS dans
   landing-home.js : IntersectionObserver sur .zh-hero -> .is-visible.
   ============================================================================ */

.zh-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 7, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.25s ease, opacity 0.2s ease;
  opacity: 0;
}
.zh-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.zh-sticky-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.zh-sticky-cta-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zh-sticky-cta-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zh-sticky-cta-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.zh-sticky-cta-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #f97316;
  border: none;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.4);
}

@media (max-width: 768px) {
  .zh-sticky-cta {
    display: block;
  }
}

@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;
  }
}
